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

Unified Diff: third_party/khronos/GLES2/gl2ext.h

Issue 10106015: Allow textures to be moved from one GL context group to another. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 months 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
Index: third_party/khronos/GLES2/gl2ext.h
===================================================================
--- third_party/khronos/GLES2/gl2ext.h (revision 133771)
+++ third_party/khronos/GLES2/gl2ext.h (working copy)
@@ -1982,6 +1982,25 @@
#define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2
#endif
+/* GL_CHROMIUM_copy_texture */
Ken Russell (switch to Gerrit) 2012/04/26 01:10:53 Should be GL_CHROMIUM_texture_mailbox. Also, the m
+#ifndef GL_CHROMIUM_copy_texture
+#define GL_CHROMIUM_copy_texture 1
+#ifdef GL_GLEXT_PROTOTYPES
+#define glGenMailboxCHROMIUM GLES2_GET_FUN(GenMailboxCHROMIUM)
+#define glProduceTextureCHROMIUM GLES2_GET_FUN(ProduceTextureCHROMIUM)
+#define glConsumeTextureCHROMIUM GLES2_GET_FUN(ConsumeTextureCHROMIUM)
+#if !defined(GLES2_USE_CPP_BINDINGS)
+GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM (char* mailbox);
+GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM (GLenum target, const char* mailbox);
+GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM (GLenum target, const char* mailbox);
+#endif
+#else
+typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUM) (char* mailbox);
+typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUM) (GLenum target, const char* mailbox);
+typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUM) (GLenum target, const char* mailbox);
+#endif
+#endif
+
#ifdef __cplusplus
}
#endif
« gpu/command_buffer/tests/gl_unittests.cc ('K') | « gpu/command_buffer_service.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698