summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2021-02-23 13:22:54 -0500
committer Derek Sollenberger <djsollen@google.com> 2021-02-24 18:44:13 +0000
commite2fe78c03bbcf4064da812271b2e0181f86bcf19 (patch)
treedf9415fa7bc77a7e35ea4c600594727a8deee9a2 /libs/gui/LayerDebugInfo.cpp
parent4c331c851d8cf81837e66423426e33baab469edb (diff)
Cleanup Skia RE display and layer colorTransforms
In the general case we don't set the display's colorMatrix on the paint if we know it is the identity matrix. We also now abort early if the layer has no alpha and no colortransform or colorspace conversion will change that. The layer's colortransform is now respected regardless of whether or not color management is enabled for the RE instance Also includes some small code refactors to avoid computing the same values in multiple places. Test: librenderengine_test Bug: 180712498 Bug: 181028875 Change-Id: I6e236efc5987d00cb464e8798c48f2b3b21635c5
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions