glapi: Add GL_ARB_invalidate_subdata
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 13 Aug 2012 20:15:24 +0000 (13:15 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 14 Aug 2012 21:39:33 +0000 (14:39 -0700)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mapi/glapi/gen/ARB_invalidate_subdata.xml [new file with mode: 0644]
src/mapi/glapi/gen/gl_API.xml

diff --git a/src/mapi/glapi/gen/ARB_invalidate_subdata.xml b/src/mapi/glapi/gen/ARB_invalidate_subdata.xml
new file mode 100644 (file)
index 0000000..3e4ffc3
--- /dev/null
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+<category name="GL_ARB_invalidate_subdata" number="666">
+  <function name="InvalidateTexSubImage" offset="assign">
+    <param name="texture" type="GLuint"/>
+    <param name="level" type="GLint"/>
+    <param name="xoffset" type="GLint"/>
+    <param name="yoffset" type="GLint"/>
+    <param name="zoffset" type="GLint"/>
+    <param name="width" type="GLsizei"/>
+    <param name="height" type="GLsizei"/>
+    <param name="depth" type="GLsizei"/>
+  </function>
+
+  <function name="InvalidateTexImage" offset="assign">
+    <param name="texture" type="GLuint"/>
+    <param name="level" type="GLint"/>
+  </function>
+
+  <function name="InvalidateBufferSubData" offset="assign">
+    <param name="buffer" type="GLuint"/>
+    <param name="offset" type="GLintptr"/>
+    <param name="length" type="GLsizeiptr"/>
+  </function>
+
+  <function name="InvalidateBufferData" offset="assign">
+    <param name="buffer" type="GLuint"/>
+  </function>
+
+  <function name="InvalidateSubFramebuffer" offset="assign">
+    <param name="target" type="GLenum"/>
+    <param name="numAttachments" type="GLsizei" counter="true"/>
+    <param name="attachments" type="const GLenum *" count="numAttachments"/>
+    <param name="x" type="GLint"/>
+    <param name="y" type="GLint"/>
+    <param name="width" type="GLsizei"/>
+    <param name="height" type="GLsizei"/>
+  </function>
+
+  <function name="InvalidateFramebuffer" offset="assign">
+    <param name="target" type="GLenum"/>
+    <param name="numAttachments" type="GLsizei" counter="true"/>
+    <param name="attachments" type="const GLenum *" count="numAttachments"/>
+  </function>
+</category>
+</OpenGLAPI>
index 4c896980376fc3185bf6c33d8a10fb9e599ff2e9..751a18f5df64ff388bb9739ab0f4808ee4847d9e 100644 (file)
 
 <xi:include href="ARB_texture_storage.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
+<xi:include href="ARB_invalidate_subdata.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
 <!-- Non-ARB extensions sorted by extension number. -->
 
 <category name="GL_EXT_blend_color" number="2">