Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Issue 308006: Implemented getActiveAttrib, getActiveUniform and readPixels. Removed... (Closed)

Created:
11 years, 2 months ago by Ken Russell (switch to Gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

Implemented getActiveAttrib, getActiveUniform and readPixels. Removed unnecessary UTF-8 conversion when converting C strings to WebKit Strings. Re-enabled WebGL in Dev Channel builds. BUG=http://crbug.com/21852 TEST=none (runs existing WebGL tests; more coming) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29632

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -13 lines) Patch
M build/features_override.gypi View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/api/src/GraphicsContext3D.cpp View 1 6 chunks +78 lines, -12 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Ken Russell (switch to Gerrit)
Please review. Thanks.
11 years, 2 months ago (2009-10-20 20:09:53 UTC) #1
darin (slow to review)
just some minor webkit style issues. otherwise, LGTM (fix these and then check in) http://codereview.chromium.org/308006/diff/1/2 ...
11 years, 2 months ago (2009-10-20 20:38:23 UTC) #2
Ken Russell (switch to Gerrit)
11 years, 2 months ago (2009-10-21 10:48:25 UTC) #3
http://codereview.chromium.org/308006/diff/1/2
File webkit/api/src/GraphicsContext3D.cpp (right):

http://codereview.chromium.org/308006/diff/1/2#newcode1304
Line 1304: if (program == NULL)
On 2009/10/20 20:38:23, darin wrote:
> nit: use 0 instead of NULL in webkit code.
> 
> actually, webkit style for these is to do "if (!program)":
> http://webkit.org/coding/coding-style.html

Done.

http://codereview.chromium.org/308006/diff/1/2#newcode1772
Line 1772: if (!((format == GL_RGBA) &&
On 2009/10/20 20:38:23, darin wrote:
> nit: webkit style would not line break here

Done.

http://codereview.chromium.org/308006/diff/1/2#newcode1774
Line 1774: return NULL;
On 2009/10/20 20:38:23, darin wrote:
> nit: use 0 instead of NULL in webkit code

Done.

Powered by Google App Engine
This is Rietveld 408576698