RESOLVED FIXED 89866
Add static qualifier to GraphicsContext3D::extractImageData.
https://bugs.webkit.org/show_bug.cgi?id=89866
Summary Add static qualifier to GraphicsContext3D::extractImageData.
Dongseong Hwang
Reported 2012-06-25 04:19:20 PDT
GraphicsContext3D::extractImageData does not use member variables. Each platform Accelerated-compositing implementation can use this method in order to get pixel data of an Image or ImageBuffer object.
Attachments
patch (4.88 KB, patch)
2012-06-25 04:21 PDT, Dongseong Hwang
no flags
patch v.2 (4.92 KB, patch)
2012-06-25 04:34 PDT, Dongseong Hwang
no flags
Dongseong Hwang
Comment 1 2012-06-25 04:21:06 PDT
WebKit Review Bot
Comment 2 2012-06-25 04:25:15 PDT
Attachment 149271 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/graphics/GraphicsContext3D.h:570: The parameter name "image" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebCore/platform/graphics/GraphicsContext3D.h:891: The parameter name "image" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 2 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dongseong Hwang
Comment 3 2012-06-25 04:34:10 PDT
Created attachment 149274 [details] patch v.2
Dongseong Hwang
Comment 4 2012-06-25 04:42:03 PDT
I amended Texmap to use GraphicsContext3D::extractImageData in Bug 89867.
Noam Rosenthal
Comment 5 2012-06-25 06:16:00 PDT
I think this is fine. mrobinson/kbr, any issue with this?
Martin Robinson
Comment 6 2012-06-25 08:26:09 PDT
This seems like a reasonable change to me.
Kenneth Russell
Comment 7 2012-06-25 08:27:15 PDT
Comment on attachment 149274 [details] patch v.2 Seems fine as long as it compiles.
Noam Rosenthal
Comment 8 2012-06-25 08:27:44 PDT
Comment on attachment 149274 [details] patch v.2 LGTM
WebKit Review Bot
Comment 9 2012-06-25 08:40:57 PDT
Comment on attachment 149274 [details] patch v.2 Clearing flags on attachment: 149274 Committed r121159: <http://trac.webkit.org/changeset/121159>
WebKit Review Bot
Comment 10 2012-06-25 08:41:03 PDT
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.