Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

QGL_WIN.CPP

Go to the documentation of this file.
00001 /*
00002 ===========================================================================
00003 Copyright (C) 1999-2005 Id Software, Inc.
00004 
00005 This file is part of Quake III Arena source code.
00006 
00007 Quake III Arena source code is free software; you can redistribute it
00008 and/or modify it under the terms of the GNU General Public License as
00009 published by the Free Software Foundation; either version 2 of the License,
00010 or (at your option) any later version.
00011 
00012 Quake III Arena source code is distributed in the hope that it will be
00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Foobar; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 ===========================================================================
00021 */
00022 /*
00023 ** QGL_WIN.C
00024 **
00025 ** This file implements the operating system binding of GL to QGL function
00026 ** pointers.  When doing a port of Quake2 you must implement the following
00027 ** two functions:
00028 **
00029 ** QGL_Init() - loads libraries, assigns function pointers, etc.
00030 ** QGL_Shutdown() - unloads libraries, NULLs function pointers
00031 */
00032 #include "stdafx.h"
00033 #include <float.h>
00034 
00035 HMODULE g_hGLDLL = NULL;
00036 
00037 #   pragma warning (disable : 4113 4133 4047 )
00038 
00039 int   ( WINAPI * qwglChoosePixelFormat )(HDC, CONST PIXELFORMATDESCRIPTOR *);
00040 int   ( WINAPI * qwglDescribePixelFormat) (HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
00041 int   ( WINAPI * qwglGetPixelFormat)(HDC);
00042 BOOL  ( WINAPI * qwglSetPixelFormat)(HDC, int, CONST PIXELFORMATDESCRIPTOR *);
00043 BOOL  ( WINAPI * qwglSwapBuffers)(HDC);
00044 
00045 BOOL  ( WINAPI * qwglCopyContext)(HGLRC, HGLRC, UINT);
00046 HGLRC ( WINAPI * qwglCreateContext)(HDC);
00047 HGLRC ( WINAPI * qwglCreateLayerContext)(HDC, int);
00048 BOOL  ( WINAPI * qwglDeleteContext)(HGLRC);
00049 HGLRC ( WINAPI * qwglGetCurrentContext)(VOID);
00050 HDC   ( WINAPI * qwglGetCurrentDC)(VOID);
00051 PROC  ( WINAPI * qwglGetProcAddress)(LPCSTR);
00052 BOOL  ( WINAPI * qwglMakeCurrent)(HDC, HGLRC);
00053 BOOL  ( WINAPI * qwglShareLists)(HGLRC, HGLRC);
00054 BOOL  ( WINAPI * qwglUseFontBitmaps)(HDC, DWORD, DWORD, DWORD);
00055 
00056 BOOL  ( WINAPI * qwglUseFontOutlines)(HDC, DWORD, DWORD, DWORD, FLOAT,
00057                                            FLOAT, int, LPGLYPHMETRICSFLOAT);
00058 
00059 BOOL ( WINAPI * qwglDescribeLayerPlane)(HDC, int, int, UINT,
00060                                             LPLAYERPLANEDESCRIPTOR);
00061 int  ( WINAPI * qwglSetLayerPaletteEntries)(HDC, int, int, int,
00062                                                 CONST COLORREF *);
00063 int  ( WINAPI * qwglGetLayerPaletteEntries)(HDC, int, int, int,
00064                                                 COLORREF *);
00065 BOOL ( WINAPI * qwglRealizeLayerPalette)(HDC, int, BOOL);
00066 BOOL ( WINAPI * qwglSwapLayerBuffers)(HDC, UINT);
00067 
00068 void ( APIENTRY * qglAccum )(GLenum op, GLfloat value);
00069 void ( APIENTRY * qglAlphaFunc )(GLenum func, GLclampf ref);
00070 GLboolean ( APIENTRY * qglAreTexturesResident )(GLsizei n, const GLuint *textures, GLboolean *residences);
00071 void ( APIENTRY * qglArrayElement )(GLint i);
00072 void ( APIENTRY * qglBegin )(GLenum mode);
00073 void ( APIENTRY * qglBindTexture )(GLenum target, GLuint texture);
00074 void ( APIENTRY * qglBitmap )(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
00075 void ( APIENTRY * qglBlendFunc )(GLenum sfactor, GLenum dfactor);
00076 void ( APIENTRY * qglCallList )(GLuint list);
00077 void ( APIENTRY * qglCallLists )(GLsizei n, GLenum type, const GLvoid *lists);
00078 void ( APIENTRY * qglClear )(GLbitfield mask);
00079 void ( APIENTRY * qglClearAccum )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00080 void ( APIENTRY * qglClearColor )(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
00081 void ( APIENTRY * qglClearDepth )(GLclampd depth);
00082 void ( APIENTRY * qglClearIndex )(GLfloat c);
00083 void ( APIENTRY * qglClearStencil )(GLint s);
00084 void ( APIENTRY * qglClipPlane )(GLenum plane, const GLdouble *equation);
00085 void ( APIENTRY * qglColor3b )(GLbyte red, GLbyte green, GLbyte blue);
00086 void ( APIENTRY * qglColor3bv )(const GLbyte *v);
00087 void ( APIENTRY * qglColor3d )(GLdouble red, GLdouble green, GLdouble blue);
00088 void ( APIENTRY * qglColor3dv )(const GLdouble *v);
00089 void ( APIENTRY * qglColor3f )(GLfloat red, GLfloat green, GLfloat blue);
00090 void ( APIENTRY * qglColor3fv )(const GLfloat *v);
00091 void ( APIENTRY * qglColor3i )(GLint red, GLint green, GLint blue);
00092 void ( APIENTRY * qglColor3iv )(const GLint *v);
00093 void ( APIENTRY * qglColor3s )(GLshort red, GLshort green, GLshort blue);
00094 void ( APIENTRY * qglColor3sv )(const GLshort *v);
00095 void ( APIENTRY * qglColor3ub )(GLubyte red, GLubyte green, GLubyte blue);
00096 void ( APIENTRY * qglColor3ubv )(const GLubyte *v);
00097 void ( APIENTRY * qglColor3ui )(GLuint red, GLuint green, GLuint blue);
00098 void ( APIENTRY * qglColor3uiv )(const GLuint *v);
00099 void ( APIENTRY * qglColor3us )(GLushort red, GLushort green, GLushort blue);
00100 void ( APIENTRY * qglColor3usv )(const GLushort *v);
00101 void ( APIENTRY * qglColor4b )(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
00102 void ( APIENTRY * qglColor4bv )(const GLbyte *v);
00103 void ( APIENTRY * qglColor4d )(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
00104 void ( APIENTRY * qglColor4dv )(const GLdouble *v);
00105 void ( APIENTRY * qglColor4f )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00106 void ( APIENTRY * qglColor4fv )(const GLfloat *v);
00107 void ( APIENTRY * qglColor4i )(GLint red, GLint green, GLint blue, GLint alpha);
00108 void ( APIENTRY * qglColor4iv )(const GLint *v);
00109 void ( APIENTRY * qglColor4s )(GLshort red, GLshort green, GLshort blue, GLshort alpha);
00110 void ( APIENTRY * qglColor4sv )(const GLshort *v);
00111 void ( APIENTRY * qglColor4ub )(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
00112 void ( APIENTRY * qglColor4ubv )(const GLubyte *v);
00113 void ( APIENTRY * qglColor4ui )(GLuint red, GLuint green, GLuint blue, GLuint alpha);
00114 void ( APIENTRY * qglColor4uiv )(const GLuint *v);
00115 void ( APIENTRY * qglColor4us )(GLushort red, GLushort green, GLushort blue, GLushort alpha);
00116 void ( APIENTRY * qglColor4usv )(const GLushort *v);
00117 void ( APIENTRY * qglColorMask )(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
00118 void ( APIENTRY * qglColorMaterial )(GLenum face, GLenum mode);
00119 void ( APIENTRY * qglColorPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00120 void ( APIENTRY * qglCopyPixels )(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
00121 void ( APIENTRY * qglCopyTexImage1D )(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
00122 void ( APIENTRY * qglCopyTexImage2D )(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
00123 void ( APIENTRY * qglCopyTexSubImage1D )(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
00124 void ( APIENTRY * qglCopyTexSubImage2D )(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
00125 void ( APIENTRY * qglCullFace )(GLenum mode);
00126 void ( APIENTRY * qglDeleteLists )(GLuint list, GLsizei range);
00127 void ( APIENTRY * qglDeleteTextures )(GLsizei n, const GLuint *textures);
00128 void ( APIENTRY * qglDepthFunc )(GLenum func);
00129 void ( APIENTRY * qglDepthMask )(GLboolean flag);
00130 void ( APIENTRY * qglDepthRange )(GLclampd zNear, GLclampd zFar);
00131 void ( APIENTRY * qglDisable )(GLenum cap);
00132 void ( APIENTRY * qglDisableClientState )(GLenum array);
00133 void ( APIENTRY * qglDrawArrays )(GLenum mode, GLint first, GLsizei count);
00134 void ( APIENTRY * qglDrawBuffer )(GLenum mode);
00135 void ( APIENTRY * qglDrawElements )(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
00136 void ( APIENTRY * qglDrawPixels )(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
00137 void ( APIENTRY * qglEdgeFlag )(GLboolean flag);
00138 void ( APIENTRY * qglEdgeFlagPointer )(GLsizei stride, const GLvoid *pointer);
00139 void ( APIENTRY * qglEdgeFlagv )(const GLboolean *flag);
00140 void ( APIENTRY * qglEnable )(GLenum cap);
00141 void ( APIENTRY * qglEnableClientState )(GLenum array);
00142 void ( APIENTRY * qglEnd )(void);
00143 void ( APIENTRY * qglEndList )(void);
00144 void ( APIENTRY * qglEvalCoord1d )(GLdouble u);
00145 void ( APIENTRY * qglEvalCoord1dv )(const GLdouble *u);
00146 void ( APIENTRY * qglEvalCoord1f )(GLfloat u);
00147 void ( APIENTRY * qglEvalCoord1fv )(const GLfloat *u);
00148 void ( APIENTRY * qglEvalCoord2d )(GLdouble u, GLdouble v);
00149 void ( APIENTRY * qglEvalCoord2dv )(const GLdouble *u);
00150 void ( APIENTRY * qglEvalCoord2f )(GLfloat u, GLfloat v);
00151 void ( APIENTRY * qglEvalCoord2fv )(const GLfloat *u);
00152 void ( APIENTRY * qglEvalMesh1 )(GLenum mode, GLint i1, GLint i2);
00153 void ( APIENTRY * qglEvalMesh2 )(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
00154 void ( APIENTRY * qglEvalPoint1 )(GLint i);
00155 void ( APIENTRY * qglEvalPoint2 )(GLint i, GLint j);
00156 void ( APIENTRY * qglFeedbackBuffer )(GLsizei size, GLenum type, GLfloat *buffer);
00157 void ( APIENTRY * qglFinish )(void);
00158 void ( APIENTRY * qglFlush )(void);
00159 void ( APIENTRY * qglFogf )(GLenum pname, GLfloat param);
00160 void ( APIENTRY * qglFogfv )(GLenum pname, const GLfloat *params);
00161 void ( APIENTRY * qglFogi )(GLenum pname, GLint param);
00162 void ( APIENTRY * qglFogiv )(GLenum pname, const GLint *params);
00163 void ( APIENTRY * qglFrontFace )(GLenum mode);
00164 void ( APIENTRY * qglFrustum )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
00165 GLuint ( APIENTRY * qglGenLists )(GLsizei range);
00166 void ( APIENTRY * qglGenTextures )(GLsizei n, GLuint *textures);
00167 void ( APIENTRY * qglGetBooleanv )(GLenum pname, GLboolean *params);
00168 void ( APIENTRY * qglGetClipPlane )(GLenum plane, GLdouble *equation);
00169 void ( APIENTRY * qglGetDoublev )(GLenum pname, GLdouble *params);
00170 GLenum ( APIENTRY * qglGetError )(void);
00171 void ( APIENTRY * qglGetFloatv )(GLenum pname, GLfloat *params);
00172 void ( APIENTRY * qglGetIntegerv )(GLenum pname, GLint *params);
00173 void ( APIENTRY * qglGetLightfv )(GLenum light, GLenum pname, GLfloat *params);
00174 void ( APIENTRY * qglGetLightiv )(GLenum light, GLenum pname, GLint *params);
00175 void ( APIENTRY * qglGetMapdv )(GLenum target, GLenum query, GLdouble *v);
00176 void ( APIENTRY * qglGetMapfv )(GLenum target, GLenum query, GLfloat *v);
00177 void ( APIENTRY * qglGetMapiv )(GLenum target, GLenum query, GLint *v);
00178 void ( APIENTRY * qglGetMaterialfv )(GLenum face, GLenum pname, GLfloat *params);
00179 void ( APIENTRY * qglGetMaterialiv )(GLenum face, GLenum pname, GLint *params);
00180 void ( APIENTRY * qglGetPixelMapfv )(GLenum map, GLfloat *values);
00181 void ( APIENTRY * qglGetPixelMapuiv )(GLenum map, GLuint *values);
00182 void ( APIENTRY * qglGetPixelMapusv )(GLenum map, GLushort *values);
00183 void ( APIENTRY * qglGetPointerv )(GLenum pname, GLvoid* *params);
00184 void ( APIENTRY * qglGetPolygonStipple )(GLubyte *mask);
00185 const GLubyte * ( APIENTRY * qglGetString )(GLenum name);
00186 void ( APIENTRY * qglGetTexEnvfv )(GLenum target, GLenum pname, GLfloat *params);
00187 void ( APIENTRY * qglGetTexEnviv )(GLenum target, GLenum pname, GLint *params);
00188 void ( APIENTRY * qglGetTexGendv )(GLenum coord, GLenum pname, GLdouble *params);
00189 void ( APIENTRY * qglGetTexGenfv )(GLenum coord, GLenum pname, GLfloat *params);
00190 void ( APIENTRY * qglGetTexGeniv )(GLenum coord, GLenum pname, GLint *params);
00191 void ( APIENTRY * qglGetTexImage )(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
00192 void ( APIENTRY * qglGetTexLevelParameterfv )(GLenum target, GLint level, GLenum pname, GLfloat *params);
00193 void ( APIENTRY * qglGetTexLevelParameteriv )(GLenum target, GLint level, GLenum pname, GLint *params);
00194 void ( APIENTRY * qglGetTexParameterfv )(GLenum target, GLenum pname, GLfloat *params);
00195 void ( APIENTRY * qglGetTexParameteriv )(GLenum target, GLenum pname, GLint *params);
00196 void ( APIENTRY * qglHint )(GLenum target, GLenum mode);
00197 void ( APIENTRY * qglIndexMask )(GLuint mask);
00198 void ( APIENTRY * qglIndexPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
00199 void ( APIENTRY * qglIndexd )(GLdouble c);
00200 void ( APIENTRY * qglIndexdv )(const GLdouble *c);
00201 void ( APIENTRY * qglIndexf )(GLfloat c);
00202 void ( APIENTRY * qglIndexfv )(const GLfloat *c);
00203 void ( APIENTRY * qglIndexi )(GLint c);
00204 void ( APIENTRY * qglIndexiv )(const GLint *c);
00205 void ( APIENTRY * qglIndexs )(GLshort c);
00206 void ( APIENTRY * qglIndexsv )(const GLshort *c);
00207 void ( APIENTRY * qglIndexub )(GLubyte c);
00208 void ( APIENTRY * qglIndexubv )(const GLubyte *c);
00209 void ( APIENTRY * qglInitNames )(void);
00210 void ( APIENTRY * qglInterleavedArrays )(GLenum format, GLsizei stride, const GLvoid *pointer);
00211 GLboolean ( APIENTRY * qglIsEnabled )(GLenum cap);
00212 GLboolean ( APIENTRY * qglIsList )(GLuint list);
00213 GLboolean ( APIENTRY * qglIsTexture )(GLuint texture);
00214 void ( APIENTRY * qglLightModelf )(GLenum pname, GLfloat param);
00215 void ( APIENTRY * qglLightModelfv )(GLenum pname, const GLfloat *params);
00216 void ( APIENTRY * qglLightModeli )(GLenum pname, GLint param);
00217 void ( APIENTRY * qglLightModeliv )(GLenum pname, const GLint *params);
00218 void ( APIENTRY * qglLightf )(GLenum light, GLenum pname, GLfloat param);
00219 void ( APIENTRY * qglLightfv )(GLenum light, GLenum pname, const GLfloat *params);
00220 void ( APIENTRY * qglLighti )(GLenum light, GLenum pname, GLint param);
00221 void ( APIENTRY * qglLightiv )(GLenum light, GLenum pname, const GLint *params);
00222 void ( APIENTRY * qglLineStipple )(GLint factor, GLushort pattern);
00223 void ( APIENTRY * qglLineWidth )(GLfloat width);
00224 void ( APIENTRY * qglListBase )(GLuint base);
00225 void ( APIENTRY * qglLoadIdentity )(void);
00226 void ( APIENTRY * qglLoadMatrixd )(const GLdouble *m);
00227 void ( APIENTRY * qglLoadMatrixf )(const GLfloat *m);
00228 void ( APIENTRY * qglLoadName )(GLuint name);
00229 void ( APIENTRY * qglLogicOp )(GLenum opcode);
00230 void ( APIENTRY * qglMap1d )(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
00231 void ( APIENTRY * qglMap1f )(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
00232 void ( APIENTRY * qglMap2d )(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
00233 void ( APIENTRY * qglMap2f )(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
00234 void ( APIENTRY * qglMapGrid1d )(GLint un, GLdouble u1, GLdouble u2);
00235 void ( APIENTRY * qglMapGrid1f )(GLint un, GLfloat u1, GLfloat u2);
00236 void ( APIENTRY * qglMapGrid2d )(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
00237 void ( APIENTRY * qglMapGrid2f )(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
00238 void ( APIENTRY * qglMaterialf )(GLenum face, GLenum pname, GLfloat param);
00239 void ( APIENTRY * qglMaterialfv )(GLenum face, GLenum pname, const GLfloat *params);
00240 void ( APIENTRY * qglMateriali )(GLenum face, GLenum pname, GLint param);
00241 void ( APIENTRY * qglMaterialiv )(GLenum face, GLenum pname, const GLint *params);
00242 void ( APIENTRY * qglMatrixMode )(GLenum mode);
00243 void ( APIENTRY * qglMultMatrixd )(const GLdouble *m);
00244 void ( APIENTRY * qglMultMatrixf )(const GLfloat *m);
00245 void ( APIENTRY * qglNewList )(GLuint list, GLenum mode);
00246 void ( APIENTRY * qglNormal3b )(GLbyte nx, GLbyte ny, GLbyte nz);
00247 void ( APIENTRY * qglNormal3bv )(const GLbyte *v);
00248 void ( APIENTRY * qglNormal3d )(GLdouble nx, GLdouble ny, GLdouble nz);
00249 void ( APIENTRY * qglNormal3dv )(const GLdouble *v);
00250 void ( APIENTRY * qglNormal3f )(GLfloat nx, GLfloat ny, GLfloat nz);
00251 void ( APIENTRY * qglNormal3fv )(const GLfloat *v);
00252 void ( APIENTRY * qglNormal3i )(GLint nx, GLint ny, GLint nz);
00253 void ( APIENTRY * qglNormal3iv )(const GLint *v);
00254 void ( APIENTRY * qglNormal3s )(GLshort nx, GLshort ny, GLshort nz);
00255 void ( APIENTRY * qglNormal3sv )(const GLshort *v);
00256 void ( APIENTRY * qglNormalPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
00257 void ( APIENTRY * qglOrtho )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
00258 void ( APIENTRY * qglPassThrough )(GLfloat token);
00259 void ( APIENTRY * qglPixelMapfv )(GLenum map, GLsizei mapsize, const GLfloat *values);
00260 void ( APIENTRY * qglPixelMapuiv )(GLenum map, GLsizei mapsize, const GLuint *values);
00261 void ( APIENTRY * qglPixelMapusv )(GLenum map, GLsizei mapsize, const GLushort *values);
00262 void ( APIENTRY * qglPixelStoref )(GLenum pname, GLfloat param);
00263 void ( APIENTRY * qglPixelStorei )(GLenum pname, GLint param);
00264 void ( APIENTRY * qglPixelTransferf )(GLenum pname, GLfloat param);
00265 void ( APIENTRY * qglPixelTransferi )(GLenum pname, GLint param);
00266 void ( APIENTRY * qglPixelZoom )(GLfloat xfactor, GLfloat yfactor);
00267 void ( APIENTRY * qglPointSize )(GLfloat size);
00268 void ( APIENTRY * qglPolygonMode )(GLenum face, GLenum mode);
00269 void ( APIENTRY * qglPolygonOffset )(GLfloat factor, GLfloat units);
00270 void ( APIENTRY * qglPolygonStipple )(const GLubyte *mask);
00271 void ( APIENTRY * qglPopAttrib )(void);
00272 void ( APIENTRY * qglPopClientAttrib )(void);
00273 void ( APIENTRY * qglPopMatrix )(void);
00274 void ( APIENTRY * qglPopName )(void);
00275 void ( APIENTRY * qglPrioritizeTextures )(GLsizei n, const GLuint *textures, const GLclampf *priorities);
00276 void ( APIENTRY * qglPushAttrib )(GLbitfield mask);
00277 void ( APIENTRY * qglPushClientAttrib )(GLbitfield mask);
00278 void ( APIENTRY * qglPushMatrix )(void);
00279 void ( APIENTRY * qglPushName )(GLuint name);
00280 void ( APIENTRY * qglRasterPos2d )(GLdouble x, GLdouble y);
00281 void ( APIENTRY * qglRasterPos2dv )(const GLdouble *v);
00282 void ( APIENTRY * qglRasterPos2f )(GLfloat x, GLfloat y);
00283 void ( APIENTRY * qglRasterPos2fv )(const GLfloat *v);
00284 void ( APIENTRY * qglRasterPos2i )(GLint x, GLint y);
00285 void ( APIENTRY * qglRasterPos2iv )(const GLint *v);
00286 void ( APIENTRY * qglRasterPos2s )(GLshort x, GLshort y);
00287 void ( APIENTRY * qglRasterPos2sv )(const GLshort *v);
00288 void ( APIENTRY * qglRasterPos3d )(GLdouble x, GLdouble y, GLdouble z);
00289 void ( APIENTRY * qglRasterPos3dv )(const GLdouble *v);
00290 void ( APIENTRY * qglRasterPos3f )(GLfloat x, GLfloat y, GLfloat z);
00291 void ( APIENTRY * qglRasterPos3fv )(const GLfloat *v);
00292 void ( APIENTRY * qglRasterPos3i )(GLint x, GLint y, GLint z);
00293 void ( APIENTRY * qglRasterPos3iv )(const GLint *v);
00294 void ( APIENTRY * qglRasterPos3s )(GLshort x, GLshort y, GLshort z);
00295 void ( APIENTRY * qglRasterPos3sv )(const GLshort *v);
00296 void ( APIENTRY * qglRasterPos4d )(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
00297 void ( APIENTRY * qglRasterPos4dv )(const GLdouble *v);
00298 void ( APIENTRY * qglRasterPos4f )(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
00299 void ( APIENTRY * qglRasterPos4fv )(const GLfloat *v);
00300 void ( APIENTRY * qglRasterPos4i )(GLint x, GLint y, GLint z, GLint w);
00301 void ( APIENTRY * qglRasterPos4iv )(const GLint *v);
00302 void ( APIENTRY * qglRasterPos4s )(GLshort x, GLshort y, GLshort z, GLshort w);
00303 void ( APIENTRY * qglRasterPos4sv )(const GLshort *v);
00304 void ( APIENTRY * qglReadBuffer )(GLenum mode);
00305 void ( APIENTRY * qglReadPixels )(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
00306 void ( APIENTRY * qglRectd )(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
00307 void ( APIENTRY * qglRectdv )(const GLdouble *v1, const GLdouble *v2);
00308 void ( APIENTRY * qglRectf )(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
00309 void ( APIENTRY * qglRectfv )(const GLfloat *v1, const GLfloat *v2);
00310 void ( APIENTRY * qglRecti )(GLint x1, GLint y1, GLint x2, GLint y2);
00311 void ( APIENTRY * qglRectiv )(const GLint *v1, const GLint *v2);
00312 void ( APIENTRY * qglRects )(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
00313 void ( APIENTRY * qglRectsv )(const GLshort *v1, const GLshort *v2);
00314 GLint ( APIENTRY * qglRenderMode )(GLenum mode);
00315 void ( APIENTRY * qglRotated )(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
00316 void ( APIENTRY * qglRotatef )(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
00317 void ( APIENTRY * qglScaled )(GLdouble x, GLdouble y, GLdouble z);
00318 void ( APIENTRY * qglScalef )(GLfloat x, GLfloat y, GLfloat z);
00319 void ( APIENTRY * qglScissor )(GLint x, GLint y, GLsizei width, GLsizei height);
00320 void ( APIENTRY * qglSelectBuffer )(GLsizei size, GLuint *buffer);
00321 void ( APIENTRY * qglShadeModel )(GLenum mode);
00322 void ( APIENTRY * qglStencilFunc )(GLenum func, GLint ref, GLuint mask);
00323 void ( APIENTRY * qglStencilMask )(GLuint mask);
00324 void ( APIENTRY * qglStencilOp )(GLenum fail, GLenum zfail, GLenum zpass);
00325 void ( APIENTRY * qglTexCoord1d )(GLdouble s);
00326 void ( APIENTRY * qglTexCoord1dv )(const GLdouble *v);
00327 void ( APIENTRY * qglTexCoord1f )(GLfloat s);
00328 void ( APIENTRY * qglTexCoord1fv )(const GLfloat *v);
00329 void ( APIENTRY * qglTexCoord1i )(GLint s);
00330 void ( APIENTRY * qglTexCoord1iv )(const GLint *v);
00331 void ( APIENTRY * qglTexCoord1s )(GLshort s);
00332 void ( APIENTRY * qglTexCoord1sv )(const GLshort *v);
00333 void ( APIENTRY * qglTexCoord2d )(GLdouble s, GLdouble t);
00334 void ( APIENTRY * qglTexCoord2dv )(const GLdouble *v);
00335 void ( APIENTRY * qglTexCoord2f )(GLfloat s, GLfloat t);
00336 void ( APIENTRY * qglTexCoord2fv )(const GLfloat *v);
00337 void ( APIENTRY * qglTexCoord2i )(GLint s, GLint t);
00338 void ( APIENTRY * qglTexCoord2iv )(const GLint *v);
00339 void ( APIENTRY * qglTexCoord2s )(GLshort s, GLshort t);
00340 void ( APIENTRY * qglTexCoord2sv )(const GLshort *v);
00341 void ( APIENTRY * qglTexCoord3d )(GLdouble s, GLdouble t, GLdouble r);
00342 void ( APIENTRY * qglTexCoord3dv )(const GLdouble *v);
00343 void ( APIENTRY * qglTexCoord3f )(GLfloat s, GLfloat t, GLfloat r);
00344 void ( APIENTRY * qglTexCoord3fv )(const GLfloat *v);
00345 void ( APIENTRY * qglTexCoord3i )(GLint s, GLint t, GLint r);
00346 void ( APIENTRY * qglTexCoord3iv )(const GLint *v);
00347 void ( APIENTRY * qglTexCoord3s )(GLshort s, GLshort t, GLshort r);
00348 void ( APIENTRY * qglTexCoord3sv )(const GLshort *v);
00349 void ( APIENTRY * qglTexCoord4d )(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
00350 void ( APIENTRY * qglTexCoord4dv )(const GLdouble *v);
00351 void ( APIENTRY * qglTexCoord4f )(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
00352 void ( APIENTRY * qglTexCoord4fv )(const GLfloat *v);
00353 void ( APIENTRY * qglTexCoord4i )(GLint s, GLint t, GLint r, GLint q);
00354 void ( APIENTRY * qglTexCoord4iv )(const GLint *v);
00355 void ( APIENTRY * qglTexCoord4s )(GLshort s, GLshort t, GLshort r, GLshort q);
00356 void ( APIENTRY * qglTexCoord4sv )(const GLshort *v);
00357 void ( APIENTRY * qglTexCoordPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00358 void ( APIENTRY * qglTexEnvf )(GLenum target, GLenum pname, GLfloat param);
00359 void ( APIENTRY * qglTexEnvfv )(GLenum target, GLenum pname, const GLfloat *params);
00360 void ( APIENTRY * qglTexEnvi )(GLenum target, GLenum pname, GLint param);
00361 void ( APIENTRY * qglTexEnviv )(GLenum target, GLenum pname, const GLint *params);
00362 void ( APIENTRY * qglTexGend )(GLenum coord, GLenum pname, GLdouble param);
00363 void ( APIENTRY * qglTexGendv )(GLenum coord, GLenum pname, const GLdouble *params);
00364 void ( APIENTRY * qglTexGenf )(GLenum coord, GLenum pname, GLfloat param);
00365 void ( APIENTRY * qglTexGenfv )(GLenum coord, GLenum pname, const GLfloat *params);
00366 void ( APIENTRY * qglTexGeni )(GLenum coord, GLenum pname, GLint param);
00367 void ( APIENTRY * qglTexGeniv )(GLenum coord, GLenum pname, const GLint *params);
00368 void ( APIENTRY * qglTexImage1D )(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
00369 void ( APIENTRY * qglTexImage2D )(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
00370 void ( APIENTRY * qglTexParameterf )(GLenum target, GLenum pname, GLfloat param);
00371 void ( APIENTRY * qglTexParameterfv )(GLenum target, GLenum pname, const GLfloat *params);
00372 void ( APIENTRY * qglTexParameteri )(GLenum target, GLenum pname, GLint param);
00373 void ( APIENTRY * qglTexParameteriv )(GLenum target, GLenum pname, const GLint *params);
00374 void ( APIENTRY * qglTexSubImage1D )(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
00375 void ( APIENTRY * qglTexSubImage2D )(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
00376 void ( APIENTRY * qglTranslated )(GLdouble x, GLdouble y, GLdouble z);
00377 void ( APIENTRY * qglTranslatef )(GLfloat x, GLfloat y, GLfloat z);
00378 void ( APIENTRY * qglVertex2d )(GLdouble x, GLdouble y);
00379 void ( APIENTRY * qglVertex2dv )(const GLdouble *v);
00380 void ( APIENTRY * qglVertex2f )(GLfloat x, GLfloat y);
00381 void ( APIENTRY * qglVertex2fv )(const GLfloat *v);
00382 void ( APIENTRY * qglVertex2i )(GLint x, GLint y);
00383 void ( APIENTRY * qglVertex2iv )(const GLint *v);
00384 void ( APIENTRY * qglVertex2s )(GLshort x, GLshort y);
00385 void ( APIENTRY * qglVertex2sv )(const GLshort *v);
00386 void ( APIENTRY * qglVertex3d )(GLdouble x, GLdouble y, GLdouble z);
00387 void ( APIENTRY * qglVertex3dv )(const GLdouble *v);
00388 void ( APIENTRY * qglVertex3f )(GLfloat x, GLfloat y, GLfloat z);
00389 void ( APIENTRY * qglVertex3fv )(const GLfloat *v);
00390 void ( APIENTRY * qglVertex3i )(GLint x, GLint y, GLint z);
00391 void ( APIENTRY * qglVertex3iv )(const GLint *v);
00392 void ( APIENTRY * qglVertex3s )(GLshort x, GLshort y, GLshort z);
00393 void ( APIENTRY * qglVertex3sv )(const GLshort *v);
00394 void ( APIENTRY * qglVertex4d )(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
00395 void ( APIENTRY * qglVertex4dv )(const GLdouble *v);
00396 void ( APIENTRY * qglVertex4f )(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
00397 void ( APIENTRY * qglVertex4fv )(const GLfloat *v);
00398 void ( APIENTRY * qglVertex4i )(GLint x, GLint y, GLint z, GLint w);
00399 void ( APIENTRY * qglVertex4iv )(const GLint *v);
00400 void ( APIENTRY * qglVertex4s )(GLshort x, GLshort y, GLshort z, GLshort w);
00401 void ( APIENTRY * qglVertex4sv )(const GLshort *v);
00402 void ( APIENTRY * qglVertexPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00403 void ( APIENTRY * qglViewport )(GLint x, GLint y, GLsizei width, GLsizei height);
00404 
00405 BOOL ( WINAPI * qwglSwapIntervalEXT)( int interval );
00406 BOOL ( WINAPI * qwglGetDeviceGammaRampEXT)( unsigned char *, unsigned char *, unsigned char * );
00407 BOOL ( WINAPI * qwglSetDeviceGammaRampEXT)( const unsigned char *, const unsigned char *, const unsigned char * );
00408 void ( APIENTRY * qglPointParameterfEXT)( GLenum param, GLfloat value );
00409 void ( APIENTRY * qglPointParameterfvEXT)( GLenum param, const GLfloat *value );
00410 void ( APIENTRY * qglColorTableEXT)( int, int, int, int, int, const void * );
00411 void ( APIENTRY * qglSelectTextureSGIS)( GLenum );
00412 void ( APIENTRY * qglMTexCoord2fSGIS)( GLenum, GLfloat, GLfloat );
00413 
00414 static void ( APIENTRY * dllAccum )(GLenum op, GLfloat value);
00415 static void ( APIENTRY * dllAlphaFunc )(GLenum func, GLclampf ref);
00416 GLboolean ( APIENTRY * dllAreTexturesResident )(GLsizei n, const GLuint *textures, GLboolean *residences);
00417 static void ( APIENTRY * dllArrayElement )(GLint i);
00418 static void ( APIENTRY * dllBegin )(GLenum mode);
00419 static void ( APIENTRY * dllBindTexture )(GLenum target, GLuint texture);
00420 static void ( APIENTRY * dllBitmap )(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
00421 static void ( APIENTRY * dllBlendFunc )(GLenum sfactor, GLenum dfactor);
00422 static void ( APIENTRY * dllCallList )(GLuint list);
00423 static void ( APIENTRY * dllCallLists )(GLsizei n, GLenum type, const GLvoid *lists);
00424 static void ( APIENTRY * dllClear )(GLbitfield mask);
00425 static void ( APIENTRY * dllClearAccum )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00426 static void ( APIENTRY * dllClearColor )(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
00427 static void ( APIENTRY * dllClearDepth )(GLclampd depth);
00428 static void ( APIENTRY * dllClearIndex )(GLfloat c);
00429 static void ( APIENTRY * dllClearStencil )(GLint s);
00430 static void ( APIENTRY * dllClipPlane )(GLenum plane, const GLdouble *equation);
00431 static void ( APIENTRY * dllColor3b )(GLbyte red, GLbyte green, GLbyte blue);
00432 static void ( APIENTRY * dllColor3bv )(const GLbyte *v);
00433 static void ( APIENTRY * dllColor3d )(GLdouble red, GLdouble green, GLdouble blue);
00434 static void ( APIENTRY * dllColor3dv )(const GLdouble *v);
00435 static void ( APIENTRY * dllColor3f )(GLfloat red, GLfloat green, GLfloat blue);
00436 static void ( APIENTRY * dllColor3fv )(const GLfloat *v);
00437 static void ( APIENTRY * dllColor3i )(GLint red, GLint green, GLint blue);
00438 static void ( APIENTRY * dllColor3iv )(const GLint *v);
00439 static void ( APIENTRY * dllColor3s )(GLshort red, GLshort green, GLshort blue);
00440 static void ( APIENTRY * dllColor3sv )(const GLshort *v);
00441 static void ( APIENTRY * dllColor3ub )(GLubyte red, GLubyte green, GLubyte blue);
00442 static void ( APIENTRY * dllColor3ubv )(const GLubyte *v);
00443 static void ( APIENTRY * dllColor3ui )(GLuint red, GLuint green, GLuint blue);
00444 static void ( APIENTRY * dllColor3uiv )(const GLuint *v);
00445 static void ( APIENTRY * dllColor3us )(GLushort red, GLushort green, GLushort blue);
00446 static void ( APIENTRY * dllColor3usv )(const GLushort *v);
00447 static void ( APIENTRY * dllColor4b )(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
00448 static void ( APIENTRY * dllColor4bv )(const GLbyte *v);
00449 static void ( APIENTRY * dllColor4d )(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
00450 static void ( APIENTRY * dllColor4dv )(const GLdouble *v);
00451 static void ( APIENTRY * dllColor4f )(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
00452 static void ( APIENTRY * dllColor4fv )(const GLfloat *v);
00453 static void ( APIENTRY * dllColor4i )(GLint red, GLint green, GLint blue, GLint alpha);
00454 static void ( APIENTRY * dllColor4iv )(const GLint *v);
00455 static void ( APIENTRY * dllColor4s )(GLshort red, GLshort green, GLshort blue, GLshort alpha);
00456 static void ( APIENTRY * dllColor4sv )(const GLshort *v);
00457 static void ( APIENTRY * dllColor4ub )(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
00458 static void ( APIENTRY * dllColor4ubv )(const GLubyte *v);
00459 static void ( APIENTRY * dllColor4ui )(GLuint red, GLuint green, GLuint blue, GLuint alpha);
00460 static void ( APIENTRY * dllColor4uiv )(const GLuint *v);
00461 static void ( APIENTRY * dllColor4us )(GLushort red, GLushort green, GLushort blue, GLushort alpha);
00462 static void ( APIENTRY * dllColor4usv )(const GLushort *v);
00463 static void ( APIENTRY * dllColorMask )(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
00464 static void ( APIENTRY * dllColorMaterial )(GLenum face, GLenum mode);
00465 static void ( APIENTRY * dllColorPointer )(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
00466 static void ( APIENTRY * dllCopyPixels )(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
00467 static void ( APIENTRY * dllCopyTexImage1D )(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
00468 static void ( APIENTRY * dllCopyTexImage2D )(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
00469 static void ( APIENTRY * dllCopyTexSubImage1D )(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
00470 static void ( APIENTRY * dllCopyTexSubImage2D )(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
00471 static void ( APIENTRY * dllCullFace )(GLenum mode);
00472 static void ( APIENTRY * dllDeleteLists )(GLuint list, GLsizei range);
00473 static void ( APIENTRY * dllDeleteTextures )(GLsizei n, const GLuint *textures);
00474 static void ( APIENTRY * dllDepthFunc )(GLenum func);
00475 static void ( APIENTRY * dllDepthMask )(GLboolean flag);
00476 static void ( APIENTRY * dllDepthRange )(GLclampd zNear, GLclampd zFar);
00477 static void ( APIENTRY * dllDisable )(GLenum cap);
00478 static void ( APIENTRY * dllDisableClientState )(GLenum array);
00479 static void ( APIENTRY * dllDrawArrays )(GLenum mode, GLint first, GLsizei count);
00480 static void ( APIENTRY * dllDrawBuffer )(GLenum mode);
00481 static void ( APIENTRY * dllDrawElements )(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
00482 static void ( APIENTRY * dllDrawPixels )(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
00483 static void ( APIENTRY * dllEdgeFlag )(GLboolean flag);
00484 static void ( APIENTRY * dllEdgeFlagPointer )(GLsizei stride, const GLvoid *pointer);
00485 static void ( APIENTRY * dllEdgeFlagv )(const GLboolean *flag);
00486 static void ( APIENTRY * dllEnable )(GLenum cap);
00487 static void ( APIENTRY * dllEnableClientState )(GLenum array);
00488 static void ( APIENTRY * dllEnd )(void);
00489 static void ( APIENTRY * dllEndList )(void);
00490 static void ( APIENTRY * dllEvalCoord1d )(GLdouble u);
00491 static void ( APIENTRY * dllEvalCoord1dv )(const GLdouble *u);
00492 static void ( APIENTRY * dllEvalCoord1f )(GLfloat u);
00493 static void ( APIENTRY * dllEvalCoord1fv )(const GLfloat *u);
00494 static void ( APIENTRY * dllEvalCoord2d )(GLdouble u, GLdouble v);
00495 static void ( APIENTRY * dllEvalCoord2dv )(const GLdouble *u);
00496 static void ( APIENTRY * dllEvalCoord2f )(GLfloat u, GLfloat v);
00497 static void ( APIENTRY * dllEvalCoord2fv )(const GLfloat *u);
00498 static void ( APIENTRY * dllEvalMesh1 )(GLenum mode, GLint i1, GLint i2);
00499 static void ( APIENTRY * dllEvalMesh2 )(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
00500 static void ( APIENTRY * dllEvalPoint1 )(GLint i);
00501 static void ( APIENTRY * dllEvalPoint2 )(GLint i, GLint j);
00502 static void ( APIENTRY * dllFeedbackBuffer )(GLsizei size, GLenum type, GLfloat *buffer);
00503 static void ( APIENTRY * dllFinish )(void);
00504 static void ( APIENTRY * dllFlush )(void);
00505 static void ( APIENTRY * dllFogf )(GLenum pname, GLfloat param);
00506 static void ( APIENTRY * dllFogfv )(GLenum pname, const GLfloat *params);
00507 static void ( APIENTRY * dllFogi )(GLenum pname, GLint param);
00508 static void ( APIENTRY * dllFogiv )(GLenum pname, const GLint *params);
00509 static void ( APIENTRY * dllFrontFace )(GLenum mode);
00510 static void ( APIENTRY * dllFrustum )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
00511 GLuint ( APIENTRY * dllGenLists )(GLsizei range);
00512 static void ( APIENTRY * dllGenTextures )(GLsizei n, GLuint *textures);
00513 static void ( APIENTRY * dllGetBooleanv )(GLenum pname, GLboolean *params);
00514 static void ( APIENTRY * dllGetClipPlane )(GLenum plane, GLdouble *equation);
00515 static void ( APIENTRY * dllGetDoublev )(GLenum pname, GLdouble *params);
00516 GLenum ( APIENTRY * dllGetError )(void);
00517 static void ( APIENTRY * dllGetFloatv )(GLenum pname, GLfloat *params);
00518 static void ( APIENTRY * dllGetIntegerv )(GLenum pname, GLint *params);
00519 static void ( APIENTRY * dllGetLightfv )(GLenum light, GLenum pname, GLfloat *params);
00520 static void ( APIENTRY * dllGetLightiv )(GLenum light, GLenum pname, GLint *params);
00521 static void ( APIENTRY * dllGetMapdv )(GLenum target, GLenum query, GLdouble *v);
00522 static void ( APIENTRY * dllGetMapfv )(GLenum target, GLenum query, GLfloat *v);
00523 static void ( APIENTRY * dllGetMapiv )(GLenum target, GLenum query, GLint *v);
00524 static void ( APIENTRY * dllGetMaterialfv )(GLenum face, GLenum pname, GLfloat *params);
00525 static void ( APIENTRY * dllGetMaterialiv )(GLenum face, GLenum pname, GLint *params);
00526 static void ( APIENTRY * dllGetPixelMapfv )(GLenum map, GLfloat *values);
00527 static void ( APIENTRY * dllGetPixelMapuiv )(GLenum map, GLuint *values);
00528 static void ( APIENTRY * dllGetPixelMapusv )(GLenum map, GLushort *values);
00529 static void ( APIENTRY * dllGetPointerv )(GLenum pname, GLvoid* *params);
00530 static void ( APIENTRY * dllGetPolygonStipple )(GLubyte *mask);
00531 const GLubyte * ( APIENTRY * dllGetString )(GLenum name);
00532 static void ( APIENTRY * dllGetTexEnvfv )(GLenum target, GLenum pname, GLfloat *params);
00533 static void ( APIENTRY * dllGetTexEnviv )(GLenum target, GLenum pname, GLint *params);
00534 static void ( APIENTRY * dllGetTexGendv )(GLenum coord, GLenum pname, GLdouble *params);
00535 static void ( APIENTRY * dllGetTexGenfv )(GLenum coord, GLenum pname, GLfloat *params);
00536 static void ( APIENTRY * dllGetTexGeniv )(GLenum coord, GLenum pname, GLint *params);
00537 static void ( APIENTRY * dllGetTexImage )(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
00538 static void ( APIENTRY * dllGetTexLevelParameterfv )(GLenum target, GLint level, GLenum pname, GLfloat *params);
00539 static void ( APIENTRY * dllGetTexLevelParameteriv )(GLenum target, GLint level, GLenum pname, GLint *params);
00540 static void ( APIENTRY * dllGetTexParameterfv )(GLenum target, GLenum pname, GLfloat *params);
00541 static void ( APIENTRY * dllGetTexParameteriv )(GLenum target, GLenum pname, GLint *params);
00542 static void ( APIENTRY * dllHint )(GLenum target, GLenum mode);
00543 static void ( APIENTRY * dllIndexMask )(GLuint mask);
00544 static void ( APIENTRY * dllIndexPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
00545 static void ( APIENTRY * dllIndexd )(GLdouble c);
00546 static void ( APIENTRY * dllIndexdv )(const GLdouble *c);
00547 static void ( APIENTRY * dllIndexf )(GLfloat c);
00548 static void ( APIENTRY * dllIndexfv )(const GLfloat *c);
00549 static void ( APIENTRY * dllIndexi )(GLint c);
00550 static void ( APIENTRY * dllIndexiv )(const GLint *c);
00551 static void ( APIENTRY * dllIndexs )(GLshort c);
00552 static void ( APIENTRY * dllIndexsv )(const GLshort *c);
00553 static void ( APIENTRY * dllIndexub )(GLubyte c);
00554 static void ( APIENTRY * dllIndexubv )(const GLubyte *c);
00555 static void ( APIENTRY * dllInitNames )(void);
00556 static void ( APIENTRY * dllInterleavedArrays )(GLenum format, GLsizei stride, const GLvoid *pointer);
00557 GLboolean ( APIENTRY * dllIsEnabled )(GLenum cap);
00558 GLboolean ( APIENTRY * dllIsList )(GLuint list);
00559 GLboolean ( APIENTRY * dllIsTexture )(GLuint texture);
00560 static void ( APIENTRY * dllLightModelf )(GLenum pname, GLfloat param);
00561 static void ( APIENTRY * dllLightModelfv )(GLenum pname, const GLfloat *params);
00562 static void ( APIENTRY * dllLightModeli )(GLenum pname, GLint param);
00563 static void ( APIENTRY * dllLightModeliv )(GLenum pname, const GLint *params);
00564 static void ( APIENTRY * dllLightf )(GLenum light, GLenum pname, GLfloat param);
00565 static void ( APIENTRY * dllLightfv )(GLenum light, GLenum pname, const GLfloat *params);
00566 static void ( APIENTRY * dllLighti )(GLenum light, GLenum pname, GLint param);
00567 static void ( APIENTRY * dllLightiv )(GLenum light, GLenum pname, const GLint *params);
00568 static void ( APIENTRY * dllLineStipple )(GLint factor, GLushort pattern);
00569 static void ( APIENTRY * dllLineWidth )(GLfloat width);
00570 static void ( APIENTRY * dllListBase )(GLuint base);
00571 static void ( APIENTRY * dllLoadIdentity )(void);
00572 static void ( APIENTRY * dllLoadMatrixd )(const GLdouble *m);
00573 static void ( APIENTRY * dllLoadMatrixf )(const GLfloat *m);
00574 static void ( APIENTRY * dllLoadName )(GLuint name);
00575 static void ( APIENTRY * dllLogicOp )(GLenum opcode);
00576 static void ( APIENTRY * dllMap1d )(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
00577 static void ( APIENTRY * dllMap1f )(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
00578 static void ( APIENTRY * dllMap2d )(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
00579 static void ( APIENTRY * dllMap2f )(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
00580 static void ( APIENTRY * dllMapGrid1d )(GLint un, GLdouble u1, GLdouble u2);
00581 static void ( APIENTRY * dllMapGrid1f )(GLint un, GLfloat u1, GLfloat u2);
00582 static void ( APIENTRY * dllMapGrid2d )(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
00583 static void ( APIENTRY * dllMapGrid2f )(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
00584 static void ( APIENTRY * dllMaterialf )(GLenum face, GLenum pname, GLfloat param);
00585 static void ( APIENTRY * dllMaterialfv )(GLenum face, GLenum pname, const GLfloat *params);
00586 static void ( APIENTRY * dllMateriali )(GLenum face, GLenum pname, GLint param);
00587 static void ( APIENTRY * dllMaterialiv )(GLenum face, GLenum pname, const GLint *params);
00588 static void ( APIENTRY * dllMatrixMode )(GLenum mode);
00589 static void ( APIENTRY * dllMultMatrixd )(const GLdouble *m);
00590 static void ( APIENTRY * dllMultMatrixf )(const GLfloat *m);
00591 static void ( APIENTRY * dllNewList )(GLuint list, GLenum mode);
00592 static void ( APIENTRY * dllNormal3b )(GLbyte nx, GLbyte ny, GLbyte nz);
00593 static void ( APIENTRY * dllNormal3bv )(const GLbyte *v);
00594 static void ( APIENTRY * dllNormal3d )(GLdouble nx, GLdouble ny, GLdouble nz);
00595 static void ( APIENTRY * dllNormal3dv )(const GLdouble *v);
00596 static void ( APIENTRY * dllNormal3f )(GLfloat nx, GLfloat ny, GLfloat nz);
00597 static void ( APIENTRY * dllNormal3fv )(const GLfloat *v);
00598 static void ( APIENTRY * dllNormal3i )(GLint nx, GLint ny, GLint nz);
00599 static void ( APIENTRY * dllNormal3iv )(const GLint *v);
00600 static void ( APIENTRY * dllNormal3s )(GLshort nx, GLshort ny, GLshort nz);
00601 static void ( APIENTRY * dllNormal3sv )(const GLshort *v);
00602 static void ( APIENTRY * dllNormalPointer )(GLenum type, GLsizei stride, const GLvoid *pointer);
00603 static void ( APIENTRY * dllOrtho )(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
00604 static void ( APIENTRY * dllPassThrough )(GLfloat token);
00605 static void ( APIENTRY * dllPixelMapfv )(GLenum map, GLsizei mapsize, const GLfloat *values);
00606 static void ( APIENTRY * dllPixelMapuiv )(GLenum map, GLsizei mapsize, const GLuint *values);
00607 static void ( APIENTRY * dllPixelMapusv )(GLenum map, GLsizei mapsize, const GLushort *values);
00608 static void ( APIENTRY * dllPixelStoref )(GLenum pname, GLfloat param);
00609 static void ( APIENTRY * dllPixelStorei )(GLenum pname, GLint param);
00610 static void ( APIENTRY * dllPixelTransferf )(GLenum pname, GLfloat param);
00611 static void ( APIENTRY * dllPixelTransferi )(GLenum pname, GLint param);
00612 static void ( APIENTRY * dllPixelZoom )(GLfloat xfactor, GLfloat yfactor);
00613 static void ( APIENTRY * dllPointSize )(GLfloat size);
00614 static void ( APIENTRY * dllPolygonMode )(GLenum face, GLenum mode);
00615 static void ( APIENTRY * dllPolygonOffset )(GLfloat factor, GLfloat units);
00616 static void ( APIENTRY * dllPolygonStipple )(const GLubyte *mask);
00617 static <