revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / mesa / src / mapi / glapi / gen-es / es2_COMPAT.xml
blob1bd3569635bfed26bee7cb7c8d9e5df7a5beea00
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "../gen/gl_API.dtd">
4 <OpenGLAPI>
6 <!-- This file defines the functions that are needed by Mesa.  It
7      makes sure the generated glapi headers are compatible with Mesa.
8      It mainly consists of missing functions and aliases in OpenGL ES.
9 -->
11 <xi:include href="es_COMPAT.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
13 <!-- except for those defined by es_COMPAT.xml, these are also needed -->
14 <category name="compat">
15     <!-- OpenGL 1.0 -->
16     <function name="Color4f" offset="29" vectorequiv="Color4fv" static_dispatch="false">
17         <param name="red" type="GLfloat"/>
18         <param name="green" type="GLfloat"/>
19         <param name="blue" type="GLfloat"/>
20         <param name="alpha" type="GLfloat"/>
21     </function>
23     <function name="Color4ub" offset="35" vectorequiv="Color4ubv" static_dispatch="false">
24         <param name="red" type="GLubyte"/>
25         <param name="green" type="GLubyte"/>
26         <param name="blue" type="GLubyte"/>
27         <param name="alpha" type="GLubyte"/>
28     </function>
30     <function name="Normal3f" offset="56" vectorequiv="Normal3fv" static_dispatch="false">
31         <param name="nx" type="GLfloat"/>
32         <param name="ny" type="GLfloat"/>
33         <param name="nz" type="GLfloat"/>
34     </function>
36     <function name="Fogf" offset="153" static_dispatch="false">
37         <param name="pname" type="GLenum"/>
38         <param name="param" type="GLfloat"/>
39         <glx rop="80"/>
40     </function>
42     <function name="Fogfv" offset="154" static_dispatch="false">
43         <param name="pname" type="GLenum"/>
44         <param name="params" type="const GLfloat *" variable_param="pname"/>
45         <glx rop="81"/>
46     </function>
48     <function name="Lightf" offset="159" static_dispatch="false">
49         <param name="light" type="GLenum"/>
50         <param name="pname" type="GLenum"/>
51         <param name="param" type="GLfloat"/>
52         <glx rop="86"/>
53     </function>
55     <function name="Lightfv" offset="160" static_dispatch="false">
56         <param name="light" type="GLenum"/>
57         <param name="pname" type="GLenum"/>
58         <param name="params" type="const GLfloat *" variable_param="pname"/>
59         <glx rop="87"/>
60     </function>
62     <function name="LightModelf" offset="163" static_dispatch="false">
63         <param name="pname" type="GLenum"/>
64         <param name="param" type="GLfloat"/>
65         <glx rop="90"/>
66     </function>
68     <function name="LightModelfv" offset="164" static_dispatch="false">
69         <param name="pname" type="GLenum"/>
70         <param name="params" type="const GLfloat *" variable_param="pname"/>
71         <glx rop="91"/>
72     </function>
74     <function name="Materialf" offset="169" static_dispatch="false">
75         <param name="face" type="GLenum"/>
76         <param name="pname" type="GLenum"/>
77         <param name="param" type="GLfloat"/>
78         <glx rop="96"/>
79     </function>
81     <function name="Materialfv" offset="170" static_dispatch="false">
82         <param name="face" type="GLenum"/>
83         <param name="pname" type="GLenum"/>
84         <param name="params" type="const GLfloat *" variable_param="pname"/>
85         <glx rop="97"/>
86     </function>
88     <function name="PointSize" offset="173" static_dispatch="false">
89         <param name="size" type="GLfloat"/>
90         <glx rop="100"/>
91     </function>
93     <function name="ShadeModel" offset="177" static_dispatch="false">
94         <param name="mode" type="GLenum"/>
95         <glx rop="104"/>
96     </function>
98     <function name="TexEnvf" offset="184" static_dispatch="false">
99         <param name="target" type="GLenum"/>
100         <param name="pname" type="GLenum"/>
101         <param name="param" type="GLfloat"/>
102         <glx rop="111"/>
103     </function>
105     <function name="TexEnvfv" offset="185" static_dispatch="false">
106         <param name="target" type="GLenum"/>
107         <param name="pname" type="GLenum"/>
108         <param name="params" type="const GLfloat *" variable_param="pname"/>
109         <glx rop="112"/>
110     </function>
112     <function name="TexEnvi" offset="186" static_dispatch="false">
113         <param name="target" type="GLenum"/>
114         <param name="pname" type="GLenum"/>
115         <param name="param" type="GLint"/>
116         <glx rop="113"/>
117     </function>
119     <function name="TexEnviv" offset="187" static_dispatch="false">
120         <param name="target" type="GLenum"/>
121         <param name="pname" type="GLenum"/>
122         <param name="params" type="const GLint *" variable_param="pname"/>
123         <glx rop="114"/>
124     </function>
126     <function name="TexGenf" offset="190" static_dispatch="false">
127         <param name="coord" type="GLenum"/>
128         <param name="pname" type="GLenum"/>
129         <param name="param" type="GLfloat"/>
130         <glx rop="117"/>
131     </function>
133     <function name="TexGenfv" offset="191" static_dispatch="false">
134         <param name="coord" type="GLenum"/>
135         <param name="pname" type="GLenum"/>
136         <param name="params" type="const GLfloat *" variable_param="pname"/>
137         <glx rop="118"/>
138     </function>
140     <function name="TexGeni" offset="192" static_dispatch="false">
141         <param name="coord" type="GLenum"/>
142         <param name="pname" type="GLenum"/>
143         <param name="param" type="GLint"/>
144         <glx rop="119"/>
145     </function>
147     <function name="TexGeniv" offset="193" static_dispatch="false">
148         <param name="coord" type="GLenum"/>
149         <param name="pname" type="GLenum"/>
150         <param name="params" type="const GLint *" variable_param="pname"/>
151         <glx rop="120"/>
152     </function>
154     <function name="AlphaFunc" offset="240" static_dispatch="false">
155         <param name="func" type="GLenum"/>
156         <param name="ref" type="GLclampf"/>
157         <glx rop="159"/>
158     </function>
160     <function name="LogicOp" offset="242" static_dispatch="false">
161         <param name="opcode" type="GLenum"/>
162         <glx rop="161"/>
163     </function>
165     <function name="GetLightfv" offset="264" static_dispatch="false">
166         <param name="light" type="GLenum"/>
167         <param name="pname" type="GLenum"/>
168         <param name="params" type="GLfloat *" output="true" variable_param="pname"/>
169         <glx sop="118"/>
170     </function>
172     <function name="GetMaterialfv" offset="269" static_dispatch="false">
173         <param name="face" type="GLenum"/>
174         <param name="pname" type="GLenum"/>
175         <param name="params" type="GLfloat *" output="true" variable_param="pname"/>
176         <glx sop="123"/>
177     </function>
179     <function name="GetTexEnvfv" offset="276" static_dispatch="false">
180         <param name="target" type="GLenum"/>
181         <param name="pname" type="GLenum"/>
182         <param name="params" type="GLfloat *" output="true" variable_param="pname"/>
183         <glx sop="130"/>
184     </function>
186     <function name="GetTexEnviv" offset="277" static_dispatch="false">
187         <param name="target" type="GLenum"/>
188         <param name="pname" type="GLenum"/>
189         <param name="params" type="GLint *" output="true" variable_param="pname"/>
190         <glx sop="131"/>
191     </function>
193     <function name="GetTexGenfv" offset="279" static_dispatch="false">
194         <param name="coord" type="GLenum"/>
195         <param name="pname" type="GLenum"/>
196         <param name="params" type="GLfloat *" output="true" variable_param="pname"/>
197         <glx sop="133"/>
198     </function>
200     <function name="GetTexGeniv" offset="280" static_dispatch="false">
201         <param name="coord" type="GLenum"/>
202         <param name="pname" type="GLenum"/>
203         <param name="params" type="GLint *" output="true" variable_param="pname"/>
204         <glx sop="134"/>
205     </function>
207     <function name="LoadIdentity" offset="290" static_dispatch="false">
208         <glx rop="176"/>
209     </function>
211     <function name="LoadMatrixf" offset="291" static_dispatch="false">
212         <param name="m" type="const GLfloat *" count="16"/>
213         <glx rop="177"/>
214     </function>
216     <function name="MatrixMode" offset="293" static_dispatch="false">
217         <param name="mode" type="GLenum"/>
218         <glx rop="179"/>
219     </function>
221     <function name="MultMatrixf" offset="294" static_dispatch="false">
222         <param name="m" type="const GLfloat *" count="16"/>
223         <glx rop="180"/>
224     </function>
226     <function name="PopMatrix" offset="297" static_dispatch="false">
227         <glx rop="183"/>
228     </function>
230     <function name="PushMatrix" offset="298" static_dispatch="false">
231         <glx rop="184"/>
232     </function>
234     <function name="Rotatef" offset="300" static_dispatch="false">
235         <param name="angle" type="GLfloat"/>
236         <param name="x" type="GLfloat"/>
237         <param name="y" type="GLfloat"/>
238         <param name="z" type="GLfloat"/>
239         <glx rop="186"/>
240     </function>
242     <function name="Scalef" offset="302" static_dispatch="false">
243         <param name="x" type="GLfloat"/>
244         <param name="y" type="GLfloat"/>
245         <param name="z" type="GLfloat"/>
246         <glx rop="188"/>
247     </function>
249     <function name="Translatef" offset="304" static_dispatch="false">
250         <param name="x" type="GLfloat"/>
251         <param name="y" type="GLfloat"/>
252         <param name="z" type="GLfloat"/>
253         <glx rop="190"/>
254     </function>
256     <!-- OpenGL 1.1 -->
257     <function name="ColorPointer" offset="308" static_dispatch="false">
258         <param name="size" type="GLint"/>
259         <param name="type" type="GLenum"/>
260         <param name="stride" type="GLsizei"/>
261         <param name="pointer" type="const GLvoid *"/>
262         <glx handcode="true"/>
263     </function>
265     <function name="DisableClientState" offset="309" static_dispatch="false">
266         <param name="array" type="GLenum"/>
267         <glx handcode="true"/>
268     </function>
270     <function name="EnableClientState" offset="313" static_dispatch="false">
271         <param name="array" type="GLenum"/>
272         <glx handcode="true"/>
273     </function>
275     <function name="NormalPointer" offset="318" static_dispatch="false">
276         <param name="type" type="GLenum"/>
277         <param name="stride" type="GLsizei"/>
278         <param name="pointer" type="const GLvoid *"/>
279         <glx handcode="true"/>
280     </function>
282     <function name="TexCoordPointer" offset="320" static_dispatch="false">
283         <param name="size" type="GLint"/>
284         <param name="type" type="GLenum"/>
285         <param name="stride" type="GLsizei"/>
286         <param name="pointer" type="const GLvoid *"/>
287         <glx handcode="true"/>
288     </function>
290     <function name="VertexPointer" offset="321" static_dispatch="false">
291         <param name="size" type="GLint"/>
292         <param name="type" type="GLenum"/>
293         <param name="stride" type="GLsizei"/>
294         <param name="pointer" type="const GLvoid *"/>
295         <glx handcode="true"/>
296     </function>
298     <function name="GetPointerv" offset="329" static_dispatch="false">
299         <param name="pname" type="GLenum"/>
300         <param name="params" type="GLvoid **" output="true"/>
301         <glx handcode="true"/>
302     </function>
304     <!-- OpenGL 1.2 -->
305     <function name="TexImage3D" alias="TexImage3DOES" static_dispatch="false">
306         <param name="target" type="GLenum"/>
307         <param name="level" type="GLint"/>
308         <param name="internalformat" type="GLint"/>
309         <param name="width" type="GLsizei"/>
310         <param name="height" type="GLsizei"/>
311         <param name="depth" type="GLsizei"/>
312         <param name="border" type="GLint"/>
313         <param name="format" type="GLenum"/>
314         <param name="type" type="GLenum"/>
315         <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"/>
316         <glx rop="4114" large="true"/>
317     </function>
319     <function name="TexSubImage3D" alias="TexSubImage3DOES" static_dispatch="false">
320         <param name="target" type="GLenum"/>
321         <param name="level" type="GLint"/>
322         <param name="xoffset" type="GLint"/>
323         <param name="yoffset" type="GLint"/>
324         <param name="zoffset" type="GLint"/>
325         <param name="width" type="GLsizei"/>
326         <param name="height" type="GLsizei"/>
327         <param name="depth" type="GLsizei"/>
328         <param name="format" type="GLenum"/>
329         <param name="type" type="GLenum"/>
330         <param name="UNUSED" type="GLuint" padding="true"/>
331         <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"/>
332         <glx rop="4115" large="true"/>
333     </function>
335     <function name="CopyTexSubImage3D" alias="CopyTexSubImage3DOES" static_dispatch="false">
336         <param name="target" type="GLenum"/>
337         <param name="level" type="GLint"/>
338         <param name="xoffset" type="GLint"/>
339         <param name="yoffset" type="GLint"/>
340         <param name="zoffset" type="GLint"/>
341         <param name="x" type="GLint"/>
342         <param name="y" type="GLint"/>
343         <param name="width" type="GLsizei"/>
344         <param name="height" type="GLsizei"/>
345         <glx rop="4123"/>
346     </function>
348     <!-- GL_ARB_multitexture -->
349     <function name="ActiveTextureARB" alias="ActiveTexture" static_dispatch="false">
350         <param name="texture" type="GLenum"/>
351         <glx rop="197"/>
352     </function>
354     <function name="ClientActiveTextureARB" offset="375" static_dispatch="false">
355         <param name="texture" type="GLenum"/>
356         <glx handcode="true"/>
357     </function>
359     <function name="MultiTexCoord4fARB" offset="402" vectorequiv="MultiTexCoord4fvARB" static_dispatch="false">
360         <param name="target" type="GLenum"/>
361         <param name="s" type="GLfloat"/>
362         <param name="t" type="GLfloat"/>
363         <param name="r" type="GLfloat"/>
364         <param name="q" type="GLfloat"/>
365     </function>
366 </category>
368 </OpenGLAPI>