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

Commit 9055674c authored by Andrew Chant's avatar Andrew Chant Committed by Peiyong Lin
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

Merged-In: Ie0cdf9bd696ed4926fdd931d3c8a82fafd1a203f
Change-Id: Ie0cdf9bd696ed4926fdd931d3c8a82fafd1a203f
parent 7b5d9813
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1822,6 +1822,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);
            }