1<?xml version="1.0"?>
2<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4<!-- This is included by gl_and_es_API.xml.  Could be moved to gl_API.xml. -->
5<!-- this extension is incomplete -->
6
7<OpenGLAPI>
8
9<category name="GL_OES_fixed_point" number="292">
10    <enum name="FIXED_OES"                                value="0x140C"/>
11
12    <type name="fixed"   size="4"                                    />
13    <type name="clampx"  size="4"                                    />
14
15    <!-- OpenGL ES 1.0 -->
16    <function name="AlphaFuncxOES" offset="assign" static_dispatch="false">
17        <param name="func" type="GLenum"/>
18        <param name="ref" type="GLclampx"/>
19    </function>
20
21    <function name="ClearColorxOES" offset="assign" static_dispatch="false">
22        <param name="red" type="GLclampx"/>
23        <param name="green" type="GLclampx"/>
24        <param name="blue" type="GLclampx"/>
25        <param name="alpha" type="GLclampx"/>
26    </function>
27
28    <function name="ClearDepthxOES" offset="assign" static_dispatch="false">
29        <param name="depth" type="GLclampx"/>
30    </function>
31
32    <function name="Color4xOES" offset="assign" static_dispatch="false">
33        <param name="red" type="GLfixed"/>
34        <param name="green" type="GLfixed"/>
35        <param name="blue" type="GLfixed"/>
36        <param name="alpha" type="GLfixed"/>
37    </function>
38
39    <function name="DepthRangexOES" offset="assign" static_dispatch="false">
40        <param name="zNear" type="GLclampx"/>
41        <param name="zFar" type="GLclampx"/>
42    </function>
43
44    <function name="FogxOES" offset="assign" static_dispatch="false">
45        <param name="pname" type="GLenum"/>
46        <param name="param" type="GLfixed"/>
47    </function>
48
49    <function name="FogxvOES" offset="assign" static_dispatch="false">
50        <param name="pname" type="GLenum"/>
51        <param name="params" type="const GLfixed *" variable_param="pname"/>
52    </function>
53
54    <function name="FrustumxOES" offset="assign" static_dispatch="false">
55        <param name="left" type="GLfixed"/>
56        <param name="right" type="GLfixed"/>
57        <param name="bottom" type="GLfixed"/>
58        <param name="top" type="GLfixed"/>
59        <param name="zNear" type="GLfixed"/>
60        <param name="zFar" type="GLfixed"/>
61    </function>
62
63    <function name="LightModelxOES" offset="assign" static_dispatch="false">
64        <param name="pname" type="GLenum"/>
65        <param name="param" type="GLfixed"/>
66    </function>
67
68    <function name="LightModelxvOES" offset="assign" static_dispatch="false">
69        <param name="pname" type="GLenum"/>
70        <param name="params" type="const GLfixed *" variable_param="pname"/>
71    </function>
72
73    <function name="LightxOES" offset="assign" static_dispatch="false">
74        <param name="light" type="GLenum"/>
75        <param name="pname" type="GLenum"/>
76        <param name="param" type="GLfixed"/>
77    </function>
78
79    <function name="LightxvOES" offset="assign" static_dispatch="false">
80        <param name="light" type="GLenum"/>
81        <param name="pname" type="GLenum"/>
82        <param name="params" type="const GLfixed *" variable_param="pname"/>
83    </function>
84
85    <function name="LineWidthxOES" offset="assign" static_dispatch="false">
86        <param name="width" type="GLfixed"/>
87    </function>
88
89    <function name="LoadMatrixxOES" offset="assign" static_dispatch="false">
90        <param name="m" type="const GLfixed *" count="16"/>
91    </function>
92
93    <function name="MaterialxOES" offset="assign" static_dispatch="false">
94        <param name="face" type="GLenum"/>
95        <param name="pname" type="GLenum"/>
96        <param name="param" type="GLfixed"/>
97    </function>
98
99    <function name="MaterialxvOES" offset="assign" static_dispatch="false">
100        <param name="face" type="GLenum"/>
101        <param name="pname" type="GLenum"/>
102        <param name="params" type="const GLfixed *" variable_param="pname"/>
103    </function>
104
105    <function name="MultMatrixxOES" offset="assign" static_dispatch="false">
106        <param name="m" type="const GLfixed *" count="16"/>
107    </function>
108
109    <function name="MultiTexCoord4xOES" offset="assign" static_dispatch="false">
110        <param name="target" type="GLenum"/>
111        <param name="s" type="GLfixed"/>
112        <param name="t" type="GLfixed"/>
113        <param name="r" type="GLfixed"/>
114        <param name="q" type="GLfixed"/>
115    </function>
116
117    <function name="Normal3xOES" offset="assign" static_dispatch="false">
118        <param name="nx" type="GLfixed"/>
119        <param name="ny" type="GLfixed"/>
120        <param name="nz" type="GLfixed"/>
121    </function>
122
123    <function name="OrthoxOES" offset="assign" static_dispatch="false">
124        <param name="left" type="GLfixed"/>
125        <param name="right" type="GLfixed"/>
126        <param name="bottom" type="GLfixed"/>
127        <param name="top" type="GLfixed"/>
128        <param name="zNear" type="GLfixed"/>
129        <param name="zFar" type="GLfixed"/>
130    </function>
131
132    <function name="PointSizexOES" offset="assign" static_dispatch="false">
133        <param name="size" type="GLfixed"/>
134    </function>
135
136    <function name="PolygonOffsetxOES" offset="assign" static_dispatch="false">
137        <param name="factor" type="GLfixed"/>
138        <param name="units" type="GLfixed"/>
139    </function>
140
141    <function name="RotatexOES" offset="assign" static_dispatch="false">
142        <param name="angle" type="GLfixed"/>
143        <param name="x" type="GLfixed"/>
144        <param name="y" type="GLfixed"/>
145        <param name="z" type="GLfixed"/>
146    </function>
147
148    <function name="SampleCoveragexOES" offset="assign" static_dispatch="false">
149        <param name="value" type="GLclampx"/>
150        <param name="invert" type="GLboolean"/>
151    </function>
152
153    <function name="ScalexOES" offset="assign" static_dispatch="false">
154        <param name="x" type="GLfixed"/>
155        <param name="y" type="GLfixed"/>
156        <param name="z" type="GLfixed"/>
157    </function>
158
159    <function name="TexEnvxOES" offset="assign" static_dispatch="false">
160        <param name="target" type="GLenum"/>
161        <param name="pname" type="GLenum"/>
162        <param name="param" type="GLfixed"/>
163    </function>
164
165    <function name="TexEnvxvOES" offset="assign" static_dispatch="false">
166        <param name="target" type="GLenum"/>
167        <param name="pname" type="GLenum"/>
168        <param name="params" type="const GLfixed *" variable_param="pname"/>
169    </function>
170
171    <function name="TexParameterxOES" offset="assign" static_dispatch="false">
172        <param name="target" type="GLenum"/>
173        <param name="pname" type="GLenum"/>
174        <param name="param" type="GLfixed"/>
175    </function>
176
177    <function name="TranslatexOES" offset="assign" static_dispatch="false">
178        <param name="x" type="GLfixed"/>
179        <param name="y" type="GLfixed"/>
180        <param name="z" type="GLfixed"/>
181    </function>
182
183    <!-- OpenGL ES 1.1 -->
184    <function name="ClipPlanexOES" offset="assign" static_dispatch="false">
185        <param name="plane" type="GLenum"/>
186        <param name="equation" type="const GLfixed *" count="4"/>
187    </function>
188
189    <function name="GetClipPlanexOES" offset="assign" static_dispatch="false">
190        <param name="plane" type="GLenum"/>
191        <param name="equation" type="GLfixed *" output="true" count="4"/>
192    </function>
193
194    <function name="GetFixedvOES" offset="assign" static_dispatch="false">
195        <param name="pname" type="GLenum"/>
196        <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
197    </function>
198
199    <function name="GetLightxvOES" offset="assign" static_dispatch="false">
200        <param name="light" type="GLenum"/>
201        <param name="pname" type="GLenum"/>
202        <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
203    </function>
204
205    <function name="GetMaterialxvOES" offset="assign" static_dispatch="false">
206        <param name="face" type="GLenum"/>
207        <param name="pname" type="GLenum"/>
208        <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
209    </function>
210
211    <function name="GetTexEnvxvOES" offset="assign" static_dispatch="false">
212        <param name="target" type="GLenum"/>
213        <param name="pname" type="GLenum"/>
214        <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
215    </function>
216
217    <function name="GetTexParameterxvOES" offset="assign" static_dispatch="false">
218        <param name="target" type="GLenum"/>
219        <param name="pname" type="GLenum"/>
220        <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
221    </function>
222
223    <function name="PointParameterxOES" offset="assign" static_dispatch="false">
224        <param name="pname" type="GLenum"/>
225        <param name="param" type="GLfixed"/>
226    </function>
227
228    <function name="PointParameterxvOES" offset="assign" static_dispatch="false">
229        <param name="pname" type="GLenum"/>
230        <param name="params" type="const GLfixed *"/>
231    </function>
232
233    <function name="TexParameterxvOES" offset="assign" static_dispatch="false">
234        <param name="target" type="GLenum"/>
235        <param name="pname" type="GLenum"/>
236        <param name="params" type="const GLfixed *" variable_param="pname"/>
237    </function>
238
239    <!-- texgen -->
240    <function name="GetTexGenxvOES" offset="assign" static_dispatch="false">
241        <param name="coord" type="GLenum"/>
242        <param name="pname" type="GLenum"/>
243        <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
244    </function>
245
246    <function name="TexGenxOES" offset="assign" static_dispatch="false">
247        <param name="coord" type="GLenum"/>
248        <param name="pname" type="GLenum"/>
249        <param name="param" type="GLint"/>
250    </function>
251
252    <function name="TexGenxvOES" offset="assign" static_dispatch="false">
253        <param name="coord" type="GLenum"/>
254        <param name="pname" type="GLenum"/>
255        <param name="params" type="const GLfixed *" variable_param="pname"/>
256    </function>
257</category>
258
259</OpenGLAPI>
260