Description[Slimming Paint] Paint the inspector overlay with GraphicsLayer DisplayList.
Since some overlays are implemented in Chromium using WebCanvas,
this makes blink::PageOverlay capable of being painted with either
DisplayList or WebCanvas (in the latter case, one DrawingDisplayItem
is emitted).
Makes the inspector overlay work with slimming paint enabled.
Only one GraphicsLayer is used, and only full invalidation is
here right now, but adding partial invalidation support will
likely come "for free" when compositor layerization is
implemented.
Also adds unit tests for overlay painting. I'd also like to have
a LayoutTest which uses the proper inspector overlay, but that's
probably a separate patch (requires insight from dev tools folk).
BUG=450761
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189950
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : rebaseline canvas repainting test for slimming paint due to workaround #Patch Set 5 : incomplete - tests which ensure that overlays paint (which work with --enable-slimming-paint) #Patch Set 6 : WIP: PageOverlay meets Slimming Paint #Patch Set 7 : #Patch Set 8 : trimmed somewhat #Patch Set 9 : rebase etc #Patch Set 10 : #Patch Set 11 : #Patch Set 12 : #Patch Set 13 : #Patch Set 14 : #
Total comments: 2
Patch Set 15 : #Patch Set 16 : rebase #Patch Set 17 : WebGraphicsContext (per wangxianzhu) #Patch Set 18 : #
Total comments: 6
Messages
Total messages: 15 (2 generated)
|