From 6c8bbcb719653d761d688d3a47d85a8451e498e4 Mon Sep 17 00:00:00 2001 From: "apatrick@chromium.org" Date: Wed, 9 Nov 2011 01:51:56 +0000 Subject: Removed old code related to unimplemented GL_CHROMIUM_copy_texture_to_parent_texture and GL_CHROMIUM_latch. Not sure how I missed these first time around... Review URL: http://codereview.chromium.org/8481014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109164 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/GLES2/gl2ext.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'gpu') diff --git a/gpu/GLES2/gl2ext.h b/gpu/GLES2/gl2ext.h index e5b46b1..71a3df0 100644 --- a/gpu/GLES2/gl2ext.h +++ b/gpu/GLES2/gl2ext.h @@ -1233,19 +1233,6 @@ typedef void* (GL_APIENTRYP PFNGLMAPTEXSUBIMAGE2DCHROMIUM) (GLenum target, GLint typedef void (GL_APIENTRYP PFNGLUNMAPTEXSUBIMAGE2DCHROMIUM) (const void* mem); #endif -/* GL_CHROMIUM_copy_texture_to_parent_texture */ -#ifndef GL_CHROMIUM_copy_texture_to_parent_texture -#define GL_CHROMIUM_copy_texture_to_parent_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -#define glCopyTextureToParentTextureCHROMIUM GLES2_GET_FUN(CopyTextureToParentTextureCHROMIUM) -#if !defined(GLES2_USE_CPP_BINDINGS) -GL_APICALL void GL_APIENTRY glCopyTextureToParentTextureCHROMIUM (GLuint id, GLuint id2); -#endif -#else -typedef void (GL_APIENTRYP PFNGLCOPYTEXTURETOPARENTTEXTURECHROMIUM) (GLuint id, GLuint id2); -#endif -#endif - /* GL_CHROMIUM_resize */ #ifndef GL_CHROMIUM_resize #define GL_CHROMIUM_resize 1 @@ -1287,27 +1274,6 @@ typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONCHROMIUM) (const GLchar *extensi #endif #endif -/* GL_CHROMIUM_latch */ -/* - * This extension is similar in spirit to GL_NV_fence except - * that GL_CHROMIUM_latch does not require resources to be shared - * and it does not require glFlush semantics to work. - */ -#ifndef GL_CHROMIUM_latch -#define GL_CHROMIUM_latch 1 -#ifdef GL_GLEXT_PROTOTYPES -#define glSetLatchCHROMIUM GLES2_GET_FUN(SetLatchCHROMIUM) -#define glWaitLatchCHROMIUM GLES2_GET_FUN(WaitLatchCHROMIUM) -#if !defined(GLES2_USE_CPP_BINDINGS) -GL_APICALL void GL_APIENTRY glSetLatchCHROMIUM (GLuint latch_id); -GL_APICALL void GL_APIENTRY glWaitLatchCHROMIUM (GLuint latch_id); -#endif -#else -typedef void (GL_APIENTRYP PFNGLSETLATCHCHROMIUM) (GLuint latch_id); -typedef void (GL_APIENTRYP PFNGLWaitLATCHCHROMIUM) (GLuint latch_id); -#endif -#endif - /* GL_CHROMIUM_rate_limit_offscreen_context */ /* * This extension will block if the calling context has gotten more than two -- cgit v1.1