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

Commit 3cab73e3 authored by Erik Gilling's avatar Erik Gilling Committed by Android (Google) Code Review
Browse files

Merge "surfaceflinger: composite HWC_SKIP_LAYER layers"

parents 0347ec7e 586a0deb
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;
            }