Descriptionoptimizing layout performance when only transform3d matrix changed by
optimizing layout performance when only transform3d matrix changed by
removing unnecessary RecomputeCompositingRequirements overhead.
It takes long time in compositing stage for pages with many compositing layers
such as www.famo.us. But it does not always need to do full
compositing(including RecomputeCompositingRequirements and UpdateLayerTreeGeometry)
for some JS trigged css animations(js changes transform3d matrix). In this patch,
if only style Changed with css-transform3d-matrix, we can just do
UpdateLayerTreeGeometry, since no-composting layers added or removed.
With this optimization, it improve www.famo.us fps from 10fps to 17fps.
BUG=337087
Patch Set 1 #
Total comments: 7
Messages
Total messages: 8 (1 generated)
|