summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2021-02-23 13:09:50 -0500
committer Derek Sollenberger <djsollen@google.com> 2021-02-24 18:39:17 +0000
commit4c331c851d8cf81837e66423426e33baab469edb (patch)
treee275d1cd78961a1b316bbafde37d701b44ccdefa /libs/gui/LayerDebugInfo.cpp
parent7c42bef70e102f873950550393c6951ddae5975f (diff)
Avoid unnecessary computation for shadows and clipping for rounded layers
Shadow layers did not need to generate the shader as it was not used so avoid that overhead. Setting a roundrect clip and then drawing a single rect of the same size is always less efficient than just drawing the roundrect directly. Test: librenderengine_test Bug: 181028875 Change-Id: I4e333f34b886f630773e4d660973bf8aa4585635
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions