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

Commit 9215fabf authored by Valerie Hau's avatar Valerie Hau Committed by Peiyong Lin
Browse files

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

This reverts commit 9055674c.

Reason for revert: Reland with fix
Below is the original commit message:
Previously we force GPU composition for all layers with color transform, now
that we move the fallback into hardware composer passthrough, we can remove
this.

BUG: 115554640
Test: Verify by setting a color transform manually.
Change-Id: I3a67256b01455fe27ddaf2171871f4fde337048e
parent 9055674c
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1822,11 +1822,6 @@ void SurfaceFlinger::calculateWorkingSet() {
                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) {
                layer->forceClientComposition(displayDevice);
            }