mesa: fix MSVC signed/unsigned warnings in transformfeedback.c
[mesa.git] / src / mesa / main / es1_conversion.h
1 /*
2 * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
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 * TUNGSTEN GRAPHICS 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
31 void GL_APIENTRY
32 _es_AlphaFuncx(GLenum func, GLclampx ref);
33
34 void GL_APIENTRY
35 _es_ClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
36
37 void GL_APIENTRY
38 _es_ClearDepthx(GLclampx depth);
39
40 void GL_APIENTRY
41 _es_ClipPlanef(GLenum plane, const GLfloat *equation);
42
43 void GL_APIENTRY
44 _es_ClipPlanex(GLenum plane, const GLfixed *equation);
45
46 void GL_APIENTRY
47 _es_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
48
49 void GL_APIENTRY
50 _es_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
51
52 void GL_APIENTRY
53 _es_DepthRangex(GLclampx zNear, GLclampx zFar);
54
55 void GL_APIENTRY
56 _es_DrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed w, GLfixed h);
57
58 void GL_APIENTRY
59 _es_DrawTexxvOES(const GLfixed *coords);
60
61 void GL_APIENTRY
62 _es_Fogx(GLenum pname, GLfixed param);
63
64 void GL_APIENTRY
65 _es_Fogxv(GLenum pname, const GLfixed *params);
66
67 void GL_APIENTRY
68 _es_Frustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
69 GLfloat zNear, GLfloat zFar);
70
71 void GL_APIENTRY
72 _es_Frustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
73 GLfixed zNear, GLfixed zFar);
74
75 void GL_APIENTRY
76 _es_GetClipPlanef(GLenum plane, GLfloat *equation);
77
78 void GL_APIENTRY
79 _es_GetClipPlanex(GLenum plane, GLfixed *equation);
80
81 void GL_APIENTRY
82 _es_GetLightxv(GLenum light, GLenum pname, GLfixed *params);
83
84 void GL_APIENTRY
85 _es_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params);
86
87 void GL_APIENTRY
88 _check_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params);
89
90 void GL_APIENTRY
91 _es_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params);
92
93 void GL_APIENTRY
94 _check_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params);
95
96 void GL_APIENTRY
97 _es_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params);
98
99 void GL_APIENTRY
100 _es_LightModelx(GLenum pname, GLfixed param);
101
102 void GL_APIENTRY
103 _es_LightModelxv(GLenum pname, const GLfixed *params);
104
105 void GL_APIENTRY
106 _es_Lightx(GLenum light, GLenum pname, GLfixed param);
107
108 void GL_APIENTRY
109 _es_Lightxv(GLenum light, GLenum pname, const GLfixed *params);
110
111 void GL_APIENTRY
112 _es_LineWidthx(GLfixed width);
113
114 void GL_APIENTRY
115 _es_LoadMatrixx(const GLfixed *m);
116
117 void GL_APIENTRY
118 _es_Materialx(GLenum face, GLenum pname, GLfixed param);
119
120 void GL_APIENTRY
121 _es_Materialxv(GLenum face, GLenum pname, const GLfixed *params);
122
123 void GL_APIENTRY
124 _es_MultMatrixx(const GLfixed *m);
125
126 void GL_APIENTRY
127 _es_MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
128
129 void GL_APIENTRY
130 _es_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz);
131
132 void GL_APIENTRY
133 _es_Orthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
134 GLfloat zNear, GLfloat zFar);
135
136 void GL_APIENTRY
137 _es_Orthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
138 GLfixed zNear, GLfixed zFar);
139
140 void GL_APIENTRY
141 _es_PointParameterx(GLenum pname, GLfixed param);
142
143 void GL_APIENTRY
144 _es_PointParameterxv(GLenum pname, const GLfixed *params);
145
146 void GL_APIENTRY
147 _es_PointSizex(GLfixed size);
148
149 void GL_APIENTRY
150 _es_PolygonOffsetx(GLfixed factor, GLfixed units);
151
152 void GL_APIENTRY
153 _es_Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
154
155 void GL_APIENTRY
156 _es_SampleCoveragex(GLclampx value, GLboolean invert);
157
158 void GL_APIENTRY
159 _es_Scalex(GLfixed x, GLfixed y, GLfixed z);
160
161 void GL_APIENTRY
162 _es_TexEnvx(GLenum target, GLenum pname, GLfixed param);
163
164 void GL_APIENTRY
165 _es_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params);
166
167 void GL_APIENTRY
168 _check_TexGeniOES(GLenum coord, GLenum pname, GLint param);
169
170 void GL_APIENTRY
171 _check_TexGenivOES(GLenum coord, GLenum pname, const GLint *params);
172
173 void GL_APIENTRY
174 _check_TexGenxOES(GLenum coord, GLenum pname, GLfixed param);
175
176 void GL_APIENTRY
177 _check_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params);
178
179 void GL_APIENTRY
180 _es_TexParameterx(GLenum target, GLenum pname, GLfixed param);
181
182 void GL_APIENTRY
183 _es_TexParameterxv(GLenum target, GLenum pname, const GLfixed *params);
184
185 void GL_APIENTRY
186 _es_Translatex(GLfixed x, GLfixed y, GLfixed z);
187
188 #endif /* ES1_CONVERSION_H */