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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 5626008: Exposed support for dynamically enabling extensions in command buffer... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/GLES2/gl2ext.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/build_gles2_cmd_buffer.py
===================================================================
--- gpu/command_buffer/build_gles2_cmd_buffer.py (revision 68245)
+++ gpu/command_buffer/build_gles2_cmd_buffer.py (working copy)
@@ -209,6 +209,8 @@
GL_APICALL void GL_APIENTRY glUnmapTexSubImage2DCHROMIUM (const void* mem);
GL_APICALL void GL_APIENTRY glCopyTextureToParentTextureCHROMIUM (GLidBindTexture client_child_id, GLidBindTexture client_parent_id);
GL_APICALL void GL_APIENTRY glResizeCHROMIUM (GLuint width, GLuint height);
+GL_APICALL const GLchar* GL_APIENTRY glGetRequestableExtensionsCHROMIUM (void);
+GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM (const char* extension);
"""
# This is the list of all commmands that will be generated and their Id.
@@ -410,6 +412,8 @@
'BlitFramebufferEXT': 446,
'CopyTextureToParentTextureCHROMIUM': 447,
'ResizeCHROMIUM': 448,
+ 'GetRequestableExtensionsCHROMIUM': 449,
+ 'RequestExtensionCHROMIUM': 450,
}
# This is a list of enum names and their valid values. It is used to map
@@ -1579,6 +1583,22 @@
'extension': True,
'chromium': True,
},
+ 'GetRequestableExtensionsCHROMIUM': {
+ 'type': 'Custom',
+ 'impl_func': False,
+ 'immediate': False,
+ 'cmd_args': 'uint32 bucket_id',
+ 'extension': True,
+ 'chromium': True,
+ },
+ 'RequestExtensionCHROMIUM': {
+ 'type': 'Custom',
+ 'impl_func': False,
+ 'immediate': False,
+ 'cmd_args': 'uint32 bucket_id',
+ 'extension': True,
+ 'chromium': True,
+ },
}
« no previous file with comments | « gpu/GLES2/gl2ext.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698