diff options
author | Brian Paul <brianp@vmware.com> | 2010-10-21 19:03:38 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-10-21 19:03:38 -0600 |
commit | 1cae8b54487c9665f84c545c66aa44b961cde610 (patch) | |
tree | 0e81d1cad2ef510683982be38e8a94819fbe3ee4 | |
parent | 7f26ad80ba74b9c78a3735caee202e1868f6ff58 (diff) |
mesa: API spec for primitive restart
-rw-r--r-- | src/mapi/glapi/gen/Makefile | 1 | ||||
-rw-r--r-- | src/mapi/glapi/gen/NV_primitive_restart.xml | 23 | ||||
-rw-r--r-- | src/mapi/glapi/gen/gl_API.xml | 2 |
3 files changed, 26 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/glapi/gen/Makefile index 41640b3b049..657056bece4 100644 --- a/src/mapi/glapi/gen/Makefile +++ b/src/mapi/glapi/gen/Makefile @@ -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 index 00000000000..abe7dda0076 --- /dev/null +++ b/src/mapi/glapi/gen/NV_primitive_restart.xml @@ -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> diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index d391895f878..d1139aa06ec 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -7967,6 +7967,8 @@ <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"/> |