mesa: API spec for primitive restart
authorBrian Paul <brianp@vmware.com>
Fri, 22 Oct 2010 01:03:38 +0000 (19:03 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Oct 2010 01:03:38 +0000 (19:03 -0600)
src/mapi/glapi/gen/Makefile
src/mapi/glapi/gen/NV_primitive_restart.xml [new file with mode: 0644]
src/mapi/glapi/gen/gl_API.xml

index 41640b3b0493d400d5d1deca2a5c18a144156a40..657056bece4fd00d37cd02ae51bdb6698e3bde4e 100644 (file)
@@ -90,6 +90,7 @@ API_XML = \
        EXT_texture_array.xml \
        EXT_transform_feedback.xml \
        NV_conditional_render.xml \
+       NV_primitive_restart.xml \
        OES_EGL_image.xml
 
 COMMON = $(API_XML) gl_XML.py glX_XML.py license.py typeexpr.py
diff --git a/src/mapi/glapi/gen/NV_primitive_restart.xml b/src/mapi/glapi/gen/NV_primitive_restart.xml
new file mode 100644 (file)
index 0000000..abe7dda
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<!-- Note: no GLX protocol info yet. -->
+
+
+<OpenGLAPI>
+
+<category name="GL_NV_primitive_restart" number="285">
+
+    <enum name="PRIMITIVE_RESTART_NV"        value="0x8558"/>
+    <enum name="PRIMITIVE_RESTART_INDEX_NV"  value="0x8559"/>
+
+    <function name="PrimitiveRestartNV" offset="assign">
+    </function>
+
+    <function name="PrimitiveRestartIndexNV" offset="assign">
+       <param name="index" type="GLuint"/>
+    </function>
+
+</category>
+
+</OpenGLAPI>
index d391895f8787b65c894b726cb1259f3b59c86027..d1139aa06ec37ce9b3ded07122bfec013165427c 100644 (file)
 
 <xi:include href="NV_conditional_render.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
+<xi:include href="NV_primitive_restart.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
 <xi:include href="EXT_transform_feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
 <xi:include href="ARB_draw_instanced.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>