[Pre-CompositeAfterPaint] Allow chunk to escape noop layer effects
In pre-CompositeAfterPaint, we may squash one layer into another, but the squashing layer may create more effect nodes not for real effects, causing squashed layer's effect to escape the squashing layer's effect. It's hard for compositor-before-paint to avoid this because it doesn't know if PaintPropertyTreeBuilder will create such effect nodes. In https://chromium-review.googlesource.com/c/1484671, I changed I changed 'break' to 'return' for chunk-effect-escaping-layer-effect, which prevented the chunk effect from being applied. For the case we can continue because the extra effects are noop. Bug: 971558 Change-Id: Ic009092ea9b371f79e30c4cdb2801d1c2319e4cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1649411Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#667357}
Showing
This diff is collapsed.
Please register or sign in to comment