RESOLVED FIXED 72188
Expose compositeAndReadback in WebLayerTreeView
https://bugs.webkit.org/show_bug.cgi?id=72188
Summary Expose compositeAndReadback in WebLayerTreeView
vollick
Reported 2011-11-11 14:47:52 PST
Expose compositeAndReadback in WebLayerTreeView
Attachments
Patch (2.50 KB, patch)
2011-11-11 14:56 PST, vollick
no flags
Patch (2.75 KB, patch)
2011-11-11 15:58 PST, vollick
no flags
Patch (2.85 KB, patch)
2011-11-14 07:35 PST, vollick
no flags
vollick
Comment 1 2011-11-11 14:56:26 PST
WebKit Review Bot
Comment 2 2011-11-11 14:58:34 PST
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
Antoine Labour
Comment 3 2011-11-11 15:24:43 PST
View in context: https://bugs.webkit.org/attachment.cgi?id=114777&action=review > Source/WebKit/chromium/public/WebLayerTreeView.h:86 > + int height); WebKit is not subject to the 80 cols restrictions, so you can make it a single line. > Source/WebKit/chromium/src/WebLayerTreeView.cpp:90 > + int height) Single line > Source/WebKit/chromium/src/WebLayerTreeView.cpp:93 > + pixels, WebCore::IntRect(0, 0, width, height)); Single line
James Robinson
Comment 4 2011-11-11 15:34:08 PST
Comment on attachment 114777 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=114777&action=review > Source/WebKit/chromium/public/WebLayerTreeView.h:86 > + int width, > + int height); this should not line wrap and it should use a WebSize parameter instead of a pair of ints can you document the ownership model and requirements of the pixels buffer, and what goes into them (pretty sure it's rgba values) you also need to document the return value and what happens to *pixels when this function returns false > Source/WebKit/chromium/src/WebLayerTreeView.cpp:93 > + pixels, WebCore::IntRect(0, 0, width, height)); don't line wrap this either
vollick
Comment 5 2011-11-11 15:58:18 PST
Darin Fisher (:fishd, Google)
Comment 6 2011-11-13 20:40:00 PST
Comment on attachment 114792 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=114792&action=review > Source/WebKit/chromium/src/WebLayerTreeView.cpp:91 > + return m_private->compositeAndReadback(pixels, WebCore::IntRect(0, 0, size.width, size.height)); any reason not to expose the underlying subset capability? WebKit API changes LGTM
vollick
Comment 7 2011-11-14 07:35:55 PST
vollick
Comment 8 2011-11-14 07:37:48 PST
fishd: There was not a good reason for not exposing the subset functionality. It's now exposed.
WebKit Review Bot
Comment 9 2011-11-14 16:51:47 PST
Comment on attachment 114947 [details] Patch Clearing flags on attachment: 114947 Committed r100217: <http://trac.webkit.org/changeset/100217>
WebKit Review Bot
Comment 10 2011-11-14 16:51:51 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.