summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/es1_conversion.h
blob: 40cac4197da4755f186109df18b0eaa1fff82f12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
/*
 * Copyright 2008 VMware, Inc.
 * All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * VMWARE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

#ifndef ES1_CONVERSION_H
#define ES1_CONVERSION_H

#ifndef GL_APIENTRY
#define GL_APIENTRY GLAPIENTRY
#endif

void GL_APIENTRY
_mesa_AlphaFuncx(GLenum func, GLclampx ref);

void GL_APIENTRY
_mesa_ClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);

void GL_APIENTRY
_mesa_ClearDepthx(GLclampx depth);

void GL_APIENTRY
_mesa_ClipPlanef(GLenum plane, const GLfloat *equation);

void GL_APIENTRY
_mesa_ClipPlanex(GLenum plane, const GLfixed *equation);

void GL_APIENTRY
_es_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);

void GL_APIENTRY
_mesa_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);

void GL_APIENTRY
_mesa_DepthRangex(GLclampx zNear, GLclampx zFar);

void GL_APIENTRY
_mesa_DrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed w, GLfixed h);

void GL_APIENTRY
_mesa_DrawTexxvOES(const GLfixed *coords);

void GL_APIENTRY
_mesa_Fogx(GLenum pname, GLfixed param);

void GL_APIENTRY
_mesa_Fogxv(GLenum pname, const GLfixed *params);

void GL_APIENTRY
_mesa_Frustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
             GLfloat zNear, GLfloat zFar);

void GL_APIENTRY
_mesa_Frustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
             GLfixed zNear, GLfixed zFar);

void GL_APIENTRY
_mesa_GetClipPlanef(GLenum plane, GLfloat *equation);

void GL_APIENTRY
_mesa_GetClipPlanex(GLenum plane, GLfixed *equation);

void GL_APIENTRY
_mesa_GetLightxv(GLenum light, GLenum pname, GLfixed *params);

void GL_APIENTRY
_mesa_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params);

void GL_APIENTRY
_check_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params);

void GL_APIENTRY
_mesa_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params);

void GL_APIENTRY
_mesa_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params);

void GL_APIENTRY
_mesa_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params);

void GL_APIENTRY
_mesa_LightModelx(GLenum pname, GLfixed param);

void GL_APIENTRY
_mesa_LightModelxv(GLenum pname, const GLfixed *params);

void GL_APIENTRY
_mesa_Lightx(GLenum light, GLenum pname, GLfixed param);

void GL_APIENTRY
_mesa_Lightxv(GLenum light, GLenum pname, const GLfixed *params);

void GL_APIENTRY
_mesa_LineWidthx(GLfixed width);

void GL_APIENTRY
_mesa_LoadMatrixx(const GLfixed *m);

void GL_APIENTRY
_mesa_Materialx(GLenum face, GLenum pname, GLfixed param);

void GL_APIENTRY
_mesa_Materialxv(GLenum face, GLenum pname, const GLfixed *params);

void GL_APIENTRY
_mesa_MultMatrixx(const GLfixed *m);

void GL_APIENTRY
_mesa_MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);

void GL_APIENTRY
_mesa_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz);

void GL_APIENTRY
_mesa_Orthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
           GLfloat zNear, GLfloat zFar);

void GL_APIENTRY
_mesa_Orthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
           GLfixed zNear, GLfixed zFar);

void GL_APIENTRY
_mesa_PointParameterx(GLenum pname, GLfixed param);

void GL_APIENTRY
_mesa_PointParameterxv(GLenum pname, const GLfixed *params);

void GL_APIENTRY
_mesa_PointSizex(GLfixed size);

void GL_APIENTRY
_mesa_PolygonOffsetx(GLfixed factor, GLfixed units);

void GL_APIENTRY
_mesa_Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);

void GL_APIENTRY
_mesa_SampleCoveragex(GLclampx value, GLboolean invert);

void GL_APIENTRY
_mesa_Scalex(GLfixed x, GLfixed y, GLfixed z);

void GL_APIENTRY
_mesa_TexEnvx(GLenum target, GLenum pname, GLfixed param);

void GL_APIENTRY
_mesa_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params);

void GL_APIENTRY
_check_TexGeniOES(GLenum coord, GLenum pname, GLint param);

void GL_APIENTRY
_check_TexGenivOES(GLenum coord, GLenum pname, const GLint *params);

void GL_APIENTRY
_mesa_TexGenxOES(GLenum coord, GLenum pname, GLfixed param);

void GL_APIENTRY
_mesa_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params);

void GL_APIENTRY
_mesa_TexParameterx(GLenum target, GLenum pname, GLfixed param);

void GL_APIENTRY
_mesa_TexParameterxv(GLenum target, GLenum pname, const GLfixed *params);

void GL_APIENTRY
_mesa_Translatex(GLfixed x, GLfixed y, GLfixed z);

#endif /* ES1_CONVERSION_H */