summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2021-05-18 16:38:17 -0400
committer Derek Sollenberger <djsollen@google.com> 2021-05-21 10:15:46 -0400
commitc31985e508fdff42d742f5c30850aa4886fd16a2 (patch)
tree5abf70781c2aa12174a33acf119a21b45c0c72eb /libs/gui/BLASTBufferQueue.cpp
parentd01b8e9a565f9c68dd19d02960e2937d8a052695 (diff)
Remove unnecessary drawing commands when drawing shadows.
When blurring behind a shadow, this will ensure that it is only blurred once. It does so by updating Layer::prepareShadowClientComposition to add ShadowSettings to the input layer, rather than adding an extra layer. Collapsing the shadow layer into the same layer as the caster will result in undefined behavior in the old GLESRenderEngine. Bug: 188050128 Bug: 175915334 Test: atest SurfaceFlinger_test and atest librenderengine_test Change-Id: I5b74ef9659b519fcc6b89dfd873c35fc579fddd7
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions