From caa46f753835f8bb87fc16e22734f27a1d52bb27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 11 Feb 2010 17:36:59 -0500 Subject: [PATCH] glapi: Add GL_OES_EGL_image --- include/GL/gl.h | 15 +++++++++++++++ src/mesa/glapi/gen/Makefile | 3 ++- src/mesa/glapi/gen/OES_EGL_image.xml | 20 ++++++++++++++++++++ src/mesa/glapi/gen/gl_API.xml | 2 ++ 4 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 src/mesa/glapi/gen/OES_EGL_image.xml diff --git a/include/GL/gl.h b/include/GL/gl.h index 36153b159b0..3fce3dfc0a1 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -2196,6 +2196,21 @@ typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLen #endif /* GL_ATI_blend_equation_separate */ +/* GL_OES_EGL_image */ +#ifndef GL_OES_EGL_image +typedef void* GLeglImageOES; +#endif + +#ifndef GL_OES_EGL_image +#define GL_OES_EGL_image 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); +GLAPI void APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); +#endif +typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); +typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); +#endif + /** ** NOTE!!!!! If you add new functions to this file, or update diff --git a/src/mesa/glapi/gen/Makefile b/src/mesa/glapi/gen/Makefile index 6b6b9aecaa4..4984da85818 100644 --- a/src/mesa/glapi/gen/Makefile +++ b/src/mesa/glapi/gen/Makefile @@ -87,7 +87,8 @@ API_XML = \ EXT_packed_depth_stencil.xml \ EXT_provoking_vertex.xml \ EXT_texture_array.xml \ - NV_conditional_render.xml + NV_conditional_render.xml \ + OES_EGL_image.xml COMMON = $(API_XML) gl_XML.py glX_XML.py license.py typeexpr.py diff --git a/src/mesa/glapi/gen/OES_EGL_image.xml b/src/mesa/glapi/gen/OES_EGL_image.xml new file mode 100644 index 00000000000..1cb43d49a41 --- /dev/null +++ b/src/mesa/glapi/gen/OES_EGL_image.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/mesa/glapi/gen/gl_API.xml b/src/mesa/glapi/gen/gl_API.xml index fbf8b0c3e4a..0b3d57baa68 100644 --- a/src/mesa/glapi/gen/gl_API.xml +++ b/src/mesa/glapi/gen/gl_API.xml @@ -12502,4 +12502,6 @@ + + -- 2.30.2