DescriptionSimplify and speed up painting of clipping masks
To paint the contents of clipping mask layers, we use the full paint machinery including paint offsets, several layers of paint methods in a call hierarchy, layout object queries and more.
All we need to do when we have already processed the clips is to fill the area bounded by the clip rects with black.
This will save all those method calls, and a bunch of if checks that
slow down every other paint operation, and makes border-radius for
composited children much more efficient and less complex.
R=chrishtr@chromium.org
BUG=674977
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Patch Set 1 #Patch Set 2 : Fix cases with no clip recorder #
Messages
Total messages: 13 (9 generated)
|