DescriptionReuse existing paint property node is possible
This is required by subsequence caching for spv2. When we copy a cached
subsequence, we won't do actual paint and will use the existing
PaintChunkProperties which points to the paint property nodes created
during the previous paint. We are sure that the values of these property
nodes didn't change since the previous paint because we can use the
cached subsequence.
To meet this requirement, when building the paint property tree, instead
of rebuilding the whole tree by creating all new nodes, we should reuse
the existing nodes if their values don't change. The reused nodes should
be placed in the new tree.
In the future we may also reuse a whole subtree of property nodes.
BUG=596983
Committed: https://crrev.com/808643f3e84e993f05d2d2afdf1bab56217291b0
Cr-Commit-Position: refs/heads/master@{#407243}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : - #Patch Set 4 : Rebase #Patch Set 5 : - #Patch Set 6 : - #
Total comments: 10
Patch Set 7 : Use existing paint property node is possible #Patch Set 8 : - #
Total comments: 2
Patch Set 9 : - #
Total comments: 2
Dependent Patchsets: Messages
Total messages: 45 (27 generated)
|