DescriptionAvoid exposing cc::Layer tree to CompositorProxy
This is the first step in splitting out the AnimationWorklet/CompositorWorker
code to run in a separate thread. Instead of exposing LayerImpl objects to the
CompositorProxy, create a snapshot of the necessary layers and their mutable
properties and pass that down. After mutation, the output set of mutations is
used to update the layer tree.
There is a small behavioral change here. After this patch, when a single
element is proxied multiple times each proxy will only see the initial input
value from the layer tree and not any modifications made to it by other
proxies. Competing writes by multiple proxies are currently handled in an
ad-hoc last write wins approach.
BUG=694532
patch from issue 2756703002 at patchset 60001 (http://crrev.com/2756703002#ps60001)
Patch Set 1 #Patch Set 2 : Minor changes #
Total comments: 15
Patch Set 3 : Address reviewer comments #Patch Set 4 : Fix usage of element id #Patch Set 5 : Rebase onto blink reformat #
Total comments: 7
Messages
Total messages: 16 (6 generated)
|