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

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: Adding extension implementation files. 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,28 @@
#endif
#endif
+/* GL_CHROMIUM_copy_texture */
+#ifndef GL_CHROMIUM_copy_texture
+#define GL_ARB_texture_rectangle 1
+#ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM
+#define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241
+#endif
+#ifndef UNPACK_COLORSPACE_CONVERSION_CHROMIUM
+#define UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
+#endif
+#ifndef BROWSER_DEFAULT_CHROMIUM
+#define BROWSER_DEFAULT_CHROMIUM 0x9244
+#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