DescriptionOptimize alpha software PictureDrawQuads.
Instead of mallocing another bitmap, edit the SkPicture's draw commands
at playback time to use the PictureDrawQuad's opacity. This
results in similar performance as if Blink had baked in the opacity in
the first place. However, it's not correct in some cases:
filed http://crbug.com/280374 to track.
Also turn off setFilterBitmap for software PictureDrawQuads as this is
very costly in practice.
BUG=275048
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220257
Patch Set 1 #Patch Set 2 : Remove default arguments #
Total comments: 3
Patch Set 3 : Add DCHECK for xfermode #
Total comments: 4
Patch Set 4 : Remove SkXfermode override #Patch Set 5 : Add bug number #Patch Set 6 : Add a test and bring back Ganesh support #
Total comments: 1
Patch Set 7 : Add TODO to comment #
Total comments: 13
Patch Set 8 : tomhudson@'s code review comments #
Total comments: 4
Patch Set 9 : Rebase to 220074 #Patch Set 10 : Revert gl_renderer changes #
Messages
Total messages: 19 (0 generated)
|