1/*
2 * Copyright 2008 VMware, Inc.
3 * All Rights Reserved.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included
13 * in all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18 * VMWARE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
19 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
20 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 * SOFTWARE.
22 */
23
24#ifndef ES1_CONVERSION_H
25#define ES1_CONVERSION_H
26
27#ifndef GL_APIENTRY
28#define GL_APIENTRY GLAPIENTRY
29#endif
30
31void GL_APIENTRY
32_mesa_AlphaFuncx(GLenum func, GLclampx ref);
33
34void GL_APIENTRY
35_mesa_ClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
36
37void GL_APIENTRY
38_mesa_ClearDepthx(GLclampx depth);
39
40void GL_APIENTRY
41_mesa_ClipPlanef(GLenum plane, const GLfloat *equation);
42
43void GL_APIENTRY
44_mesa_ClipPlanex(GLenum plane, const GLfixed *equation);
45
46void GL_APIENTRY
47_es_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
48
49void GL_APIENTRY
50_mesa_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
51
52void GL_APIENTRY
53_mesa_DepthRangex(GLclampx zNear, GLclampx zFar);
54
55void GL_APIENTRY
56_mesa_DrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed w, GLfixed h);
57
58void GL_APIENTRY
59_mesa_DrawTexxvOES(const GLfixed *coords);
60
61void GL_APIENTRY
62_mesa_Fogx(GLenum pname, GLfixed param);
63
64void GL_APIENTRY
65_mesa_Fogxv(GLenum pname, const GLfixed *params);
66
67void GL_APIENTRY
68_mesa_Frustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
69             GLfloat zNear, GLfloat zFar);
70
71void GL_APIENTRY
72_mesa_Frustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
73             GLfixed zNear, GLfixed zFar);
74
75void GL_APIENTRY
76_mesa_GetClipPlanef(GLenum plane, GLfloat *equation);
77
78void GL_APIENTRY
79_mesa_GetClipPlanex(GLenum plane, GLfixed *equation);
80
81void GL_APIENTRY
82_mesa_GetLightxv(GLenum light, GLenum pname, GLfixed *params);
83
84void GL_APIENTRY
85_mesa_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params);
86
87void GL_APIENTRY
88_check_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params);
89
90void GL_APIENTRY
91_mesa_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params);
92
93void GL_APIENTRY
94_mesa_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params);
95
96void GL_APIENTRY
97_mesa_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params);
98
99void GL_APIENTRY
100_mesa_LightModelx(GLenum pname, GLfixed param);
101
102void GL_APIENTRY
103_mesa_LightModelxv(GLenum pname, const GLfixed *params);
104
105void GL_APIENTRY
106_mesa_Lightx(GLenum light, GLenum pname, GLfixed param);
107
108void GL_APIENTRY
109_mesa_Lightxv(GLenum light, GLenum pname, const GLfixed *params);
110
111void GL_APIENTRY
112_mesa_LineWidthx(GLfixed width);
113
114void GL_APIENTRY
115_mesa_LoadMatrixx(const GLfixed *m);
116
117void GL_APIENTRY
118_mesa_Materialx(GLenum face, GLenum pname, GLfixed param);
119
120void GL_APIENTRY
121_mesa_Materialxv(GLenum face, GLenum pname, const GLfixed *params);
122
123void GL_APIENTRY
124_mesa_MultMatrixx(const GLfixed *m);
125
126void GL_APIENTRY
127_mesa_MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
128
129void GL_APIENTRY
130_mesa_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz);
131
132void GL_APIENTRY
133_mesa_Orthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
134           GLfloat zNear, GLfloat zFar);
135
136void GL_APIENTRY
137_mesa_Orthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
138           GLfixed zNear, GLfixed zFar);
139
140void GL_APIENTRY
141_mesa_PointParameterx(GLenum pname, GLfixed param);
142
143void GL_APIENTRY
144_mesa_PointParameterxv(GLenum pname, const GLfixed *params);
145
146void GL_APIENTRY
147_mesa_PointSizex(GLfixed size);
148
149void GL_APIENTRY
150_mesa_PolygonOffsetx(GLfixed factor, GLfixed units);
151
152void GL_APIENTRY
153_mesa_Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
154
155void GL_APIENTRY
156_mesa_SampleCoveragex(GLclampx value, GLboolean invert);
157
158void GL_APIENTRY
159_mesa_Scalex(GLfixed x, GLfixed y, GLfixed z);
160
161void GL_APIENTRY
162_mesa_TexEnvx(GLenum target, GLenum pname, GLfixed param);
163
164void GL_APIENTRY
165_mesa_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params);
166
167void GL_APIENTRY
168_check_TexGeniOES(GLenum coord, GLenum pname, GLint param);
169
170void GL_APIENTRY
171_check_TexGenivOES(GLenum coord, GLenum pname, const GLint *params);
172
173void GL_APIENTRY
174_mesa_TexGenxOES(GLenum coord, GLenum pname, GLfixed param);
175
176void GL_APIENTRY
177_mesa_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params);
178
179void GL_APIENTRY
180_mesa_TexParameterx(GLenum target, GLenum pname, GLfixed param);
181
182void GL_APIENTRY
183_mesa_TexParameterxv(GLenum target, GLenum pname, const GLfixed *params);
184
185void GL_APIENTRY
186_mesa_Translatex(GLfixed x, GLfixed y, GLfixed z);
187
188#endif /* ES1_CONVERSION_H */
189