summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/gen-es/es2_EXT.xml
blob: 4a67952e5c3e3f2b4f77b04da741485a7a55ed90 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "../gen/gl_API.dtd">

<!-- OpenGL ES 2.x extensions -->

<OpenGLAPI>

<xi:include href="es_EXT.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>

<category name="GL_OES_texture_3D" number="34">
    <enum name="TEXTURE_BINDING_3D_OES"                   value="0x806A"/>
    <enum name="TEXTURE_3D_OES"                           value="0x806F"/>
    <enum name="TEXTURE_WRAP_R_OES"                       value="0x8072"/>
    <enum name="MAX_3D_TEXTURE_SIZE_OES"                  value="0x8073"/>
    <enum name="SAMPLER_3D_OES"                           value="0x8B5F"/>
    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES" value="0x8CD4"/>

    <function name="CompressedTexImage3DOES" offset="assign">
        <param name="target" type="GLenum"/>
        <param name="level" type="GLint"/>
        <param name="internalformat" type="GLenum"/>
        <param name="width" type="GLsizei"/>
        <param name="height" type="GLsizei"/>
        <param name="depth" type="GLsizei"/>
        <param name="border" type="GLint"/>
        <param name="imageSize" type="GLsizei" counter="true"/>
        <param name="data" type="const GLvoid *" count="imageSize"/>
        <glx rop="216" handcode="client"/>
    </function>

    <function name="CompressedTexSubImage3DOES" offset="assign">
        <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="format" type="GLenum"/>
        <param name="imageSize" type="GLsizei" counter="true"/>
        <param name="data" type="const GLvoid *" count="imageSize"/>
        <glx rop="219" handcode="client"/>
    </function>

    <function name="CopyTexSubImage3DOES" offset="373">
        <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="x" type="GLint"/>
        <param name="y" type="GLint"/>
        <param name="width" type="GLsizei"/>
        <param name="height" type="GLsizei"/>
        <glx rop="4123"/>
    </function>

    <function name="FramebufferTexture3DOES" offset="assign">
        <param name="target" type="GLenum"/>
        <param name="attachment" type="GLenum"/>
        <param name="textarget" type="GLenum"/>
        <param name="texture" type="GLuint"/>
        <param name="level" type="GLint"/>
        <param name="zoffset" type="GLint"/>
        <glx rop="4323"/>
    </function>

    <function name="TexImage3DOES" offset="371">
        <param name="target" type="GLenum"/>
        <param name="level" type="GLint"/>
        <param name="internalformat" type="GLenum"/>
        <param name="width" type="GLsizei"/>
        <param name="height" type="GLsizei"/>
        <param name="depth" type="GLsizei"/>
        <param name="border" type="GLint"/>
        <param name="format" type="GLenum"/>
        <param name="type" type="GLenum"/>
        <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_depth="depth" img_format="format" img_type="type" img_target="target" img_null_flag="true" img_pad_dimensions="true"/>
        <glx rop="4114" large="true"/>
    </function>

    <function name="TexSubImage3DOES" offset="372">
        <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="format" type="GLenum"/>
        <param name="type" type="GLenum"/>
        <param name="UNUSED" type="GLuint" padding="true"/>
        <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_depth="depth" img_xoff="xoffset" img_yoff="yoffset" img_zoff="zoffset" img_format="format" img_type="type" img_target="target" img_pad_dimensions="true"/>
        <glx rop="4115" large="true"/>
    </function>
</category>

<!-- the other name is OES_texture_float_linear -->
<category name="OES_texture_half_float_linear" number="35">
    <!-- No new functions, types, enums. -->
</category>

<!-- the other name is OES_texture_float -->
<category name="OES_texture_half_float" number="36">
    <enum name="HALF_FLOAT_OES"                           value="0x8D61"/>
</category>

<category name="GL_OES_texture_npot" number="37">
    <!-- No new functions, types, enums. -->
</category>

<category name="GL_OES_vertex_half_float" number="38">
    <enum name="HALF_FLOAT_OES"                           value="0x8D61"/>
</category>

<category name="GL_EXT_texture_type_2_10_10_10_REV" number="42">
    <enum name="UNSIGNED_INT_2_10_10_10_REV_EXT"          value="0x8368"/>
</category>

<category name="GL_OES_packed_depth_stencil" number="43">
    <enum name="DEPTH_STENCIL_OES"                        value="0x84F9"/>
    <enum name="UNSIGNED_INT_24_8_OES"                    value="0x84FA"/>
    <enum name="DEPTH24_STENCIL8_OES"                     value="0x88F0"/>
</category>

<category name="GL_OES_depth_texture" number="44">
    <!-- No new functions, types, enums. -->
</category>

<category name="GL_OES_standard_derivatives" number="45">
    <enum name="FRAGMENT_SHADER_DERIVATIVE_HINT_OES"      value="0x8B8B"/>
</category>

<category name="GL_OES_vertex_type_10_10_10_2" number="46">
    <enum name="UNSIGNED_INT_10_10_10_2_OES"              value="0x8DF6"/>
    <enum name="INT_10_10_10_2_OES"                       value="0x8DF7"/>
</category>

<category name="GL_OES_get_program_binary" number="47">
    <enum name="PROGRAM_BINARY_LENGTH_OES"                value="0x8741"/>
    <enum name="NUM_PROGRAM_BINARY_FORMATS_OES"           value="0x87FE"/>
    <enum name="PROGRAM_BINARY_FORMATS_OES"               value="0x87FF"/>

    <function name="GetProgramBinaryOES" offset="assign">
        <param name="program" type="GLuint"/>
        <param name="bufSize" type="GLsizei"/>
        <param name="length" type="GLsizei *"/>
        <param name="binaryFormat" type="GLenum *"/>
        <param name="binary" type="GLvoid *"/>
    </function>

    <function name="ProgramBinaryOES" offset="assign">
        <param name="program" type="GLuint"/>
        <param name="binaryFormat" type="GLenum"/>
        <param name="binary" type="const GLvoid *"/>
        <param name="length" type="GLint"/>
    </function>
</category>

</OpenGLAPI>