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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

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/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
===================================================================
--- gpu/command_buffer/client/gles2_c_lib_autogen.h (revision 68245)
+++ gpu/command_buffer/client/gles2_c_lib_autogen.h (working copy)
@@ -844,6 +844,17 @@
GPU_CLIENT_LOG("ResizeCHROMIUM" << "(" << width << ", " << height << ")");
gles2::GetGLContext()->ResizeCHROMIUM(width, height);
}
+const GLchar* GLES2GetRequestableExtensionsCHROMIUM() {
+ GPU_CLIENT_LOG("GetRequestableExtensionsCHROMIUM" << "(" << ")");
+ const GLchar* result =
+ gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM();
+ GPU_CLIENT_LOG("return:" << result)
+ return result;
+}
+void GLES2RequestExtensionCHROMIUM(const char* extension) {
+ GPU_CLIENT_LOG("RequestExtensionCHROMIUM" << "(" << extension << ")");
+ gles2::GetGLContext()->RequestExtensionCHROMIUM(extension);
+}
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698