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

Issue 5927002: Moved the logic of maintaining the current context to gles2 helper library. (Closed)

Created:
10 years ago by alokp
Modified:
9 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, piman, brettw
Visibility:
Public.

Description

Moved the logic of maintaining the current context to gles2 helper library. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69838

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1803 lines, -1902 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 7 chunks +64 lines, -38 lines 0 comments Download
M gpu/demos/demos.gyp View 1 2 3 4 5 10 chunks +14 lines, -2 lines 0 comments Download
M gpu/demos/framework/pepper.cc View 1 2 3 4 5 6 chunks +17 lines, -7 lines 0 comments Download
D ppapi/GLES2/gl2.h View 1 2 3 4 5 1 chunk +0 lines, -607 lines 0 comments Download
D ppapi/GLES2/khrplatform.h View 1 2 3 4 5 1 chunk +0 lines, -269 lines 0 comments Download
M ppapi/c/dev/ppb_graphics_3d_dev.h View 1 2 3 4 5 1 chunk +0 lines, -8 lines 0 comments Download
M ppapi/c/dev/ppb_opengles_dev.h View 1 2 3 4 5 2 chunks +232 lines, -165 lines 0 comments Download
M ppapi/cpp/dev/graphics_3d_dev.h View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M ppapi/cpp/dev/graphics_3d_dev.cc View 1 2 3 4 5 4 chunks +5 lines, -33 lines 0 comments Download
M ppapi/lib/gl/gles2/gl2ext_ppapi.h View 1 2 3 4 5 3 chunks +3 lines, -5 lines 0 comments Download
M ppapi/lib/gl/gles2/gl2ext_ppapi.c View 1 2 3 4 5 1 chunk +34 lines, -8 lines 0 comments Download
M ppapi/lib/gl/gles2/gles2.c View 1 2 3 4 5 1 chunk +251 lines, -14 lines 0 comments Download
A ppapi/ppapi.gypi View 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/gles2_book/Common/Include/esUtil.h View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/gles2_book/gles2_book.gyp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppb_graphics_3d_impl.h View 1 2 3 4 5 3 chunks +2 lines, -8 lines 0 comments Download
M webkit/plugins/ppapi/ppb_graphics_3d_impl.cc View 1 2 3 4 5 8 chunks +2 lines, -54 lines 0 comments Download
D webkit/plugins/ppapi/ppb_open_gl_es_impl.cc View 1 2 3 4 5 1 chunk +0 lines, -673 lines 0 comments Download
A webkit/plugins/ppapi/ppb_opengles_impl.cc View 1 chunk +1147 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
alokp
10 years ago (2010-12-16 22:23:09 UTC) #1
apatrick_chromium
LGTM http://codereview.chromium.org/5927002/diff/1/gpu/demos/framework/pepper.cc File gpu/demos/framework/pepper.cc (right): http://codereview.chromium.org/5927002/diff/1/gpu/demos/framework/pepper.cc#newcode35 gpu/demos/framework/pepper.cc:35: glSetCurrentContextPPAPI(graphics_.pp_resource()); Unrelated to this patch and an aside ...
10 years ago (2010-12-16 22:46:00 UTC) #2
alokp
http://codereview.chromium.org/5927002/diff/1/gpu/demos/framework/pepper.cc File gpu/demos/framework/pepper.cc (right): http://codereview.chromium.org/5927002/diff/1/gpu/demos/framework/pepper.cc#newcode35 gpu/demos/framework/pepper.cc:35: glSetCurrentContextPPAPI(graphics_.pp_resource()); On 2010/12/16 22:46:00, apatrick_chromium wrote: > Unrelated to ...
10 years ago (2010-12-20 17:24:40 UTC) #3
alokp
Gregg: Could you please look at build_gles2_cmd_buffer.py changes. Neb: For some reason ppapi_cpp target does ...
10 years ago (2010-12-20 19:10:12 UTC) #4
neb at google
We should figure out why are the entry points not exported, because that worked fine ...
10 years ago (2010-12-20 19:38:54 UTC) #5
greggman
the build_gles2_cmd_buffer.py changes look fine. I don't like the hardcoded check for "swapbuffers" though. I'd ...
10 years ago (2010-12-20 19:56:21 UTC) #6
alokp
10 years ago (2010-12-20 21:32:54 UTC) #7
On 2010/12/20 19:56:21, greggman wrote:
> the build_gles2_cmd_buffer.py changes look fine. I don't like the hardcoded
> check for "swapbuffers" though. I'd prefer you either mark it as an extension
or
> add new flag.

Added extension flag. Thanks.

Powered by Google App Engine
This is Rietveld 408576698