diff options
author | Stan Iliev <stani@google.com> | 2016-11-08 14:18:31 -0500 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2016-11-22 16:38:20 -0500 |
commit | db45a4bfaff1120a9b23073e46a0cc6d39f56023 (patch) | |
tree | 1b5501d6d3b8de98b4da6d8e431e1d563f99eca0 /libs/hwui/TreeInfo.h | |
parent | 3dfca02da4d1a324fded26ab4bb2251b6fe7a27f (diff) |
Fix Skia render node projection to match HWUI
Fix Skia render node projection to match HWUI. Port
FrameBuilderTests_projectionReorder test for Skia pipeline.
Add new tests in both HWUI and Skia to cover more projection
use cases.
Test: built and run on angler-eng
Change-Id: Ibf27af211452ae95d595aca7723ea63f48b0b282
Diffstat (limited to 'libs/hwui/TreeInfo.h')
-rw-r--r-- | libs/hwui/TreeInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/TreeInfo.h b/libs/hwui/TreeInfo.h index 2087fca205da..749efdd26927 100644 --- a/libs/hwui/TreeInfo.h +++ b/libs/hwui/TreeInfo.h @@ -116,6 +116,9 @@ public: bool canDrawThisFrame = true; } out; + // This flag helps to disable projection for receiver nodes that do not have any backward + // projected children. + bool hasBackwardProjectedNodes = false; // TODO: Damage calculations }; |