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