DescriptionOnly do full tree sync if tree is actually changed, otherwise just push properties
We only have to run the complete tree synchronization algorithm if the cc::Layer tree's
structure is actually changed, otherwise we can just push properties over since the
cc::LayerImpl tree structure is never changed outside of commit.
Since scroll offset updates are tied into the tree synchronization algorithm, we currently
have to do a full tree sync for scroll updates. Fixing this will speed up scroll operations
but requires a bit more work.
Speeds up cc_perftests tenTenSingleThread by 7.3%
BUG=161166
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170881
Patch Set 1 #Patch Set 2 : extra newline #
Total comments: 2
Messages
Total messages: 9 (0 generated)
|