summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mapi/glapi/gen/ARB_sparse_texture.xml
blob: e48e6c2c103fb42edc40875e2400d9447b6b8630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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>