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

Issue 5626008: Exposed support for dynamically enabling extensions in command buffer... (Closed)

Created:
10 years ago by Ken Russell (switch to Gerrit)
Modified:
9 years, 7 months ago
Reviewers:
greggman
CC:
chromium-reviews, brettw-cc_chromium.org, darin-cc_chromium.org, apatrick_chromium, Paweł Hajdan Jr.
Visibility:
Public.

Description

Exposed support for dynamically enabling extensions in command buffer implementation via new glGetRequestableExtensionsCHROMIUM and glRequestExtensionCHROMIUM entry points. These entry points are needed in order to allow WebGL to both query the available extensions and enable them individually. Added these entry points to WebGraphicsContext3DCommandBufferImpl. A subsequent WebKit checkin under https://bugs.webkit.org/show_bug.cgi?id=40316 will utilize them and implement the OES_texture_float extension for WebGL. BUG=none TEST=none (ran with new oes-texture-float.html WebGL conformance test) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68352

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+427 lines, -112 lines) Patch
M chrome/renderer/webgraphicscontext3d_command_buffer_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc View 1 2 chunks +11 lines, -1 line 0 comments Download
M gpu/GLES2/gl2ext.h View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 3 chunks +20 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 chunk +12 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 chunk +31 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 chunk +68 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 chunk +26 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 5 1 chunk +16 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 4 chunks +97 lines, -37 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 chunk +42 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2.cc View 1 2 3 4 1 chunk +0 lines, -12 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h View 2 chunks +4 lines, -42 lines 0 comments Download
M gpu/command_buffer/service/mocks.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/shader_translator.h View 4 chunks +7 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/shader_translator.cc View 1 2 3 5 chunks +25 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/shader_translator_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ken Russell (switch to Gerrit)
Please review. Thanks.
10 years ago (2010-12-04 00:53:13 UTC) #1
greggman
I'm not sure I understand why all the refactoring in feature_info.cc/h You could leave those ...
10 years ago (2010-12-04 01:28:44 UTC) #2
Ken Russell (switch to Gerrit)
On 2010/12/04 01:28:44, greggman wrote: > I'm not sure I understand why all the refactoring ...
10 years ago (2010-12-04 02:17:46 UTC) #3
Ken Russell (switch to Gerrit)
I was wrong; one bug fix was needed to feature_info.cc to allow GL_OES_texture_float and friends ...
10 years ago (2010-12-04 03:44:37 UTC) #4
greggman
10 years ago (2010-12-06 17:10:05 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698