summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorMinkyoung Kim <sleepigmk@gmail.com>2021-01-14 15:02:57 +0900
committerMinkyoung Kim <sleepigmk@gmail.com>2021-01-14 16:22:04 +0900
commit937f055497be6fe829f69e8f547b992e0b36b405 (patch)
tree8cb96bb083b7f5c7af397f24f44b87bf3b0adebb /libs
parent3b26172c84c8783c05b16556754e2d8c3c97ac2f (diff)
Check ProjectBackwards property for childrens after children's syncProperties().
Children's ProjectBackwards is not applied. So it's skipped so far. This fix a problem that first ripple bg is not shown properly. :It uses ProjectBackwards&ProjectReceiver concept. For deeper understanding, refer to https://partnerissuetracker.corp.google.com/issues/173476923 Test: aosp build , Full test on samsung mobile device Change-Id: I36a1bc95673093ba2c886703974bf672c53c2cf3
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/pipeline/skia/SkiaDisplayList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/pipeline/skia/SkiaDisplayList.cpp b/libs/hwui/pipeline/skia/SkiaDisplayList.cpp
index 158c3493a90c..2edd48c5a41b 100644
--- a/libs/hwui/pipeline/skia/SkiaDisplayList.cpp
+++ b/libs/hwui/pipeline/skia/SkiaDisplayList.cpp
@@ -102,12 +102,12 @@ bool SkiaDisplayList::prepareListAndChildren(
bool hasBackwardProjectedNodesSubtree = false;
for (auto& child : mChildNodes) {
- hasBackwardProjectedNodesHere |= child.getNodeProperties().getProjectBackwards();
RenderNode* childNode = child.getRenderNode();
Matrix4 mat4(child.getRecordedMatrix());
info.damageAccumulator->pushTransform(&mat4);
info.hasBackwardProjectedNodes = false;
childFn(childNode, observer, info, functorsNeedLayer);
+ hasBackwardProjectedNodesHere |= child.getNodeProperties().getProjectBackwards();
hasBackwardProjectedNodesSubtree |= info.hasBackwardProjectedNodes;
info.damageAccumulator->popTransform();
}