summaryrefslogtreecommitdiff
path: root/libs/shaders/shaders.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2022-01-11 16:53:09 -0500
committer Leon Scroggins III <scroggo@google.com> 2022-01-28 15:48:47 -0500
commit9a0afda7680840a704f179b20f97d5a4a3cf8780 (patch)
tree6c3e8b507f7e4969f09645ebbc9e1195fd7b0772 /libs/shaders/shaders.cpp
parent701625279bbe4e08d7cc638835b098dbccecf00d (diff)
Set blockingRegion for DISPLAY_DECORATION layers
Devices that have support for DISPLAY_DECORATION layers may also have support for a blockingRegion, which will allow the DPU to skip regions that are known to be transparent, in order to save power. Use the transparentRegionHint to compute the blockingRegion. It may not be accurate for all layers, which is why it is only used for DISPLAY_DECORATION layers. Add tests. Bug: 212736475 Test: libcompositionengine_test Change-Id: I6c5d29614dc8d65d8481150ce717a440192083a0
Diffstat (limited to 'libs/shaders/shaders.cpp')
0 files changed, 0 insertions, 0 deletions