summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2019-12-04 08:09:09 -0800
committer Vishnu Nair <vishnun@google.com> 2019-12-04 08:10:26 -0800
commit3a7346ce4f66df02161c730b0dd0265c473a9243 (patch)
tree2916483a65ecff746de4a1b54e5971d9d8f7259e /libs/gui/QueueBufferInputOutput.cpp
parent08f6eae01d8e0c7a77d933cf0ba2bfe70e779e8b (diff)
[Shadows] Create a new composition layer for shadows [6/n]
When generating the list of composition layers, generate one to render shadows based on the layer settings. The function passes in the display view port to calculate shadow position. When rendering a screenshot, use the layerstack of the root layer to find the display and its viewport since the shadows on the screenshot have to match how it was rendered on display. Pass in display or target output dataspace so shadows do not have to do any color conversion. Bug: 136561771 Test: go/wm-smoke Test: libcompositionengine_test Change-Id: I89795707f054b6a08dabc278d80ed393a0da0a7e
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions