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

Commit ad61a817 authored by Andrew Chant's avatar Andrew Chant
Browse files

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

This reverts commit 37083d05.

Reason for revert: Breaks some display output
Bug: 129945273

Change-Id: Ie0cdf9bd696ed4926fdd931d3c8a82fafd1a203f
parent 37083d05
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1849,6 +1849,11 @@ 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);
            }