Signed-off-by: Kristian Høgsberg <[email protected]>
---
src/mesa/glapi/Makefile | 5 ++++-
src/mesa/glapi/OES_EGL_image.xml | 20 ++++++++++++++++++++
src/mesa/glapi/gl_API.xml | 2 ++
3 files changed, 26 insertions(+), 1 deletions(-)
create mode 100644 src/mesa/glapi/OES_EGL_image.xml
diff --git a/src/mesa/glapi/Makefile b/src/mesa/glapi/Makefile
index da67960..3f5103b 100644
--- a/src/mesa/glapi/Makefile
+++ b/src/mesa/glapi/Makefile
@@ -61,13 +61,16 @@ API_XML = gl_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 = gl_XML.py glX_XML.py license.py $(API_XML) typeexpr.py
COMMON_GLX = $(COMMON) glX_API.xml glX_XML.py glX_proto_common.py
all: check-xorg-source $(OUTPUTS) $(SERVER_OUTPUTS)
+local: $(OUTPUTS)
+
check-xorg-source:
@if ! test -d $(GLX_DIR); then \
echo "ERROR: Must specify path to xserver checkout; set
XORG_BASE."; \
diff --git a/src/mesa/glapi/OES_EGL_image.xml b/src/mesa/glapi/OES_EGL_image.xml
new file mode 100644
index 0000000..1cb43d4
--- /dev/null
+++ b/src/mesa/glapi/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/gl_API.xml b/src/mesa/glapi/gl_API.xml
index fbf8b0c..0b3d57b 100644
--- a/src/mesa/glapi/gl_API.xml
+++ b/src/mesa/glapi/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>
--
1.6.5.rc2
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev