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