[OPENGL]
[reactos.git] / reactos / dll / opengl / mesa / src / mapi / glapi / gen / gl_and_es_API.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4 <!-- OpenGL + OpenGL ES -->
5
6 <!-- IMPORTANT
7 Remember to update gles_api.py when new OpenGL ES specific entry points
8 are added. Otherwise, they will be filtered out.
9 -->
10
11 <OpenGLAPI>
12
13 <xi:include href="gl_API.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
14
15 <!-- these can be moved to gl_API.xml -->
16 <xi:include href="ARB_get_program_binary.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
17 <xi:include href="OES_fixed_point.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
18 <xi:include href="OES_single_precision.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
19
20 <category name="es1.0">
21 <!-- from GL_OES_fixed_point -->
22 <enum name="FIXED" value="0x140C"/>
23
24 <type name="fixed" size="4" />
25 <type name="clampx" size="4" />
26
27 <function name="AlphaFuncx" alias="AlphaFuncxOES" static_dispatch="false">
28 <param name="func" type="GLenum"/>
29 <param name="ref" type="GLclampx"/>
30 </function>
31
32 <function name="ClearColorx" alias="ClearColorxOES" static_dispatch="false">
33 <param name="red" type="GLclampx"/>
34 <param name="green" type="GLclampx"/>
35 <param name="blue" type="GLclampx"/>
36 <param name="alpha" type="GLclampx"/>
37 </function>
38
39 <function name="ClearDepthx" alias="ClearDepthxOES" static_dispatch="false">
40 <param name="depth" type="GLclampx"/>
41 </function>
42
43 <function name="Color4x" alias="Color4xOES" static_dispatch="false">
44 <param name="red" type="GLfixed"/>
45 <param name="green" type="GLfixed"/>
46 <param name="blue" type="GLfixed"/>
47 <param name="alpha" type="GLfixed"/>
48 </function>
49
50 <function name="DepthRangex" alias="DepthRangexOES" static_dispatch="false">
51 <param name="zNear" type="GLclampx"/>
52 <param name="zFar" type="GLclampx"/>
53 </function>
54
55 <function name="Fogx" alias="FogxOES" static_dispatch="false">
56 <param name="pname" type="GLenum"/>
57 <param name="param" type="GLfixed"/>
58 </function>
59
60 <function name="Fogxv" alias="FogxvOES" static_dispatch="false">
61 <param name="pname" type="GLenum"/>
62 <param name="params" type="const GLfixed *" variable_param="pname"/>
63 </function>
64
65 <function name="Frustumx" alias="FrustumxOES" static_dispatch="false">
66 <param name="left" type="GLfixed"/>
67 <param name="right" type="GLfixed"/>
68 <param name="bottom" type="GLfixed"/>
69 <param name="top" type="GLfixed"/>
70 <param name="zNear" type="GLfixed"/>
71 <param name="zFar" type="GLfixed"/>
72 </function>
73
74 <function name="LightModelx" alias="LightModelxOES" static_dispatch="false">
75 <param name="pname" type="GLenum"/>
76 <param name="param" type="GLfixed"/>
77 </function>
78
79 <function name="LightModelxv" alias="LightModelxvOES" static_dispatch="false">
80 <param name="pname" type="GLenum"/>
81 <param name="params" type="const GLfixed *" variable_param="pname"/>
82 </function>
83
84 <function name="Lightx" alias="LightxOES" static_dispatch="false">
85 <param name="light" type="GLenum"/>
86 <param name="pname" type="GLenum"/>
87 <param name="param" type="GLfixed"/>
88 </function>
89
90 <function name="Lightxv" alias="LightxvOES" static_dispatch="false">
91 <param name="light" type="GLenum"/>
92 <param name="pname" type="GLenum"/>
93 <param name="params" type="const GLfixed *" variable_param="pname"/>
94 </function>
95
96 <function name="LineWidthx" alias="LineWidthxOES" static_dispatch="false">
97 <param name="width" type="GLfixed"/>
98 </function>
99
100 <function name="LoadMatrixx" alias="LoadMatrixxOES" static_dispatch="false">
101 <param name="m" type="const GLfixed *" count="16"/>
102 </function>
103
104 <function name="Materialx" alias="MaterialxOES" static_dispatch="false">
105 <param name="face" type="GLenum"/>
106 <param name="pname" type="GLenum"/>
107 <param name="param" type="GLfixed"/>
108 </function>
109
110 <function name="Materialxv" alias="MaterialxvOES" static_dispatch="false">
111 <param name="face" type="GLenum"/>
112 <param name="pname" type="GLenum"/>
113 <param name="params" type="const GLfixed *" variable_param="pname"/>
114 </function>
115
116 <function name="MultMatrixx" alias="MultMatrixxOES" static_dispatch="false">
117 <param name="m" type="const GLfixed *" count="16"/>
118 </function>
119
120 <function name="MultiTexCoord4x" alias="MultiTexCoord4xOES" static_dispatch="false">
121 <param name="target" type="GLenum"/>
122 <param name="s" type="GLfixed"/>
123 <param name="t" type="GLfixed"/>
124 <param name="r" type="GLfixed"/>
125 <param name="q" type="GLfixed"/>
126 </function>
127
128 <function name="Normal3x" alias="Normal3xOES" static_dispatch="false">
129 <param name="nx" type="GLfixed"/>
130 <param name="ny" type="GLfixed"/>
131 <param name="nz" type="GLfixed"/>
132 </function>
133
134 <function name="Orthox" alias="OrthoxOES" static_dispatch="false">
135 <param name="left" type="GLfixed"/>
136 <param name="right" type="GLfixed"/>
137 <param name="bottom" type="GLfixed"/>
138 <param name="top" type="GLfixed"/>
139 <param name="zNear" type="GLfixed"/>
140 <param name="zFar" type="GLfixed"/>
141 </function>
142
143 <function name="PointSizex" alias="PointSizexOES" static_dispatch="false">
144 <param name="size" type="GLfixed"/>
145 </function>
146
147 <function name="PolygonOffsetx" alias="PolygonOffsetxOES" static_dispatch="false">
148 <param name="factor" type="GLfixed"/>
149 <param name="units" type="GLfixed"/>
150 </function>
151
152 <function name="Rotatex" alias="RotatexOES" static_dispatch="false">
153 <param name="angle" type="GLfixed"/>
154 <param name="x" type="GLfixed"/>
155 <param name="y" type="GLfixed"/>
156 <param name="z" type="GLfixed"/>
157 </function>
158
159 <function name="SampleCoveragex" alias="SampleCoveragexOES" static_dispatch="false">
160 <param name="value" type="GLclampx"/>
161 <param name="invert" type="GLboolean"/>
162 </function>
163
164 <function name="Scalex" alias="ScalexOES" static_dispatch="false">
165 <param name="x" type="GLfixed"/>
166 <param name="y" type="GLfixed"/>
167 <param name="z" type="GLfixed"/>
168 </function>
169
170 <function name="TexEnvx" alias="TexEnvxOES" static_dispatch="false">
171 <param name="target" type="GLenum"/>
172 <param name="pname" type="GLenum"/>
173 <param name="param" type="GLfixed"/>
174 </function>
175
176 <function name="TexEnvxv" alias="TexEnvxvOES" static_dispatch="false">
177 <param name="target" type="GLenum"/>
178 <param name="pname" type="GLenum"/>
179 <param name="params" type="const GLfixed *" variable_param="pname"/>
180 </function>
181
182 <function name="TexParameterx" alias="TexParameterxOES" static_dispatch="false">
183 <param name="target" type="GLenum"/>
184 <param name="pname" type="GLenum"/>
185 <param name="param" type="GLfixed"/>
186 </function>
187
188 <function name="Translatex" alias="TranslatexOES" static_dispatch="false">
189 <param name="x" type="GLfixed"/>
190 <param name="y" type="GLfixed"/>
191 <param name="z" type="GLfixed"/>
192 </function>
193
194 <!-- from GL_OES_single_precision -->
195 <function name="Frustumf" alias="FrustumfOES" static_dispatch="false">
196 <param name="left" type="GLfloat"/>
197 <param name="right" type="GLfloat"/>
198 <param name="bottom" type="GLfloat"/>
199 <param name="top" type="GLfloat"/>
200 <param name="zNear" type="GLfloat"/>
201 <param name="zFar" type="GLfloat"/>
202 </function>
203
204 <function name="Orthof" alias="OrthofOES" static_dispatch="false">
205 <param name="left" type="GLfloat"/>
206 <param name="right" type="GLfloat"/>
207 <param name="bottom" type="GLfloat"/>
208 <param name="top" type="GLfloat"/>
209 <param name="zNear" type="GLfloat"/>
210 <param name="zFar" type="GLfloat"/>
211 </function>
212 </category>
213
214 <category name="es1.1">
215 <!-- from GL_OES_fixed_point -->
216 <function name="ClipPlanex" alias="ClipPlanexOES" static_dispatch="false">
217 <param name="plane" type="GLenum"/>
218 <param name="equation" type="const GLfixed *" count="4"/>
219 </function>
220
221 <function name="GetClipPlanex" alias="GetClipPlanexOES" static_dispatch="false">
222 <param name="plane" type="GLenum"/>
223 <param name="equation" type="GLfixed *" output="true" count="4"/>
224 </function>
225
226 <function name="GetFixedv" alias="GetFixedvOES" static_dispatch="false">
227 <param name="pname" type="GLenum"/>
228 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
229 </function>
230
231 <function name="GetLightxv" alias="GetLightxvOES" static_dispatch="false">
232 <param name="light" type="GLenum"/>
233 <param name="pname" type="GLenum"/>
234 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
235 </function>
236
237 <function name="GetMaterialxv" alias="GetMaterialxvOES" static_dispatch="false">
238 <param name="face" type="GLenum"/>
239 <param name="pname" type="GLenum"/>
240 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
241 </function>
242
243 <function name="GetTexEnvxv" alias="GetTexEnvxvOES" static_dispatch="false">
244 <param name="target" type="GLenum"/>
245 <param name="pname" type="GLenum"/>
246 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
247 </function>
248
249 <function name="GetTexParameterxv" alias="GetTexParameterxvOES" static_dispatch="false">
250 <param name="target" type="GLenum"/>
251 <param name="pname" type="GLenum"/>
252 <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
253 </function>
254
255 <function name="PointParameterx" alias="PointParameterxOES" static_dispatch="false">
256 <param name="pname" type="GLenum"/>
257 <param name="param" type="GLfixed"/>
258 </function>
259
260 <function name="PointParameterxv" alias="PointParameterxvOES" static_dispatch="false">
261 <param name="pname" type="GLenum"/>
262 <param name="params" type="const GLfixed *"/>
263 </function>
264
265 <function name="TexParameterxv" alias="TexParameterxvOES" static_dispatch="false">
266 <param name="target" type="GLenum"/>
267 <param name="pname" type="GLenum"/>
268 <param name="params" type="const GLfixed *" variable_param="pname"/>
269 </function>
270
271 <!-- from GL_OES_single_precision -->
272 <function name="ClipPlanef" alias="ClipPlanefOES" static_dispatch="false">
273 <param name="plane" type="GLenum"/>
274 <param name="equation" type="const GLfloat *" count="4"/>
275 </function>
276
277 <function name="GetClipPlanef" alias="GetClipPlanefOES" static_dispatch="false">
278 <param name="plane" type="GLenum"/>
279 <param name="equation" type="GLfloat *" output="true" count="4"/>
280 </function>
281 </category>
282
283 <category name="es2.0">
284 <!-- enums missing from GL_ARB_framebuffer_object and GL_EXT_framebuffer_object -->
285 <enum name="FRAMEBUFFER_INCOMPLETE_DIMENSIONS" value="0x8CD9"/>
286 <enum name="RGB565" value="0x8D62"/>
287 </category>
288
289 <xi:include href="es_EXT.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
290
291 </OpenGLAPI>