summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2021-03-23 15:00:45 -0700
committer Alec Mouri <alecmouri@google.com> 2021-04-01 15:43:44 -0700
commitee69a59d61a25f7791fa38a14cbb03854d21ebf7 (patch)
tree13c5dbee2115accb08e1c873145a1d0f3039e038 /services/surfaceflinger/RegionSamplingThread.cpp
parent9737f323762359ca7fa9ec46e4ce4139f0ecc30a (diff)
Override buffer always sets blend mode and plane alpha
This fixes a caching issue where split screen chrome blanks out the other side of the split screen, because chrome uses an opaque layer and is the first layer of the cached set. The opaque bit must not be propagated to composer, since the cached buffer is allowed to blend with other layers if there are undamaged regions. Similarly, plane alpha is already applied when generating the override buffer, so we should not re-apply a non-zero plane alpha. Bug: 183480321 Test: libcompositionengine_test Test: split screen with chrome and recent screen Change-Id: I22ef304409f15f10435d824e5fab6d0c075d1b9a
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions