diff options
| author | Michael I. Gold <gold@nvidia.com> | 2010-09-15 15:46:24 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2010-09-15 17:15:31 -0700 |
| commit | e20a56d929fc8fedc2b468ea6d1900bd2aa6e81a (patch) | |
| tree | 50f83446ffa80c8cf20c96b51b621631c114f4b9 /opengl/include/GLES2/gl2ext.h | |
| parent | 698ddb0cd64f7e317ae2f98de05d6462f22b2b2a (diff) | |
| download | frameworks_base-e20a56d929fc8fedc2b468ea6d1900bd2aa6e81a.zip frameworks_base-e20a56d929fc8fedc2b468ea6d1900bd2aa6e81a.tar.gz frameworks_base-e20a56d929fc8fedc2b468ea6d1900bd2aa6e81a.tar.bz2 | |
surfaceflinger / GL extensions cleanup
Add correct enumerants for OES_EGL_image_external to glext.h.
SurfaceFlinger now checks for the correct extension name.
Change-Id: I2ba2728a01fa2260bd086d2df4316c68f694a9b1
Diffstat (limited to 'opengl/include/GLES2/gl2ext.h')
| -rw-r--r-- | opengl/include/GLES2/gl2ext.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/opengl/include/GLES2/gl2ext.h b/opengl/include/GLES2/gl2ext.h index de5d65a..9db4e25 100644 --- a/opengl/include/GLES2/gl2ext.h +++ b/opengl/include/GLES2/gl2ext.h @@ -146,9 +146,12 @@ typedef void* GLeglImageOES; #define GL_INT_10_10_10_2_OES 0x8DF7 #endif -/* GL_OES_texture_external */ -#ifndef GL_TEXTURE_EXTERNAL_OES +/* GL_OES_EGL_image_external */ +#ifndef GL_OES_EGL_image_external #define GL_TEXTURE_EXTERNAL_OES 0x8D65 +#define GL_SAMPLER_EXTERNAL_OES 0x8D66 +#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 +#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 #endif /*------------------------------------------------------------------------* @@ -546,9 +549,9 @@ typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); #define GL_OES_vertex_type_10_10_10_2 1 #endif -/* GL_OES_texture_external */ -#ifndef GL_OES_texture_external -#define GL_OES_texture_external 1 +/* GL_OES_EGL_image_external */ +#ifndef GL_OES_EGL_image_external +#define GL_OES_EGL_image_external 1 #endif /*------------------------------------------------------------------------* |
