Get rid of paired display items for SPv2 |
||
Issue descriptionPaired display items are replaced by property tree nodes in SPv2. Currently, paired display items are still emitted even in SPv2 mode, but are ignored by the PaintArtifactCompositor when sending display lists from Blink to cc. The following use-cases block simply removing the paired display items: a. Subsequence caching depends upon subsequence display item markers. b. PaintRecordBuilder (formerly SkPictureBuilder) depends on a way to create paired display items that are then folded down into a single DrawingDisplayItem. The plan of record for how to remove paired display items while still supporting the above use-cases is: 1. Re-implement subsequence caching markers to be data structures outside of the actual display list, owned by the PaintController, which point at the beginnings and ends of each subsequence. 2. Factor the "folding" logic currently in the PaintArtifactCompositor for non-composited paint property tree nodes into a generic class which can fold a set of PaintChunks relative to an ancestor PropertyTreeState. 3. Migrate the PaintRecordBuilder use-cases to use #2. 4. Stop emitting paired display items.
,
Aug 11 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/eb35bbd49aacbaaa015c9cc63d9c6ae16a26d64c commit eb35bbd49aacbaaa015c9cc63d9c6ae16a26d64c Author: pdr <pdr@chromium.org> Date: Fri Aug 11 00:37:11 2017 Remove element id collision suppression system We added a hack to allow duplicate element ids for spv2 but it is no longer needed. Eventually, element ids will be removed entirely. Bug: 693693 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I6715c377673ddee41a1a6f3a1ac8cd5421cb0382 Reviewed-on: https://chromium-review.googlesource.com/611206 Reviewed-by: Walter Korman <wkorman@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#493618} [modify] https://crrev.com/eb35bbd49aacbaaa015c9cc63d9c6ae16a26d64c/cc/trees/layer_tree_impl.cc
,
Aug 11 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Feb 21 2017