summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gen
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-02-11 17:36:59 -0500
committerKristian Høgsberg <[email protected]>2010-02-24 13:38:55 -0500
commitcaa46f753835f8bb87fc16e22734f27a1d52bb27 (patch)
treef9d9a737bbda82df57df257dfd42640b52c5bd32 /src/mesa/glapi/gen
parent517faa4f3720134a19e1834144c75cf58a68c9c8 (diff)
glapi: Add GL_OES_EGL_image
Diffstat (limited to 'src/mesa/glapi/gen')
-rw-r--r--src/mesa/glapi/gen/Makefile3
-rw-r--r--src/mesa/glapi/gen/OES_EGL_image.xml20
-rw-r--r--src/mesa/glapi/gen/gl_API.xml2
3 files changed, 24 insertions, 1 deletions
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 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_OES_EGL_image">
+
+ <function name="EGLImageTargetTexture2DOES" offset="assign">
+ <param name="target" type="GLenum"/>
+ <param name="writeOffset" type="GLvoid *"/>
+ </function>
+
+ <function name="EGLImageTargetRenderbufferStorageOES" offset="assign">
+ <param name="target" type="GLenum"/>
+ <param name="writeOffset" type="GLvoid *"/>
+ </function>
+
+</category>
+
+</OpenGLAPI>
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 @@
</function>
</category>
+<xi:include href="OES_EGL_image.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
</OpenGLAPI>