summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mapi/glapi/gen/ARB_sparse_texture.xml
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-09-02 05:18:14 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-09-02 05:18:14 +0000
commit5f66494d31f735486b8222ecfa0a0c9046e92543 (patch)
treef699ac8d7f6d510c30bded04f96a1209344f6a47 /lib/mesa/src/mapi/glapi/gen/ARB_sparse_texture.xml
parent17a5b543e3479aaa779cc68345c46d437edd05d8 (diff)
Import Mesa 22.1.7
Diffstat (limited to 'lib/mesa/src/mapi/glapi/gen/ARB_sparse_texture.xml')
-rw-r--r--lib/mesa/src/mapi/glapi/gen/ARB_sparse_texture.xml50
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/mesa/src/mapi/glapi/gen/ARB_sparse_texture.xml b/lib/mesa/src/mapi/glapi/gen/ARB_sparse_texture.xml
new file mode 100644
index 000000000..e48e6c2c1
--- /dev/null
+++ b/lib/mesa/src/mapi/glapi/gen/ARB_sparse_texture.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_ARB_sparse_texture" number="158">
+
+ <function name="TexPageCommitmentARB">
+ <param name="target" type="GLenum"/>
+ <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"/>
+ <param name="commit" type="GLboolean"/>
+ </function>
+
+ <!-- Only with GL_EXT_direct_state_access or GL_ARB_direct_state_access -->
+ <function name="TexturePageCommitmentEXT">
+ <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"/>
+ <param name="commit" type="GLboolean"/>
+ </function>
+
+ <enum name="TEXTURE_SPARSE_ARB" value="0x91A6"/>
+ <enum name="VIRTUAL_PAGE_SIZE_INDEX_ARB" value="0x91A7"/>
+
+ <enum name="NUM_SPARSE_LEVELS_ARB" value="0x91AA"/>
+
+ <enum name="NUM_VIRTUAL_PAGE_SIZES_ARB" value="0x91A8"/>
+ <enum name="VIRTUAL_PAGE_SIZE_X_ARB" value="0x9195"/>
+ <enum name="VIRTUAL_PAGE_SIZE_Y_ARB" value="0x9196"/>
+ <enum name="VIRTUAL_PAGE_SIZE_Z_ARB" value="0x9197"/>
+
+ <enum name="MAX_SPARSE_TEXTURE_SIZE_ARB" value="0x9198"/>
+ <enum name="MAX_SPARSE_3D_TEXTURE_SIZE_ARB" value="0x9199"/>
+ <enum name="MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB" value="0x919A"/>
+ <enum name="SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB" value="0x91A9"/>
+
+</category>
+
+</OpenGLAPI>