RESOLVED WONTFIX 64302
[skia] optimize getImageData to avoid a copy when not needed. lockPixels() now does the right thing.
https://bugs.webkit.org/show_bug.cgi?id=64302
Summary [skia] optimize getImageData to avoid a copy when not needed. lockPixels() no...
Mike Reed
Reported 2011-07-11 11:54:54 PDT
[skia] optimize getImageData to avoid a copy when not needed. lockPixels() now does the right thing.
Attachments
Patch (2.10 KB, patch)
2011-07-11 11:56 PDT, Mike Reed
no flags
Patch (2.10 KB, patch)
2011-07-11 12:12 PDT, Mike Reed
no flags
Patch (2.10 KB, patch)
2011-07-12 05:24 PDT, Mike Reed
no flags
Mike Reed
Comment 1 2011-07-11 11:56:41 PDT
WebKit Review Bot
Comment 2 2011-07-11 12:06:32 PDT
Comment on attachment 100341 [details] Patch Attachment 100341 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/9014296
Kenneth Russell
Comment 3 2011-07-11 12:11:21 PDT
Comment on attachment 100341 [details] Patch Does this need a roll of the Chromium revision in WebKit/Source/WebKit/chromium/DEPS, and is that why the patch doesn't build on the cr-linux EWS?
Mike Reed
Comment 4 2011-07-11 12:12:16 PDT
Mike Reed
Comment 5 2011-07-11 12:12:51 PDT
may need webkit to update to a newer chrome/skia DEPS for this to build.
WebKit Review Bot
Comment 6 2011-07-11 12:24:08 PDT
Comment on attachment 100344 [details] Patch Attachment 100344 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/9010567
Kenneth Russell
Comment 7 2011-07-11 12:26:22 PDT
Comment on attachment 100344 [details] Patch Per above comment, please update chromium_rev in Source/WebKit/chromium/DEPS.
Mike Reed
Comment 8 2011-07-12 05:24:14 PDT
Mike Reed
Comment 9 2011-07-12 05:35:06 PDT
no code change for this patch, just rebaselined the ChangeLog file
Kenneth Russell
Comment 10 2011-07-12 11:20:15 PDT
Comment on attachment 100470 [details] Patch Looks good to me.
Stephen White
Comment 11 2011-07-12 11:22:42 PDT
Comment on attachment 100470 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=100470&action=review > Source/WebCore/platform/graphics/skia/ImageBufferSkia.cpp:228 > + return result.release(); Just for my own edification: is this early-out for failure of the accessBitmap(), the extractSubset() or both?
Mike Reed
Comment 12 2011-07-12 11:23:20 PDT
accessBitmap() never fails. The boolean check is on extractSubset().
Stephen White
Comment 13 2011-07-12 11:23:28 PDT
Comment on attachment 100470 [details] Patch Looks good to me too (restoring r+).
WebKit Review Bot
Comment 14 2011-07-12 11:32:06 PDT
Comment on attachment 100470 [details] Patch Clearing flags on attachment: 100470 Committed r90831: <http://trac.webkit.org/changeset/90831>
WebKit Review Bot
Comment 15 2011-07-12 11:32:11 PDT
All reviewed patches have been landed. Closing bug.
James Robinson
Comment 16 2011-07-12 18:20:25 PDT
Note You need to log in before you can comment on or make changes to this bug.