source: pipeline/include/gl.h@ 53

Last change on this file since 53 was 53, checked in by Apollo Demetrious Sharpe, 14 years ago

Trying to fix a case of Windows not distinguishing between upper & lower case. There are 2 files (gl.h & GL.h) that are confusing Windows.

File size: 40.8 KB
Line 
1
2
3
4
5#ifndef __GL_H__
6#define __GL_H__
7
8#include <ddk\GL\glapis.h>
9
10/* pipe_init.c */
11int Open(void);
12void Close(void);
13
14/* pipe_buffers.c */
15BOOL CreateContext(PGLContext *Ctx, PVISUALCONFIG pVisualConfig, void *Sharelist, BOOL IsDirect);
16BOOL DestroyContext(PGLContext *Ctx);
17BOOL CopyContext(void *Ctx_src, void *Ctx_dst, GLuint attrib_mask);
18
19/* pipe_current */
20BOOL MakeCurrent(PGLContext *Ctx);
21
22/* pipe_query */
23PVISUALCONFIG* QueryConfigs(void);
24LONG QueryCapability(void);
25void QueryVersion(int *major, int *minor);
26
27/* pipe_bitmap.c */
28BOOL GrabFrontBitmap(PGLContext *Ctx, HPS *phps, HBITMAP *phbitmap);
29BOOL ReleaseFrontBitmap(PGLContext *Ctx);
30
31/* pipe_palette.c */
32int SelectColorIndexPalette(PGLContext *Ctx);
33
34/* pipe_buffers.c */
35int SetPalette(PGLContext *Ctx);
36void SwapBuffers(PGLContext *Ctx);
37void ResizeBuffers(PGLContext *Ctx, unsigned int delta_x, unsigned int delta_y, void *pBuffer);
38
39/* pipe_funcs.c */
40PFN GetProcAddress(PCSZ);
41
42PIPELINEOPS PipelineOps =
43{
44 Open,
45 Close,
46 CreateContext,
47 DestroyContext,
48 CopyContext,
49 MakeCurrent,
50 QueryConfigs,
51 QueryCapability,
52 QueryVersion,
53 GrabFrontBitmap,
54 ReleaseFrontBitmap,
55 SelectColorIndexPalette,
56 SetPalette,
57 SwapBuffers,
58 ResizeBuffers,
59 GetProcAddress
60};
61
62class GL
63{
64public:
65 GL();
66 ~GL();
67
68private:
69/* GL API INTERFACE */
70
71GLAPIFUNCS *pFuncs;
72 /* Miscellaneous */
73static void GLAPIENTRY ClearIndex( PGLContext *ctx, GLfloat c );
74static void GLAPIENTRY ClearColor( PGLContext *ctx, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
75static void GLAPIENTRY Clear( PGLContext *ctx, GLbitfield mask );
76static void GLAPIENTRY IndexMask( PGLContext *ctx, GLuint mask );
77static void GLAPIENTRY ColorMask( PGLContext *ctx, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha );
78static void GLAPIENTRY AlphaFunc( PGLContext *ctx, GLenum func, GLclampf ref );
79static void GLAPIENTRY BlendFunc( PGLContext *ctx, GLenum sfactor, GLenum dfactor );
80static void GLAPIENTRY LogicOp( PGLContext *ctx, GLenum opcode );
81static void GLAPIENTRY CullFace( PGLContext *ctx, GLenum mode );
82static void GLAPIENTRY FrontFace( PGLContext *ctx, GLenum mode );
83static void GLAPIENTRY PointSize( PGLContext *ctx, GLfloat size );
84static void GLAPIENTRY LineWidth( PGLContext *ctx, GLfloat width );
85static void GLAPIENTRY LineStipple( PGLContext *ctx, GLint factor, GLushort pattern );
86static void GLAPIENTRY PolygonMode( PGLContext *ctx, GLenum face, GLenum mode );
87static void GLAPIENTRY PolygonOffset( PGLContext *ctx, GLfloat factor, GLfloat units );
88static void GLAPIENTRY PolygonStipple( PGLContext *ctx, const GLubyte *mask );
89static void GLAPIENTRY GetPolygonStipple( PGLContext *ctx, GLubyte *mask );
90static void GLAPIENTRY EdgeFlag( PGLContext *ctx, GLboolean flag );
91static void GLAPIENTRY EdgeFlagv( PGLContext *ctx, const GLboolean *flag );
92static void GLAPIENTRY Scissor( PGLContext *ctx, GLint x, GLint y, GLsizei width, GLsizei height);
93static void GLAPIENTRY ClipPlane( PGLContext *ctx, GLenum plane, const GLdouble *equation );
94static void GLAPIENTRY GetClipPlane( PGLContext *ctx, GLenum plane, GLdouble *equation );
95static void GLAPIENTRY DrawBuffer( PGLContext *ctx, GLenum mode );
96static void GLAPIENTRY ReadBuffer( PGLContext *ctx, GLenum mode );
97static void GLAPIENTRY Enable( PGLContext *ctx, GLenum cap );
98static void GLAPIENTRY Disable( PGLContext *ctx, GLenum cap );
99static GLboolean GLAPIENTRY IsEnabled( PGLContext *ctx, GLenum cap );
100static void GLAPIENTRY EnableClientState( PGLContext *ctx, GLenum cap ); /* 1.1 */
101static void GLAPIENTRY DisableClientState( PGLContext *ctx, GLenum cap ); /* 1.1 */
102static void GLAPIENTRY GetBooleanv( PGLContext *ctx, GLenum pname, GLboolean *params );
103static void GLAPIENTRY GetDoublev( PGLContext *ctx, GLenum pname, GLdouble *params );
104static void GLAPIENTRY GetFloatv( PGLContext *ctx, GLenum pname, GLfloat *params );
105static void GLAPIENTRY GetIntegerv( PGLContext *ctx, GLenum pname, GLint *params );
106static void GLAPIENTRY PushAttrib( PGLContext *ctx, GLbitfield mask );
107static void GLAPIENTRY PopAttrib( PGLContext *ctx );
108static void GLAPIENTRY PushClientAttrib( PGLContext *ctx, GLbitfield mask ); /* 1.1 */
109static void GLAPIENTRY PopClientAttrib( PGLContext *ctx ); /* 1.1 */
110static GLint GLAPIENTRY RenderMode( PGLContext *ctx, GLenum mode );
111static GLenum GLAPIENTRY GetError( PGLContext *ctx );
112static const GLubyte* GLAPIENTRY GetString( PGLContext *ctx, GLenum name );
113static void GLAPIENTRY Finish( PGLContext *ctx );
114static void GLAPIENTRY Flush( PGLContext *ctx );
115static void GLAPIENTRY Hint( PGLContext *ctx, GLenum target, GLenum mode );
116
117 /* Depth Buffer */
118static void GLAPIENTRY ClearDepth( PGLContext *ctx, GLclampd depth );
119static void GLAPIENTRY DepthFunc( PGLContext *ctx, GLenum func );
120static void GLAPIENTRY DepthMask( PGLContext *ctx, GLboolean flag );
121static void GLAPIENTRY DepthRange( PGLContext *ctx, GLclampd near_val, GLclampd far_val );
122
123 /* Accumulation Buffer */
124static void GLAPIENTRY ClearAccum( PGLContext *ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
125static void GLAPIENTRY Accum( PGLContext *ctx, GLenum op, GLfloat value );
126
127 /* Transformation */
128static void GLAPIENTRY MatrixMode( PGLContext *ctx, GLenum mode );
129static void GLAPIENTRY Ortho( PGLContext *ctx, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val );
130static void GLAPIENTRY Frustum( PGLContext *ctx, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val );
131static void GLAPIENTRY Viewport( PGLContext *ctx, GLint x, GLint y, GLsizei width, GLsizei height );
132static void GLAPIENTRY PushMatrix( PGLContext *ctx );
133static void GLAPIENTRY PopMatrix( PGLContext *ctx );
134static void GLAPIENTRY LoadIdentity( PGLContext *ctx );
135static void GLAPIENTRY LoadMatrixd( PGLContext *ctx, const GLdouble *m );
136static void GLAPIENTRY LoadMatrixf( PGLContext *ctx, const GLfloat *m );
137static void GLAPIENTRY MultMatrixd( PGLContext *ctx, const GLdouble *m );
138static void GLAPIENTRY MultMatrixf( PGLContext *ctx, const GLfloat *m );
139static void GLAPIENTRY Rotated( PGLContext *ctx, GLdouble angle, GLdouble x, GLdouble y, GLdouble z );
140static void GLAPIENTRY Rotatef( PGLContext *ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z );
141static void GLAPIENTRY Scaled( PGLContext *ctx, GLdouble x, GLdouble y, GLdouble z );
142static void GLAPIENTRY Scalef( PGLContext *ctx, GLfloat x, GLfloat y, GLfloat z );
143static void GLAPIENTRY Translated( PGLContext *ctx, GLdouble x, GLdouble y, GLdouble z );
144static void GLAPIENTRY Translatef( PGLContext *ctx, GLfloat x, GLfloat y, GLfloat z );
145
146 /* Display Lists */
147static GLboolean GLAPIENTRY IsList( PGLContext *ctx, GLuint list );
148static void GLAPIENTRY DeleteLists( PGLContext *ctx, GLuint list, GLsizei range );
149static GLuint GLAPIENTRY GenLists( PGLContext *ctx, GLsizei range );
150static void GLAPIENTRY NewList( PGLContext *ctx, GLuint list, GLenum mode );
151static void GLAPIENTRY EndList( PGLContext *ctx );
152static void GLAPIENTRY CallList( PGLContext *ctx, GLuint list );
153static void GLAPIENTRY CallLists( PGLContext *ctx, GLsizei n, GLenum type, const GLvoid *lists );
154static void GLAPIENTRY ListBase( PGLContext *ctx, GLuint base );
155
156 /* Drawing Functions */
157static void GLAPIENTRY Begin( PGLContext *ctx, GLenum mode );
158static void GLAPIENTRY End( PGLContext *ctx );
159static void GLAPIENTRY Vertex2d( PGLContext *ctx, GLdouble x, GLdouble y );
160static void GLAPIENTRY Vertex2f( PGLContext *ctx, GLfloat x, GLfloat y );
161static void GLAPIENTRY Vertex2i( PGLContext *ctx, GLint x, GLint y );
162static void GLAPIENTRY Vertex2s( PGLContext *ctx, GLshort x, GLshort y );
163static void GLAPIENTRY Vertex3d( PGLContext *ctx, GLdouble x, GLdouble y, GLdouble z );
164static void GLAPIENTRY Vertex3f( PGLContext *ctx, GLfloat x, GLfloat y, GLfloat z );
165static void GLAPIENTRY Vertex3i( PGLContext *ctx, GLint x, GLint y, GLint z );
166static void GLAPIENTRY Vertex3s( PGLContext *ctx, GLshort x, GLshort y, GLshort z );
167static void GLAPIENTRY Vertex4d( PGLContext *ctx, GLdouble x, GLdouble y, GLdouble z, GLdouble w );
168static void GLAPIENTRY Vertex4f( PGLContext *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w );
169static void GLAPIENTRY Vertex4i( PGLContext *ctx, GLint x, GLint y, GLint z, GLint w );
170static void GLAPIENTRY Vertex4s( PGLContext *ctx, GLshort x, GLshort y, GLshort z, GLshort w );
171static void GLAPIENTRY Vertex2dv( PGLContext *ctx, const GLdouble *v );
172static void GLAPIENTRY Vertex2fv( PGLContext *ctx, const GLfloat *v );
173static void GLAPIENTRY Vertex2iv( PGLContext *ctx, const GLint *v );
174static void GLAPIENTRY Vertex2sv( PGLContext *ctx, const GLshort *v );
175static void GLAPIENTRY Vertex3dv( PGLContext *ctx, const GLdouble *v );
176static void GLAPIENTRY Vertex3fv( PGLContext *ctx, const GLfloat *v );
177static void GLAPIENTRY Vertex3iv( PGLContext *ctx, const GLint *v );
178static void GLAPIENTRY Vertex3sv( PGLContext *ctx, const GLshort *v );
179static void GLAPIENTRY Vertex4dv( PGLContext *ctx, const GLdouble *v );
180static void GLAPIENTRY Vertex4fv( PGLContext *ctx, const GLfloat *v );
181static void GLAPIENTRY Vertex4iv( PGLContext *ctx, const GLint *v );
182static void GLAPIENTRY Vertex4sv( PGLContext *ctx, const GLshort *v );
183static void GLAPIENTRY Normal3b( PGLContext *ctx, GLbyte nx, GLbyte ny, GLbyte nz );
184static void GLAPIENTRY Normal3d( PGLContext *ctx, GLdouble nx, GLdouble ny, GLdouble nz );
185static void GLAPIENTRY Normal3f( PGLContext *ctx, GLfloat nx, GLfloat ny, GLfloat nz );
186static void GLAPIENTRY Normal3i( PGLContext *ctx, GLint nx, GLint ny, GLint nz );
187static void GLAPIENTRY Normal3s( PGLContext *ctx, GLshort nx, GLshort ny, GLshort nz );
188static void GLAPIENTRY Normal3bv( PGLContext *ctx, const GLbyte *v );
189static void GLAPIENTRY Normal3dv( PGLContext *ctx, const GLdouble *v );
190static void GLAPIENTRY Normal3fv( PGLContext *ctx, const GLfloat *v );
191static void GLAPIENTRY Normal3iv( PGLContext *ctx, const GLint *v );
192static void GLAPIENTRY Normal3sv( PGLContext *ctx, const GLshort *v );
193static void GLAPIENTRY Indexd( PGLContext *ctx, GLdouble c );
194static void GLAPIENTRY Indexf( PGLContext *ctx, GLfloat c );
195static void GLAPIENTRY Indexi( PGLContext *ctx, GLint c );
196static void GLAPIENTRY Indexs( PGLContext *ctx, GLshort c );
197static void GLAPIENTRY Indexub( PGLContext *ctx, GLubyte c ); /* 1.1 */
198static void GLAPIENTRY Indexdv( PGLContext *ctx, const GLdouble *c );
199static void GLAPIENTRY Indexfv( PGLContext *ctx, const GLfloat *c );
200static void GLAPIENTRY Indexiv( PGLContext *ctx, const GLint *c );
201static void GLAPIENTRY Indexsv( PGLContext *ctx, const GLshort *c );
202static void GLAPIENTRY Indexubv( PGLContext *ctx, const GLubyte *c ); /* 1.1 */
203static void GLAPIENTRY Color3b( PGLContext *ctx, GLbyte red, GLbyte green, GLbyte blue );
204static void GLAPIENTRY Color3d( PGLContext *ctx, GLdouble red, GLdouble green, GLdouble blue );
205static void GLAPIENTRY Color3f( PGLContext *ctx, GLfloat red, GLfloat green, GLfloat blue );
206static void GLAPIENTRY Color3i( PGLContext *ctx, GLint red, GLint green, GLint blue );
207static void GLAPIENTRY Color3s( PGLContext *ctx, GLshort red, GLshort green, GLshort blue );
208static void GLAPIENTRY Color3ub( PGLContext *ctx, GLubyte red, GLubyte green, GLubyte blue );
209static void GLAPIENTRY Color3ui( PGLContext *ctx, GLuint red, GLuint green, GLuint blue );
210static void GLAPIENTRY Color3us( PGLContext *ctx, GLushort red, GLushort green, GLushort blue );
211static void GLAPIENTRY Color4b( PGLContext *ctx, GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha );
212static void GLAPIENTRY Color4d( PGLContext *ctx, GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha );
213static void GLAPIENTRY Color4f( PGLContext *ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
214static void GLAPIENTRY Color4i( PGLContext *ctx, GLint red, GLint green, GLint blue, GLint alpha );
215static void GLAPIENTRY Color4s( PGLContext *ctx, GLshort red, GLshort green, GLshort blue, GLshort alpha );
216static void GLAPIENTRY Color4ub( PGLContext *ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha );
217static void GLAPIENTRY Color4ui( PGLContext *ctx, GLuint red, GLuint green, GLuint blue, GLuint alpha );
218static void GLAPIENTRY Color4us( PGLContext *ctx, GLushort red, GLushort green, GLushort blue, GLushort alpha );
219static void GLAPIENTRY Color3bv( PGLContext *ctx, const GLbyte *v );
220static void GLAPIENTRY Color3dv( PGLContext *ctx, const GLdouble *v );
221static void GLAPIENTRY Color3fv( PGLContext *ctx, const GLfloat *v );
222static void GLAPIENTRY Color3iv( PGLContext *ctx, const GLint *v );
223static void GLAPIENTRY Color3sv( PGLContext *ctx, const GLshort *v );
224static void GLAPIENTRY Color3ubv( PGLContext *ctx, const GLubyte *v );
225static void GLAPIENTRY Color3uiv( PGLContext *ctx, const GLuint *v );
226static void GLAPIENTRY Color3usv( PGLContext *ctx, const GLushort *v );
227static void GLAPIENTRY Color4bv( PGLContext *ctx, const GLbyte *v );
228static void GLAPIENTRY Color4dv( PGLContext *ctx, const GLdouble *v );
229static void GLAPIENTRY Color4fv( PGLContext *ctx, const GLfloat *v );
230static void GLAPIENTRY Color4iv( PGLContext *ctx, const GLint *v );
231static void GLAPIENTRY Color4sv( PGLContext *ctx, const GLshort *v );
232static void GLAPIENTRY Color4ubv( PGLContext *ctx, const GLubyte *v );
233static void GLAPIENTRY Color4uiv( PGLContext *ctx, const GLuint *v );
234static void GLAPIENTRY Color4usv( PGLContext *ctx, const GLushort *v );
235static void GLAPIENTRY TexCoord1d( PGLContext *ctx, GLdouble s );
236static void GLAPIENTRY TexCoord1f( PGLContext *ctx, GLfloat s );
237static void GLAPIENTRY TexCoord1i( PGLContext *ctx, GLint s );
238static void GLAPIENTRY TexCoord1s( PGLContext *ctx, GLshort s );
239static void GLAPIENTRY TexCoord2d( PGLContext *ctx, GLdouble s, GLdouble t );
240static void GLAPIENTRY TexCoord2f( PGLContext *ctx, GLfloat s, GLfloat t );
241static void GLAPIENTRY TexCoord2i( PGLContext *ctx, GLint s, GLint t );
242static void GLAPIENTRY TexCoord2s( PGLContext *ctx, GLshort s, GLshort t );
243static void GLAPIENTRY TexCoord3d( PGLContext *ctx, GLdouble s, GLdouble t, GLdouble r );
244static void GLAPIENTRY TexCoord3f( PGLContext *ctx, GLfloat s, GLfloat t, GLfloat r );
245static void GLAPIENTRY TexCoord3i( PGLContext *ctx, GLint s, GLint t, GLint r );
246static void GLAPIENTRY TexCoord3s( PGLContext *ctx, GLshort s, GLshort t, GLshort r );
247static void GLAPIENTRY TexCoord4d( PGLContext *ctx, GLdouble s, GLdouble t, GLdouble r, GLdouble q );
248static void GLAPIENTRY TexCoord4f( PGLContext *ctx, GLfloat s, GLfloat t, GLfloat r, GLfloat q );
249static void GLAPIENTRY TexCoord4i( PGLContext *ctx, GLint s, GLint t, GLint r, GLint q );
250static void GLAPIENTRY TexCoord4s( PGLContext *ctx, GLshort s, GLshort t, GLshort r, GLshort q );
251static void GLAPIENTRY TexCoord1dv( PGLContext *ctx, const GLdouble *v );
252static void GLAPIENTRY TexCoord1fv( PGLContext *ctx, const GLfloat *v );
253static void GLAPIENTRY TexCoord1iv( PGLContext *ctx, const GLint *v );
254static void GLAPIENTRY TexCoord1sv( PGLContext *ctx, const GLshort *v );
255static void GLAPIENTRY TexCoord2dv( PGLContext *ctx, const GLdouble *v );
256static void GLAPIENTRY TexCoord2fv( PGLContext *ctx, const GLfloat *v );
257static void GLAPIENTRY TexCoord2iv( PGLContext *ctx, const GLint *v );
258static void GLAPIENTRY TexCoord2sv( PGLContext *ctx, const GLshort *v );
259static void GLAPIENTRY TexCoord3dv( PGLContext *ctx, const GLdouble *v );
260static void GLAPIENTRY TexCoord3fv( PGLContext *ctx, const GLfloat *v );
261static void GLAPIENTRY TexCoord3iv( PGLContext *ctx, const GLint *v );
262static void GLAPIENTRY TexCoord3sv( PGLContext *ctx, const GLshort *v );
263static void GLAPIENTRY TexCoord4dv( PGLContext *ctx, const GLdouble *v );
264static void GLAPIENTRY TexCoord4fv( PGLContext *ctx, const GLfloat *v );
265static void GLAPIENTRY TexCoord4iv( PGLContext *ctx, const GLint *v );
266static void GLAPIENTRY TexCoord4sv( PGLContext *ctx, const GLshort *v );
267static void GLAPIENTRY RasterPos2d( PGLContext *ctx, GLdouble x, GLdouble y );
268static void GLAPIENTRY RasterPos2f( PGLContext *ctx, GLfloat x, GLfloat y );
269static void GLAPIENTRY RasterPos2i( PGLContext *ctx, GLint x, GLint y );
270static void GLAPIENTRY RasterPos2s( PGLContext *ctx, GLshort x, GLshort y );
271static void GLAPIENTRY RasterPos3d( PGLContext *ctx, GLdouble x, GLdouble y, GLdouble z );
272static void GLAPIENTRY RasterPos3f( PGLContext *ctx, GLfloat x, GLfloat y, GLfloat z );
273static void GLAPIENTRY RasterPos3i( PGLContext *ctx, GLint x, GLint y, GLint z );
274static void GLAPIENTRY RasterPos3s( PGLContext *ctx, GLshort x, GLshort y, GLshort z );
275static void GLAPIENTRY RasterPos4d( PGLContext *ctx, GLdouble x, GLdouble y, GLdouble z, GLdouble w );
276static void GLAPIENTRY RasterPos4f( PGLContext *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w );
277static void GLAPIENTRY RasterPos4i( PGLContext *ctx, GLint x, GLint y, GLint z, GLint w );
278static void GLAPIENTRY RasterPos4s( PGLContext *ctx, GLshort x, GLshort y, GLshort z, GLshort w );
279static void GLAPIENTRY RasterPos2dv( PGLContext *ctx, const GLdouble *v );
280static void GLAPIENTRY RasterPos2fv( PGLContext *ctx, const GLfloat *v );
281static void GLAPIENTRY RasterPos2iv( PGLContext *ctx, const GLint *v );
282static void GLAPIENTRY RasterPos2sv( PGLContext *ctx, const GLshort *v );
283static void GLAPIENTRY RasterPos3dv( PGLContext *ctx, const GLdouble *v );
284static void GLAPIENTRY RasterPos3fv( PGLContext *ctx, const GLfloat *v );
285static void GLAPIENTRY RasterPos3iv( PGLContext *ctx, const GLint *v );
286static void GLAPIENTRY RasterPos3sv( PGLContext *ctx, const GLshort *v );
287static void GLAPIENTRY RasterPos4dv( PGLContext *ctx, const GLdouble *v );
288static void GLAPIENTRY RasterPos4fv( PGLContext *ctx, const GLfloat *v );
289static void GLAPIENTRY RasterPos4iv( PGLContext *ctx, const GLint *v );
290static void GLAPIENTRY RasterPos4sv( PGLContext *ctx, const GLshort *v );
291static void GLAPIENTRY Rectd( PGLContext *ctx, GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 );
292static void GLAPIENTRY Rectf( PGLContext *ctx, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 );
293static void GLAPIENTRY Recti( PGLContext *ctx, GLint x1, GLint y1, GLint x2, GLint y2 );
294static void GLAPIENTRY Rects( PGLContext *ctx, GLshort x1, GLshort y1, GLshort x2, GLshort y2 );
295static void GLAPIENTRY Rectdv( PGLContext *ctx, const GLdouble *v1, const GLdouble *v2 );
296static void GLAPIENTRY Rectfv( PGLContext *ctx, const GLfloat *v1, const GLfloat *v2 );
297static void GLAPIENTRY Rectiv( PGLContext *ctx, const GLint *v1, const GLint *v2 );
298static void GLAPIENTRY Rectsv( PGLContext *ctx, const GLshort *v1, const GLshort *v2 );
299
300 /* Lighting */
301static void GLAPIENTRY ShadeModel( PGLContext *ctx, GLenum mode );
302static void GLAPIENTRY Lightf( PGLContext *ctx, GLenum light, GLenum pname, GLfloat param );
303static void GLAPIENTRY Lighti( PGLContext *ctx, GLenum light, GLenum pname, GLint param );
304static void GLAPIENTRY Lightfv( PGLContext *ctx, GLenum light, GLenum pname, const GLfloat *params );
305static void GLAPIENTRY Lightiv( PGLContext *ctx, GLenum light, GLenum pname, const GLint *params );
306static void GLAPIENTRY GetLightfv( PGLContext *ctx, GLenum light, GLenum pname, GLfloat *params );
307static void GLAPIENTRY GetLightiv( PGLContext *ctx, GLenum light, GLenum pname, GLint *params );
308static void GLAPIENTRY LightModelf( PGLContext *ctx, GLenum pname, GLfloat param );
309static void GLAPIENTRY LightModeli( PGLContext *ctx, GLenum pname, GLint param );
310static void GLAPIENTRY LightModelfv( PGLContext *ctx, GLenum pname, const GLfloat *params );
311static void GLAPIENTRY LightModeliv( PGLContext *ctx, GLenum pname, const GLint *params );
312static void GLAPIENTRY Materialf( PGLContext *ctx, GLenum face, GLenum pname, GLfloat param );
313static void GLAPIENTRY Materiali( PGLContext *ctx, GLenum face, GLenum pname, GLint param );
314static void GLAPIENTRY Materialfv( PGLContext *ctx, GLenum face, GLenum pname, const GLfloat *params );
315static void GLAPIENTRY Materialiv( PGLContext *ctx, GLenum face, GLenum pname, const GLint *params );
316static void GLAPIENTRY GetMaterialfv( PGLContext *ctx, GLenum face, GLenum pname, GLfloat *params );
317static void GLAPIENTRY GetMaterialiv( PGLContext *ctx, GLenum face, GLenum pname, GLint *params );
318static void GLAPIENTRY ColorMaterial( PGLContext *ctx, GLenum face, GLenum mode );
319
320 /* Raster functions */
321static void GLAPIENTRY PixelZoom( PGLContext *ctx, GLfloat xfactor, GLfloat yfactor );
322static void GLAPIENTRY PixelStoref( PGLContext *ctx, GLenum pname, GLfloat param );
323static void GLAPIENTRY PixelStorei( PGLContext *ctx, GLenum pname, GLint param );
324static void GLAPIENTRY PixelTransferf( PGLContext *ctx, GLenum pname, GLfloat param );
325static void GLAPIENTRY PixelTransferi( PGLContext *ctx, GLenum pname, GLint param );
326static void GLAPIENTRY PixelMapfv( PGLContext *ctx, GLenum map, GLint mapsize, const GLfloat *values );
327static void GLAPIENTRY PixelMapuiv( PGLContext *ctx, GLenum map, GLint mapsize, const GLuint *values );
328static void GLAPIENTRY PixelMapusv( PGLContext *ctx, GLenum map, GLint mapsize, const GLushort *values );
329static void GLAPIENTRY GetPixelMapfv( PGLContext *ctx, GLenum map, GLfloat *values );
330static void GLAPIENTRY GetPixelMapuiv( PGLContext *ctx, GLenum map, GLuint *values );
331static void GLAPIENTRY GetPixelMapusv( PGLContext *ctx, GLenum map, GLushort *values );
332static void GLAPIENTRY Bitmap( PGLContext *ctx, GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap );
333static void GLAPIENTRY ReadPixels( PGLContext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels );
334static void GLAPIENTRY DrawPixels( PGLContext *ctx, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels );
335static void GLAPIENTRY CopyPixels( PGLContext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type );
336
337 /* Stenciling */
338static void GLAPIENTRY StencilFunc( PGLContext *ctx, GLenum func, GLint ref, GLuint mask );
339static void GLAPIENTRY StencilMask( PGLContext *ctx, GLuint mask );
340static void GLAPIENTRY StencilOp( PGLContext *ctx, GLenum fail, GLenum zfail, GLenum zpass );
341static void GLAPIENTRY ClearStencil( PGLContext *ctx, GLint s );
342
343 /* Texture mapping */
344static void GLAPIENTRY TexGend( PGLContext *ctx, GLenum coord, GLenum pname, GLdouble param );
345static void GLAPIENTRY TexGenf( PGLContext *ctx, GLenum coord, GLenum pname, GLfloat param );
346static void GLAPIENTRY TexGeni( PGLContext *ctx, GLenum coord, GLenum pname, GLint param );
347static void GLAPIENTRY TexGendv( PGLContext *ctx, GLenum coord, GLenum pname, const GLdouble *params );
348static void GLAPIENTRY TexGenfv( PGLContext *ctx, GLenum coord, GLenum pname, const GLfloat *params );
349static void GLAPIENTRY TexGeniv( PGLContext *ctx, GLenum coord, GLenum pname, const GLint *params );
350static void GLAPIENTRY GetTexGendv( PGLContext *ctx, GLenum coord, GLenum pname, GLdouble *params );
351static void GLAPIENTRY GetTexGenfv( PGLContext *ctx, GLenum coord, GLenum pname, GLfloat *params );
352static void GLAPIENTRY GetTexGeniv( PGLContext *ctx, GLenum coord, GLenum pname, GLint *params );
353static void GLAPIENTRY TexEnvf( PGLContext *ctx, GLenum target, GLenum pname, GLfloat param );
354static void GLAPIENTRY TexEnvi( PGLContext *ctx, GLenum target, GLenum pname, GLint param );
355static void GLAPIENTRY TexEnvfv( PGLContext *ctx, GLenum target, GLenum pname, const GLfloat *params );
356static void GLAPIENTRY TexEnviv( PGLContext *ctx, GLenum target, GLenum pname, const GLint *params );
357static void GLAPIENTRY GetTexEnvfv( PGLContext *ctx, GLenum target, GLenum pname, GLfloat *params );
358static void GLAPIENTRY GetTexEnviv( PGLContext *ctx, GLenum target, GLenum pname, GLint *params );
359static void GLAPIENTRY TexParameterf( PGLContext *ctx, GLenum target, GLenum pname, GLfloat param );
360static void GLAPIENTRY TexParameteri( PGLContext *ctx, GLenum target, GLenum pname, GLint param );
361static void GLAPIENTRY TexParameterfv( PGLContext *ctx, GLenum target, GLenum pname, const GLfloat *params );
362static void GLAPIENTRY TexParameteriv( PGLContext *ctx, GLenum target, GLenum pname, const GLint *params );
363static void GLAPIENTRY GetTexParameterfv( PGLContext *ctx, GLenum target, GLenum pname, GLfloat *params);
364static void GLAPIENTRY GetTexParameteriv( PGLContext *ctx, GLenum target, GLenum pname, GLint *params );
365static void GLAPIENTRY GetTexLevelParameterfv( PGLContext *ctx, GLenum target, GLint level, GLenum pname, GLfloat *params );
366static void GLAPIENTRY GetTexLevelParameteriv( PGLContext *ctx, GLenum target, GLint level, GLenum pname, GLint *params );
367static void GLAPIENTRY TexImage1D( PGLContext *ctx, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels );
368static void GLAPIENTRY TexImage2D( PGLContext *ctx, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels );
369static void GLAPIENTRY GetTexImage( PGLContext *ctx, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels );
370
371 /* Evaluators */
372static void GLAPIENTRY Map1d( PGLContext *ctx, GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points );
373static void GLAPIENTRY Map1f( PGLContext *ctx, GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points );
374static void GLAPIENTRY Map2d( PGLContext *ctx, GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points );
375static void GLAPIENTRY Map2f( PGLContext *ctx, GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points );
376static void GLAPIENTRY GetMapdv( PGLContext *ctx, GLenum target, GLenum query, GLdouble *v );
377static void GLAPIENTRY GetMapfv( PGLContext *ctx, GLenum target, GLenum query, GLfloat *v );
378static void GLAPIENTRY GetMapiv( PGLContext *ctx, GLenum target, GLenum query, GLint *v );
379static void GLAPIENTRY EvalCoord1d( PGLContext *ctx, GLdouble u );
380static void GLAPIENTRY EvalCoord1f( PGLContext *ctx, GLfloat u );
381static void GLAPIENTRY EvalCoord1dv( PGLContext *ctx, const GLdouble *u );
382static void GLAPIENTRY EvalCoord1fv( PGLContext *ctx, const GLfloat *u );
383static void GLAPIENTRY EvalCoord2d( PGLContext *ctx, GLdouble u, GLdouble v );
384static void GLAPIENTRY EvalCoord2f( PGLContext *ctx, GLfloat u, GLfloat v );
385static void GLAPIENTRY EvalCoord2dv( PGLContext *ctx, const GLdouble *u );
386static void GLAPIENTRY EvalCoord2fv( PGLContext *ctx, const GLfloat *u );
387static void GLAPIENTRY MapGrid1d( PGLContext *ctx, GLint un, GLdouble u1, GLdouble u2 );
388static void GLAPIENTRY MapGrid1f( PGLContext *ctx, GLint un, GLfloat u1, GLfloat u2 );
389static void GLAPIENTRY MapGrid2d( PGLContext *ctx, GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 );
390static void GLAPIENTRY MapGrid2f( PGLContext *ctx, GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 );
391static void GLAPIENTRY EvalPoint1( PGLContext *ctx, GLint i );
392static void GLAPIENTRY EvalPoint2( PGLContext *ctx, GLint i, GLint j );
393static void GLAPIENTRY EvalMesh1( PGLContext *ctx, GLenum mode, GLint i1, GLint i2 );
394static void GLAPIENTRY EvalMesh2( PGLContext *ctx, GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 );
395
396 /* Fog */
397static void GLAPIENTRY Fogf( PGLContext *ctx, GLenum pname, GLfloat param );
398static void GLAPIENTRY Fogi( PGLContext *ctx, GLenum pname, GLint param );
399static void GLAPIENTRY Fogfv( PGLContext *ctx, GLenum pname, const GLfloat *params );
400static void GLAPIENTRY Fogiv( PGLContext *ctx, GLenum pname, const GLint *params );
401
402 /* Selection and Feedback */
403static void GLAPIENTRY FeedbackBuffer( PGLContext *ctx, GLsizei size, GLenum type, GLfloat *buffer );
404static void GLAPIENTRY PassThrough( PGLContext *ctx, GLfloat token );
405static void GLAPIENTRY SelectBuffer( PGLContext *ctx, GLsizei size, GLuint *buffer );
406static void GLAPIENTRY InitNames( PGLContext *ctx );
407static void GLAPIENTRY LoadName( PGLContext *ctx, GLuint name );
408static void GLAPIENTRY PushName( PGLContext *ctx, GLuint name );
409static void GLAPIENTRY PopName( PGLContext *ctx );
410
411
412 /* 1.1 functions */
413 /* texture objects */
414static void GLAPIENTRY GenTextures( PGLContext *ctx, GLsizei n, GLuint *textures );
415static void GLAPIENTRY DeleteTextures( PGLContext *ctx, GLsizei n, const GLuint *textures);
416static void GLAPIENTRY BindTexture( PGLContext *ctx, GLenum target, GLuint texture );
417static void GLAPIENTRY PrioritizeTextures( PGLContext *ctx, GLsizei n, const GLuint *textures, const GLclampf *priorities );
418static GLboolean GLAPIENTRY AreTexturesResident( PGLContext *ctx, GLsizei n, const GLuint *textures, GLboolean *residences );
419static GLboolean GLAPIENTRY IsTexture( PGLContext *ctx, GLuint texture );
420
421 /* texture mapping */
422static void GLAPIENTRY TexSubImage1D( PGLContext *ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels );
423static void GLAPIENTRY TexSubImage2D( PGLContext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels );
424static void GLAPIENTRY CopyTexImage1D( PGLContext *ctx, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border );
425static void GLAPIENTRY CopyTexImage2D( PGLContext *ctx, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border );
426static void GLAPIENTRY CopyTexSubImage1D( PGLContext *ctx, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width );
427static void GLAPIENTRY CopyTexSubImage2D( PGLContext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height );
428
429 /* vertex arrays */
430static void GLAPIENTRY VertexPointer( PGLContext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr );
431static void GLAPIENTRY NormalPointer( PGLContext *ctx, GLenum type, GLsizei stride, const GLvoid *ptr );
432static void GLAPIENTRY ColorPointer( PGLContext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr );
433static void GLAPIENTRY IndexPointer( PGLContext *ctx, GLenum type, GLsizei stride, const GLvoid *ptr );
434static void GLAPIENTRY TexCoordPointer( PGLContext *ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *ptr );
435static void GLAPIENTRY EdgeFlagPointer( PGLContext *ctx, GLsizei stride, const GLvoid *ptr );
436static void GLAPIENTRY GetPointerv( PGLContext *ctx, GLenum pname, GLvoid **params );
437static void GLAPIENTRY ArrayElement( PGLContext *ctx, GLint i );
438static void GLAPIENTRY DrawArrays( PGLContext *ctx, GLenum mode, GLint first, GLsizei count );
439static void GLAPIENTRY DrawElements( PGLContext *ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices );
440static void GLAPIENTRY InterleavedArrays( PGLContext *ctx, GLenum format, GLsizei stride, const GLvoid *pointer );
441
442 /* 1.2 */
443static void GLAPIENTRY DrawRangeElements( PGLContext *ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices );
444static void GLAPIENTRY TexImage3D( PGLContext *ctx, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height,
445 GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels );
446static void GLAPIENTRY TexSubImage3D( PGLContext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width,
447 GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
448static void GLAPIENTRY CopyTexSubImage3D( PGLContext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset,
449 GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height );
450static void GLAPIENTRY ColorTable( PGLContext *ctx, GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table );
451static void GLAPIENTRY ColorSubTable( PGLContext *ctx, GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data );
452static void GLAPIENTRY ColorTableParameteriv(GLenum target, GLenum pname, const GLint *params);
453static void GLAPIENTRY ColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params);
454static void GLAPIENTRY CopyColorSubTable( PGLContext *ctx, GLenum target, GLsizei start, GLint x, GLint y, GLsizei width );
455static void GLAPIENTRY CopyColorTable( PGLContext *ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width );
456static void GLAPIENTRY GetColorTable( PGLContext *ctx, GLenum target, GLenum format, GLenum type, GLvoid *table );
457static void GLAPIENTRY GetColorTableParameterfv( PGLContext *ctx, GLenum target, GLenum pname, GLfloat *params );
458static void GLAPIENTRY GetColorTableParameteriv( PGLContext *ctx, GLenum target, GLenum pname, GLint *params );
459static void GLAPIENTRY BlendEquation( PGLContext *ctx, GLenum mode );
460static void GLAPIENTRY BlendColor( PGLContext *ctx, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
461static void GLAPIENTRY Histogram( PGLContext *ctx, GLenum target, GLsizei width, GLenum internalformat, GLboolean sink );
462static void GLAPIENTRY ResetHistogram( PGLContext *ctx, GLenum target );
463static void GLAPIENTRY GetHistogram( PGLContext *ctx, GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values );
464static void GLAPIENTRY GetHistogramParameterfv( PGLContext *ctx, GLenum target, GLenum pname, GLfloat *params );
465static void GLAPIENTRY GetHistogramParameteriv( PGLContext *ctx, GLenum target, GLenum pname, GLint *params );
466static void GLAPIENTRY Minmax( PGLContext *ctx, GLenum target, GLenum internalformat, GLboolean sink );
467static void GLAPIENTRY ResetMinmax( PGLContext *ctx, GLenum target );
468static void GLAPIENTRY GetMinmax( PGLContext *ctx, GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values );
469static void GLAPIENTRY GetMinmaxParameterfv( PGLContext *ctx, GLenum target, GLenum pname, GLfloat *params );
470static void GLAPIENTRY GetMinmaxParameteriv( PGLContext *ctx, GLenum target, GLenum pname, GLint *params );
471static void GLAPIENTRY ConvolutionFilter1D( PGLContext *ctx, GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image );
472static void GLAPIENTRY ConvolutionFilter2D( PGLContext *ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image );
473static void GLAPIENTRY ConvolutionParameterf( PGLContext *ctx, GLenum target, GLenum pname, GLfloat params );
474static void GLAPIENTRY ConvolutionParameterfv( PGLContext *ctx, GLenum target, GLenum pname, const GLfloat *params );
475static void GLAPIENTRY ConvolutionParameteri( PGLContext *ctx, GLenum target, GLenum pname, GLint params );
476static void GLAPIENTRY ConvolutionParameteriv( PGLContext *ctx, GLenum target, GLenum pname, const GLint *params );
477static void GLAPIENTRY CopyConvolutionFilter1D( PGLContext *ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width );
478static void GLAPIENTRY CopyConvolutionFilter2D( PGLContext *ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
479static void GLAPIENTRY GetConvolutionFilter( PGLContext *ctx, GLenum target, GLenum format, GLenum type, GLvoid *image );
480static void GLAPIENTRY GetConvolutionParameterfv( PGLContext *ctx, GLenum target, GLenum pname, GLfloat *params );
481static void GLAPIENTRY GetConvolutionParameteriv( PGLContext *ctx, GLenum target, GLenum pname, GLint *params );
482static void GLAPIENTRY SeparableFilter2D( PGLContext *ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
483 GLenum type, const GLvoid *row, const GLvoid *column );
484static void GLAPIENTRY GetSeparableFilter( PGLContext *ctx, GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span );
485
486 /* 1.3 */
487static void GLAPIENTRY ActiveTexture( PGLContext *ctx, GLenum texture );
488static void GLAPIENTRY ClientActiveTexture( PGLContext *ctx, GLenum texture );
489static void GLAPIENTRY CompressedTexImage1D( PGLContext *ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data );
490static void GLAPIENTRY CompressedTexImage2D( PGLContext *ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data );
491static void GLAPIENTRY CompressedTexImage3D( PGLContext *ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data );
492static void GLAPIENTRY CompressedTexSubImage1D( PGLContext *ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data );
493static void GLAPIENTRY CompressedTexSubImage2D( PGLContext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data );
494static void GLAPIENTRY CompressedTexSubImage3D( PGLContext *ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data );
495static void GLAPIENTRY GetCompressedTexImage( PGLContext *ctx, GLenum target, GLint lod, GLvoid *img );
496static void GLAPIENTRY MultiTexCoord1d( PGLContext *ctx, GLenum target, GLdouble s );
497static void GLAPIENTRY MultiTexCoord1dv( PGLContext *ctx, GLenum target, const GLdouble *v );
498static void GLAPIENTRY MultiTexCoord1f( PGLContext *ctx, GLenum target, GLfloat s );
499static void GLAPIENTRY MultiTexCoord1fv( PGLContext *ctx, GLenum target, const GLfloat *v );
500static void GLAPIENTRY MultiTexCoord1i( PGLContext *ctx, GLenum target, GLint s );
501static void GLAPIENTRY MultiTexCoord1iv( PGLContext *ctx, GLenum target, const GLint *v );
502static void GLAPIENTRY MultiTexCoord1s( PGLContext *ctx, GLenum target, GLshort s );
503static void GLAPIENTRY MultiTexCoord1sv( PGLContext *ctx, GLenum target, const GLshort *v );
504static void GLAPIENTRY MultiTexCoord2d( PGLContext *ctx, GLenum target, GLdouble s, GLdouble t );
505static void GLAPIENTRY MultiTexCoord2dv( PGLContext *ctx, GLenum target, const GLdouble *v );
506static void GLAPIENTRY MultiTexCoord2f( PGLContext *ctx, GLenum target, GLfloat s, GLfloat t );
507static void GLAPIENTRY MultiTexCoord2fv( PGLContext *ctx, GLenum target, const GLfloat *v );
508static void GLAPIENTRY MultiTexCoord2i( PGLContext *ctx, GLenum target, GLint s, GLint t );
509static void GLAPIENTRY MultiTexCoord2iv( PGLContext *ctx, GLenum target, const GLint *v );
510static void GLAPIENTRY MultiTexCoord2s( PGLContext *ctx, GLenum target, GLshort s, GLshort t );
511static void GLAPIENTRY MultiTexCoord2sv( PGLContext *ctx, GLenum target, const GLshort *v );
512static void GLAPIENTRY MultiTexCoord3d( PGLContext *ctx, GLenum target, GLdouble s, GLdouble t, GLdouble r );
513static void GLAPIENTRY MultiTexCoord3dv( PGLContext *ctx, GLenum target, const GLdouble *v );
514static void GLAPIENTRY MultiTexCoord3f( PGLContext *ctx, GLenum target, GLfloat s, GLfloat t, GLfloat r );
515static void GLAPIENTRY MultiTexCoord3fv( PGLContext *ctx, GLenum target, const GLfloat *v );
516static void GLAPIENTRY MultiTexCoord3i( PGLContext *ctx, GLenum target, GLint s, GLint t, GLint r );
517static void GLAPIENTRY MultiTexCoord3iv( PGLContext *ctx, GLenum target, const GLint *v );
518static void GLAPIENTRY MultiTexCoord3s( PGLContext *ctx, GLenum target, GLshort s, GLshort t, GLshort r );
519static void GLAPIENTRY MultiTexCoord3sv( PGLContext *ctx, GLenum target, const GLshort *v );
520static void GLAPIENTRY MultiTexCoord4d( PGLContext *ctx, GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q );
521static void GLAPIENTRY MultiTexCoord4dv( PGLContext *ctx, GLenum target, const GLdouble *v );
522static void GLAPIENTRY MultiTexCoord4f( PGLContext *ctx, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q );
523static void GLAPIENTRY MultiTexCoord4fv( PGLContext *ctx, GLenum target, const GLfloat *v );
524static void GLAPIENTRY MultiTexCoord4i( PGLContext *ctx, GLenum target, GLint s, GLint t, GLint r, GLint q );
525static void GLAPIENTRY MultiTexCoord4iv( PGLContext *ctx, GLenum target, const GLint *v );
526static void GLAPIENTRY MultiTexCoord4s( PGLContext *ctx, GLenum target, GLshort s, GLshort t, GLshort r, GLshort q );
527static void GLAPIENTRY MultiTexCoord4sv( PGLContext *ctx, GLenum target, const GLshort *v );
528static void GLAPIENTRY LoadTransposeMatrixd( PGLContext *ctx, const GLdouble m[16] );
529static void GLAPIENTRY LoadTransposeMatrixf( PGLContext *ctx, const GLfloat m[16] );
530static void GLAPIENTRY MultTransposeMatrixd( PGLContext *ctx, const GLdouble m[16] );
531static void GLAPIENTRY MultTransposeMatrixf( PGLContext *ctx, const GLfloat m[16] );
532static void GLAPIENTRY SampleCoverage( PGLContext *ctx, GLclampf value, GLboolean invert );
533
534};
535
536
537
538
539#endif /* __GL_H__ */
Note: See TracBrowser for help on using the repository browser.