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="TexGenf" alias="TexGenfOES" static_dispatch="false">
17 <param name="coord" type="GLenum"/>
18 <param name="pname" type="GLenum"/>
19 <param name="param" type="GLfloat"/>
23 <function name="TexGenfv" alias="TexGenfvOES" static_dispatch="false">
24 <param name="coord" type="GLenum"/>
25 <param name="pname" type="GLenum"/>
26 <param name="params" type="const GLfloat *" variable_param="pname"/>
30 <function name="TexGeni" alias="TexGeniOES" static_dispatch="false">
31 <param name="coord" type="GLenum"/>
32 <param name="pname" type="GLenum"/>
33 <param name="param" type="GLint"/>
37 <function name="TexGeniv" alias="TexGenivOES" static_dispatch="false">
38 <param name="coord" type="GLenum"/>
39 <param name="pname" type="GLenum"/>
40 <param name="params" type="const GLint *" variable_param="pname"/>
44 <function name="GetTexGenfv" alias="GetTexGenfvOES" static_dispatch="false">
45 <param name="coord" type="GLenum"/>
46 <param name="pname" type="GLenum"/>
47 <param name="params" type="GLfloat *" output="true" variable_param="pname"/>
51 <function name="GetTexGeniv" alias="GetTexGenivOES" static_dispatch="false">
52 <param name="coord" type="GLenum"/>
53 <param name="pname" type="GLenum"/>
54 <param name="params" type="GLint *" output="true" variable_param="pname"/>
59 <function name="BlendColor" offset="336" static_dispatch="false">
60 <param name="red" type="GLclampf"/>
61 <param name="green" type="GLclampf"/>
62 <param name="blue" type="GLclampf"/>
63 <param name="alpha" type="GLclampf"/>
67 <function name="BlendEquation" alias="BlendEquationOES" static_dispatch="false">
68 <param name="mode" type="GLenum"/>
72 <function name="TexImage3D" offset="371" static_dispatch="false">
73 <param name="target" type="GLenum"/>
74 <param name="level" type="GLint"/>
75 <param name="internalformat" type="GLint"/>
76 <param name="width" type="GLsizei"/>
77 <param name="height" type="GLsizei"/>
78 <param name="depth" type="GLsizei"/>
79 <param name="border" type="GLint"/>
80 <param name="format" type="GLenum"/>
81 <param name="type" type="GLenum"/>
82 <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"/>
83 <glx rop="4114" large="true"/>
86 <function name="TexSubImage3D" offset="372" static_dispatch="false">
87 <param name="target" type="GLenum"/>
88 <param name="level" type="GLint"/>
89 <param name="xoffset" type="GLint"/>
90 <param name="yoffset" type="GLint"/>
91 <param name="zoffset" type="GLint"/>
92 <param name="width" type="GLsizei"/>
93 <param name="height" type="GLsizei"/>
94 <param name="depth" type="GLsizei"/>
95 <param name="format" type="GLenum"/>
96 <param name="type" type="GLenum"/>
97 <param name="UNUSED" type="GLuint" padding="true"/>
98 <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"/>
99 <glx rop="4115" large="true"/>
102 <function name="CopyTexSubImage3D" offset="373" static_dispatch="false">
103 <param name="target" type="GLenum"/>
104 <param name="level" type="GLint"/>
105 <param name="xoffset" type="GLint"/>
106 <param name="yoffset" type="GLint"/>
107 <param name="zoffset" type="GLint"/>
108 <param name="x" type="GLint"/>
109 <param name="y" type="GLint"/>
110 <param name="width" type="GLsizei"/>
111 <param name="height" type="GLsizei"/>
115 <!-- GL_ARB_multitexture -->
116 <function name="ActiveTextureARB" alias="ActiveTexture" static_dispatch="false">
117 <param name="texture" type="GLenum"/>
121 <function name="ClientActiveTextureARB" alias="ClientActiveTexture" static_dispatch="false">
122 <param name="texture" type="GLenum"/>
123 <glx handcode="true"/>
126 <function name="MultiTexCoord4fARB" alias="MultiTexCoord4f" vectorequiv="MultiTexCoord4fvARB" static_dispatch="false">
127 <param name="target" type="GLenum"/>
128 <param name="s" type="GLfloat"/>
129 <param name="t" type="GLfloat"/>
130 <param name="r" type="GLfloat"/>
131 <param name="q" type="GLfloat"/>