2 <!DOCTYPE OpenGLAPI SYSTEM "../gen/gl_API.dtd">
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.
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">
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"/>
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"/>
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"/>
36 <function name="Fogf" offset="153" static_dispatch="false">
37 <param name="pname" type="GLenum"/>
38 <param name="param" type="GLfloat"/>
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"/>
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"/>
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"/>
62 <function name="LightModelf" offset="163" static_dispatch="false">
63 <param name="pname" type="GLenum"/>
64 <param name="param" type="GLfloat"/>
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"/>
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"/>
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"/>
88 <function name="PointSize" offset="173" static_dispatch="false">
89 <param name="size" type="GLfloat"/>
93 <function name="ShadeModel" offset="177" static_dispatch="false">
94 <param name="mode" type="GLenum"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
154 <function name="AlphaFunc" offset="240" static_dispatch="false">
155 <param name="func" type="GLenum"/>
156 <param name="ref" type="GLclampf"/>
160 <function name="LogicOp" offset="242" static_dispatch="false">
161 <param name="opcode" type="GLenum"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
207 <function name="LoadIdentity" offset="290" static_dispatch="false">
211 <function name="LoadMatrixf" offset="291" static_dispatch="false">
212 <param name="m" type="const GLfloat *" count="16"/>
216 <function name="MatrixMode" offset="293" static_dispatch="false">
217 <param name="mode" type="GLenum"/>
221 <function name="MultMatrixf" offset="294" static_dispatch="false">
222 <param name="m" type="const GLfloat *" count="16"/>
226 <function name="PopMatrix" offset="297" static_dispatch="false">
230 <function name="PushMatrix" offset="298" static_dispatch="false">
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"/>
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"/>
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"/>
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"/>
265 <function name="DisableClientState" offset="309" static_dispatch="false">
266 <param name="array" type="GLenum"/>
267 <glx handcode="true"/>
270 <function name="EnableClientState" offset="313" static_dispatch="false">
271 <param name="array" type="GLenum"/>
272 <glx handcode="true"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
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"/>
348 <!-- GL_ARB_multitexture -->
349 <function name="ActiveTextureARB" alias="ActiveTexture" static_dispatch="false">
350 <param name="texture" type="GLenum"/>
354 <function name="ClientActiveTextureARB" offset="375" static_dispatch="false">
355 <param name="texture" type="GLenum"/>
356 <glx handcode="true"/>
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"/>