DescriptionSkImage-ify DragImage
Rework DragImage using the SkImage API. Significant bits:
* get rid of Image::deprecatedBitmapCurrentFrame callers, convert to Image::imageForCurrentFrame
* consolidate the currently distinct DragImage passes (create, fitToMaxSize, dissolveToFraction)
into a single pass (this can avoid several unneeded copies)
* implement the above using Skia SkSurface/SkCanvas primitives (instead of ImageOperations::Resize
and direct pixel RAM poking)
* avoid unneeded rasterization in LocalFrame::paintIntoDragImage() - return an
SkPictureImageGenerator-backed Image instead
* also remove an unneeded clip and related plumbing in LocalFrame::paintIntoDragImage()
BUG=449197
R=reed@google.com,junov@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200605
Patch Set 1 #Patch Set 2 : v2 #Patch Set 3 : unit test fix #Patch Set 4 : more unit test fixes, cleanup #Patch Set 5 : selection opacity fix #Patch Set 6 : expectations #
Messages
Total messages: 15 (6 generated)
|