Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 586a0deb authored by Antti Hatala's avatar Antti Hatala Committed by Erik Gilling
Browse files

surfaceflinger: composite HWC_SKIP_LAYER layers

Change-Id: I363ede63287ae903d66d0d419343f4ecd81bcc00
parent 8392b504
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -885,8 +885,8 @@ void SurfaceFlinger::composeSurfaces(const Region& dirty)
     */
    for (size_t i=0 ; i<count ; i++) {
        if (cur) {
            if (!(cur[i].compositionType == HWC_FRAMEBUFFER) ||
                    cur[i].flags & HWC_SKIP_LAYER) {
            if ((cur[i].compositionType != HWC_FRAMEBUFFER) &&
                !(cur[i].flags & HWC_SKIP_LAYER)) {
                // skip layers handled by the HAL
                continue;
            }