APPLE_object_purgeable: xml
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Nov 2009 10:12:56 +0000 (10:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Mar 2010 19:26:54 +0000 (19:26 +0000)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/glapi/gen/APPLE_object_purgeable.xml [new file with mode: 0644]
src/mesa/glapi/gen/Makefile
src/mesa/glapi/gen/gl_API.xml

diff --git a/src/mesa/glapi/gen/APPLE_object_purgeable.xml b/src/mesa/glapi/gen/APPLE_object_purgeable.xml
new file mode 100644 (file)
index 0000000..62fa64a
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+<category name="GL_APPLE_object_purgeable" number="371">
+    <enum name="RELEASED_APPLE"               value="0x8A19"/>
+    <enum name="VOLATILE_APPLE"               value="0x8A1A"/>
+    <enum name="RETAINED_APPLE"               value="0x8A1B"/>
+    <enum name="UNDEFINED_APPLE"              value="0x8A1C"/>
+    <enum name="PURGEABLE_APPLE"    count="1" value="0x8A1D">
+       <size name="GetObjectParameterivAPPLE" count="1" mode="get"/>
+    </enum>
+
+    <enum name="BUFFER_OBJECT_APPLE"          value="0x85B3"/>
+
+    <function name="ObjectPurgeableAPPLE" offset="assign">
+        <param name="objectType" type="GLenum"/>
+        <param name="name" type="GLuint"/>
+        <param name="option" type="GLenum"/>
+       <return type="GLenum"/>
+    </function>
+
+    <function name="ObjectUnpurgeableAPPLE" offset="assign">
+        <param name="objectType" type="GLenum"/>
+        <param name="name" type="GLuint"/>
+        <param name="option" type="GLenum"/>
+       <return type="GLenum"/>
+    </function>
+
+    <function name="GetObjectParameterivAPPLE" offset="assign">
+        <param name="objectType" type="GLenum"/>
+        <param name="name" type="GLuint"/>
+        <param name="pname" type="GLenum"/>
+        <param name="value" type="GLint *" output="true"/>
+    </function>
+</category>
+</OpenGLAPI>
index 8e9c909f3129ceaa34bb2c3447860ee2120a6ca6..8aa74ce434325b9b70b8ee9e10474848dbb399ca 100644 (file)
@@ -79,6 +79,7 @@ API_XML = \
        ARB_seamless_cube_map.xml \
        ARB_sync.xml \
        ARB_vertex_array_object.xml \
+       APPLE_object_purgeable.xml \
        APPLE_vertex_array_object.xml \
        EXT_draw_buffers2.xml \
        EXT_framebuffer_object.xml \
index 0b3d57baa68d1ad43ef8a8cab1136d89f860f37a..4a4d0d5382eb0ee84521707f6d2bdb0e5cbd0ef9 100644 (file)
     </function>
 </category>
 
+<xi:include href="APPLE_object_purgeable.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 <xi:include href="APPLE_vertex_array_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
 <category name="GL_APPLE_ycbcr_422" number="275">