Chromium Code Reviews| Index: third_party/khronos/GLES2/gl2ext.h |
| =================================================================== |
| --- third_party/khronos/GLES2/gl2ext.h (revision 128216) |
| +++ third_party/khronos/GLES2/gl2ext.h (working copy) |
| @@ -1955,6 +1955,24 @@ |
| #endif |
| #endif |
| +/* GL_CHROMIUM_copy_texture */ |
| +#ifndef GL_CHROMIUM_copy_texture |
| +#ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM |
| +#define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241 |
| +#endif |
| +#ifndef UNPACK_COLORSPACE_CONVERSION_CHROMIUM |
|
apatrick_chromium
2012/04/05 21:58:39
These are missing GL_ prefixes.
Jeff Timanus
2012/04/13 00:13:29
Done.
|
| +#define UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 |
| +#endif |
| +#ifdef GL_GLEXT_PROTOTYPES |
| +#define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM) |
| +#if !defined(GLES2_USE_CPP_BINDINGS) |
| +GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM (GLenum target, GLenum source_id, GLenum dest_id, GLint level); |
| +#endif |
| +#else |
| +typedef void (GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUM) (GLenum target, GLenum source_id, GLenum dest_id, GLint level); |
| +#endif |
| +#endif |
| + |
| /* GL_CHROMIUM_command_buffer_query */ |
| /* Exposes GL_CHROMIUM_command_buffer_query. |
| */ |