summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2021-12-13 16:09:54 -0500
committer Leon Scroggins <scroggo@google.com> 2021-12-21 20:44:17 +0000
commitcb93d80da84605849815d95aee1bed00c2f3244d (patch)
tree7137085591c3a49c500e84c6eccd6bcfbea15a93 /libs/gui/BLASTBufferQueue.cpp
parentf2869ebfae17122927ad1c4895796efd48879c71 (diff)
Add eLayerIsDisplayDecoration flag
When this flag is set on a BufferLayer, it should use Composition.DISPLAY_DECORATION. The intent is that it will be set to true once on a SurfaceControl for the ScreenDecorations, and it will remain true, regardless of the currently used PixelFormat. When the PixelFormat changes (e.g. from A8 to RGBA8888 to accommodate the privacy dot), the HWC may change how it treats the layer. Only respect the new flag if the caller has the INTERNAL_SYSTEM_WINDOW permission. Bug: 193170859 Test: manual Change-Id: I1da03a88fb642fa775c192627f20459cae694951
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions