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

Commit 1b9e46df authored by Andrew Chant's avatar Andrew Chant Committed by android-build-merger
Browse files

Revert "[SurfaceFlinger] Remove force GPU composition for layers with color transform."

am: 9055674c

Change-Id: Ia6b68955512396b254c7022c1010a1c78f7a86b9
parents 8db5a358 9055674c
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1822,6 +1822,11 @@ void SurfaceFlinger::calculateWorkingSet() {
                layer->forceClientComposition(displayDevice);
                layer->forceClientComposition(displayDevice);
            }
            }


            // TODO(b/111562338) remove when composer 2.3 is shipped.
            if (layer->hasColorTransform()) {
                layer->forceClientComposition(displayDevice);
            }

            if (layer->getRoundedCornerState().radius > 0.0f) {
            if (layer->getRoundedCornerState().radius > 0.0f) {
                layer->forceClientComposition(displayDevice);
                layer->forceClientComposition(displayDevice);
            }
            }