Bug 89866 - Add static qualifier to GraphicsContext3D::extractImageData.
Summary: Add static qualifier to GraphicsContext3D::extractImageData.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 89867
  Show dependency treegraph
 
Reported: 2012-06-25 04:19 PDT by Dongseong Hwang
Modified: 2012-06-25 08:41 PDT (History)
4 users (show)

See Also:


Attachments
patch (4.88 KB, patch)
2012-06-25 04:21 PDT, Dongseong Hwang
no flags Details | Formatted Diff | Diff
patch v.2 (4.92 KB, patch)
2012-06-25 04:34 PDT, Dongseong Hwang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dongseong Hwang 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.
Comment 1 Dongseong Hwang 2012-06-25 04:21:06 PDT
Created attachment 149271 [details]
patch
Comment 2 WebKit Review Bot 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.
Comment 3 Dongseong Hwang 2012-06-25 04:34:10 PDT
Created attachment 149274 [details]
patch v.2
Comment 4 Dongseong Hwang 2012-06-25 04:42:03 PDT
I amended Texmap to use  GraphicsContext3D::extractImageData in Bug 89867.
Comment 5 Noam Rosenthal 2012-06-25 06:16:00 PDT
I think this is fine. mrobinson/kbr, any issue with this?
Comment 6 Martin Robinson 2012-06-25 08:26:09 PDT
This seems like a reasonable change to me.
Comment 7 Kenneth Russell 2012-06-25 08:27:15 PDT
Comment on attachment 149274 [details]
patch v.2

Seems fine as long as it compiles.
Comment 8 Noam Rosenthal 2012-06-25 08:27:44 PDT
Comment on attachment 149274 [details]
patch v.2

LGTM
Comment 9 WebKit Review Bot 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>
Comment 10 WebKit Review Bot 2012-06-25 08:41:03 PDT
All reviewed patches have been landed.  Closing bug.