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

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

Issue 9968113: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 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.
*/

Powered by Google App Engine
This is Rietveld 408576698