summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Rajavenu Kyatham <rkyatham@codeaurora.org> 2018-04-10 12:34:05 +0530
committer Yichi Chen <yichichen@google.com> 2018-07-16 15:02:57 +0800
commit2eae6d383ad9973080296a9684db1ad691947e19 (patch)
tree2357fc39a1e658d0598eafbc3970861741a36abe /libs/input/KeyLayoutMap.cpp
parent7fea6fe154a8abaa33f91ad83be57e9d21dd7acc (diff)
SurfaceFlinger: Consider parent alpha as well
sf: Use layer alpha derived from parent layer Layer::getAlpha() function derives the plane alpha value for child layer from its parent layer. This alpha value is passed across all the composition devices like MDP and GPU for all child layers. But while clearing the FB region, only child layer alpha is checked instead of derived alpha value from parent. This causes FB clear to happen for non opaque layer results in flickering effect. Use derived alpha value from parent to fix the issue SF: Consider parent alpha as well in dim layer Consider parent alpha as well in dim layer during client composition same as device composition. Bug: b/110632776 Test: Run sffakehwc_test with new test cases in ChildColorLayerTest Change-Id: I99f320e0224f77ca1596f08d259d56907f82d6cc
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions