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 |