Add IsParentAlias as a property on paint property tree nodes.
This patch adds a notion of IsParentAlias to paint property tree nodes. In this patch, we make the root transform be an "alias for parent". Also, this adds some tests for various interactions with these nodes, as well as code in PaintChunksToCcLayer to ensure we don't emit unnecessary save/concat/restores for these nodes. We also need to do this for clips and effects, but this patch can land on its own. R=trchen@chromium.org, chrishtr@chromium.org Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ibf1a0cd21754dc226f7c19716028eafad63339c9 Reviewed-on: https://chromium-review.googlesource.com/1200382 Commit-Queue: vmpstr <vmpstr@chromium.org> Reviewed-by:Tien-Ren Chen <trchen@chromium.org> Reviewed-by:
Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#588898}
Showing
Please register or sign in to comment