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

Issue 7056020: Make WebGraphics3DCommandBufferImpl use GLES2Implemenation directly. (Closed)

Created:
9 years, 7 months ago by greggman
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam, Jói
Visibility:
Public.

Description

Make WebGraphics3DCommandBufferImpl use GLES2Implemenation directly. Note: I can do this 2 ways. I can either make it call it truly direclty as in gles2_implementation_->BindBuffer(args) or I can do as I have using CALL_GL_API in which case it's CALL_GL_API(BindBuffer)(args) The only advantage to the second format is a macro changes it back to the way it was. On the other hand the class is called WebGraphics3DCommandBufferImpl so maybe I should change it to the first style. TEST=try-bots and ran chrome myself BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86325

Patch Set 1 #

Total comments: 4

Patch Set 2 : switched to gl_-> style #

Patch Set 3 : fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -123 lines) Patch
M content/renderer/webgraphicscontext3d_command_buffer_impl.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/webgraphicscontext3d_command_buffer_impl.cc View 1 26 chunks +81 lines, -123 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
greggman
Happy to change this if you object the style
9 years, 7 months ago (2011-05-21 00:49:02 UTC) #1
Ken Russell (switch to Gerrit)
These are just my thoughts. I don't have a strong opinion. Adding Al to the ...
9 years, 7 months ago (2011-05-21 01:09:21 UTC) #2
greggman
http://codereview.chromium.org/7056020/diff/1/content/renderer/webgraphicscontext3d_command_buffer_impl.cc File content/renderer/webgraphicscontext3d_command_buffer_impl.cc (right): http://codereview.chromium.org/7056020/diff/1/content/renderer/webgraphicscontext3d_command_buffer_impl.cc#newcode221 content/renderer/webgraphicscontext3d_command_buffer_impl.cc:221: localMakeContextCurrent(); You're right. I changed it to the simpler ...
9 years, 7 months ago (2011-05-21 01:22:49 UTC) #3
apatrick_chromium
I think this is the better way too. LGTM.
9 years, 7 months ago (2011-05-23 18:15:50 UTC) #4
Ken Russell (switch to Gerrit)
LGTM
9 years, 7 months ago (2011-05-23 18:20:28 UTC) #5
greggman
hey James, can you please review this (or stamp approval) since you are the OWNER ...
9 years, 7 months ago (2011-05-23 19:03:36 UTC) #6
jamesr
9 years, 7 months ago (2011-05-23 19:17:17 UTC) #7
LGTM!

Powered by Google App Engine
This is Rietveld 408576698