DescriptionAdd GraphicsLayerDebugInfo::includesNewPaintInvalidation to distinguish paint from new RenderObjects
This is a Blink side patch for visualizing paint
invalidation for newly created RenderObject.
Demo @ https://www.youtube.com/watch?v=L-zo91nL2nE&list=UUGC5ommqy7KyPzZ-eGlL_Dg
This CL adds a flag |hadPaintInvalidation| in
RenderObject to track if the RenderObject had ever been
painted. The flag is then used to notify |WebLayer| if it
includes the first paint invalidation for the RenderObject.
After this CL, WebLayer implementator can query this info to
visualize the layer invalidation including the first paint,
which is useful for telling if the repaint storm is due to
the page itself, or is a performance bug in Blink rendering
stack.
BUG=402033
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : crash fix #Patch Set 4 : rebased #Patch Set 5 : use GraphicsLayerInfo #
Total comments: 6
Patch Set 6 : reset from FrameView #
Total comments: 1
Patch Set 7 : rebased #Patch Set 8 : rebased #
Total comments: 8
Patch Set 9 : review #
Total comments: 1
Messages
Total messages: 20 (1 generated)
|