doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
qgl.h
Go to the documentation of this file.
1 /*
2 ===========================================================================
3 
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
6 
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
8 
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
21 
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
23 
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
25 
26 ===========================================================================
27 */
28 /*
29 ** QGL.H
30 */
31 
32 #ifndef __QGL_H__
33 #define __QGL_H__
34 
35 #if defined( _WIN32 )
36 
37 #include <gl/gl.h>
38 
39 #elif defined( MACOS_X )
40 
41 // magic flag to keep tiger gl.h from loading glext.h
42 #define GL_GLEXT_LEGACY
43 #include <OpenGL/gl.h>
44 
45 #elif defined( __linux__ )
46 
47 // using our local glext.h
48 // http://oss.sgi.com/projects/ogl-sample/ABI/
49 #define GL_GLEXT_LEGACY
50 #define GLX_GLXEXT_LEGACY
51 #include <GL/gl.h>
52 #include <GL/glx.h>
53 
54 #else
55 
56 #include <gl.h>
57 
58 #endif
59 
60 #ifndef APIENTRY
61 #define APIENTRY
62 #endif
63 #ifndef WINAPI
64 #define WINAPI
65 #endif
66 
67 // only use local glext.h if we are not using the system one already
68 // http://oss.sgi.com/projects/ogl-sample/ABI/
69 #ifndef GL_GLEXT_VERSION
70 
71 #include "glext.h"
72 
73 #endif
74 
75 typedef void (*GLExtension_t)(void);
76 
77 #ifdef __cplusplus
78  extern "C" {
79 #endif
80 
82 
83 #ifdef __cplusplus
84  }
85 #endif
86 
87 // multitexture
88 extern void ( APIENTRY * qglMultiTexCoord2fARB )( GLenum texture, GLfloat s, GLfloat t );
89 extern void ( APIENTRY * qglMultiTexCoord2fvARB )( GLenum texture, GLfloat *st );
90 extern void ( APIENTRY * qglActiveTextureARB )( GLenum texture );
91 extern void ( APIENTRY * qglClientActiveTextureARB )( GLenum texture );
92 
93 // ARB_vertex_buffer_object
94 extern PFNGLBINDBUFFERARBPROC qglBindBufferARB;
95 extern PFNGLDELETEBUFFERSARBPROC qglDeleteBuffersARB;
96 extern PFNGLGENBUFFERSARBPROC qglGenBuffersARB;
97 extern PFNGLISBUFFERARBPROC qglIsBufferARB;
98 extern PFNGLBUFFERDATAARBPROC qglBufferDataARB;
99 extern PFNGLBUFFERSUBDATAARBPROC qglBufferSubDataARB;
100 extern PFNGLGETBUFFERSUBDATAARBPROC qglGetBufferSubDataARB;
102 extern PFNGLUNMAPBUFFERARBPROC qglUnmapBufferARB;
103 extern PFNGLGETBUFFERPARAMETERIVARBPROC qglGetBufferParameterivARB;
104 extern PFNGLGETBUFFERPOINTERVARBPROC qglGetBufferPointervARB;
105 
106 
107 // NV_register_combiners
108 extern void ( APIENTRY *qglCombinerParameterfvNV )( GLenum pname, const GLfloat *params );
109 extern void ( APIENTRY *qglCombinerParameterivNV )( GLenum pname, const GLint *params );
110 extern void ( APIENTRY *qglCombinerParameterfNV )( GLenum pname, const GLfloat param );
111 extern void ( APIENTRY *qglCombinerParameteriNV )( GLenum pname, const GLint param );
112 extern void ( APIENTRY *qglCombinerInputNV )( GLenum stage, GLenum portion, GLenum variable, GLenum input,
114 extern void ( APIENTRY *qglCombinerOutputNV )( GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput,
117 extern void ( APIENTRY *qglFinalCombinerInputNV )( GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage );
118 
119 // 3D textures
120 extern void ( APIENTRY *qglTexImage3D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
121 
122 // shared texture palette
123 extern void ( APIENTRY *qglColorTableEXT)( int, int, int, int, int, const void * );
124 
125 // ATI_fragment_shader
126 extern PFNGLGENFRAGMENTSHADERSATIPROC qglGenFragmentShadersATI;
127 extern PFNGLBINDFRAGMENTSHADERATIPROC qglBindFragmentShaderATI;
128 extern PFNGLDELETEFRAGMENTSHADERATIPROC qglDeleteFragmentShaderATI;
129 extern PFNGLBEGINFRAGMENTSHADERATIPROC qglBeginFragmentShaderATI;
130 extern PFNGLENDFRAGMENTSHADERATIPROC qglEndFragmentShaderATI;
131 extern PFNGLPASSTEXCOORDATIPROC qglPassTexCoordATI;
132 extern PFNGLSAMPLEMAPATIPROC qglSampleMapATI;
133 extern PFNGLCOLORFRAGMENTOP1ATIPROC qglColorFragmentOp1ATI;
134 extern PFNGLCOLORFRAGMENTOP2ATIPROC qglColorFragmentOp2ATI;
135 extern PFNGLCOLORFRAGMENTOP3ATIPROC qglColorFragmentOp3ATI;
136 extern PFNGLALPHAFRAGMENTOP1ATIPROC qglAlphaFragmentOp1ATI;
137 extern PFNGLALPHAFRAGMENTOP2ATIPROC qglAlphaFragmentOp2ATI;
138 extern PFNGLALPHAFRAGMENTOP3ATIPROC qglAlphaFragmentOp3ATI;
139 extern PFNGLSETFRAGMENTSHADERCONSTANTATIPROC qglSetFragmentShaderConstantATI;
140 
141 // EXT_stencil_two_side
142 extern PFNGLACTIVESTENCILFACEEXTPROC qglActiveStencilFaceEXT;
143 
144 
145 // ATI_separate_stencil
146 extern PFNGLSTENCILOPSEPARATEATIPROC qglStencilOpSeparateATI;
147 extern PFNGLSTENCILFUNCSEPARATEATIPROC qglStencilFuncSeparateATI;
148 
149 // ARB_texture_compression
150 extern PFNGLCOMPRESSEDTEXIMAGE2DARBPROC qglCompressedTexImage2DARB;
151 extern PFNGLGETCOMPRESSEDTEXIMAGEARBPROC qglGetCompressedTexImageARB;
152 
153 // ARB_vertex_program / ARB_fragment_program
154 extern PFNGLVERTEXATTRIBPOINTERARBPROC qglVertexAttribPointerARB;
155 extern PFNGLENABLEVERTEXATTRIBARRAYARBPROC qglEnableVertexAttribArrayARB;
156 extern PFNGLDISABLEVERTEXATTRIBARRAYARBPROC qglDisableVertexAttribArrayARB;
157 extern PFNGLPROGRAMSTRINGARBPROC qglProgramStringARB;
158 extern PFNGLBINDPROGRAMARBPROC qglBindProgramARB;
159 extern PFNGLGENPROGRAMSARBPROC qglGenProgramsARB;
160 extern PFNGLPROGRAMENVPARAMETER4FVARBPROC qglProgramEnvParameter4fvARB;
161 extern PFNGLPROGRAMLOCALPARAMETER4FVARBPROC qglProgramLocalParameter4fvARB;
162 
163 // GL_EXT_depth_bounds_test
164 extern PFNGLDEPTHBOUNDSEXTPROC qglDepthBoundsEXT;
165 
166 //===========================================================================
167 
168 // non-windows systems will just redefine qgl* to gl*
169 #if defined( __APPLE__ ) || defined( ID_GL_HARDLINK )
170 
171 #include "qgl_linked.h"
172 
173 #else
174 
175 // windows systems use a function pointer for each call so we can do our log file intercepts
176 
177 extern void ( APIENTRY * qglAccum )(GLenum op, GLfloat value);
178 extern void ( APIENTRY * qglAlphaFunc )(GLenum func, GLclampf ref);
180 extern void ( APIENTRY * qglArrayElement )(GLint i);
181 extern void ( APIENTRY * qglBegin )(GLenum mode);
183 extern void ( APIENTRY * qglBitmap )(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
185 extern void ( APIENTRY * qglCallList )(GLuint list);
186 extern void ( APIENTRY * qglCallLists )(GLsizei n, GLenum type, const GLvoid *lists);
187 extern void ( APIENTRY * qglClear )(GLbitfield mask);
188 extern void ( APIENTRY * qglClearAccum )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
189 extern void ( APIENTRY * qglClearColor )(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
190 extern void ( APIENTRY * qglClearDepth )(GLclampd depth);
191 extern void ( APIENTRY * qglClearIndex )(GLfloat c);
192 extern void ( APIENTRY * qglClearStencil )(GLint s);
193 extern void ( APIENTRY * qglClipPlane )(GLenum plane, const GLdouble *equation);
194 extern void ( APIENTRY * qglColor3b )(GLbyte red, GLbyte green, GLbyte blue);
195 extern void ( APIENTRY * qglColor3bv )(const GLbyte *v);
196 extern void ( APIENTRY * qglColor3d )(GLdouble red, GLdouble green, GLdouble blue);
197 extern void ( APIENTRY * qglColor3dv )(const GLdouble *v);
198 extern void ( APIENTRY * qglColor3f )(GLfloat red, GLfloat green, GLfloat blue);
199 extern void ( APIENTRY * qglColor3fv )(const GLfloat *v);
200 extern void ( APIENTRY * qglColor3i )(GLint red, GLint green, GLint blue);
201 extern void ( APIENTRY * qglColor3iv )(const GLint *v);
202 extern void ( APIENTRY * qglColor3s )(GLshort red, GLshort green, GLshort blue);
203 extern void ( APIENTRY * qglColor3sv )(const GLshort *v);
204 extern void ( APIENTRY * qglColor3ub )(GLubyte red, GLubyte green, GLubyte blue);
205 extern void ( APIENTRY * qglColor3ubv )(const GLubyte *v);
206 extern void ( APIENTRY * qglColor3ui )(GLuint red, GLuint green, GLuint blue);
207 extern void ( APIENTRY * qglColor3uiv )(const GLuint *v);
208 extern void ( APIENTRY * qglColor3us )(GLushort red, GLushort green, GLushort blue);
209 extern void ( APIENTRY * qglColor3usv )(const GLushort *v);
210 extern void ( APIENTRY * qglColor4b )(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
211 extern void ( APIENTRY * qglColor4bv )(const GLbyte *v);
212 extern void ( APIENTRY * qglColor4d )(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
213 extern void ( APIENTRY * qglColor4dv )(const GLdouble *v);
214 extern void ( APIENTRY * qglColor4f )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
215 extern void ( APIENTRY * qglColor4fv )(const GLfloat *v);
217 extern void ( APIENTRY * qglColor4iv )(const GLint *v);
218 extern void ( APIENTRY * qglColor4s )(GLshort red, GLshort green, GLshort blue, GLshort alpha);
219 extern void ( APIENTRY * qglColor4sv )(const GLshort *v);
220 extern void ( APIENTRY * qglColor4ub )(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
221 extern void ( APIENTRY * qglColor4ubv )(const GLubyte *v);
223 extern void ( APIENTRY * qglColor4uiv )(const GLuint *v);
224 extern void ( APIENTRY * qglColor4us )(GLushort red, GLushort green, GLushort blue, GLushort alpha);
225 extern void ( APIENTRY * qglColor4usv )(const GLushort *v);
234 extern void ( APIENTRY * qglCullFace )(GLenum mode);
236 extern void ( APIENTRY * qglDeleteTextures )(GLsizei n, const GLuint *textures);
237 extern void ( APIENTRY * qglDepthFunc )(GLenum func);
238 extern void ( APIENTRY * qglDepthMask )(GLboolean flag);
239 extern void ( APIENTRY * qglDepthRange )(GLclampd zNear, GLclampd zFar);
240 extern void ( APIENTRY * qglDisable )(GLenum cap);
241 extern void ( APIENTRY * qglDisableClientState )(GLenum array);
243 extern void ( APIENTRY * qglDrawBuffer )(GLenum mode);
246 extern void ( APIENTRY * qglEdgeFlag )(GLboolean flag);
247 extern void ( APIENTRY * qglEdgeFlagPointer )(GLsizei stride, const GLvoid *pointer);
248 extern void ( APIENTRY * qglEdgeFlagv )(const GLboolean *flag);
249 extern void ( APIENTRY * qglEnable )(GLenum cap);
250 extern void ( APIENTRY * qglEnableClientState )(GLenum array);
251 extern void ( APIENTRY * qglEnd )(void);
252 extern void ( APIENTRY * qglEndList )(void);
253 extern void ( APIENTRY * qglEvalCoord1d )(GLdouble u);
254 extern void ( APIENTRY * qglEvalCoord1dv )(const GLdouble *u);
255 extern void ( APIENTRY * qglEvalCoord1f )(GLfloat u);
256 extern void ( APIENTRY * qglEvalCoord1fv )(const GLfloat *u);
257 extern void ( APIENTRY * qglEvalCoord2d )(GLdouble u, GLdouble v);
258 extern void ( APIENTRY * qglEvalCoord2dv )(const GLdouble *u);
259 extern void ( APIENTRY * qglEvalCoord2f )(GLfloat u, GLfloat v);
260 extern void ( APIENTRY * qglEvalCoord2fv )(const GLfloat *u);
263 extern void ( APIENTRY * qglEvalPoint1 )(GLint i);
266 extern void ( APIENTRY * qglFinish )(void);
267 extern void ( APIENTRY * qglFlush )(void);
268 extern void ( APIENTRY * qglFogf )(GLenum pname, GLfloat param);
269 extern void ( APIENTRY * qglFogfv )(GLenum pname, const GLfloat *params);
270 extern void ( APIENTRY * qglFogi )(GLenum pname, GLint param);
271 extern void ( APIENTRY * qglFogiv )(GLenum pname, const GLint *params);
272 extern void ( APIENTRY * qglFrontFace )(GLenum mode);
273 extern void ( APIENTRY * qglFrustum )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
274 extern GLuint ( APIENTRY * qglGenLists )(GLsizei range);
277 extern void ( APIENTRY * qglGetClipPlane )(GLenum plane, GLdouble *equation);
278 extern void ( APIENTRY * qglGetDoublev )(GLenum pname, GLdouble *params);
279 extern GLenum ( APIENTRY * qglGetError )(void);
280 extern void ( APIENTRY * qglGetFloatv )(GLenum pname, GLfloat *params);
282 extern void ( APIENTRY * qglGetLightfv )(GLenum light, GLenum pname, GLfloat *params);
283 extern void ( APIENTRY * qglGetLightiv )(GLenum light, GLenum pname, GLint *params);
284 extern void ( APIENTRY * qglGetMapdv )(GLenum target, GLenum query, GLdouble *v);
285 extern void ( APIENTRY * qglGetMapfv )(GLenum target, GLenum query, GLfloat *v);
286 extern void ( APIENTRY * qglGetMapiv )(GLenum target, GLenum query, GLint *v);
287 extern void ( APIENTRY * qglGetMaterialfv )(GLenum face, GLenum pname, GLfloat *params);
289 extern void ( APIENTRY * qglGetPixelMapfv )(GLenum map, GLfloat *values);
290 extern void ( APIENTRY * qglGetPixelMapuiv )(GLenum map, GLuint *values);
291 extern void ( APIENTRY * qglGetPixelMapusv )(GLenum map, GLushort *values);
292 extern void ( APIENTRY * qglGetPointerv )(GLenum pname, GLvoid* *params);
293 extern void ( APIENTRY * qglGetPolygonStipple )(GLubyte *mask);
294 extern const GLubyte * ( APIENTRY * qglGetString )(GLenum name);
295 extern void ( APIENTRY * qglGetTexEnvfv )(GLenum target, GLenum pname, GLfloat *params);
296 extern void ( APIENTRY * qglGetTexEnviv )(GLenum target, GLenum pname, GLint *params);
297 extern void ( APIENTRY * qglGetTexGendv )(GLenum coord, GLenum pname, GLdouble *params);
298 extern void ( APIENTRY * qglGetTexGenfv )(GLenum coord, GLenum pname, GLfloat *params);
300 extern void ( APIENTRY * qglGetTexImage )(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
301 extern void ( APIENTRY * qglGetTexLevelParameterfv )(GLenum target, GLint level, GLenum pname, GLfloat *params);
303 extern void ( APIENTRY * qglGetTexParameterfv )(GLenum target, GLenum pname, GLfloat *params);
305 extern void ( APIENTRY * qglHint )(GLenum target, GLenum mode);
306 extern void ( APIENTRY * qglIndexMask )(GLuint mask);
307 extern void ( APIENTRY * qglIndexPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
308 extern void ( APIENTRY * qglIndexd )(GLdouble c);
309 extern void ( APIENTRY * qglIndexdv )(const GLdouble *c);
310 extern void ( APIENTRY * qglIndexf )(GLfloat c);
311 extern void ( APIENTRY * qglIndexfv )(const GLfloat *c);
312 extern void ( APIENTRY * qglIndexi )(GLint c);
313 extern void ( APIENTRY * qglIndexiv )(const GLint *c);
314 extern void ( APIENTRY * qglIndexs )(GLshort c);
315 extern void ( APIENTRY * qglIndexsv )(const GLshort *c);
316 extern void ( APIENTRY * qglIndexub )(GLubyte c);
317 extern void ( APIENTRY * qglIndexubv )(const GLubyte *c);
318 extern void ( APIENTRY * qglInitNames )(void);
319 extern void ( APIENTRY * qglInterleavedArrays )(GLenum format, GLsizei stride, const GLvoid *pointer);
321 extern GLboolean ( APIENTRY * qglIsList )(GLuint list);
323 extern void ( APIENTRY * qglLightModelf )(GLenum pname, GLfloat param);
324 extern void ( APIENTRY * qglLightModelfv )(GLenum pname, const GLfloat *params);
326 extern void ( APIENTRY * qglLightModeliv )(GLenum pname, const GLint *params);
327 extern void ( APIENTRY * qglLightf )(GLenum light, GLenum pname, GLfloat param);
328 extern void ( APIENTRY * qglLightfv )(GLenum light, GLenum pname, const GLfloat *params);
329 extern void ( APIENTRY * qglLighti )(GLenum light, GLenum pname, GLint param);
330 extern void ( APIENTRY * qglLightiv )(GLenum light, GLenum pname, const GLint *params);
331 extern void ( APIENTRY * qglLineStipple )(GLint factor, GLushort pattern);
332 extern void ( APIENTRY * qglLineWidth )(GLfloat width);
333 extern void ( APIENTRY * qglListBase )(GLuint base);
334 extern void ( APIENTRY * qglLoadIdentity )(void);
335 extern void ( APIENTRY * qglLoadMatrixd )(const GLdouble *m);
336 extern void ( APIENTRY * qglLoadMatrixf )(const GLfloat *m);
337 extern void ( APIENTRY * qglLoadName )(GLuint name);
338 extern void ( APIENTRY * qglLogicOp )(GLenum opcode);
339 extern void ( APIENTRY * qglMap1d )(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
340 extern void ( APIENTRY * qglMap1f )(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
341 extern void ( APIENTRY * qglMap2d )(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
342 extern void ( APIENTRY * qglMap2f )(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
343 extern void ( APIENTRY * qglMapGrid1d )(GLint un, GLdouble u1, GLdouble u2);
344 extern void ( APIENTRY * qglMapGrid1f )(GLint un, GLfloat u1, GLfloat u2);
345 extern void ( APIENTRY * qglMapGrid2d )(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
346 extern void ( APIENTRY * qglMapGrid2f )(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
347 extern void ( APIENTRY * qglMaterialf )(GLenum face, GLenum pname, GLfloat param);
348 extern void ( APIENTRY * qglMaterialfv )(GLenum face, GLenum pname, const GLfloat *params);
349 extern void ( APIENTRY * qglMateriali )(GLenum face, GLenum pname, GLint param);
350 extern void ( APIENTRY * qglMaterialiv )(GLenum face, GLenum pname, const GLint *params);
351 extern void ( APIENTRY * qglMatrixMode )(GLenum mode);
352 extern void ( APIENTRY * qglMultMatrixd )(const GLdouble *m);
353 extern void ( APIENTRY * qglMultMatrixf )(const GLfloat *m);
354 extern void ( APIENTRY * qglNewList )(GLuint list, GLenum mode);
355 extern void ( APIENTRY * qglNormal3b )(GLbyte nx, GLbyte ny, GLbyte nz);
356 extern void ( APIENTRY * qglNormal3bv )(const GLbyte *v);
357 extern void ( APIENTRY * qglNormal3d )(GLdouble nx, GLdouble ny, GLdouble nz);
358 extern void ( APIENTRY * qglNormal3dv )(const GLdouble *v);
359 extern void ( APIENTRY * qglNormal3f )(GLfloat nx, GLfloat ny, GLfloat nz);
360 extern void ( APIENTRY * qglNormal3fv )(const GLfloat *v);
361 extern void ( APIENTRY * qglNormal3i )(GLint nx, GLint ny, GLint nz);
362 extern void ( APIENTRY * qglNormal3iv )(const GLint *v);
363 extern void ( APIENTRY * qglNormal3s )(GLshort nx, GLshort ny, GLshort nz);
364 extern void ( APIENTRY * qglNormal3sv )(const GLshort *v);
365 extern void ( APIENTRY * qglNormalPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
366 extern void ( APIENTRY * qglOrtho )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
367 extern void ( APIENTRY * qglPassThrough )(GLfloat token);
368 extern void ( APIENTRY * qglPixelMapfv )(GLenum map, GLsizei mapsize, const GLfloat *values);
369 extern void ( APIENTRY * qglPixelMapuiv )(GLenum map, GLsizei mapsize, const GLuint *values);
370 extern void ( APIENTRY * qglPixelMapusv )(GLenum map, GLsizei mapsize, const GLushort *values);
371 extern void ( APIENTRY * qglPixelStoref )(GLenum pname, GLfloat param);
373 extern void ( APIENTRY * qglPixelTransferf )(GLenum pname, GLfloat param);
375 extern void ( APIENTRY * qglPixelZoom )(GLfloat xfactor, GLfloat yfactor);
376 extern void ( APIENTRY * qglPointSize )(GLfloat size);
377 extern void ( APIENTRY * qglPolygonMode )(GLenum face, GLenum mode);
378 extern void ( APIENTRY * qglPolygonOffset )(GLfloat factor, GLfloat units);
379 extern void ( APIENTRY * qglPolygonStipple )(const GLubyte *mask);
380 extern void ( APIENTRY * qglPopAttrib )(void);
381 extern void ( APIENTRY * qglPopClientAttrib )(void);
382 extern void ( APIENTRY * qglPopMatrix )(void);
383 extern void ( APIENTRY * qglPopName )(void);
384 extern void ( APIENTRY * qglPrioritizeTextures )(GLsizei n, const GLuint *textures, const GLclampf *priorities);
385 extern void ( APIENTRY * qglPushAttrib )(GLbitfield mask);
386 extern void ( APIENTRY * qglPushClientAttrib )(GLbitfield mask);
387 extern void ( APIENTRY * qglPushMatrix )(void);
388 extern void ( APIENTRY * qglPushName )(GLuint name);
389 extern void ( APIENTRY * qglRasterPos2d )(GLdouble x, GLdouble y);
390 extern void ( APIENTRY * qglRasterPos2dv )(const GLdouble *v);
391 extern void ( APIENTRY * qglRasterPos2f )(GLfloat x, GLfloat y);
392 extern void ( APIENTRY * qglRasterPos2fv )(const GLfloat *v);
393 extern void ( APIENTRY * qglRasterPos2i )(GLint x, GLint y);
394 extern void ( APIENTRY * qglRasterPos2iv )(const GLint *v);
395 extern void ( APIENTRY * qglRasterPos2s )(GLshort x, GLshort y);
396 extern void ( APIENTRY * qglRasterPos2sv )(const GLshort *v);
397 extern void ( APIENTRY * qglRasterPos3d )(GLdouble x, GLdouble y, GLdouble z);
398 extern void ( APIENTRY * qglRasterPos3dv )(const GLdouble *v);
399 extern void ( APIENTRY * qglRasterPos3f )(GLfloat x, GLfloat y, GLfloat z);
400 extern void ( APIENTRY * qglRasterPos3fv )(const GLfloat *v);
401 extern void ( APIENTRY * qglRasterPos3i )(GLint x, GLint y, GLint z);
402 extern void ( APIENTRY * qglRasterPos3iv )(const GLint *v);
403 extern void ( APIENTRY * qglRasterPos3s )(GLshort x, GLshort y, GLshort z);
404 extern void ( APIENTRY * qglRasterPos3sv )(const GLshort *v);
405 extern void ( APIENTRY * qglRasterPos4d )(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
406 extern void ( APIENTRY * qglRasterPos4dv )(const GLdouble *v);
407 extern void ( APIENTRY * qglRasterPos4f )(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
408 extern void ( APIENTRY * qglRasterPos4fv )(const GLfloat *v);
409 extern void ( APIENTRY * qglRasterPos4i )(GLint x, GLint y, GLint z, GLint w);
410 extern void ( APIENTRY * qglRasterPos4iv )(const GLint *v);
411 extern void ( APIENTRY * qglRasterPos4s )(GLshort x, GLshort y, GLshort z, GLshort w);
412 extern void ( APIENTRY * qglRasterPos4sv )(const GLshort *v);
413 extern void ( APIENTRY * qglReadBuffer )(GLenum mode);
415 extern void ( APIENTRY * qglRectd )(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
416 extern void ( APIENTRY * qglRectdv )(const GLdouble *v1, const GLdouble *v2);
417 extern void ( APIENTRY * qglRectf )(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
418 extern void ( APIENTRY * qglRectfv )(const GLfloat *v1, const GLfloat *v2);
419 extern void ( APIENTRY * qglRecti )(GLint x1, GLint y1, GLint x2, GLint y2);
420 extern void ( APIENTRY * qglRectiv )(const GLint *v1, const GLint *v2);
421 extern void ( APIENTRY * qglRects )(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
422 extern void ( APIENTRY * qglRectsv )(const GLshort *v1, const GLshort *v2);
423 extern GLint ( APIENTRY * qglRenderMode )(GLenum mode);
424 extern void ( APIENTRY * qglRotated )(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
425 extern void ( APIENTRY * qglRotatef )(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
426 extern void ( APIENTRY * qglScaled )(GLdouble x, GLdouble y, GLdouble z);
427 extern void ( APIENTRY * qglScalef )(GLfloat x, GLfloat y, GLfloat z);
430 extern void ( APIENTRY * qglShadeModel )(GLenum mode);
432 extern void ( APIENTRY * qglStencilMask )(GLuint mask);
434 extern void ( APIENTRY * qglTexCoord1d )(GLdouble s);
435 extern void ( APIENTRY * qglTexCoord1dv )(const GLdouble *v);
436 extern void ( APIENTRY * qglTexCoord1f )(GLfloat s);
437 extern void ( APIENTRY * qglTexCoord1fv )(const GLfloat *v);
438 extern void ( APIENTRY * qglTexCoord1i )(GLint s);
439 extern void ( APIENTRY * qglTexCoord1iv )(const GLint *v);
440 extern void ( APIENTRY * qglTexCoord1s )(GLshort s);
441 extern void ( APIENTRY * qglTexCoord1sv )(const GLshort *v);
442 extern void ( APIENTRY * qglTexCoord2d )(GLdouble s, GLdouble t);
443 extern void ( APIENTRY * qglTexCoord2dv )(const GLdouble *v);
444 extern void ( APIENTRY * qglTexCoord2f )(GLfloat s, GLfloat t);
445 extern void ( APIENTRY * qglTexCoord2fv )(const GLfloat *v);
446 extern void ( APIENTRY * qglTexCoord2i )(GLint s, GLint t);
447 extern void ( APIENTRY * qglTexCoord2iv )(const GLint *v);
448 extern void ( APIENTRY * qglTexCoord2s )(GLshort s, GLshort t);
449 extern void ( APIENTRY * qglTexCoord2sv )(const GLshort *v);
450 extern void ( APIENTRY * qglTexCoord3d )(GLdouble s, GLdouble t, GLdouble r);
451 extern void ( APIENTRY * qglTexCoord3dv )(const GLdouble *v);
452 extern void ( APIENTRY * qglTexCoord3f )(GLfloat s, GLfloat t, GLfloat r);
453 extern void ( APIENTRY * qglTexCoord3fv )(const GLfloat *v);
454 extern void ( APIENTRY * qglTexCoord3i )(GLint s, GLint t, GLint r);
455 extern void ( APIENTRY * qglTexCoord3iv )(const GLint *v);
456 extern void ( APIENTRY * qglTexCoord3s )(GLshort s, GLshort t, GLshort r);
457 extern void ( APIENTRY * qglTexCoord3sv )(const GLshort *v);
458 extern void ( APIENTRY * qglTexCoord4d )(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
459 extern void ( APIENTRY * qglTexCoord4dv )(const GLdouble *v);
460 extern void ( APIENTRY * qglTexCoord4f )(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
461 extern void ( APIENTRY * qglTexCoord4fv )(const GLfloat *v);
462 extern void ( APIENTRY * qglTexCoord4i )(GLint s, GLint t, GLint r, GLint q);
463 extern void ( APIENTRY * qglTexCoord4iv )(const GLint *v);
464 extern void ( APIENTRY * qglTexCoord4s )(GLshort s, GLshort t, GLshort r, GLshort q);
465 extern void ( APIENTRY * qglTexCoord4sv )(const GLshort *v);
466 extern void ( APIENTRY * qglTexCoordPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
467 extern void ( APIENTRY * qglTexEnvf )(GLenum target, GLenum pname, GLfloat param);
468 extern void ( APIENTRY * qglTexEnvfv )(GLenum target, GLenum pname, const GLfloat *params);
469 extern void ( APIENTRY * qglTexEnvi )(GLenum target, GLenum pname, GLint param);
470 extern void ( APIENTRY * qglTexEnviv )(GLenum target, GLenum pname, const GLint *params);
471 extern void ( APIENTRY * qglTexGend )(GLenum coord, GLenum pname, GLdouble param);
472 extern void ( APIENTRY * qglTexGendv )(GLenum coord, GLenum pname, const GLdouble *params);
473 extern void ( APIENTRY * qglTexGenf )(GLenum coord, GLenum pname, GLfloat param);
474 extern void ( APIENTRY * qglTexGenfv )(GLenum coord, GLenum pname, const GLfloat *params);
476 extern void ( APIENTRY * qglTexGeniv )(GLenum coord, GLenum pname, const GLint *params);
479 extern void ( APIENTRY * qglTexParameterf )(GLenum target, GLenum pname, GLfloat param);
480 extern void ( APIENTRY * qglTexParameterfv )(GLenum target, GLenum pname, const GLfloat *params);
481 extern void ( APIENTRY * qglTexParameteri )(GLenum target, GLenum pname, GLint param);
482 extern void ( APIENTRY * qglTexParameteriv )(GLenum target, GLenum pname, const GLint *params);
485 extern void ( APIENTRY * qglTranslated )(GLdouble x, GLdouble y, GLdouble z);
486 extern void ( APIENTRY * qglTranslatef )(GLfloat x, GLfloat y, GLfloat z);
487 extern void ( APIENTRY * qglVertex2d )(GLdouble x, GLdouble y);
488 extern void ( APIENTRY * qglVertex2dv )(const GLdouble *v);
489 extern void ( APIENTRY * qglVertex2f )(GLfloat x, GLfloat y);
490 extern void ( APIENTRY * qglVertex2fv )(const GLfloat *v);
491 extern void ( APIENTRY * qglVertex2i )(GLint x, GLint y);
492 extern void ( APIENTRY * qglVertex2iv )(const GLint *v);
493 extern void ( APIENTRY * qglVertex2s )(GLshort x, GLshort y);
494 extern void ( APIENTRY * qglVertex2sv )(const GLshort *v);
495 extern void ( APIENTRY * qglVertex3d )(GLdouble x, GLdouble y, GLdouble z);
496 extern void ( APIENTRY * qglVertex3dv )(const GLdouble *v);
497 extern void ( APIENTRY * qglVertex3f )(GLfloat x, GLfloat y, GLfloat z);
498 extern void ( APIENTRY * qglVertex3fv )(const GLfloat *v);
499 extern void ( APIENTRY * qglVertex3i )(GLint x, GLint y, GLint z);
500 extern void ( APIENTRY * qglVertex3iv )(const GLint *v);
501 extern void ( APIENTRY * qglVertex3s )(GLshort x, GLshort y, GLshort z);
502 extern void ( APIENTRY * qglVertex3sv )(const GLshort *v);
503 extern void ( APIENTRY * qglVertex4d )(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
504 extern void ( APIENTRY * qglVertex4dv )(const GLdouble *v);
505 extern void ( APIENTRY * qglVertex4f )(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
506 extern void ( APIENTRY * qglVertex4fv )(const GLfloat *v);
507 extern void ( APIENTRY * qglVertex4i )(GLint x, GLint y, GLint z, GLint w);
508 extern void ( APIENTRY * qglVertex4iv )(const GLint *v);
509 extern void ( APIENTRY * qglVertex4s )(GLshort x, GLshort y, GLshort z, GLshort w);
510 extern void ( APIENTRY * qglVertex4sv )(const GLshort *v);
511 extern void ( APIENTRY * qglVertexPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
513 
514 #if defined( _WIN32 )
515 
516 extern int ( WINAPI * qwglChoosePixelFormat )(HDC, CONST PIXELFORMATDESCRIPTOR *);
517 extern int ( WINAPI * qwglDescribePixelFormat) (HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
518 extern int ( WINAPI * qwglGetPixelFormat)(HDC);
519 extern BOOL ( WINAPI * qwglSetPixelFormat)(HDC, int, CONST PIXELFORMATDESCRIPTOR *);
520 extern BOOL ( WINAPI * qwglSwapBuffers)(HDC);
521 
522 extern BOOL ( WINAPI * qwglCopyContext)(HGLRC, HGLRC, UINT);
523 extern HGLRC ( WINAPI * qwglCreateContext)(HDC);
524 extern HGLRC ( WINAPI * qwglCreateLayerContext)(HDC, int);
525 extern BOOL ( WINAPI * qwglDeleteContext)(HGLRC);
526 extern HGLRC ( WINAPI * qwglGetCurrentContext)(VOID);
527 extern HDC ( WINAPI * qwglGetCurrentDC)(VOID);
528 extern PROC ( WINAPI * qwglGetProcAddress)(LPCSTR);
529 extern BOOL ( WINAPI * qwglMakeCurrent)(HDC, HGLRC);
530 extern BOOL ( WINAPI * qwglShareLists)(HGLRC, HGLRC);
531 extern BOOL ( WINAPI * qwglUseFontBitmaps)(HDC, DWORD, DWORD, DWORD);
532 
533 extern BOOL ( WINAPI * qwglUseFontOutlines)(HDC, DWORD, DWORD, DWORD, FLOAT,
535 
536 extern BOOL ( WINAPI * qwglDescribeLayerPlane)(HDC, int, int, UINT,
538 extern int ( WINAPI * qwglSetLayerPaletteEntries)(HDC, int, int, int,
539  CONST COLORREF *);
540 extern int ( WINAPI * qwglGetLayerPaletteEntries)(HDC, int, int, int,
541  COLORREF *);
542 extern BOOL ( WINAPI * qwglRealizeLayerPalette)(HDC, int, BOOL);
543 extern BOOL ( WINAPI * qwglSwapLayerBuffers)(HDC, UINT);
544 
545 #endif // _WIN32
546 
547 #if defined( __linux__ )
548 
549 //GLX Functions
550 extern XVisualInfo * (*qglXChooseVisual)( Display *dpy, int screen, int *attribList );
551 extern GLXContext (*qglXCreateContext)( Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct );
552 extern void (*qglXDestroyContext)( Display *dpy, GLXContext ctx );
553 extern Bool (*qglXMakeCurrent)( Display *dpy, GLXDrawable drawable, GLXContext ctx);
554 extern void (*qglXSwapBuffers)( Display *dpy, GLXDrawable drawable );
555 extern GLExtension_t (*qglXGetProcAddressARB)( const GLubyte *procname );
556 
557 // make sure the code is correctly using qgl everywhere
558 // don't enable that when building glimp itself obviously..
559 #if !defined( GLIMP )
560  #include "../sys/linux/qgl_enforce.h"
561 #endif
562 
563 #endif // __linux__
564 
565 #endif // hardlinlk vs dlopen
566 
567 #endif
GLenum
Definition: qgl.h:120
#define qglEvalMesh2
Definition: qgl_linked.h:114
FLOAT
Definition: win_qgl.cpp:63
#define qglMapGrid1f
Definition: qgl_linked.h:196
GLsizei GLenum format
Definition: qgl.h:245
GLdouble GLdouble bottom
Definition: qgl.h:273
#define qglFogfv
Definition: qgl_linked.h:121
#define qglDepthMask
Definition: qgl_linked.h:90
#define qglIsEnabled
Definition: qgl_linked.h:172
#define qglTexCoord2iv
Definition: qgl_linked.h:299
GLfloat units
Definition: qgl.h:378
#define qglRectdv
Definition: qgl_linked.h:268
#define qglTexCoord3fv
Definition: qgl_linked.h:305
#define qglTexCoordPointer
Definition: qgl_linked.h:318
#define qglPixelTransferf
Definition: qgl_linked.h:225
#define qglCopyPixels
Definition: qgl_linked.h:81
GLdouble GLdouble u2
Definition: qgl.h:339
GLenum GLenum GLenum input
Definition: qgl.h:112
#define qglRasterPos3f
Definition: qgl_linked.h:251
#define qglAlphaFunc
Definition: qgl_linked.h:30
#define qglColor3bv
Definition: qgl_linked.h:47
#define qglColor3ui
Definition: qgl_linked.h:58
#define qglLoadMatrixf
Definition: qgl_linked.h:188
#define qglGetTexLevelParameteriv
Definition: qgl_linked.h:154
#define qglVertex2i
Definition: qgl_linked.h:343
#define qglTexCoord3s
Definition: qgl_linked.h:308
GLenum GLenum GLenum GLenum GLenum scale
Definition: qgl.h:114
GLdouble GLdouble z
Definition: qgl.h:397
#define qglIndexd
Definition: qgl_linked.h:160
#define qglVertex4s
Definition: qgl_linked.h:361
LPGLYPHMETRICSFLOAT
Definition: win_qgl.cpp:63
GLint y
Definition: qgl.h:229
#define qglScissor
Definition: qgl_linked.h:280
GLvoid *APIENTRYP PFNGLMAPBUFFERARBPROC(GLenum target, GLenum access)
Definition: glext.h:3524
#define qglEvalCoord2f
Definition: qgl_linked.h:111
GLfloat GLfloat GLfloat alpha
Definition: qgl.h:188
#define qglColor3usv
Definition: qgl_linked.h:61
#define qglVertex2d
Definition: qgl_linked.h:339
#define qglTexCoord4f
Definition: qgl_linked.h:312
#define qglColor3i
Definition: qgl_linked.h:52
#define qglMapGrid1d
Definition: qgl_linked.h:195
#define qglColor4ub
Definition: qgl_linked.h:72
GLfloat yfactor
Definition: qgl.h:375
#define qglColor4dv
Definition: qgl_linked.h:65
GLsizei
Definition: qgl.h:120
#define qglCopyTexSubImage1D
Definition: qgl_linked.h:84
PFNGLVERTEXATTRIBPOINTERARBPROC qglVertexAttribPointerARB
#define qglGetTexLevelParameterfv
Definition: qgl_linked.h:153
#define qglEnableClientState
Definition: qgl_linked.h:102
#define qglFeedbackBuffer
Definition: qgl_linked.h:117
#define qglColorMaterial
Definition: qgl_linked.h:79
GLbyte ny
Definition: qgl.h:355
#define qglDisable
Definition: qgl_linked.h:92
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint vstride
Definition: qgl.h:341
#define qglDisableClientState
Definition: qgl_linked.h:93
#define qglRasterPos4i
Definition: qgl_linked.h:261
#define qglGetLightfv
Definition: qgl_linked.h:134
#define qglGenLists
Definition: qgl_linked.h:126
GLdouble GLdouble GLint vn
Definition: qgl.h:345
#define qglMultMatrixf
Definition: qgl_linked.h:205
GLdouble GLdouble GLdouble GLdouble zNear
Definition: qgl.h:273
GLenum GLenum GLenum GLenum sumOutput
Definition: qgl.h:114
#define qglEvalPoint2
Definition: qgl_linked.h:116
GLint GLint internalformat
Definition: qgl.h:477
GLdouble u1
Definition: qgl.h:339
PFNGLGENPROGRAMSARBPROC qglGenProgramsARB
#define qglGetMapdv
Definition: qgl_linked.h:136
GLint GLint GLint j1
Definition: qgl.h:262
GLenum GLenum GLenum GLenum GLenum componentUsage
Definition: qgl.h:112
GLint GLsizei count
Definition: qgl.h:242
CONST PIXELFORMATDESCRIPTOR UINT
Definition: win_qgl.cpp:47
GLint GLint GLint yoffset
Definition: qgl.h:233
GLint GLenum internalFormat
Definition: qgl.h:230
GLfloat green
Definition: qgl.h:188
#define qglRasterPos4iv
Definition: qgl_linked.h:262
GLdouble GLdouble x2
Definition: qgl.h:415
#define qglClearColor
Definition: qgl_linked.h:41
#define qglDrawBuffer
Definition: qgl_linked.h:95
#define qglRectsv
Definition: qgl_linked.h:274
#define qglCullFace
Definition: qgl_linked.h:86
#define qglRotatef
Definition: qgl_linked.h:277
#define qglNormal3s
Definition: qgl_linked.h:215
#define qglHint
Definition: qgl_linked.h:157
#define qglGetPixelMapfv
Definition: qgl_linked.h:141
GLfloat * values
Definition: qgl.h:289
#define qglBindTexture
Definition: qgl_linked.h:34
PFNGLCOMPRESSEDTEXIMAGE2DARBPROC qglCompressedTexImage2DARB
#define qglMap1d
Definition: qgl_linked.h:191
#define qglNormal3iv
Definition: qgl_linked.h:214
GLenum zfail
Definition: qgl.h:433
#define qglArrayElement
Definition: qgl_linked.h:32
#define qglMapGrid2d
Definition: qgl_linked.h:197
#define qglTexCoord2fv
Definition: qgl_linked.h:297
DWORD
Definition: win_qgl.cpp:61
#define qglTexGend
Definition: qgl_linked.h:323
#define qglVertex2fv
Definition: qgl_linked.h:342
GLenum GLsizei n
Definition: glext.h:3705
#define qglPixelMapfv
Definition: qgl_linked.h:220
PFNGLENDFRAGMENTSHADERATIPROC qglEndFragmentShaderATI
#define qglTexGeniv
Definition: qgl_linked.h:328
PFNGLSAMPLEMAPATIPROC qglSampleMapATI
PFNGLSTENCILOPSEPARATEATIPROC qglStencilOpSeparateATI
#define qglRasterPos4sv
Definition: qgl_linked.h:264
#define qglTexGendv
Definition: qgl_linked.h:324
PFNGLCOLORFRAGMENTOP2ATIPROC qglColorFragmentOp2ATI
#define qglTexCoord3f
Definition: qgl_linked.h:304
PFNGLDISABLEVERTEXATTRIBARRAYARBPROC qglDisableVertexAttribArrayARB
#define qglGetDoublev
Definition: qgl_linked.h:130
GLdouble GLdouble r
Definition: qgl.h:450
#define qglTexCoord1f
Definition: qgl_linked.h:288
GLenum GLenum zpass
Definition: qgl.h:433
PFNGLBUFFERSUBDATAARBPROC qglBufferSubDataARB
#define qglGetClipPlane
Definition: qgl_linked.h:129
#define qglTexCoord3sv
Definition: qgl_linked.h:309
#define WINAPI
Definition: qgl.h:64
GLenum GLsizei stride
Definition: qgl.h:228
#define qglRasterPos3sv
Definition: qgl_linked.h:256
#define qglRasterPos3dv
Definition: qgl_linked.h:250
#define qglBegin
Definition: qgl_linked.h:33
#define qglEvalCoord1f
Definition: qgl_linked.h:107
#define qglRasterPos2sv
Definition: qgl_linked.h:248
#define qglVertex3i
Definition: qgl_linked.h:351
#define qglVertex4sv
Definition: qgl_linked.h:362
#define qglGetError
Definition: qgl_linked.h:131
GLExtension_t GLimp_ExtensionPointer(const char *name)
#define qglDepthRange
Definition: qgl_linked.h:91
#define qglGetIntegerv
Definition: qgl_linked.h:133
PFNGLMAPBUFFERARBPROC qglMapBufferARB
GLuint(APIENTRY *qglGenLists)(GLsizei range)
#define qglLoadName
Definition: qgl_linked.h:189
#define qglVertex3fv
Definition: qgl_linked.h:350
GLint GLint GLsizei GLsizei GLsizei depth
Definition: glext.h:2878
#define qglPassThrough
Definition: qgl_linked.h:219
#define qglScalef
Definition: qgl_linked.h:279
PFNGLGENBUFFERSARBPROC qglGenBuffersARB
GLsizei mapsize
Definition: qgl.h:368
#define qglCopyTexImage1D
Definition: qgl_linked.h:82
#define qglVertex3d
Definition: qgl_linked.h:347
#define qglGetLightiv
Definition: qgl_linked.h:135
GLint
Definition: qgl.h:120
#define qglColor4bv
Definition: qgl_linked.h:63
PFNGLALPHAFRAGMENTOP1ATIPROC qglAlphaFragmentOp1ATI
GLsizei GLenum const GLvoid * indices
Definition: qgl.h:244
#define qglClipPlane
Definition: qgl_linked.h:45
#define qglEdgeFlagv
Definition: qgl_linked.h:100
#define qglReadPixels
Definition: qgl_linked.h:266
PFNGLDELETEBUFFERSARBPROC qglDeleteBuffersARB
#define qglVertex4iv
Definition: qgl_linked.h:360
#define qglDeleteTextures
Definition: qgl_linked.h:88
PFNGLBINDFRAGMENTSHADERATIPROC qglBindFragmentShaderATI
GLfloat GLfloat blue
Definition: qgl.h:188
#define qglTexCoord4d
Definition: qgl_linked.h:310
GLclampf ref
Definition: qgl.h:178
#define qglTexCoord4iv
Definition: qgl_linked.h:315
#define qglScaled
Definition: qgl_linked.h:278
#define qglPixelStoref
Definition: qgl_linked.h:223
#define qglRecti
Definition: qgl_linked.h:271
void(* GLExtension_t)(void)
Definition: qgl.h:75
#define qglViewport
Definition: qgl_linked.h:364
#define qglColorMask
Definition: qgl_linked.h:78
GLdouble right
Definition: qgl.h:273
#define qglGetMaterialiv
Definition: qgl_linked.h:140
GLint first
Definition: qgl.h:242
#define qglTexCoord2i
Definition: qgl_linked.h:298
#define qglColor4us
Definition: qgl_linked.h:76
#define qglColor3ubv
Definition: qgl_linked.h:57
#define qglTranslatef
Definition: qgl_linked.h:338
#define qglPixelZoom
Definition: qgl_linked.h:227
#define qglCallList
Definition: qgl_linked.h:37
#define qglColor3s
Definition: qgl_linked.h:54
const GLvoid int
Definition: qgl.h:123
GLuint coord
Definition: glext.h:5283
GLenum GLsizei const GLvoid * pointer
Definition: qgl.h:228
int i
Definition: process.py:33
#define BOOL
Definition: mprintf.c:71
#define qglTexCoord4sv
Definition: qgl_linked.h:317
#define qglTranslated
Definition: qgl_linked.h:337
#define qglRasterPos2iv
Definition: qgl_linked.h:246
#define qglNormal3i
Definition: qgl_linked.h:213
#define qglTexCoord2sv
Definition: qgl_linked.h:301
#define qglIndexubv
Definition: qgl_linked.h:169
#define qglFogiv
Definition: qgl_linked.h:123
#define qglGetTexEnviv
Definition: qgl_linked.h:147
#define qglEnable
Definition: qgl_linked.h:101
GLsizei GLfloat GLfloat yorig
Definition: qgl.h:183
#define qglTexSubImage2D
Definition: qgl_linked.h:336
#define qglColor4sv
Definition: qgl_linked.h:71
#define qglRectfv
Definition: qgl_linked.h:270
GLenum GLfloat * buffer
Definition: qgl.h:265
#define qglVertex3iv
Definition: qgl_linked.h:352
#define qglPolygonOffset
Definition: qgl_linked.h:230
const GLubyte *APIENTRY * qglGetString(GLenum name)
#define qglTexCoord4s
Definition: qgl_linked.h:316
#define qglGetPixelMapuiv
Definition: qgl_linked.h:142
#define qglPixelTransferi
Definition: qgl_linked.h:226
GLenum GLenum GLenum GLenum mapping
Definition: qgl.h:112
const GLvoid const void *PFNGLGENFRAGMENTSHADERSATIPROC qglGenFragmentShadersATI
GLenum cap
Definition: glext.h:5411
const GLuint const GLclampf * priorities
Definition: qgl.h:384
#define qglIndexf
Definition: qgl_linked.h:162
GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte * bitmap
Definition: qgl.h:183
#define qglPushMatrix
Definition: qgl_linked.h:239
#define qglTexEnvi
Definition: qgl_linked.h:321
GLenum GLenum variable
Definition: qgl.h:112
#define qglClearAccum
Definition: qgl_linked.h:40
#define qglGetTexImage
Definition: qgl_linked.h:152
#define qglGetMapiv
Definition: qgl_linked.h:138
#define qglEvalCoord1fv
Definition: qgl_linked.h:108
PFNGLCOLORFRAGMENTOP1ATIPROC qglColorFragmentOp1ATI
#define qglFrontFace
Definition: qgl_linked.h:124
#define qglVertex4i
Definition: qgl_linked.h:359
#define qglPolygonStipple
Definition: qgl_linked.h:231
GLenum query
Definition: qgl.h:284
#define qglBitmap
Definition: qgl_linked.h:35
#define qglMateriali
Definition: qgl_linked.h:201
GLint GLsizei width
Definition: qgl.h:229
#define qglInitNames
Definition: qgl_linked.h:170
#define qglTexParameteriv
Definition: qgl_linked.h:334
#define qglColor4ui
Definition: qgl_linked.h:74
GLsizei GLfloat xorig
Definition: qgl.h:183
#define qglTexCoord3dv
Definition: qgl_linked.h:303
#define qglRotated
Definition: qgl_linked.h:276
#define qglVertex3s
Definition: qgl_linked.h:353
#define qglDeleteLists
Definition: qgl_linked.h:87
PFNGLALPHAFRAGMENTOP2ATIPROC qglAlphaFragmentOp2ATI
GLenum mode
Definition: qgl.h:227
#define qglStencilFunc
Definition: qgl_linked.h:283
#define qglTexCoord4i
Definition: qgl_linked.h:314
GLfloat value
Definition: qgl.h:177
#define qglVertex2dv
Definition: qgl_linked.h:340
GLint GLint GLint GLint j2
Definition: qgl.h:262
#define qglVertex3dv
Definition: qgl_linked.h:348
#define qglNormal3fv
Definition: qgl_linked.h:212
GLsizei range
Definition: qgl.h:235
PFNGLPASSTEXCOORDATIPROC qglPassTexCoordATI
#define qglColor4iv
Definition: qgl_linked.h:69
#define qglTexGenf
Definition: qgl_linked.h:325
#define qglStencilOp
Definition: qgl_linked.h:285
#define qglVertex3sv
Definition: qgl_linked.h:354
#define qglEdgeFlag
Definition: qgl_linked.h:98
const GLuint * textures
Definition: qgl.h:179
GLdouble GLdouble GLint GLint order
Definition: qgl.h:339
#define qglTexCoord3i
Definition: qgl_linked.h:306
const GLubyte * c
Definition: glext.h:4677
GLclampd zFar
Definition: qgl.h:239
GLdouble GLdouble GLdouble q
Definition: qgl.h:458
#define qglGetPointerv
Definition: qgl_linked.h:144
#define qglReadBuffer
Definition: qgl_linked.h:265
#define qglDrawElements
Definition: qgl_linked.h:96
PFNGLENABLEVERTEXATTRIBARRAYARBPROC qglEnableVertexAttribArrayARB
#define qglGetTexGendv
Definition: qgl_linked.h:149
#define qglTexGenfv
Definition: qgl_linked.h:326
#define qglPushAttrib
Definition: qgl_linked.h:237
#define qglIndexi
Definition: qgl_linked.h:164
#define qglRasterPos3fv
Definition: qgl_linked.h:252
#define qglRectiv
Definition: qgl_linked.h:272
#define qglPushClientAttrib
Definition: qgl_linked.h:238
#define qglTexCoord1dv
Definition: qgl_linked.h:287
#define qglLightf
Definition: qgl_linked.h:179
#define qglIsTexture
Definition: qgl_linked.h:174
GLenum const GLvoid * lists
Definition: qgl.h:186
#define qglVertex2s
Definition: qgl_linked.h:345
#define qglPolygonMode
Definition: qgl_linked.h:229
#define qglGetTexGeniv
Definition: qgl_linked.h:151
#define qglEndList
Definition: qgl_linked.h:104
PFNGLBINDPROGRAMARBPROC qglBindProgramARB
#define qglGetPolygonStipple
Definition: qgl_linked.h:145
const GLdouble * equation
Definition: qgl.h:193
#define qglColor3b
Definition: qgl_linked.h:46
#define qglFogi
Definition: qgl_linked.h:122
#define qglListBase
Definition: qgl_linked.h:185
GLdouble GLdouble GLint ustride
Definition: qgl.h:341
#define qglLightModeliv
Definition: qgl_linked.h:178
#define APIENTRY
Definition: qgl.h:61
#define qglNormal3b
Definition: qgl_linked.h:207
#define qglRectd
Definition: qgl_linked.h:267
PFNGLGETBUFFERPOINTERVARBPROC qglGetBufferPointervARB
#define qglEvalCoord2d
Definition: qgl_linked.h:109
#define qglTexCoord2f
Definition: qgl_linked.h:296
#define qglIndexiv
Definition: qgl_linked.h:165
#define qglOrtho
Definition: qgl_linked.h:218
#define qglRasterPos2dv
Definition: qgl_linked.h:242
#define qglTexCoord1s
Definition: qgl_linked.h:292
#define qglEnd
Definition: qgl_linked.h:103
#define qglRasterPos4fv
Definition: qgl_linked.h:260
#define qglColor3f
Definition: qgl_linked.h:50
#define qglColor4ubv
Definition: qgl_linked.h:73
#define qglRasterPos4f
Definition: qgl_linked.h:259
#define qglNormal3dv
Definition: qgl_linked.h:210
#define qglVertex2sv
Definition: qgl_linked.h:346
const GLfloat * params
Definition: qgl.h:108
#define qglInterleavedArrays
Definition: qgl_linked.h:171
#define qglGetFloatv
Definition: qgl_linked.h:132
#define qglRasterPos2s
Definition: qgl_linked.h:247
#define qglRectf
Definition: qgl_linked.h:269
#define qglTexCoord2dv
Definition: qgl_linked.h:295
#define qglColor4usv
Definition: qgl_linked.h:77
#define qglIndexs
Definition: qgl_linked.h:166
#define qglColor3us
Definition: qgl_linked.h:60
#define qglFrustum
Definition: qgl_linked.h:125
#define qglTexSubImage1D
Definition: qgl_linked.h:335
#define qglShadeModel
Definition: qgl_linked.h:282
#define qglRenderMode
Definition: qgl_linked.h:275
#define qglTexParameterf
Definition: qgl_linked.h:331
#define qglLightfv
Definition: qgl_linked.h:180
#define qglMaterialfv
Definition: qgl_linked.h:200
#define qglRasterPos2i
Definition: qgl_linked.h:245
PFNGLISBUFFERARBPROC qglIsBufferARB
#define qglIndexub
Definition: qgl_linked.h:168
#define qglColor3sv
Definition: qgl_linked.h:55
#define qglTexCoord3iv
Definition: qgl_linked.h:307
PFNGLBUFFERDATAARBPROC qglBufferDataARB
PROC(WINAPI *qwglGetProcAddress)(LPCSTR)
#define qglClearStencil
Definition: qgl_linked.h:44
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint vorder
Definition: qgl.h:341
#define qglPixelMapuiv
Definition: qgl_linked.h:221
#define qglTexCoord1d
Definition: qgl_linked.h:286
GLint GLenum GLint GLint GLsizei GLint border
Definition: qgl.h:230
#define qglCopyTexImage2D
Definition: qgl_linked.h:83
#define qglTexCoord4dv
Definition: qgl_linked.h:311
typedef HDC(WINAPI *PFNWGLGETCURRENTREADDCARBPROC)(void)
GLboolean(APIENTRY *qglAreTexturesResident)(GLsizei n
GLdouble v
Definition: qgl.h:257
#define qglIndexPointer
Definition: qgl_linked.h:159
GLbyte GLbyte nz
Definition: qgl.h:355
#define qglClearIndex
Definition: qgl_linked.h:43
#define qglGetTexGenfv
Definition: qgl_linked.h:150
#define qglTexCoord1i
Definition: qgl_linked.h:290
GLenum dfactor
Definition: qgl.h:184
#define qglNormal3bv
Definition: qgl_linked.h:208
#define qglTexCoord2d
Definition: qgl_linked.h:294
#define qglTexCoord2s
Definition: qgl_linked.h:300
PFNGLDELETEFRAGMENTSHADERATIPROC qglDeleteFragmentShaderATI
GLdouble GLdouble GLdouble y2
Definition: qgl.h:415
GLint GLuint mask
Definition: qgl.h:431
#define qglMap2d
Definition: qgl_linked.h:193
typedef VOID(WINAPI *PFNWGLDELETEBUFFERREGIONARBPROC)(HANDLE hRegion)
#define qglPixelMapusv
Definition: qgl_linked.h:222
PFNGLGETCOMPRESSEDTEXIMAGEARBPROC qglGetCompressedTexImageARB
GLint GLint xoffset
Definition: qgl.h:232
#define qglLightModelfv
Definition: qgl_linked.h:176
const GLuint GLboolean * residences
Definition: qgl.h:179
GLenum GLenum abOutput
Definition: qgl.h:114
#define qglPointSize
Definition: qgl_linked.h:228
#define qglRasterPos3d
Definition: qgl_linked.h:249
#define qglTexCoord1iv
Definition: qgl_linked.h:291
PFNGLGETBUFFERSUBDATAARBPROC qglGetBufferSubDataARB
GLdouble GLdouble GLdouble top
Definition: qgl.h:273
GLdouble GLdouble GLdouble w
Definition: qgl.h:405
GLenum GLenum GLenum GLenum GLenum GLenum GLboolean abDotProduct
Definition: qgl.h:114
#define qglMaterialf
Definition: qgl_linked.h:199
GLenum GLenum GLenum GLenum GLenum GLenum GLboolean GLboolean GLboolean muxSum
Definition: qgl.h:114
#define qglEvalCoord1d
Definition: qgl_linked.h:105
#define qglMaterialiv
Definition: qgl_linked.h:202
#define qglColor3uiv
Definition: qgl_linked.h:59
#define qglIndexfv
Definition: qgl_linked.h:163
GLenum type
Definition: qgl.h:186
GLfloat GLfloat GLfloat GLfloat nx
Definition: glext.h:4670
#define qglLighti
Definition: qgl_linked.h:181
#define qglTexEnviv
Definition: qgl_linked.h:322
#define qglMap2f
Definition: qgl_linked.h:194
#define qglColor3dv
Definition: qgl_linked.h:49
#define qglMapGrid2f
Definition: qgl_linked.h:198
#define qglFlush
Definition: qgl_linked.h:119
PFNGLDEPTHBOUNDSEXTPROC qglDepthBoundsEXT
#define qglRects
Definition: qgl_linked.h:273
#define qglPopMatrix
Definition: qgl_linked.h:234
#define qglGetPixelMapusv
Definition: qgl_linked.h:143
GLint level
Definition: qgl.h:230
GLdouble GLdouble GLint GLint GLdouble v1
Definition: qgl.h:341
#define qglRasterPos2fv
Definition: qgl_linked.h:244
#define qglEvalPoint1
Definition: qgl_linked.h:115
GLint GLenum GLint x
Definition: qgl.h:230
HGLRC
Definition: win_qgl.cpp:52
#define qglRasterPos3i
Definition: qgl_linked.h:253
const GLfloat param
Definition: qgl.h:110
#define qglCopyTexSubImage2D
Definition: qgl_linked.h:85
#define qglTexEnvf
Definition: qgl_linked.h:319
#define qglMultMatrixd
Definition: qgl_linked.h:204
#define qglEdgeFlagPointer
Definition: qgl_linked.h:99
#define qglColorPointer
Definition: qgl_linked.h:80
void(APIENTRY *qglMultiTexCoord2fARB)(GLenum texture
#define qglStencilMask
Definition: qgl_linked.h:284
#define qglVertex4d
Definition: qgl_linked.h:355
GLint GLint i2
Definition: qgl.h:261
#define qglIndexMask
Definition: qgl_linked.h:158
#define qglVertex4f
Definition: qgl_linked.h:357
#define qglTexImage2D
Definition: qgl_linked.h:330
#define qglTexCoord3d
Definition: qgl_linked.h:302
#define qglFogf
Definition: qgl_linked.h:120
#define qglTexParameteri
Definition: qgl_linked.h:333
#define qglIndexdv
Definition: qgl_linked.h:161
#define qglGetTexParameterfv
Definition: qgl_linked.h:155
GLsizei height
Definition: qgl.h:183
#define qglSelectBuffer
Definition: qgl_linked.h:281
#define qglLineWidth
Definition: qgl_linked.h:184
#define qglRasterPos3s
Definition: qgl_linked.h:255
#define qglNewList
Definition: qgl_linked.h:206
#define qglEvalCoord2dv
Definition: qgl_linked.h:110
const GLcharARB * name
Definition: glext.h:3629
GLfloat * st
Definition: qgl.h:89
GLsizeiptr size
Definition: glext.h:3112
#define qglVertex4dv
Definition: qgl_linked.h:356
PFNGLSETFRAGMENTSHADERCONSTANTATIPROC qglSetFragmentShaderConstantATI
#define qglAreTexturesResident
Definition: qgl_linked.h:31
GLdouble y1
Definition: qgl.h:415
PFNGLSTENCILFUNCSEPARATEATIPROC qglStencilFuncSeparateATI
#define qglClear
Definition: qgl_linked.h:39
GLushort pattern
Definition: qgl.h:331
GLfloat s
Definition: qgl.h:88
#define qglColor4f
Definition: qgl_linked.h:66
#define qglDrawArrays
Definition: qgl_linked.h:94
#define qglColor3ub
Definition: qgl_linked.h:56
#define qglDrawPixels
Definition: qgl_linked.h:97
#define qglVertex2f
Definition: qgl_linked.h:341
PFNGLPROGRAMENVPARAMETER4FVARBPROC qglProgramEnvParameter4fvARB
PFNGLPROGRAMLOCALPARAMETER4FVARBPROC qglProgramLocalParameter4fvARB
#define qglPushName
Definition: qgl_linked.h:240
#define qglNormal3f
Definition: qgl_linked.h:211
PFNGLALPHAFRAGMENTOP3ATIPROC qglAlphaFragmentOp3ATI
#define qglVertex2iv
Definition: qgl_linked.h:344
#define qglPixelStorei
Definition: qgl_linked.h:224
#define qglRasterPos4d
Definition: qgl_linked.h:257
Display * dpy
Definition: glimp.cpp:43
#define qglBlendFunc
Definition: qgl_linked.h:36
GLenum portion
Definition: qgl.h:112
PFNGLBINDBUFFERARBPROC qglBindBufferARB
#define qglFinish
Definition: qgl_linked.h:118
GLdouble GLdouble GLint GLint GLdouble GLdouble v2
Definition: qgl.h:341
GLint i1
Definition: qgl.h:261
#define qglColor4fv
Definition: qgl_linked.h:67
#define qglLineStipple
Definition: qgl_linked.h:183
#define qglClearDepth
Definition: qgl_linked.h:42
#define qglEvalCoord2fv
Definition: qgl_linked.h:112
GLsizei GLfloat GLfloat GLfloat xmove
Definition: qgl.h:183
#define qglGetTexEnvfv
Definition: qgl_linked.h:148
#define qglTexCoord1fv
Definition: qgl_linked.h:289
#define qglGenTextures
Definition: qgl_linked.h:127
LPLAYERPLANEDESCRIPTOR
Definition: win_qgl.cpp:66
PFNGLGETBUFFERPARAMETERIVARBPROC qglGetBufferParameterivARB
#define qglTexEnvfv
Definition: qgl_linked.h:320
GLdouble GLdouble GLint GLint const GLdouble * points
Definition: qgl.h:339
#define qglCallLists
Definition: qgl_linked.h:38
#define qglColor3iv
Definition: qgl_linked.h:53
#define qglVertex3f
Definition: qgl_linked.h:349
GLfloat GLfloat t
Definition: qgl.h:88
GLenum GLenum GLenum GLenum GLenum GLenum bias
Definition: qgl.h:114
#define qglLightiv
Definition: qgl_linked.h:182
#define qglPopName
Definition: qgl_linked.h:235
PFNGLCOLORFRAGMENTOP3ATIPROC qglColorFragmentOp3ATI
#define qglRasterPos4s
Definition: qgl_linked.h:263
#define qglColor3fv
Definition: qgl_linked.h:51
#define qglMap1f
Definition: qgl_linked.h:192
#define qglLoadIdentity
Definition: qgl_linked.h:186
GLint j
Definition: qgl.h:264
GLenum GLenum GLenum GLenum GLenum GLenum GLboolean GLboolean cdDotProduct
Definition: qgl.h:114
#define qglLoadMatrixd
Definition: qgl_linked.h:187
#define qglEvalMesh1
Definition: qgl_linked.h:113
#define qglNormalPointer
Definition: qgl_linked.h:217
#define qglTexParameterfv
Definition: qgl_linked.h:332
GLuint texture
Definition: qgl.h:182
PFNGLUNMAPBUFFERARBPROC qglUnmapBufferARB
#define qglNormal3sv
Definition: qgl_linked.h:216
#define qglTexCoord4fv
Definition: qgl_linked.h:313
#define qglIndexsv
Definition: qgl_linked.h:167
PFNGLPROGRAMSTRINGARBPROC qglProgramStringARB
#define qglColor3d
Definition: qgl_linked.h:48
#define qglPopClientAttrib
Definition: qgl_linked.h:233
PFNGLBEGINFRAGMENTSHADERATIPROC qglBeginFragmentShaderATI
#define qglNormal3d
Definition: qgl_linked.h:209
#define qglRasterPos4dv
Definition: qgl_linked.h:258
#define qglLightModeli
Definition: qgl_linked.h:177
#define qglGetMaterialfv
Definition: qgl_linked.h:139
#define qglColor4s
Definition: qgl_linked.h:70
#define qglLogicOp
Definition: qgl_linked.h:190
#define qglColor4uiv
Definition: qgl_linked.h:75
#define qglRasterPos3iv
Definition: qgl_linked.h:254
#define qglRasterPos2d
Definition: qgl_linked.h:241
#define qglColor4b
Definition: qgl_linked.h:62
CONST PIXELFORMATDESCRIPTOR LPPIXELFORMATDESCRIPTOR
Definition: win_qgl.cpp:47
GLenum GLenum GLenum cdOutput
Definition: qgl.h:114
GLsizei GLfloat GLfloat GLfloat GLfloat ymove
Definition: qgl.h:183
#define qglColor4i
Definition: qgl_linked.h:68
#define qglMatrixMode
Definition: qgl_linked.h:203
#define qglVertexPointer
Definition: qgl_linked.h:363
GLsizei GLenum GLenum const GLvoid * pixels
Definition: qgl.h:245
#define qglColor4d
Definition: qgl_linked.h:64
#define qglVertex4fv
Definition: qgl_linked.h:358
#define qglAccum
Definition: qgl_linked.h:29
#define qglIsList
Definition: qgl_linked.h:173
#define qglTexImage1D
Definition: qgl_linked.h:329
#define qglTexCoord1sv
Definition: qgl_linked.h:293
#define qglTexGeni
Definition: qgl_linked.h:327
#define qglPopAttrib
Definition: qgl_linked.h:232
#define qglGetTexParameteriv
Definition: qgl_linked.h:156
#define qglDepthFunc
Definition: qgl_linked.h:89
#define qglEvalCoord1dv
Definition: qgl_linked.h:106
#define qglRasterPos2f
Definition: qgl_linked.h:243
#define qglLightModelf
Definition: qgl_linked.h:175
#define qglGetMapfv
Definition: qgl_linked.h:137
GLenum pname
Definition: qgl.h:282
GLdouble GLdouble GLint GLint uorder
Definition: qgl.h:341
#define qglGetBooleanv
Definition: qgl_linked.h:128
#define qglPrioritizeTextures
Definition: qgl_linked.h:236
PFNGLACTIVESTENCILFACEEXTPROC qglActiveStencilFaceEXT