DescriptionCompute style-determined compositing reasons during recalc style
There's no need to constantly recompute this data. It's
already determined by the style information, so we might as
well just compute it once during style recalc.
Note: We're still computing all the direct compositing
reasons during style recalc (via updateLayerCompositingState in RenderLayer::styleChanged), but now we skip recomputing
the style determined reasons again when updating layout
and compositing. ASSERTs verify that we get the same answer
as before.
This CL reduces the amount of time spent in the compositing
update for dragging the drawer in the Polymer calculator by
3%.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169766
Patch Set 1 #Patch Set 2 : Cleaner #
Total comments: 4
Patch Set 3 : No longer friends #
Messages
Total messages: 12 (0 generated)
|