Descriptioncc: Re-use transforms from transform nodes when computing visible rects
This makes CalculateVisibleRects try to re-use the to_target and
from_target transforms stored in transform nodes whenever it needs to
compute a transform. Since these baked transforms incorporate the
target's sublayer scale, the fallback path now also includes sublayer
scale for consistency.
Testing locally on a z620, this improves property tree computation time
by 25% on rAF-driven poster circle.
BUG=474725
Committed: https://crrev.com/3ae2b258d39e00f11212167be326b5a6a78d3793
Cr-Commit-Position: refs/heads/master@{#324671}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Rebased #Patch Set 4 : Fix layout test failure #Patch Set 5 : Clean up sublayer scaling #Patch Set 6 : Fix scaling logic #Patch Set 7 : Add unit test #Patch Set 8 : Rebased #
Total comments: 2
Messages
Total messages: 19 (3 generated)
|