summaryrefslogtreecommitdiffstats
path: root/third_party/khronos
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/khronos')
-rw-r--r--third_party/khronos/GLES2/gl2ext.h18
-rw-r--r--third_party/khronos/README.chromium1
2 files changed, 19 insertions, 0 deletions
diff --git a/third_party/khronos/GLES2/gl2ext.h b/third_party/khronos/GLES2/gl2ext.h
index 04fa4e0..8effd30 100644
--- a/third_party/khronos/GLES2/gl2ext.h
+++ b/third_party/khronos/GLES2/gl2ext.h
@@ -1955,6 +1955,24 @@ typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUM) (GLenum target, GLs
#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 GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
+#define GL_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.
*/
diff --git a/third_party/khronos/README.chromium b/third_party/khronos/README.chromium
index fb7daee..5a67f08 100644
--- a/third_party/khronos/README.chromium
+++ b/third_party/khronos/README.chromium
@@ -21,5 +21,6 @@ GLES2/gl2ext.h
- Added ANGLE_instanced_arrays
- Added GL_EXT_framebuffer_multisample
- Added GL_CHROMIUM_command_buffer_query
+ - Added GL_CHROMIUM_copy_texture
EGL/eglplatform.h
- Added EGLNative*Type for Mac.