[Mesa-dev] [PATCH 3/8] glapi: Add GL_ARB_invalidate_subdata
Ian Romanick
idr at freedesktop.org
Mon Aug 13 18:23:56 PDT 2012
From: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/mapi/glapi/gen/ARB_invalidate_subdata.xml | 48 +++++++++++++++++++++++++
src/mapi/glapi/gen/gl_API.xml | 2 +
2 files changed, 50 insertions(+), 0 deletions(-)
create mode 100644 src/mapi/glapi/gen/ARB_invalidate_subdata.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
index 0000000..3e4ffc3
--- /dev/null
+++ b/src/mapi/glapi/gen/ARB_invalidate_subdata.xml
@@ -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>
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 4c89698..751a18f 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -8067,6 +8067,8 @@
<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">
--
1.7.6.5
More information about the mesa-dev
mailing list