revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / mesa / src / mapi / glapi / gen-es / es2_EXT.xml
blob4a67952e5c3e3f2b4f77b04da741485a7a55ed90
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "../gen/gl_API.dtd">
4 <!-- OpenGL ES 2.x extensions -->
6 <OpenGLAPI>
8 <xi:include href="es_EXT.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
10 <category name="GL_OES_texture_3D" number="34">
11     <enum name="TEXTURE_BINDING_3D_OES"                   value="0x806A"/>
12     <enum name="TEXTURE_3D_OES"                           value="0x806F"/>
13     <enum name="TEXTURE_WRAP_R_OES"                       value="0x8072"/>
14     <enum name="MAX_3D_TEXTURE_SIZE_OES"                  value="0x8073"/>
15     <enum name="SAMPLER_3D_OES"                           value="0x8B5F"/>
16     <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES" value="0x8CD4"/>
18     <function name="CompressedTexImage3DOES" offset="assign">
19         <param name="target" type="GLenum"/>
20         <param name="level" type="GLint"/>
21         <param name="internalformat" type="GLenum"/>
22         <param name="width" type="GLsizei"/>
23         <param name="height" type="GLsizei"/>
24         <param name="depth" type="GLsizei"/>
25         <param name="border" type="GLint"/>
26         <param name="imageSize" type="GLsizei" counter="true"/>
27         <param name="data" type="const GLvoid *" count="imageSize"/>
28         <glx rop="216" handcode="client"/>
29     </function>
31     <function name="CompressedTexSubImage3DOES" offset="assign">
32         <param name="target" type="GLenum"/>
33         <param name="level" type="GLint"/>
34         <param name="xoffset" type="GLint"/>
35         <param name="yoffset" type="GLint"/>
36         <param name="zoffset" type="GLint"/>
37         <param name="width" type="GLsizei"/>
38         <param name="height" type="GLsizei"/>
39         <param name="depth" type="GLsizei"/>
40         <param name="format" type="GLenum"/>
41         <param name="imageSize" type="GLsizei" counter="true"/>
42         <param name="data" type="const GLvoid *" count="imageSize"/>
43         <glx rop="219" handcode="client"/>
44     </function>
46     <function name="CopyTexSubImage3DOES" offset="373">
47         <param name="target" type="GLenum"/>
48         <param name="level" type="GLint"/>
49         <param name="xoffset" type="GLint"/>
50         <param name="yoffset" type="GLint"/>
51         <param name="zoffset" type="GLint"/>
52         <param name="x" type="GLint"/>
53         <param name="y" type="GLint"/>
54         <param name="width" type="GLsizei"/>
55         <param name="height" type="GLsizei"/>
56         <glx rop="4123"/>
57     </function>
59     <function name="FramebufferTexture3DOES" offset="assign">
60         <param name="target" type="GLenum"/>
61         <param name="attachment" type="GLenum"/>
62         <param name="textarget" type="GLenum"/>
63         <param name="texture" type="GLuint"/>
64         <param name="level" type="GLint"/>
65         <param name="zoffset" type="GLint"/>
66         <glx rop="4323"/>
67     </function>
69     <function name="TexImage3DOES" offset="371">
70         <param name="target" type="GLenum"/>
71         <param name="level" type="GLint"/>
72         <param name="internalformat" type="GLenum"/>
73         <param name="width" type="GLsizei"/>
74         <param name="height" type="GLsizei"/>
75         <param name="depth" type="GLsizei"/>
76         <param name="border" type="GLint"/>
77         <param name="format" type="GLenum"/>
78         <param name="type" type="GLenum"/>
79         <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"/>
80         <glx rop="4114" large="true"/>
81     </function>
83     <function name="TexSubImage3DOES" offset="372">
84         <param name="target" type="GLenum"/>
85         <param name="level" type="GLint"/>
86         <param name="xoffset" type="GLint"/>
87         <param name="yoffset" type="GLint"/>
88         <param name="zoffset" type="GLint"/>
89         <param name="width" type="GLsizei"/>
90         <param name="height" type="GLsizei"/>
91         <param name="depth" type="GLsizei"/>
92         <param name="format" type="GLenum"/>
93         <param name="type" type="GLenum"/>
94         <param name="UNUSED" type="GLuint" padding="true"/>
95         <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"/>
96         <glx rop="4115" large="true"/>
97     </function>
98 </category>
100 <!-- the other name is OES_texture_float_linear -->
101 <category name="OES_texture_half_float_linear" number="35">
102     <!-- No new functions, types, enums. -->
103 </category>
105 <!-- the other name is OES_texture_float -->
106 <category name="OES_texture_half_float" number="36">
107     <enum name="HALF_FLOAT_OES"                           value="0x8D61"/>
108 </category>
110 <category name="GL_OES_texture_npot" number="37">
111     <!-- No new functions, types, enums. -->
112 </category>
114 <category name="GL_OES_vertex_half_float" number="38">
115     <enum name="HALF_FLOAT_OES"                           value="0x8D61"/>
116 </category>
118 <category name="GL_EXT_texture_type_2_10_10_10_REV" number="42">
119     <enum name="UNSIGNED_INT_2_10_10_10_REV_EXT"          value="0x8368"/>
120 </category>
122 <category name="GL_OES_packed_depth_stencil" number="43">
123     <enum name="DEPTH_STENCIL_OES"                        value="0x84F9"/>
124     <enum name="UNSIGNED_INT_24_8_OES"                    value="0x84FA"/>
125     <enum name="DEPTH24_STENCIL8_OES"                     value="0x88F0"/>
126 </category>
128 <category name="GL_OES_depth_texture" number="44">
129     <!-- No new functions, types, enums. -->
130 </category>
132 <category name="GL_OES_standard_derivatives" number="45">
133     <enum name="FRAGMENT_SHADER_DERIVATIVE_HINT_OES"      value="0x8B8B"/>
134 </category>
136 <category name="GL_OES_vertex_type_10_10_10_2" number="46">
137     <enum name="UNSIGNED_INT_10_10_10_2_OES"              value="0x8DF6"/>
138     <enum name="INT_10_10_10_2_OES"                       value="0x8DF7"/>
139 </category>
141 <category name="GL_OES_get_program_binary" number="47">
142     <enum name="PROGRAM_BINARY_LENGTH_OES"                value="0x8741"/>
143     <enum name="NUM_PROGRAM_BINARY_FORMATS_OES"           value="0x87FE"/>
144     <enum name="PROGRAM_BINARY_FORMATS_OES"               value="0x87FF"/>
146     <function name="GetProgramBinaryOES" offset="assign">
147         <param name="program" type="GLuint"/>
148         <param name="bufSize" type="GLsizei"/>
149         <param name="length" type="GLsizei *"/>
150         <param name="binaryFormat" type="GLenum *"/>
151         <param name="binary" type="GLvoid *"/>
152     </function>
154     <function name="ProgramBinaryOES" offset="assign">
155         <param name="program" type="GLuint"/>
156         <param name="binaryFormat" type="GLenum"/>
157         <param name="binary" type="const GLvoid *"/>
158         <param name="length" type="GLint"/>
159     </function>
160 </category>
162 </OpenGLAPI>