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