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

Issue 6100009: Move the in-process WebGL implementation from the WebKit to the... (Closed)

Created:
9 years, 11 months ago by Ken Russell (switch to Gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, apatrick_chromium, brettw-cc_chromium.org, Ben Goodger (Google), Zhenyao Mo
Visibility:
Public.

Description

Move the in-process WebGL implementation from the WebKit to the Chromium repository to break circular dependencies on Chromium's OpenGL bindings in app/gfx/gl. The minimal changes to the code were made in order to break dependencies on WebCore types and to make the code fit the Google C++ style guide as closely as possible. There are many references to undesirable types like "long" in the WebGraphicsContext3D interface, which are the source of the majority of lint errors and which will be fixed in follow-on work. The upstream WebGraphicsContext3DDefaultImpl will be deleted after this lands. Tested: - Various WebGL demos in Chrome - Built and ran WebGL layout tests in DRT BUG=none TEST=none (see above) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71069

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+2165 lines, -4 lines) Patch
M chrome/chrome_renderer.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/renderer_webkitclient_impl.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/DEPS View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A webkit/gpu/webgraphicscontext3d_in_process_impl.h View 1 2 1 chunk +470 lines, -0 lines 2 comments Download
A webkit/gpu/webgraphicscontext3d_in_process_impl.cc View 1 2 3 4 1 chunk +1653 lines, -0 lines 1 comment Download
A webkit/gpu/webkit_gpu.gypi View 1 chunk +30 lines, -0 lines 0 comments Download
M webkit/support/test_webkit_client.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M webkit/support/webkit_support.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/support/webkit_support.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ken Russell (switch to Gerrit)
Please review. Thanks.
9 years, 11 months ago (2011-01-11 02:56:55 UTC) #1
Ken Russell (switch to Gerrit)
Expanded DEPS rules slightly to allow webkit/gpu to be referenced from renderer and app/gfx/ to ...
9 years, 11 months ago (2011-01-11 18:22:33 UTC) #2
darin (slow to review)
LGTM http://codereview.chromium.org/6100009/diff/24001/webkit/gpu/webgraphicscontext3d_in_process_impl.cc File webkit/gpu/webgraphicscontext3d_in_process_impl.cc (right): http://codereview.chromium.org/6100009/diff/24001/webkit/gpu/webgraphicscontext3d_in_process_impl.cc#newcode71 webkit/gpu/webgraphicscontext3d_in_process_impl.cc:71: if (initialized_) { nit: recommend returning early if ...
9 years, 11 months ago (2011-01-11 19:32:51 UTC) #3
darin (slow to review)
sorry for not catching this earlier.... http://codereview.chromium.org/6100009/diff/24001/webkit/gpu/webgraphicscontext3d_in_process_impl.h File webkit/gpu/webgraphicscontext3d_in_process_impl.h (right): http://codereview.chromium.org/6100009/diff/24001/webkit/gpu/webgraphicscontext3d_in_process_impl.h#newcode24 webkit/gpu/webgraphicscontext3d_in_process_impl.h:24: namespace webkit_gpu { ...
9 years, 11 months ago (2011-01-11 20:41:56 UTC) #4
Ken Russell (switch to Gerrit)
9 years, 11 months ago (2011-01-11 22:02:54 UTC) #5
On 2011/01/11 20:41:56, darin wrote:
> sorry for not catching this earlier....
> 
>
http://codereview.chromium.org/6100009/diff/24001/webkit/gpu/webgraphicsconte...
> File webkit/gpu/webgraphicscontext3d_in_process_impl.h (right):
> 
>
http://codereview.chromium.org/6100009/diff/24001/webkit/gpu/webgraphicsconte...
> webkit/gpu/webgraphicscontext3d_in_process_impl.h:24: namespace webkit_gpu {
> one more nit:  according to brettw's post to chromium-dev about namespace
> naming, this should really be
> 
> namespace webkit {
> namespace gpu {

Changing the namespace under http://codereview.chromium.org/6166008/ .

Powered by Google App Engine
This is Rietveld 408576698