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

win_qgl.c File Reference

#include <float.h>
#include "../renderer/tr_local.h"
#include "glw_win.h"

Include dependency graph for win_qgl.c:

Include dependency graph

Go to the source code of this file.

Defines

#define GPA(a)   GetProcAddress( glw_state.hinstOpenGL, a )
#define GR_NUM_BOARDS   0x0f
#define SIG(x)   fprintf( glw_state.log_fp, x "\n" )

Functions

void BlendToName (char *n, GLenum f)
 BOOL (WINAPI *qwglGetDeviceGammaRamp3DFX)(HDC
const char * BooleanToString (GLboolean b)
const char * CapToString (GLenum cap)
const GLubyte *APIENTRY * dllGetString (GLenum name)
const char * FuncToString (GLenum f)
 GLboolean (APIENTRY *qglAreTexturesResident)(GLsizei n
 GLenum (APIENTRY *qglGetError)(void)
qboolean GlideIsValid (void)
 GLint (APIENTRY *qglRenderMode)(GLenum mode)
 GLuint (APIENTRY *qglGenLists)(GLsizei range)
 HDC (WINAPI *qwglGetCurrentDC)(VOID)
 HGLRC (WINAPI *qwglCreateContext)(HDC)
 int (WINAPI *qwglSwapIntervalEXT)(int interval)
void APIENTRY logAccum (GLenum op, GLfloat value)
void APIENTRY logAlphaFunc (GLenum func, GLclampf ref)
GLboolean APIENTRY logAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences)
void APIENTRY logArrayElement (GLint i)
void APIENTRY logBegin (GLenum mode)
void APIENTRY logBindTexture (GLenum target, GLuint texture)
void APIENTRY logBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
void APIENTRY logBlendFunc (GLenum sfactor, GLenum dfactor)
void APIENTRY logCallList (GLuint list)
void APIENTRY logCallLists (GLsizei n, GLenum type, const void *lists)
void APIENTRY logClear (GLbitfield mask)
void APIENTRY logClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
void APIENTRY logClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
void APIENTRY logClearDepth (GLclampd depth)
void APIENTRY logClearIndex (GLfloat c)
void APIENTRY logClearStencil (GLint s)
void APIENTRY logClipPlane (GLenum plane, const GLdouble *equation)
void APIENTRY logColor3b (GLbyte red, GLbyte green, GLbyte blue)
void APIENTRY logColor3bv (const GLbyte *v)
void APIENTRY logColor3d (GLdouble red, GLdouble green, GLdouble blue)
void APIENTRY logColor3dv (const GLdouble *v)
void APIENTRY logColor3f (GLfloat red, GLfloat green, GLfloat blue)
void APIENTRY logColor3fv (const GLfloat *v)
void APIENTRY logColor3i (GLint red, GLint green, GLint blue)
void APIENTRY logColor3iv (const GLint *v)
void APIENTRY logColor3s (GLshort red, GLshort green, GLshort blue)
void APIENTRY logColor3sv (const GLshort *v)
void APIENTRY logColor3ub (GLubyte red, GLubyte green, GLubyte blue)
void APIENTRY logColor3ubv (const GLubyte *v)
void APIENTRY logColor3ui (GLuint red, GLuint green, GLuint blue)
void APIENTRY logColor3uiv (const GLuint *v)
void APIENTRY logColor3us (GLushort red, GLushort green, GLushort blue)
void APIENTRY logColor3usv (const GLushort *v)
void APIENTRY logColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
void APIENTRY logColor4bv (const GLbyte *v)
void APIENTRY logColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
void APIENTRY logColor4dv (const GLdouble *v)
void APIENTRY logColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
void APIENTRY logColor4fv (const GLfloat *v)
void APIENTRY logColor4i (GLint red, GLint green, GLint blue, GLint alpha)
void APIENTRY logColor4iv (const GLint *v)
void APIENTRY logColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha)
void APIENTRY logColor4sv (const GLshort *v)
void APIENTRY logColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
void APIENTRY logColor4ubv (const GLubyte *v)
void APIENTRY logColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha)
void APIENTRY logColor4uiv (const GLuint *v)
void APIENTRY logColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha)
void APIENTRY logColor4usv (const GLushort *v)
void APIENTRY logColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
void APIENTRY logColorMaterial (GLenum face, GLenum mode)
void APIENTRY logColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer)
void APIENTRY logCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
void APIENTRY logCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border)
void APIENTRY logCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
void APIENTRY logCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
void APIENTRY logCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
void APIENTRY logCullFace (GLenum mode)
void APIENTRY logDeleteLists (GLuint list, GLsizei range)
void APIENTRY logDeleteTextures (GLsizei n, const GLuint *textures)
void APIENTRY logDepthFunc (GLenum func)
void APIENTRY logDepthMask (GLboolean flag)
void APIENTRY logDepthRange (GLclampd zNear, GLclampd zFar)
void APIENTRY logDisable (GLenum cap)
void APIENTRY logDisableClientState (GLenum array)
void APIENTRY logDrawArrays (GLenum mode, GLint first, GLsizei count)
void APIENTRY logDrawBuffer (GLenum mode)
void APIENTRY logDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices)
void APIENTRY logDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
void APIENTRY logEdgeFlag (GLboolean flag)
void APIENTRY logEdgeFlagPointer (GLsizei stride, const void *pointer)
void APIENTRY logEdgeFlagv (const GLboolean *flag)
void APIENTRY logEnable (GLenum cap)
void APIENTRY logEnableClientState (GLenum array)
void APIENTRY logEnd (void)
void APIENTRY logEndList (void)
void APIENTRY logEvalCoord1d (GLdouble u)
void APIENTRY logEvalCoord1dv (const GLdouble *u)
void APIENTRY logEvalCoord1f (GLfloat u)
void APIENTRY logEvalCoord1fv (const GLfloat *u)
void APIENTRY logEvalCoord2d (GLdouble u, GLdouble v)
void APIENTRY logEvalCoord2dv (const GLdouble *u)
void APIENTRY logEvalCoord2f (GLfloat u, GLfloat v)
void APIENTRY logEvalCoord2fv (const GLfloat *u)
void APIENTRY logEvalMesh1 (GLenum mode, GLint i1, GLint i2)
void APIENTRY logEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
void APIENTRY logEvalPoint1 (GLint i)
void APIENTRY logEvalPoint2 (GLint i, GLint j)
void APIENTRY logFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer)
void APIENTRY logFinish (void)
void APIENTRY logFlush (void)
void APIENTRY logFogf (GLenum pname, GLfloat param)
void APIENTRY logFogfv (GLenum pname, const GLfloat *params)
void APIENTRY logFogi (GLenum pname, GLint param)
void APIENTRY logFogiv (GLenum pname, const GLint *params)
void APIENTRY logFrontFace (GLenum mode)
void APIENTRY logFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
GLuint APIENTRY logGenLists (GLsizei range)
void APIENTRY logGenTextures (GLsizei n, GLuint *textures)
void APIENTRY logGetBooleanv (GLenum pname, GLboolean *params)
void APIENTRY logGetClipPlane (GLenum plane, GLdouble *equation)
void APIENTRY logGetDoublev (GLenum pname, GLdouble *params)
GLenum APIENTRY logGetError (void)
void APIENTRY logGetFloatv (GLenum pname, GLfloat *params)
void APIENTRY logGetIntegerv (GLenum pname, GLint *params)
void APIENTRY logGetLightfv (GLenum light, GLenum pname, GLfloat *params)
void APIENTRY logGetLightiv (GLenum light, GLenum pname, GLint *params)
void APIENTRY logGetMapdv (GLenum target, GLenum query, GLdouble *v)
void APIENTRY logGetMapfv (GLenum target, GLenum query, GLfloat *v)
void APIENTRY logGetMapiv (GLenum target, GLenum query, GLint *v)
void APIENTRY logGetMaterialfv (GLenum face, GLenum pname, GLfloat *params)
void APIENTRY logGetMaterialiv (GLenum face, GLenum pname, GLint *params)
void APIENTRY logGetPixelMapfv (GLenum map, GLfloat *values)
void APIENTRY logGetPixelMapuiv (GLenum map, GLuint *values)
void APIENTRY logGetPixelMapusv (GLenum map, GLushort *values)
void APIENTRY logGetPointerv (GLenum pname, GLvoid **params)
void APIENTRY logGetPolygonStipple (GLubyte *mask)
const GLubyte *APIENTRY logGetString (GLenum name)
void APIENTRY logGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params)
void APIENTRY logGetTexEnviv (GLenum target, GLenum pname, GLint *params)
void APIENTRY logGetTexGendv (GLenum coord, GLenum pname, GLdouble *params)
void APIENTRY logGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params)
void APIENTRY logGetTexGeniv (GLenum coord, GLenum pname, GLint *params)
void APIENTRY logGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels)
void APIENTRY logGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params)
void APIENTRY logGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params)
void APIENTRY logGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params)
void APIENTRY logGetTexParameteriv (GLenum target, GLenum pname, GLint *params)
void APIENTRY logHint (GLenum target, GLenum mode)
void APIENTRY logIndexd (GLdouble c)
void APIENTRY logIndexdv (const GLdouble *c)
void APIENTRY logIndexf (GLfloat c)
void APIENTRY logIndexfv (const GLfloat *c)
void APIENTRY logIndexi (GLint c)
void APIENTRY logIndexiv (const GLint *c)
void APIENTRY logIndexMask (GLuint mask)
void APIENTRY logIndexPointer (GLenum type, GLsizei stride, const void *pointer)
void APIENTRY logIndexs (GLshort c)
void APIENTRY logIndexsv (const GLshort *c)
void APIENTRY logIndexub (GLubyte c)
void APIENTRY logIndexubv (const GLubyte *c)
void APIENTRY logInitNames (void)
void APIENTRY logInterleavedArrays (GLenum format, GLsizei stride, const void *pointer)
GLboolean APIENTRY logIsEnabled (GLenum cap)
GLboolean APIENTRY logIsList (GLuint list)
GLboolean APIENTRY logIsTexture (GLuint texture)
void APIENTRY logLightf (GLenum light, GLenum pname, GLfloat param)
void APIENTRY logLightfv (GLenum light, GLenum pname, const GLfloat *params)
void APIENTRY logLighti (GLenum light, GLenum pname, GLint param)
void APIENTRY logLightiv (GLenum light, GLenum pname, const GLint *params)
void APIENTRY logLightModelf (GLenum pname, GLfloat param)
void APIENTRY logLightModelfv (GLenum pname, const GLfloat *params)
void APIENTRY logLightModeli (GLenum pname, GLint param)
void APIENTRY logLightModeliv (GLenum pname, const GLint *params)
void APIENTRY logLineStipple (GLint factor, GLushort pattern)
void APIENTRY logLineWidth (GLfloat width)
void APIENTRY logListBase (GLuint base)
void APIENTRY logLoadIdentity (void)
void APIENTRY logLoadMatrixd (const GLdouble *m)
void APIENTRY logLoadMatrixf (const GLfloat *m)
void APIENTRY logLoadName (GLuint name)
void APIENTRY logLogicOp (GLenum opcode)
void APIENTRY logMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
void APIENTRY logMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
void APIENTRY logMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
void APIENTRY logMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
void APIENTRY logMapGrid1d (GLint un, GLdouble u1, GLdouble u2)
void APIENTRY logMapGrid1f (GLint un, GLfloat u1, GLfloat u2)
void APIENTRY logMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
void APIENTRY logMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
void APIENTRY logMaterialf (GLenum face, GLenum pname, GLfloat param)
void APIENTRY logMaterialfv (GLenum face, GLenum pname, const GLfloat *params)
void APIENTRY logMateriali (GLenum face, GLenum pname, GLint param)
void APIENTRY logMaterialiv (GLenum face, GLenum pname, const GLint *params)
void APIENTRY logMatrixMode (GLenum mode)
void APIENTRY logMultMatrixd (const GLdouble *m)
void APIENTRY logMultMatrixf (const GLfloat *m)
void APIENTRY logNewList (GLuint list, GLenum mode)
void APIENTRY logNormal3b (GLbyte nx, GLbyte ny, GLbyte nz)
void APIENTRY logNormal3bv (const GLbyte *v)
void APIENTRY logNormal3d (GLdouble nx, GLdouble ny, GLdouble nz)
void APIENTRY logNormal3dv (const GLdouble *v)
void APIENTRY logNormal3f (GLfloat nx, GLfloat ny, GLfloat nz)
void APIENTRY logNormal3fv (const GLfloat *v)
void APIENTRY logNormal3i (GLint nx, GLint ny, GLint nz)
void APIENTRY logNormal3iv (const GLint *v)
void APIENTRY logNormal3s (GLshort nx, GLshort ny, GLshort nz)
void APIENTRY logNormal3sv (const GLshort *v)
void APIENTRY logNormalPointer (GLenum type, GLsizei stride, const void *pointer)
void APIENTRY logOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
void APIENTRY logPassThrough (GLfloat token)
void APIENTRY logPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values)
void APIENTRY logPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values)
void APIENTRY logPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values)
void APIENTRY logPixelStoref (GLenum pname, GLfloat param)
void APIENTRY logPixelStorei (GLenum pname, GLint param)
void APIENTRY logPixelTransferf (GLenum pname, GLfloat param)
void APIENTRY logPixelTransferi (GLenum pname, GLint param)
void APIENTRY logPixelZoom (GLfloat xfactor, GLfloat yfactor)
void APIENTRY logPointSize (GLfloat size)
void APIENTRY logPolygonMode (GLenum face, GLenum mode)
void APIENTRY logPolygonOffset (GLfloat factor, GLfloat units)
void APIENTRY logPolygonStipple (const GLubyte *mask)
void APIENTRY logPopAttrib (void)
void APIENTRY logPopClientAttrib (void)
void APIENTRY logPopMatrix (void)
void APIENTRY logPopName (void)
void APIENTRY logPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities)
void APIENTRY logPushAttrib (GLbitfield mask)
void APIENTRY logPushClientAttrib (GLbitfield mask)
void APIENTRY logPushMatrix (void)
void APIENTRY logPushName (GLuint name)
void APIENTRY logRasterPos2d (GLdouble x, GLdouble y)
void APIENTRY logRasterPos2dv (const GLdouble *v)
void APIENTRY logRasterPos2f (GLfloat x, GLfloat y)
void APIENTRY logRasterPos2fv (const GLfloat *v)
void APIENTRY logRasterPos2i (GLint x, GLint y)
void APIENTRY logRasterPos2iv (const GLint *v)
void APIENTRY logRasterPos2s (GLshort x, GLshort y)
void APIENTRY logRasterPos2sv (const GLshort *v)
void APIENTRY logRasterPos3d (GLdouble x, GLdouble y, GLdouble z)
void APIENTRY logRasterPos3dv (const GLdouble *v)
void APIENTRY logRasterPos3f (GLfloat x, GLfloat y, GLfloat z)
void APIENTRY logRasterPos3fv (const GLfloat *v)
void APIENTRY logRasterPos3i (GLint x, GLint y, GLint z)
void APIENTRY logRasterPos3iv (const GLint *v)
void APIENTRY logRasterPos3s (GLshort x, GLshort y, GLshort z)
void APIENTRY logRasterPos3sv (const GLshort *v)
void APIENTRY logRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
void APIENTRY logRasterPos4dv (const GLdouble *v)
void APIENTRY logRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
void APIENTRY logRasterPos4fv (const GLfloat *v)
void APIENTRY logRasterPos4i (GLint x, GLint y, GLint z, GLint w)
void APIENTRY logRasterPos4iv (const GLint *v)
void APIENTRY logRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w)
void APIENTRY logRasterPos4sv (const GLshort *v)
void APIENTRY logReadBuffer (GLenum mode)
void APIENTRY logReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels)
void APIENTRY logRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
void APIENTRY logRectdv (const GLdouble *v1, const GLdouble *v2)
void APIENTRY logRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
void APIENTRY logRectfv (const GLfloat *v1, const GLfloat *v2)
void APIENTRY logRecti (GLint x1, GLint y1, GLint x2, GLint y2)
void APIENTRY logRectiv (const GLint *v1, const GLint *v2)
void APIENTRY logRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2)
void APIENTRY logRectsv (const GLshort *v1, const GLshort *v2)
GLint APIENTRY logRenderMode (GLenum mode)
void APIENTRY logRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
void APIENTRY logRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
void APIENTRY logScaled (GLdouble x, GLdouble y, GLdouble z)
void APIENTRY logScalef (GLfloat x, GLfloat y, GLfloat z)
void APIENTRY logScissor (GLint x, GLint y, GLsizei width, GLsizei height)
void APIENTRY logSelectBuffer (GLsizei size, GLuint *buffer)
void APIENTRY logShadeModel (GLenum mode)
void APIENTRY logStencilFunc (GLenum func, GLint ref, GLuint mask)
void APIENTRY logStencilMask (GLuint mask)
void APIENTRY logStencilOp (GLenum fail, GLenum zfail, GLenum zpass)
void APIENTRY logTexCoord1d (GLdouble s)
void APIENTRY logTexCoord1dv (const GLdouble *v)
void APIENTRY logTexCoord1f (GLfloat s)
void APIENTRY logTexCoord1fv (const GLfloat *v)
void APIENTRY logTexCoord1i (GLint s)
void APIENTRY logTexCoord1iv (const GLint *v)
void APIENTRY logTexCoord1s (GLshort s)
void APIENTRY logTexCoord1sv (const GLshort *v)
void APIENTRY logTexCoord2d (GLdouble s, GLdouble t)
void APIENTRY logTexCoord2dv (const GLdouble *v)
void APIENTRY logTexCoord2f (GLfloat s, GLfloat t)
void APIENTRY logTexCoord2fv (const GLfloat *v)
void APIENTRY logTexCoord2i (GLint s, GLint t)
void APIENTRY logTexCoord2iv (const GLint *v)
void APIENTRY logTexCoord2s (GLshort s, GLshort t)
void APIENTRY logTexCoord2sv (const GLshort *v)
void APIENTRY logTexCoord3d (GLdouble s, GLdouble t, GLdouble r)
void APIENTRY logTexCoord3dv (const GLdouble *v)
void APIENTRY logTexCoord3f (GLfloat s, GLfloat t, GLfloat r)
void APIENTRY logTexCoord3fv (const GLfloat *v)
void APIENTRY logTexCoord3i (GLint s, GLint t, GLint r)
void APIENTRY logTexCoord3iv (const GLint *v)
void APIENTRY logTexCoord3s (GLshort s, GLshort t, GLshort r)
void APIENTRY logTexCoord3sv (const GLshort *v)
void APIENTRY logTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q)
void APIENTRY logTexCoord4dv (const GLdouble *v)
void APIENTRY logTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q)
void APIENTRY logTexCoord4fv (const GLfloat *v)
void APIENTRY logTexCoord4i (GLint s, GLint t, GLint r, GLint q)
void APIENTRY logTexCoord4iv (const GLint *v)
void APIENTRY logTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q)
void APIENTRY logTexCoord4sv (const GLshort *v)
void APIENTRY logTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer)
void APIENTRY logTexEnvf (GLenum target, GLenum pname, GLfloat param)
void APIENTRY logTexEnvfv (GLenum target, GLenum pname, const GLfloat *params)
void APIENTRY logTexEnvi (GLenum target, GLenum pname, GLint param)
void APIENTRY logTexEnviv (GLenum target, GLenum pname, const GLint *params)
void APIENTRY logTexGend (GLenum coord, GLenum pname, GLdouble param)
void APIENTRY logTexGendv (GLenum coord, GLenum pname, const GLdouble *params)
void APIENTRY logTexGenf (GLenum coord, GLenum pname, GLfloat param)
void APIENTRY logTexGenfv (GLenum coord, GLenum pname, const GLfloat *params)
void APIENTRY logTexGeni (GLenum coord, GLenum pname, GLint param)
void APIENTRY logTexGeniv (GLenum coord, GLenum pname, const GLint *params)
void APIENTRY logTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels)
void APIENTRY logTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels)
void APIENTRY logTexParameterf (GLenum target, GLenum pname, GLfloat param)
void APIENTRY logTexParameterfv (GLenum target, GLenum pname, const GLfloat *params)
void APIENTRY logTexParameteri (GLenum target, GLenum pname, GLint param)
void APIENTRY logTexParameteriv (GLenum target, GLenum pname, const GLint *params)
void APIENTRY logTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels)
void APIENTRY logTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
void APIENTRY logTranslated (GLdouble x, GLdouble y, GLdouble z)
void APIENTRY logTranslatef (GLfloat x, GLfloat y, GLfloat z)
void APIENTRY logVertex2d (GLdouble x, GLdouble y)
void APIENTRY logVertex2dv (const GLdouble *v)
void APIENTRY logVertex2f (GLfloat x, GLfloat y)
void APIENTRY logVertex2fv (const GLfloat *v)
void APIENTRY logVertex2i (GLint x, GLint y)
void APIENTRY logVertex2iv (const GLint *v)
void APIENTRY logVertex2s (GLshort x, GLshort y)
void APIENTRY logVertex2sv (const GLshort *v)
void APIENTRY logVertex3d (GLdouble x, GLdouble y, GLdouble z)
void APIENTRY logVertex3dv (const GLdouble *v)
void APIENTRY logVertex3f (GLfloat x, GLfloat y, GLfloat z)
void APIENTRY logVertex3fv (const GLfloat *v)
void APIENTRY logVertex3i (GLint x, GLint y, GLint z)
void APIENTRY logVertex3iv (const GLint *v)
void APIENTRY logVertex3s (GLshort x, GLshort y, GLshort z)
void APIENTRY logVertex3sv (const GLshort *v)
void APIENTRY logVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
void APIENTRY logVertex4dv (const GLdouble *v)
void APIENTRY logVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
void APIENTRY logVertex4fv (const GLfloat *v)
void APIENTRY logVertex4i (GLint x, GLint y, GLint z, GLint w)
void APIENTRY logVertex4iv (const GLint *v)
void APIENTRY logVertex4s (GLshort x, GLshort y, GLshort z, GLshort w)
void APIENTRY logVertex4sv (const GLshort *v)
void APIENTRY logVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer)
void APIENTRY logViewport (GLint x, GLint y, GLsizei width, GLsizei height)
const char * PrimToString (GLenum mode)
 PROC (WINAPI *qwglGetProcAddress)(LPCSTR)
void QGL_EnableLogging (qboolean enable)
qboolean QGL_Init (const char *dllname)
void QGL_Shutdown (void)
const GLubyte *APIENTRY * qglGetString (GLenum name)
const char * TypeToString (GLenum t)
 void (APIENTRY *qglAccum)(GLenum op

Variables

GLfloat GLfloat GLfloat alpha
GLsizei GLfloat GLfloat GLfloat
GLfloat const GLubyte * 
bitmap
GLfloat GLfloat blue
 BOOL
GLint GLenum GLint GLint GLsizei
GLint 
border
GLdouble GLdouble bottom
GLenum GLfloatbuffer
GLint GLsizei count
GLenum dfactor
 DWORD
const GLdouble * equation
GLint first
 FLOAT
GLsizei GLenum format
GLfloat green
GLsizei height
 HGLRC
GLint i1
GLint GLint i2
GLsizei GLenum const GLvoid * indices
 int
GLint GLint internalformat
GLint GLenum internalFormat
GLint j
GLint GLint GLint j1
GLint GLint GLint GLint j2
GLint level
GLenum const GLvoid * lists
 LPGLYPHMETRICSFLOAT
 LPLAYERPLANEDESCRIPTOR
 LPPIXELFORMATDESCRIPTOR
 LPVOID
GLsizei mapsize
GLint GLuint mask
GLenum mode
GLbyte ny
GLbyte GLbyte nz
GLdouble GLdouble GLint GLint order
GLfloat param
const GLfloatparams
GLushort pattern
GLsizei GLenum GLenum const
GLvoid * 
pixels
GLenum pname
GLenum GLsizei const GLvoid * pointer
GLdouble GLdouble GLint GLint
const GLdouble * 
points
const GLuint const GLclampf * priorities
GLdouble GLdouble GLdouble q
GLenum query
GLdouble GLdouble r
GLsizei range
GLclampf ref
const GLuint GLboolean * residences
GLdouble right
GLenum GLsizei stride
GLdouble t
GLuint texture
const GLuint * textures
GLdouble GLdouble GLdouble top
GLenum type
GLdouble u1
GLdouble GLdouble u2
 UINT
GLfloat units
GLdouble GLdouble GLint GLint uorder
GLdouble GLdouble GLint ustride
GLdouble v
GLdouble GLdouble GLint GLint
GLdouble 
v1
GLdouble GLdouble GLint GLint
GLdouble GLdouble 
v2
GLfloat value
GLfloatvalues
GLdouble GLdouble GLint vn
GLdouble GLdouble GLint GLint
GLdouble GLdouble GLint GLint 
vorder
GLdouble GLdouble GLint GLint
GLdouble GLdouble GLint 
vstride
GLdouble GLdouble GLdouble w
GLint GLsizei width
GLint GLenum GLint x
GLdouble GLdouble x2
GLsizei GLfloat GLfloat GLfloat xmove
GLint GLint xoffset
GLsizei GLfloat xorig
GLint y
GLdouble y1
GLdouble GLdouble GLdouble y2
GLfloat yfactor
GLsizei GLfloat GLfloat GLfloat
GLfloat 
ymove
GLint GLint GLint yoffset
GLsizei GLfloat GLfloat yorig
GLdouble GLdouble z
GLenum zfail
GLclampd zFar
GLdouble GLdouble GLdouble
GLdouble 
zNear
GLenum GLenum zpass


Define Documentation

#define GPA  )     GetProcAddress( glw_state.hinstOpenGL, a )
 

Definition at line 3224 of file win_qgl.c.

#define GR_NUM_BOARDS   0x0f
 

Definition at line 3181 of file win_qgl.c.

Referenced by GlideIsValid().

#define SIG  )     fprintf( glw_state.log_fp, x "\n" )
 

Definition at line 1089 of file win_qgl.c.


Function Documentation

void BlendToName char *  n,
GLenum  f
[static]
 

Definition at line 912 of file win_qgl.c.

References f, n, sprintf(), and strcpy().

Referenced by logBlendFunc().

00913 {
00914     switch ( f )
00915     {
00916     case GL_ONE:
00917         strcpy( n, "GL_ONE" );
00918         break;
00919     case GL_ZERO:
00920         strcpy( n, "GL_ZERO" );
00921         break;
00922     case GL_SRC_ALPHA:
00923         strcpy( n, "GL_SRC_ALPHA" );
00924         break;
00925     case GL_ONE_MINUS_SRC_ALPHA:
00926         strcpy( n, "GL_ONE_MINUS_SRC_ALPHA" );
00927         break;
00928     case GL_DST_COLOR:
00929         strcpy( n, "GL_DST_COLOR" );
00930         break;
00931     case GL_ONE_MINUS_DST_COLOR:
00932         strcpy( n, "GL_ONE_MINUS_DST_COLOR" );
00933         break;
00934     case GL_DST_ALPHA:
00935         strcpy( n, "GL_DST_ALPHA" );
00936         break;
00937     default:
00938         sprintf( n, "0x%x", f );
00939     }
00940 }

Here is the call graph for this function:

BOOL WINAPI *  qwglGetDeviceGammaRamp3DFX  ) 
 

const char* BooleanToString GLboolean  b  )  [static]
 

Definition at line 747 of file win_qgl.c.

References b.

Referenced by logDepthMask().

00748 {
00749     if ( b == GL_FALSE )
00750         return "GL_FALSE";
00751     else if ( b == GL_TRUE )
00752         return "GL_TRUE";
00753     else
00754         return "OUT OF RANGE FOR BOOLEAN";
00755 }

const char* CapToString GLenum  cap  )  [static]
 

Definition at line 812 of file win_qgl.c.

References buffer, and sprintf().

Referenced by logDisable(), logDisableClientState(), logEnable(), and logEnableClientState().

00813 {
00814     static char buffer[1024];
00815 
00816     switch ( cap )
00817     {
00818     case GL_TEXTURE_2D:
00819         return "GL_TEXTURE_2D";
00820     case GL_BLEND:
00821         return "GL_BLEND";
00822     case GL_DEPTH_TEST:
00823         return "GL_DEPTH_TEST";
00824     case GL_CULL_FACE:
00825         return "GL_CULL_FACE";
00826     case GL_CLIP_PLANE0:
00827         return "GL_CLIP_PLANE0";
00828     case GL_COLOR_ARRAY:
00829         return "GL_COLOR_ARRAY";
00830     case GL_TEXTURE_COORD_ARRAY:
00831         return "GL_TEXTURE_COORD_ARRAY";
00832     case GL_VERTEX_ARRAY:
00833         return "GL_VERTEX_ARRAY";
00834     case GL_ALPHA_TEST:
00835         return "GL_ALPHA_TEST";
00836     case GL_STENCIL_TEST:
00837         return "GL_STENCIL_TEST";
00838     default:
00839         sprintf( buffer, "0x%x", cap );
00840     }
00841 
00842     return buffer;
00843 }

Here is the call graph for this function:

const GLubyte* APIENTRY* dllGetString GLenum  name  ) 
 

const char* FuncToString GLenum  f  )  [static]
 

Definition at line 757 of file win_qgl.c.

Referenced by logDepthFunc().

00758 {
00759     switch ( f )
00760     {
00761     case GL_ALWAYS:
00762         return "GL_ALWAYS";
00763     case GL_NEVER:
00764         return "GL_NEVER";
00765     case GL_LEQUAL:
00766         return "GL_LEQUAL";
00767     case GL_LESS:
00768         return "GL_LESS";
00769     case GL_EQUAL:
00770         return "GL_EQUAL";
00771     case GL_GREATER:
00772         return "GL_GREATER";
00773     case GL_GEQUAL:
00774         return "GL_GEQUAL";
00775     case GL_NOTEQUAL:
00776         return "GL_NOTEQUAL";
00777     default:
00778         return "!!! UNKNOWN !!!";
00779     }
00780 }

GLboolean APIENTRY *  qglAreTexturesResident  ) 
 

GLenum APIENTRY *  qglGetError  ) 
 

qboolean GlideIsValid void   )  [static]
 

Definition at line 3183 of file win_qgl.c.

References GR_NUM_BOARDS, HMODULE, PRINT_WARNING, qboolean, and ri.

Referenced by QGL_Init().

03184 {
03185     HMODULE hGlide;
03186 //  int numBoards;
03187 //  void (__stdcall *grGet)(unsigned int, unsigned int, int*);
03188 
03189     if ( ( hGlide = LoadLibrary("Glide3X") ) != 0 ) 
03190     {
03191         // FIXME: 3Dfx needs to fix this shit
03192         return qtrue;
03193 
03194 #if 0
03195         grGet = (void *)GetProcAddress( hGlide, "_grGet@12");
03196 
03197         if ( grGet )
03198         {
03199             grGet( GR_NUM_BOARDS, sizeof(int), &numBoards);
03200         }
03201         else
03202         {
03203             // if we've reached this point, something is seriously wrong
03204             ri.Printf( PRINT_WARNING, "WARNING: could not find grGet in GLIDE3X.DLL\n" );
03205             numBoards = 0;
03206         }
03207 
03208         FreeLibrary( hGlide );
03209         hGlide = NULL;
03210 
03211         if ( numBoards > 0 )
03212         {
03213             return qtrue;
03214         }
03215 
03216         ri.Printf( PRINT_WARNING, "WARNING: invalid Glide installation!\n" );
03217 #endif
03218     }
03219 
03220     return qfalse;
03221 } 

GLint APIENTRY *  qglRenderMode  ) 
 

GLuint APIENTRY *  qglGenLists  ) 
 

HDC WINAPI *  qwglGetCurrentDC  ) 
 

Referenced by ConWndProc(), GLW_SetMode(), QERApp_Texture_ForName(), Sys_CreateConsole(), Texture_ForName(), WG_CheckHardwareGamma(), and WG_RestoreGamma().

HGLRC WINAPI *  qwglCreateContext  ) 
 

int WINAPI *  qwglSwapIntervalEXT  ) 
 

void APIENTRY logAccum GLenum  op,
GLfloat  value
[static]
 

Definition at line 870 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, op, and value.

00871 {
00872     fprintf( glw_state.log_fp, "glAccum\n" );
00873     dllAccum( op, value );
00874 }

Here is the call graph for this function:

void APIENTRY logAlphaFunc GLenum  func,
GLclampf  ref
[static]
 

Definition at line 876 of file win_qgl.c.

References fprintf(), func(), glw_state, glwstate_t::log_fp, and ref.

00877 {
00878     fprintf( glw_state.log_fp, "glAlphaFunc( 0x%x, %f )\n", func, ref );
00879     dllAlphaFunc( func, ref );
00880 }

Here is the call graph for this function:

GLboolean APIENTRY logAreTexturesResident GLsizei  n,
const GLuint *  textures,
GLboolean *  residences
[static]
 

Definition at line 882 of file win_qgl.c.

References fprintf(), GLboolean(), glw_state, glwstate_t::log_fp, n, residences, and textures.

00883 {
00884     fprintf( glw_state.log_fp, "glAreTexturesResident\n" );
00885     return dllAreTexturesResident( n, textures, residences );
00886 }

Here is the call graph for this function:

void APIENTRY logArrayElement GLint  i  )  [static]
 

Definition at line 888 of file win_qgl.c.

References fprintf(), glw_state, i, and glwstate_t::log_fp.

00889 {
00890     fprintf( glw_state.log_fp, "glArrayElement\n" );
00891     dllArrayElement( i );
00892 }

Here is the call graph for this function:

void APIENTRY logBegin GLenum  mode  )  [static]
 

Definition at line 894 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, mode, and PrimToString().

00895 {
00896     fprintf( glw_state.log_fp, "glBegin( %s )\n", PrimToString( mode ));
00897     dllBegin( mode );
00898 }

Here is the call graph for this function:

void APIENTRY logBindTexture GLenum  target,
GLuint  texture
[static]
 

Definition at line 900 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and texture.

00901 {
00902     fprintf( glw_state.log_fp, "glBindTexture( 0x%x, %u )\n", target, texture );
00903     dllBindTexture( target, texture );
00904 }

Here is the call graph for this function:

void APIENTRY logBitmap GLsizei  width,
GLsizei  height,
GLfloat  xorig,
GLfloat  yorig,
GLfloat  xmove,
GLfloat  ymove,
const GLubyte *  bitmap
[static]
 

Definition at line 906 of file win_qgl.c.

References bitmap, fprintf(), glw_state, height, glwstate_t::log_fp, width, xmove, xorig, ymove, and yorig.

00907 {
00908     fprintf( glw_state.log_fp, "glBitmap\n" );
00909     dllBitmap( width, height, xorig, yorig, xmove, ymove, bitmap );
00910 }

Here is the call graph for this function:

void APIENTRY logBlendFunc GLenum  sfactor,
GLenum  dfactor
[static]
 

Definition at line 941 of file win_qgl.c.

References BlendToName(), dfactor, fprintf(), glw_state, and glwstate_t::log_fp.

00942 {
00943     char sf[128], df[128];
00944 
00945     BlendToName( sf, sfactor );
00946     BlendToName( df, dfactor );
00947 
00948     fprintf( glw_state.log_fp, "glBlendFunc( %s, %s )\n", sf, df );
00949     dllBlendFunc( sfactor, dfactor );
00950 }

Here is the call graph for this function:

void APIENTRY logCallList GLuint  list  )  [static]
 

Definition at line 952 of file win_qgl.c.

References fprintf(), glw_state, and glwstate_t::log_fp.

00953 {
00954     fprintf( glw_state.log_fp, "glCallList( %u )\n", list );
00955     dllCallList( list );
00956 }

Here is the call graph for this function:

void APIENTRY logCallLists GLsizei  n,
GLenum  type,
const void *  lists
[static]
 

Definition at line 958 of file win_qgl.c.

References fprintf(), glw_state, lists, glwstate_t::log_fp, n, and type.

00959 {
00960     fprintf( glw_state.log_fp, "glCallLists\n" );
00961     dllCallLists( n, type, lists );
00962 }

Here is the call graph for this function:

void APIENTRY logClear GLbitfield  mask  )  [static]
 

Definition at line 964 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and mask.

00965 {
00966     fprintf( glw_state.log_fp, "glClear( 0x%x = ", mask );
00967 
00968     if ( mask & GL_COLOR_BUFFER_BIT )
00969         fprintf( glw_state.log_fp, "GL_COLOR_BUFFER_BIT " );
00970     if ( mask & GL_DEPTH_BUFFER_BIT )
00971         fprintf( glw_state.log_fp, "GL_DEPTH_BUFFER_BIT " );
00972     if ( mask & GL_STENCIL_BUFFER_BIT )
00973         fprintf( glw_state.log_fp, "GL_STENCIL_BUFFER_BIT " );
00974     if ( mask & GL_ACCUM_BUFFER_BIT )
00975         fprintf( glw_state.log_fp, "GL_ACCUM_BUFFER_BIT " );
00976 
00977     fprintf( glw_state.log_fp, ")\n" );
00978     dllClear( mask );
00979 }

Here is the call graph for this function:

void APIENTRY logClearAccum GLfloat  red,
GLfloat  green,
GLfloat  blue,
GLfloat  alpha
[static]
 

Definition at line 981 of file win_qgl.c.

References alpha, blue, fprintf(), glw_state, green, and glwstate_t::log_fp.

00982 {
00983     fprintf( glw_state.log_fp, "glClearAccum\n" );
00984     dllClearAccum( red, green, blue, alpha );
00985 }

Here is the call graph for this function:

void APIENTRY logClearColor GLclampf  red,
GLclampf  green,
GLclampf  blue,
GLclampf  alpha
[static]
 

Definition at line 987 of file win_qgl.c.

References alpha, blue, fprintf(), glw_state, green, and glwstate_t::log_fp.

00988 {
00989     fprintf( glw_state.log_fp, "glClearColor\n" );
00990     dllClearColor( red, green, blue, alpha );
00991 }

Here is the call graph for this function:

void APIENTRY logClearDepth GLclampd  depth  )  [static]
 

Definition at line 993 of file win_qgl.c.

References fprintf(), glw_state, and glwstate_t::log_fp.

00994 {
00995     fprintf( glw_state.log_fp, "glClearDepth( %f )\n", ( float ) depth );
00996     dllClearDepth( depth );
00997 }

Here is the call graph for this function:

void APIENTRY logClearIndex GLfloat  c  )  [static]
 

Definition at line 999 of file win_qgl.c.

References c, fprintf(), glw_state, and glwstate_t::log_fp.

01000 {
01001     fprintf( glw_state.log_fp, "glClearIndex\n" );
01002     dllClearIndex( c );
01003 }

Here is the call graph for this function:

void APIENTRY logClearStencil GLint  s  )  [static]
 

Definition at line 1005 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and s.

01006 {
01007     fprintf( glw_state.log_fp, "glClearStencil( %d )\n", s );
01008     dllClearStencil( s );
01009 }

Here is the call graph for this function:

void APIENTRY logClipPlane GLenum  plane,
const GLdouble *  equation
[static]
 

Definition at line 1011 of file win_qgl.c.

References equation, fprintf(), glw_state, and glwstate_t::log_fp.

01012 {
01013     fprintf( glw_state.log_fp, "glClipPlane\n" );
01014     dllClipPlane( plane, equation );
01015 }

Here is the call graph for this function:

void APIENTRY logColor3b GLbyte  red,
GLbyte  green,
GLbyte  blue
[static]
 

Definition at line 1017 of file win_qgl.c.

References blue, fprintf(), glw_state, green, and glwstate_t::log_fp.

01018 {
01019     fprintf( glw_state.log_fp, "glColor3b\n" );
01020     dllColor3b( red, green, blue );
01021 }

Here is the call graph for this function:

void APIENTRY logColor3bv const GLbyte *  v  )  [static]
 

Definition at line 1023 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and v.

01024 {
01025     fprintf( glw_state.log_fp, "glColor3bv\n" );
01026     dllColor3bv( v );
01027 }

Here is the call graph for this function:

void APIENTRY logColor3d GLdouble  red,
GLdouble  green,
GLdouble  blue
[static]
 

Definition at line 1029 of file win_qgl.c.

References blue, fprintf(), glw_state, green, and glwstate_t::log_fp.

01030 {
01031     fprintf( glw_state.log_fp, "glColor3d\n" );
01032     dllColor3d( red, green, blue );
01033 }

Here is the call graph for this function:

void APIENTRY logColor3dv const GLdouble *  v  )  [static]
 

Definition at line 1035 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and v.

01036 {
01037     fprintf( glw_state.log_fp, "glColor3dv\n" );
01038     dllColor3dv( v );
01039 }

Here is the call graph for this function:

void APIENTRY logColor3f GLfloat  red,
GLfloat  green,
GLfloat  blue
[static]
 

Definition at line 1041 of file win_qgl.c.

References blue, fprintf(), glw_state, green, and glwstate_t::log_fp.

01042 {
01043     fprintf( glw_state.log_fp, "glColor3f\n" );
01044     dllColor3f( red, green, blue );
01045 }

Here is the call graph for this function:

void APIENTRY logColor3fv const GLfloat v  )  [static]
 

Definition at line 1047 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and v.

01048 {
01049     fprintf( glw_state.log_fp, "glColor3fv\n" );
01050     dllColor3fv( v );
01051 }

Here is the call graph for this function:

void APIENTRY logColor3i GLint  red,
GLint  green,
GLint  blue
[static]
 

Definition at line 1053 of file win_qgl.c.

References blue, fprintf(), glw_state, green, and glwstate_t::log_fp.

01054 {
01055     fprintf( glw_state.log_fp, "glColor3i\n" );
01056     dllColor3i( red, green, blue );
01057 }

Here is the call graph for this function:

void APIENTRY logColor3iv const GLint *  v  )  [static]
 

Definition at line 1059 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and v.

01060 {
01061     fprintf( glw_state.log_fp, "glColor3iv\n" );
01062     dllColor3iv( v );
01063 }

Here is the call graph for this function:

void APIENTRY logColor3s GLshort  red,
GLshort  green,
GLshort  blue
[static]
 

Definition at line 1065 of file win_qgl.c.

References blue, fprintf(), glw_state, green, and glwstate_t::log_fp.

01066 {
01067     fprintf( glw_state.log_fp, "glColor3s\n" );
01068     dllColor3s( red, green, blue );
01069 }

Here is the call graph for this function:

void APIENTRY logColor3sv const GLshort *  v  )  [static]
 

Definition at line 1071 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and v.

01072 {
01073     fprintf( glw_state.log_fp, "glColor3sv\n" );
01074     dllColor3sv( v );
01075 }

Here is the call graph for this function:

void APIENTRY logColor3ub GLubyte  red,
GLubyte  green,
GLubyte  blue
[static]
 

Definition at line 1077 of file win_qgl.c.

References blue, fprintf(), glw_state, green, and glwstate_t::log_fp.

01078 {
01079     fprintf( glw_state.log_fp, "glColor3ub\n" );
01080     dllColor3ub( red, green, blue );
01081 }

Here is the call graph for this function:

void APIENTRY logColor3ubv const GLubyte *  v  )  [static]
 

Definition at line 1083 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and v.

01084 {
01085     fprintf( glw_state.log_fp, "glColor3ubv\n" );
01086     dllColor3ubv( v );
01087 }

Here is the call graph for this function:

void APIENTRY logColor3ui GLuint  red,
GLuint  green,
GLuint  blue
[static]
 

Definition at line 1091 of file win_qgl.c.

References blue, green, and SIG.

01092 {
01093     SIG( "glColor3ui" );
01094     dllColor3ui( red, green, blue );
01095 }

void APIENTRY logColor3uiv const GLuint *  v  )  [static]
 

Definition at line 1097 of file win_qgl.c.

References SIG, and v.

01098 {
01099     SIG( "glColor3uiv" );
01100     dllColor3uiv( v );
01101 }

void APIENTRY logColor3us GLushort  red,
GLushort  green,
GLushort  blue
[static]
 

Definition at line 1103 of file win_qgl.c.

References blue, green, and SIG.

01104 {
01105     SIG( "glColor3us" );
01106     dllColor3us( red, green, blue );
01107 }

void APIENTRY logColor3usv const GLushort *  v  )  [static]
 

Definition at line 1109 of file win_qgl.c.

References SIG, and v.

01110 {
01111     SIG( "glColor3usv" );
01112     dllColor3usv( v );
01113 }

void APIENTRY logColor4b GLbyte  red,
GLbyte  green,
GLbyte  blue,
GLbyte  alpha
[static]
 

Definition at line 1115 of file win_qgl.c.

References alpha, blue, green, and SIG.

01116 {
01117     SIG( "glColor4b" );
01118     dllColor4b( red, green, blue, alpha );
01119 }

void APIENTRY logColor4bv const GLbyte *  v  )  [static]
 

Definition at line 1121 of file win_qgl.c.

References SIG, and v.

01122 {
01123     SIG( "glColor4bv" );
01124     dllColor4bv( v );
01125 }

void APIENTRY logColor4d GLdouble  red,
GLdouble  green,
GLdouble  blue,
GLdouble  alpha
[static]
 

Definition at line 1127 of file win_qgl.c.

References alpha, blue, green, and SIG.

01128 {
01129     SIG( "glColor4d" );
01130     dllColor4d( red, green, blue, alpha );
01131 }

void APIENTRY logColor4dv const GLdouble *  v  )  [static]
 

Definition at line 1132 of file win_qgl.c.

References SIG, and v.

01133 {
01134     SIG( "glColor4dv" );
01135     dllColor4dv( v );
01136 }

void APIENTRY logColor4f GLfloat  red,
GLfloat  green,
GLfloat  blue,
GLfloat  alpha
[static]
 

Definition at line 1137 of file win_qgl.c.

References alpha, blue, fprintf(), glw_state, green, and glwstate_t::log_fp.

01138 {
01139     fprintf( glw_state.log_fp, "glColor4f( %f,%f,%f,%f )\n", red, green, blue, alpha );
01140     dllColor4f( red, green, blue, alpha );
01141 }

Here is the call graph for this function:

void APIENTRY logColor4fv const GLfloat v  )  [static]
 

Definition at line 1142 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and v.

01143 {
01144     fprintf( glw_state.log_fp, "glColor4fv( %f,%f,%f,%f )\n", v[0], v[1], v[2], v[3] );
01145     dllColor4fv( v );
01146 }

Here is the call graph for this function:

void APIENTRY logColor4i GLint  red,
GLint  green,
GLint  blue,
GLint  alpha
[static]
 

Definition at line 1147 of file win_qgl.c.

References alpha, blue, green, and SIG.

01148 {
01149     SIG( "glColor4i" );
01150     dllColor4i( red, green, blue, alpha );
01151 }

void APIENTRY logColor4iv const GLint *  v  )  [static]
 

Definition at line 1152 of file win_qgl.c.

References SIG, and v.

01153 {
01154     SIG( "glColor4iv" );
01155     dllColor4iv( v );
01156 }

void APIENTRY logColor4s GLshort  red,
GLshort  green,
GLshort  blue,
GLshort  alpha
[static]
 

Definition at line 1157 of file win_qgl.c.

References alpha, blue, green, and SIG.

01158 {
01159     SIG( "glColor4s" );
01160     dllColor4s( red, green, blue, alpha );
01161 }

void APIENTRY logColor4sv const GLshort *  v  )  [static]
 

Definition at line 1162 of file win_qgl.c.

References SIG, and v.

01163 {
01164     SIG( "glColor4sv" );
01165     dllColor4sv( v );
01166 }

void APIENTRY logColor4ub GLubyte  red,
GLubyte  green,
GLubyte  blue,
GLubyte  alpha
[static]
 

Definition at line 1167 of file win_qgl.c.

References alpha, blue, green, and SIG.

01168 {
01169     SIG( "glColor4b" );
01170     dllColor4b( red, green, blue, alpha );
01171 }

void APIENTRY logColor4ubv const GLubyte *  v  )  [static]
 

Definition at line 1172 of file win_qgl.c.

References SIG, and v.

01173 {
01174     SIG( "glColor4ubv" );
01175     dllColor4ubv( v );
01176 }

void APIENTRY logColor4ui GLuint  red,
GLuint  green,
GLuint  blue,
GLuint  alpha
[static]
 

Definition at line 1177 of file win_qgl.c.

References alpha, blue, green, and SIG.

01178 {
01179     SIG( "glColor4ui" );
01180     dllColor4ui( red, green, blue, alpha );
01181 }

void APIENTRY logColor4uiv const GLuint *  v  )  [static]
 

Definition at line 1182 of file win_qgl.c.

References SIG, and v.

01183 {
01184     SIG( "glColor4uiv" );
01185     dllColor4uiv( v );
01186 }

void APIENTRY logColor4us GLushort  red,
GLushort  green,
GLushort  blue,
GLushort  alpha
[static]
 

Definition at line 1187 of file win_qgl.c.

References alpha, blue, green, and SIG.

01188 {
01189     SIG( "glColor4us" );
01190     dllColor4us( red, green, blue, alpha );
01191 }

void APIENTRY logColor4usv const GLushort *  v  )  [static]
 

Definition at line 1192 of file win_qgl.c.

References SIG, and v.

01193 {
01194     SIG( "glColor4usv" );
01195     dllColor4usv( v );
01196 }

void APIENTRY logColorMask GLboolean  red,
GLboolean  green,
GLboolean  blue,
GLboolean  alpha
[static]
 

Definition at line 1197 of file win_qgl.c.

References alpha, blue, green, and SIG.

01198 {
01199     SIG( "glColorMask" );
01200     dllColorMask( red, green, blue, alpha );
01201 }

void APIENTRY logColorMaterial GLenum  face,
GLenum  mode
[static]
 

Definition at line 1202 of file win_qgl.c.

References mode, and SIG.

01203 {
01204     SIG( "glColorMaterial" );
01205     dllColorMaterial( face, mode );
01206 }

void APIENTRY logColorPointer GLint  size,
GLenum  type,
GLsizei  stride,
const void *  pointer
[static]
 

Definition at line 1208 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, pointer, stride, type, and TypeToString().

01209 {
01210     fprintf( glw_state.log_fp, "glColorPointer( %d, %s, %d, MEM )\n", size, TypeToString( type ), stride );
01211     dllColorPointer( size, type, stride, pointer );
01212 }

Here is the call graph for this function:

void APIENTRY logCopyPixels GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLenum  type
[static]
 

Definition at line 1214 of file win_qgl.c.

References height, SIG, type, width, x, and y.

01215 {
01216     SIG( "glCopyPixels" );
01217     dllCopyPixels( x, y, width, height, type );
01218 }

void APIENTRY logCopyTexImage1D GLenum  target,
GLint  level,
GLenum  internalFormat,
GLint  x,
GLint  y,
GLsizei  width,
GLint  border
[static]
 

Definition at line 1220 of file win_qgl.c.

References border, internalFormat, level, SIG, width, x, and y.

01221 {
01222     SIG( "glCopyTexImage1D" );
01223     dllCopyTexImage1D( target, level, internalFormat, x, y, width, border );
01224 }

void APIENTRY logCopyTexImage2D GLenum  target,
GLint  level,
GLenum  internalFormat,
GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLint  border
[static]
 

Definition at line 1226 of file win_qgl.c.

References border, height, internalFormat, level, SIG, width, x, and y.

01227 {
01228     SIG( "glCopyTexImage2D" );
01229     dllCopyTexImage2D( target, level, internalFormat, x, y, width, height, border );
01230 }

void APIENTRY logCopyTexSubImage1D GLenum  target,
GLint  level,
GLint  xoffset,
GLint  x,
GLint  y,
GLsizei  width
[static]
 

Definition at line 1232 of file win_qgl.c.

References level, SIG, width, x, xoffset, and y.

01233 {
01234     SIG( "glCopyTexSubImage1D" );
01235     dllCopyTexSubImage1D( target, level, xoffset, x, y, width );
01236 }

void APIENTRY logCopyTexSubImage2D GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height
[static]
 

Definition at line 1238 of file win_qgl.c.

References height, level, SIG, width, x, xoffset, y, and yoffset.

01239 {
01240     SIG( "glCopyTexSubImage2D" );
01241     dllCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height );
01242 }

void APIENTRY logCullFace GLenum  mode  )  [static]
 

Definition at line 1244 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and mode.

01245 {
01246     fprintf( glw_state.log_fp, "glCullFace( %s )\n", ( mode == GL_FRONT ) ? "GL_FRONT" : "GL_BACK" );
01247     dllCullFace( mode );
01248 }

Here is the call graph for this function:

void APIENTRY logDeleteLists GLuint  list,
GLsizei  range
[static]
 

Definition at line 1250 of file win_qgl.c.

References range, and SIG.

01251 {
01252     SIG( "glDeleteLists" );
01253     dllDeleteLists( list, range );
01254 }

void APIENTRY logDeleteTextures GLsizei  n,
const GLuint *  textures
[static]
 

Definition at line 1256 of file win_qgl.c.

References n, SIG, and textures.

01257 {
01258     SIG( "glDeleteTextures" );
01259     dllDeleteTextures( n, textures );
01260 }

void APIENTRY logDepthFunc GLenum  func  )  [static]
 

Definition at line 1262 of file win_qgl.c.

References fprintf(), func(), FuncToString(), glw_state, and glwstate_t::log_fp.

01263 {
01264     fprintf( glw_state.log_fp, "glDepthFunc( %s )\n", FuncToString( func ) );
01265     dllDepthFunc( func );
01266 }

Here is the call graph for this function:

void APIENTRY logDepthMask GLboolean  flag  )  [static]
 

Definition at line 1268 of file win_qgl.c.

References BooleanToString(), fprintf(), glw_state, and glwstate_t::log_fp.

01269 {
01270     fprintf( glw_state.log_fp, "glDepthMask( %s )\n", BooleanToString( flag ) );
01271     dllDepthMask( flag );
01272 }

Here is the call graph for this function:

void APIENTRY logDepthRange GLclampd  zNear,
GLclampd  zFar
[static]
 

Definition at line 1274 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, zFar, and zNear.

01275 {
01276     fprintf( glw_state.log_fp, "glDepthRange( %f, %f )\n", ( float ) zNear, ( float ) zFar );
01277     dllDepthRange( zNear, zFar );
01278 }

Here is the call graph for this function:

void APIENTRY logDisable GLenum  cap  )  [static]
 

Definition at line 1280 of file win_qgl.c.

References CapToString(), fprintf(), glw_state, and glwstate_t::log_fp.

01281 {
01282     fprintf( glw_state.log_fp, "glDisable( %s )\n", CapToString( cap ) );
01283     dllDisable( cap );
01284 }

Here is the call graph for this function:

void APIENTRY logDisableClientState GLenum  array  )  [static]
 

Definition at line 1286 of file win_qgl.c.

References array(), CapToString(), fprintf(), glw_state, and glwstate_t::log_fp.

01287 {
01288     fprintf( glw_state.log_fp, "glDisableClientState( %s )\n", CapToString( array ) );
01289     dllDisableClientState( array );
01290 }

Here is the call graph for this function:

void APIENTRY logDrawArrays GLenum  mode,
GLint  first,
GLsizei  count
[static]
 

Definition at line 1292 of file win_qgl.c.

References count, first, mode, and SIG.

01293 {
01294     SIG( "glDrawArrays" );
01295     dllDrawArrays( mode, first, count );
01296 }

void APIENTRY logDrawBuffer GLenum  mode  )  [static]
 

Definition at line 1298 of file win_qgl.c.

References mode, and SIG.

01299 {
01300     SIG( "glDrawBuffer" );
01301     dllDrawBuffer( mode );
01302 }

void APIENTRY logDrawElements GLenum  mode,
GLsizei  count,
GLenum  type,
const void *  indices
[static]
 

Definition at line 1304 of file win_qgl.c.

References count, fprintf(), glw_state, indices, glwstate_t::log_fp, mode, PrimToString(), type, and TypeToString().

01305 {
01306     fprintf( glw_state.log_fp, "glDrawElements( %s, %d, %s, MEM )\n", PrimToString( mode ), count, TypeToString( type ) );
01307     dllDrawElements( mode, count, type, indices );
01308 }

Here is the call graph for this function:

void APIENTRY logDrawPixels GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
const void *  pixels
[static]
 

Definition at line 1310 of file win_qgl.c.

References format, height, pixels, SIG, type, and width.

01311 {
01312     SIG( "glDrawPixels" );
01313     dllDrawPixels( width, height, format, type, pixels );
01314 }

void APIENTRY logEdgeFlag GLboolean  flag  )  [static]
 

Definition at line 1316 of file win_qgl.c.

References SIG.

01317 {
01318     SIG( "glEdgeFlag" );
01319     dllEdgeFlag( flag );
01320 }

void APIENTRY logEdgeFlagPointer GLsizei  stride,
const void *  pointer
[static]
 

Definition at line 1322 of file win_qgl.c.

References pointer, SIG, and stride.

01323 {
01324     SIG( "glEdgeFlagPointer" );
01325     dllEdgeFlagPointer( stride, pointer );
01326 }

void APIENTRY logEdgeFlagv const GLboolean *  flag  )  [static]
 

Definition at line 1328 of file win_qgl.c.

References SIG.

01329 {
01330     SIG( "glEdgeFlagv" );
01331     dllEdgeFlagv( flag );
01332 }

void APIENTRY logEnable GLenum  cap  )  [static]
 

Definition at line 1334 of file win_qgl.c.

References CapToString(), fprintf(), glw_state, and glwstate_t::log_fp.

01335 {
01336     fprintf( glw_state.log_fp, "glEnable( %s )\n", CapToString( cap ) );
01337     dllEnable( cap );
01338 }

Here is the call graph for this function:

void APIENTRY logEnableClientState GLenum  array  )  [static]
 

Definition at line 1340 of file win_qgl.c.

References array(), CapToString(), fprintf(), glw_state, and glwstate_t::log_fp.

01341 {
01342     fprintf( glw_state.log_fp, "glEnableClientState( %s )\n", CapToString( array ) );
01343     dllEnableClientState( array );
01344 }

Here is the call graph for this function:

void APIENTRY logEnd void   )  [static]
 

Definition at line 1346 of file win_qgl.c.

References SIG.

01347 {
01348     SIG( "glEnd" );
01349     dllEnd();
01350 }

void APIENTRY logEndList void   )  [static]
 

Definition at line 1352 of file win_qgl.c.

References SIG.

01353 {
01354     SIG( "glEndList" );
01355     dllEndList();
01356 }

void APIENTRY logEvalCoord1d GLdouble  u  )  [static]
 

Definition at line 1358 of file win_qgl.c.

References SIG.

01359 {
01360     SIG( "glEvalCoord1d" );
01361     dllEvalCoord1d( u );
01362 }

void APIENTRY logEvalCoord1dv const GLdouble *  u  )  [static]
 

Definition at line 1364 of file win_qgl.c.

References SIG.

01365 {
01366     SIG( "glEvalCoord1dv" );
01367     dllEvalCoord1dv( u );
01368 }

void APIENTRY logEvalCoord1f GLfloat  u  )  [static]
 

Definition at line 1370 of file win_qgl.c.

References SIG.

01371 {
01372     SIG( "glEvalCoord1f" );
01373     dllEvalCoord1f( u );
01374 }

void APIENTRY logEvalCoord1fv const GLfloat u  )  [static]
 

Definition at line 1376 of file win_qgl.c.

References SIG.

01377 {
01378     SIG( "glEvalCoord1fv" );
01379     dllEvalCoord1fv( u );
01380 }

void APIENTRY logEvalCoord2d GLdouble  u,
GLdouble  v
[static]
 

Definition at line 1381 of file win_qgl.c.

References SIG, and v.

01382 {
01383     SIG( "glEvalCoord2d" );
01384     dllEvalCoord2d( u, v );
01385 }

void APIENTRY logEvalCoord2dv const GLdouble *  u  )  [static]
 

Definition at line 1386 of file win_qgl.c.

References SIG.

01387 {
01388     SIG( "glEvalCoord2dv" );
01389     dllEvalCoord2dv( u );
01390 }

void APIENTRY logEvalCoord2f GLfloat  u,
GLfloat  v
[static]
 

Definition at line 1391 of file win_qgl.c.

References SIG, and v.

01392 {
01393     SIG( "glEvalCoord2f" );
01394     dllEvalCoord2f( u, v );
01395 }

void APIENTRY logEvalCoord2fv const GLfloat u  )  [static]
 

Definition at line 1396 of file win_qgl.c.

References SIG.

01397 {
01398     SIG( "glEvalCoord2fv" );
01399     dllEvalCoord2fv( u );
01400 }

void APIENTRY logEvalMesh1 GLenum  mode,
GLint  i1,
GLint  i2
[static]
 

Definition at line 1402 of file win_qgl.c.

References i1, i2, mode, and SIG.

01403 {
01404     SIG( "glEvalMesh1" );
01405     dllEvalMesh1( mode, i1, i2 );
01406 }

void APIENTRY logEvalMesh2 GLenum  mode,
GLint  i1,
GLint  i2,
GLint  j1,
GLint  j2
[static]
 

Definition at line 1407 of file win_qgl.c.

References i1, i2, j1, j2, mode, and SIG.

01408 {
01409     SIG( "glEvalMesh2" );
01410     dllEvalMesh2( mode, i1, i2, j1, j2 );
01411 }

void APIENTRY logEvalPoint1 GLint  i  )  [static]
 

Definition at line 1412 of file win_qgl.c.

References i, and SIG.

01413 {
01414     SIG( "glEvalPoint1" );
01415     dllEvalPoint1( i );
01416 }

void APIENTRY logEvalPoint2 GLint  i,
GLint  j
[static]
 

Definition at line 1417 of file win_qgl.c.

References i, j, and SIG.

01418 {
01419     SIG( "glEvalPoint2" );
01420     dllEvalPoint2( i, j );
01421 }

void APIENTRY logFeedbackBuffer GLsizei  size,
GLenum  type,
GLfloat buffer
[static]
 

Definition at line 1423 of file win_qgl.c.

References buffer, SIG, and type.

01424 {
01425     SIG( "glFeedbackBuffer" );
01426     dllFeedbackBuffer( size, type, buffer );
01427 }

void APIENTRY logFinish void   )  [static]
 

Definition at line 1429 of file win_qgl.c.

References SIG.

01430 {
01431     SIG( "glFinish" );
01432     dllFinish();
01433 }

void APIENTRY logFlush void   )  [static]
 

Definition at line 1435 of file win_qgl.c.

References SIG.

01436 {
01437     SIG( "glFlush" );
01438     dllFlush();
01439 }

void APIENTRY logFogf GLenum  pname,
GLfloat  param
[static]
 

Definition at line 1441 of file win_qgl.c.

References param, pname, and SIG.

01442 {
01443     SIG( "glFogf" );
01444     dllFogf( pname, param );
01445 }

void APIENTRY logFogfv GLenum  pname,
const GLfloat params
[static]
 

Definition at line 1447 of file win_qgl.c.

References params, pname, and SIG.

01448 {
01449     SIG( "glFogfv" );
01450     dllFogfv( pname, params );
01451 }

void APIENTRY logFogi GLenum  pname,
GLint  param
[static]
 

Definition at line 1453 of file win_qgl.c.

References param, pname, and SIG.

01454 {
01455     SIG( "glFogi" );
01456     dllFogi( pname, param );
01457 }

void APIENTRY logFogiv GLenum  pname,
const GLint *  params
[static]
 

Definition at line 1459 of file win_qgl.c.

References params, pname, and SIG.

01460 {
01461     SIG( "glFogiv" );
01462     dllFogiv( pname, params );
01463 }

void APIENTRY logFrontFace GLenum  mode  )  [static]
 

Definition at line 1465 of file win_qgl.c.

References mode, and SIG.

01466 {
01467     SIG( "glFrontFace" );
01468     dllFrontFace( mode );
01469 }

void APIENTRY logFrustum GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  zNear,
GLdouble  zFar
[static]
 

Definition at line 1471 of file win_qgl.c.

References bottom, right, SIG, top, zFar, and zNear.

01472 {
01473     SIG( "glFrustum" );
01474     dllFrustum( left, right, bottom, top, zNear, zFar );
01475 }

GLuint APIENTRY logGenLists GLsizei  range  )  [static]
 

Definition at line 1477 of file win_qgl.c.

References GLuint(), range, and SIG.

01478 {
01479     SIG( "glGenLists" );
01480     return dllGenLists( range );
01481 }

Here is the call graph for this function:

void APIENTRY logGenTextures GLsizei  n,
GLuint *  textures
[static]
 

Definition at line 1483 of file win_qgl.c.

References n, SIG, and textures.

01484 {
01485     SIG( "glGenTextures" );
01486     dllGenTextures( n, textures );
01487 }

void APIENTRY logGetBooleanv GLenum  pname,
GLboolean *  params
[static]
 

Definition at line 1489 of file win_qgl.c.

References params, pname, and SIG.

01490 {
01491     SIG( "glGetBooleanv" );
01492     dllGetBooleanv( pname, params );
01493 }

void APIENTRY logGetClipPlane GLenum  plane,
GLdouble *  equation
[static]
 

Definition at line 1495 of file win_qgl.c.

References equation, and SIG.

01496 {
01497     SIG( "glGetClipPlane" );
01498     dllGetClipPlane( plane, equation );
01499 }

void APIENTRY logGetDoublev GLenum  pname,
GLdouble *  params
[static]
 

Definition at line 1501 of file win_qgl.c.

References params, pname, and SIG.

01502 {
01503     SIG( "glGetDoublev" );
01504     dllGetDoublev( pname, params );
01505 }

GLenum APIENTRY logGetError void   )  [static]
 

Definition at line 1507 of file win_qgl.c.

References GLenum(), and SIG.

01508 {
01509     SIG( "glGetError" );
01510     return dllGetError();
01511 }

Here is the call graph for this function:

void APIENTRY logGetFloatv GLenum  pname,
GLfloat params
[static]
 

Definition at line 1513 of file win_qgl.c.

References params, pname, and SIG.

01514 {
01515     SIG( "glGetFloatv" );
01516     dllGetFloatv( pname, params );
01517 }

void APIENTRY logGetIntegerv GLenum  pname,
GLint *  params
[static]
 

Definition at line 1519 of file win_qgl.c.

References params, pname, and SIG.

01520 {
01521     SIG( "glGetIntegerv" );
01522     dllGetIntegerv( pname, params );
01523 }

void APIENTRY logGetLightfv GLenum  light,
GLenum  pname,
GLfloat params
[static]
 

Definition at line 1525 of file win_qgl.c.

References params, pname, and SIG.

01526 {
01527     SIG( "glGetLightfv" );
01528     dllGetLightfv( light, pname, params );
01529 }

void APIENTRY logGetLightiv GLenum  light,
GLenum  pname,
GLint *  params
[static]
 

Definition at line 1531 of file win_qgl.c.

References params, pname, and SIG.

01532 {
01533     SIG( "glGetLightiv" );
01534     dllGetLightiv( light, pname, params );
01535 }

void APIENTRY logGetMapdv GLenum  target,
GLenum  query,
GLdouble *  v
[static]
 

Definition at line 1537 of file win_qgl.c.

References query, SIG, and v.

01538 {
01539     SIG( "glGetMapdv" );
01540     dllGetMapdv( target, query, v );
01541 }

void APIENTRY logGetMapfv GLenum  target,
GLenum  query,
GLfloat v
[static]
 

Definition at line 1543 of file win_qgl.c.

References query, SIG, and v.

01544 {
01545     SIG( "glGetMapfv" );
01546     dllGetMapfv( target, query, v );
01547 }

void APIENTRY logGetMapiv GLenum  target,
GLenum  query,
GLint *  v
[static]
 

Definition at line 1549 of file win_qgl.c.

References query, SIG, and v.

01550 {
01551     SIG( "glGetMapiv" );
01552     dllGetMapiv( target, query, v );
01553 }

void APIENTRY logGetMaterialfv GLenum  face,
GLenum  pname,
GLfloat params
[static]
 

Definition at line 1555 of file win_qgl.c.

References params, pname, and SIG.

01556 {
01557     SIG( "glGetMaterialfv" );
01558     dllGetMaterialfv( face, pname, params );
01559 }

void APIENTRY logGetMaterialiv GLenum  face,
GLenum  pname,
GLint *  params
[static]
 

Definition at line 1561 of file win_qgl.c.

References params, pname, and SIG.

01562 {
01563     SIG( "glGetMaterialiv" );
01564     dllGetMaterialiv( face, pname, params );
01565 }

void APIENTRY logGetPixelMapfv GLenum  map,
GLfloat values
[static]
 

Definition at line 1567 of file win_qgl.c.

References SIG, and values.

01568 {
01569     SIG( "glGetPixelMapfv" );
01570     dllGetPixelMapfv( map, values );
01571 }

void APIENTRY logGetPixelMapuiv GLenum  map,
GLuint *  values
[static]
 

Definition at line 1573 of file win_qgl.c.

References SIG, and values.

01574 {
01575     SIG( "glGetPixelMapuiv" );
01576     dllGetPixelMapuiv( map, values );
01577 }

void APIENTRY logGetPixelMapusv GLenum  map,
GLushort *  values
[static]
 

Definition at line 1579 of file win_qgl.c.

References SIG, and values.

01580 {
01581     SIG( "glGetPixelMapusv" );
01582     dllGetPixelMapusv( map, values );
01583 }

void APIENTRY logGetPointerv GLenum  pname,
GLvoid **  params
[static]
 

Definition at line 1585 of file win_qgl.c.

References params, pname, and SIG.

01586 {
01587     SIG( "glGetPointerv" );
01588     dllGetPointerv( pname, params );
01589 }

void APIENTRY logGetPolygonStipple GLubyte *  mask  )  [static]
 

Definition at line 1591 of file win_qgl.c.

References mask, and SIG.

01592 {
01593     SIG( "glGetPolygonStipple" );
01594     dllGetPolygonStipple( mask );
01595 }

const GLubyte* APIENTRY logGetString GLenum  name  )  [static]
 

Definition at line 1597 of file win_qgl.c.

References dllGetString(), name, and SIG.

01598 {
01599     SIG( "glGetString" );
01600     return dllGetString( name );
01601 }

Here is the call graph for this function:

void APIENTRY logGetTexEnvfv GLenum  target,
GLenum  pname,
GLfloat params
[static]
 

Definition at line 1603 of file win_qgl.c.

References params, pname, and SIG.

01604 {
01605     SIG( "glGetTexEnvfv" );
01606     dllGetTexEnvfv( target, pname, params );
01607 }

void APIENTRY logGetTexEnviv GLenum  target,
GLenum  pname,
GLint *  params
[static]
 

Definition at line 1609 of file win_qgl.c.

References params, pname, and SIG.

01610 {
01611     SIG( "glGetTexEnviv" );
01612     dllGetTexEnviv( target, pname, params );
01613 }

void APIENTRY logGetTexGendv GLenum  coord,
GLenum  pname,
GLdouble *  params
[static]
 

Definition at line 1615 of file win_qgl.c.

References params, pname, and SIG.

01616 {
01617     SIG( "glGetTexGendv" );
01618     dllGetTexGendv( coord, pname, params );
01619 }

void APIENTRY logGetTexGenfv GLenum  coord,
GLenum  pname,
GLfloat params
[static]
 

Definition at line 1621 of file win_qgl.c.

References params, pname, and SIG.

01622 {
01623     SIG( "glGetTexGenfv" );
01624     dllGetTexGenfv( coord, pname, params );
01625 }

void APIENTRY logGetTexGeniv GLenum  coord,
GLenum  pname,
GLint *  params
[static]
 

Definition at line 1627 of file win_qgl.c.

References params, pname, and SIG.

01628 {
01629     SIG( "glGetTexGeniv" );
01630     dllGetTexGeniv( coord, pname, params );
01631 }

void APIENTRY logGetTexImage GLenum  target,
GLint  level,
GLenum  format,
GLenum  type,
void *  pixels
[static]
 

Definition at line 1633 of file win_qgl.c.

References format, level, pixels, SIG, and type.

01634 {
01635     SIG( "glGetTexImage" );
01636     dllGetTexImage( target, level, format, type, pixels );
01637 }

void APIENTRY logGetTexLevelParameterfv GLenum  target,
GLint  level,
GLenum  pname,
GLfloat params
[static]
 

Definition at line 1638 of file win_qgl.c.

References level, params, pname, and SIG.

01639 {
01640     SIG( "glGetTexLevelParameterfv" );
01641     dllGetTexLevelParameterfv( target, level, pname, params );
01642 }

void APIENTRY logGetTexLevelParameteriv GLenum  target,
GLint  level,
GLenum  pname,
GLint *  params
[static]
 

Definition at line 1644 of file win_qgl.c.

References level, params, pname, and SIG.

01645 {
01646     SIG( "glGetTexLevelParameteriv" );
01647     dllGetTexLevelParameteriv( target, level, pname, params );
01648 }

void APIENTRY logGetTexParameterfv GLenum  target,
GLenum  pname,
GLfloat params
[static]
 

Definition at line 1650 of file win_qgl.c.

References params, pname, and SIG.

01651 {
01652     SIG( "glGetTexParameterfv" );
01653     dllGetTexParameterfv( target, pname, params );
01654 }

void APIENTRY logGetTexParameteriv GLenum  target,
GLenum  pname,
GLint *  params
[static]
 

Definition at line 1656 of file win_qgl.c.

References params, pname, and SIG.

01657 {
01658     SIG( "glGetTexParameteriv" );
01659     dllGetTexParameteriv( target, pname, params );
01660 }

void APIENTRY logHint GLenum  target,
GLenum  mode
[static]
 

Definition at line 1662 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and mode.

01663 {
01664     fprintf( glw_state.log_fp, "glHint( 0x%x, 0x%x )\n", target, mode );
01665     dllHint( target, mode );
01666 }

Here is the call graph for this function:

void APIENTRY logIndexd GLdouble  c  )  [static]
 

Definition at line 1680 of file win_qgl.c.

References c, and SIG.

01681 {
01682     SIG( "glIndexd" );
01683     dllIndexd( c );
01684 }

void APIENTRY logIndexdv const GLdouble *  c  )  [static]
 

Definition at line 1686 of file win_qgl.c.

References c, and SIG.

01687 {
01688     SIG( "glIndexdv" );
01689     dllIndexdv( c );
01690 }

void APIENTRY logIndexf GLfloat  c  )  [static]
 

Definition at line 1692 of file win_qgl.c.

References c, and SIG.

01693 {
01694     SIG( "glIndexf" );
01695     dllIndexf( c );
01696 }

void APIENTRY logIndexfv const GLfloat c  )  [static]
 

Definition at line 1698 of file win_qgl.c.

References c, and SIG.

01699 {
01700     SIG( "glIndexfv" );
01701     dllIndexfv( c );
01702 }

void APIENTRY logIndexi GLint  c  )  [static]
 

Definition at line 1704 of file win_qgl.c.

References c, and SIG.

01705 {
01706     SIG( "glIndexi" );
01707     dllIndexi( c );
01708 }

void APIENTRY logIndexiv const GLint *  c  )  [static]
 

Definition at line 1710 of file win_qgl.c.

References c, and SIG.

01711 {
01712     SIG( "glIndexiv" );
01713     dllIndexiv( c );
01714 }

void APIENTRY logIndexMask GLuint  mask  )  [static]
 

Definition at line 1668 of file win_qgl.c.

References mask, and SIG.

01669 {
01670     SIG( "glIndexMask" );
01671     dllIndexMask( mask );
01672 }

void APIENTRY logIndexPointer GLenum  type,
GLsizei  stride,
const void *  pointer
[static]
 

Definition at line 1674 of file win_qgl.c.

References pointer, SIG, stride, and type.

01675 {
01676     SIG( "glIndexPointer" );
01677     dllIndexPointer( type, stride, pointer );
01678 }

void APIENTRY logIndexs GLshort  c  )  [static]
 

Definition at line 1716 of file win_qgl.c.

References c, and SIG.

01717 {
01718     SIG( "glIndexs" );
01719     dllIndexs( c );
01720 }

void APIENTRY logIndexsv const GLshort *  c  )  [static]
 

Definition at line 1722 of file win_qgl.c.

References c, and SIG.

01723 {
01724     SIG( "glIndexsv" );
01725     dllIndexsv( c );
01726 }

void APIENTRY logIndexub GLubyte  c  )  [static]
 

Definition at line 1728 of file win_qgl.c.

References c, and SIG.

01729 {
01730     SIG( "glIndexub" );
01731     dllIndexub( c );
01732 }

void APIENTRY logIndexubv const GLubyte *  c  )  [static]
 

Definition at line 1734 of file win_qgl.c.

References c, and SIG.

01735 {
01736     SIG( "glIndexubv" );
01737     dllIndexubv( c );
01738 }

void APIENTRY logInitNames void   )  [static]
 

Definition at line 1740 of file win_qgl.c.

References SIG.

01741 {
01742     SIG( "glInitNames" );
01743     dllInitNames();
01744 }

void APIENTRY logInterleavedArrays GLenum  format,
GLsizei  stride,
const void *  pointer
[static]
 

Definition at line 1746 of file win_qgl.c.

References format, pointer, SIG, and stride.

01747 {
01748     SIG( "glInterleavedArrays" );
01749     dllInterleavedArrays( format, stride, pointer );
01750 }

GLboolean APIENTRY logIsEnabled GLenum  cap  )  [static]
 

Definition at line 1752 of file win_qgl.c.

References GLboolean(), and SIG.

01753 {
01754     SIG( "glIsEnabled" );
01755     return dllIsEnabled( cap );
01756 }

Here is the call graph for this function:

GLboolean APIENTRY logIsList GLuint  list  )  [static]
 

Definition at line 1757 of file win_qgl.c.

References GLboolean(), and SIG.

01758 {
01759     SIG( "glIsList" );
01760     return dllIsList( list );
01761 }

Here is the call graph for this function:

GLboolean APIENTRY logIsTexture GLuint  texture  )  [static]
 

Definition at line 1762 of file win_qgl.c.

References GLboolean(), SIG, and texture.

01763 {
01764     SIG( "glIsTexture" );
01765     return dllIsTexture( texture );
01766 }

Here is the call graph for this function:

void APIENTRY logLightf GLenum  light,
GLenum  pname,
GLfloat  param
[static]
 

Definition at line 1793 of file win_qgl.c.

References param, pname, and SIG.

01794 {
01795     SIG( "glLightf" );
01796     dllLightf( light, pname, param );
01797 }

void APIENTRY logLightfv GLenum  light,
GLenum  pname,
const GLfloat params
[static]
 

Definition at line 1799 of file win_qgl.c.

References params, pname, and SIG.

01800 {
01801     SIG( "glLightfv" );
01802     dllLightfv( light, pname, params );
01803 }

void APIENTRY logLighti GLenum  light,
GLenum  pname,
GLint  param
[static]
 

Definition at line 1805 of file win_qgl.c.

References param, pname, and SIG.

01806 {
01807     SIG( "glLighti" );
01808     dllLighti( light, pname, param );
01809 }

void APIENTRY logLightiv GLenum  light,
GLenum  pname,
const GLint *  params
[static]
 

Definition at line 1811 of file win_qgl.c.

References params, pname, and SIG.

01812 {
01813     SIG( "glLightiv" );
01814     dllLightiv( light, pname, params );
01815 }

void APIENTRY logLightModelf GLenum  pname,
GLfloat  param
[static]
 

Definition at line 1768 of file win_qgl.c.

References param, pname, and SIG.

01769 {
01770     SIG( "glLightModelf" );
01771     dllLightModelf( pname, param );
01772 }

void APIENTRY logLightModelfv GLenum  pname,
const GLfloat params
[static]
 

Definition at line 1774 of file win_qgl.c.

References params, pname, and SIG.

01775 {
01776     SIG( "glLightModelfv" );
01777     dllLightModelfv( pname, params );
01778 }

void APIENTRY logLightModeli GLenum  pname,
GLint  param
[static]
 

Definition at line 1780 of file win_qgl.c.

References param, pname, and SIG.

01781 {
01782     SIG( "glLightModeli" );
01783     dllLightModeli( pname, param );
01784 
01785 }

void APIENTRY logLightModeliv GLenum  pname,
const GLint *  params
[static]
 

Definition at line 1787 of file win_qgl.c.

References params, pname, and SIG.

01788 {
01789     SIG( "glLightModeliv" );
01790     dllLightModeliv( pname, params );
01791 }

void APIENTRY logLineStipple GLint  factor,
GLushort  pattern
[static]
 

Definition at line 1817 of file win_qgl.c.

References pattern, and SIG.

01818 {
01819     SIG( "glLineStipple" );
01820     dllLineStipple( factor, pattern );
01821 }

void APIENTRY logLineWidth GLfloat  width  )  [static]
 

Definition at line 1823 of file win_qgl.c.

References SIG, and width.

01824 {
01825     SIG( "glLineWidth" );
01826     dllLineWidth( width );
01827 }

void APIENTRY logListBase GLuint  base  )  [static]
 

Definition at line 1829 of file win_qgl.c.

References SIG.

01830 {
01831     SIG( "glListBase" );
01832     dllListBase( base );
01833 }

void APIENTRY logLoadIdentity void   )  [static]
 

Definition at line 1835 of file win_qgl.c.

References SIG.

01836 {
01837     SIG( "glLoadIdentity" );
01838     dllLoadIdentity();
01839 }

void APIENTRY logLoadMatrixd const GLdouble *  m  )  [static]
 

Definition at line 1841 of file win_qgl.c.

References m, and SIG.

01842 {
01843     SIG( "glLoadMatrixd" );
01844     dllLoadMatrixd( m );
01845 }

void APIENTRY logLoadMatrixf const GLfloat m  )  [static]
 

Definition at line 1847 of file win_qgl.c.

References m, and SIG.

01848 {
01849     SIG( "glLoadMatrixf" );
01850     dllLoadMatrixf( m );
01851 }

void APIENTRY logLoadName GLuint  name  )  [static]
 

Definition at line 1853 of file win_qgl.c.

References name, and SIG.

01854 {
01855     SIG( "glLoadName" );
01856     dllLoadName( name );
01857 }

void APIENTRY logLogicOp GLenum  opcode  )  [static]
 

Definition at line 1859 of file win_qgl.c.

References SIG.

01860 {
01861     SIG( "glLogicOp" );
01862     dllLogicOp( opcode );
01863 }

void APIENTRY logMap1d GLenum  target,
GLdouble  u1,
GLdouble  u2,
GLint  stride,
GLint  order,
const GLdouble *  points
[static]
 

Definition at line 1865 of file win_qgl.c.

References order, points, SIG, stride, u1, and u2.

01866 {
01867     SIG( "glMap1d" );
01868     dllMap1d( target, u1, u2, stride, order, points );
01869 }

void APIENTRY logMap1f GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  stride,
GLint  order,
const GLfloat points
[static]
 

Definition at line 1871 of file win_qgl.c.

References order, points, SIG, stride, u1, and u2.

01872 {
01873     SIG( "glMap1f" );
01874     dllMap1f( target, u1, u2, stride, order, points );
01875 }

void APIENTRY logMap2d GLenum  target,
GLdouble  u1,
GLdouble  u2,
GLint  ustride,
GLint  uorder,
GLdouble  v1,
GLdouble  v2,
GLint  vstride,
GLint  vorder,
const GLdouble *  points
[static]
 

Definition at line 1877 of file win_qgl.c.

References points, SIG, u1, u2, uorder, ustride, v1, v2, vorder, and vstride.

01878 {
01879     SIG( "glMap2d" );
01880     dllMap2d( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
01881 }

void APIENTRY logMap2f GLenum  target,
GLfloat  u1,
GLfloat  u2,
GLint  ustride,
GLint  uorder,
GLfloat  v1,
GLfloat  v2,
GLint  vstride,
GLint  vorder,
const GLfloat points
[static]
 

Definition at line 1883 of file win_qgl.c.

References points, SIG, u1, u2, uorder, ustride, v1, v2, vorder, and vstride.

01884 {
01885     SIG( "glMap2f" );
01886     dllMap2f( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
01887 }

void APIENTRY logMapGrid1d GLint  un,
GLdouble  u1,
GLdouble  u2
[static]
 

Definition at line 1889 of file win_qgl.c.

References SIG, u1, and u2.

01890 {
01891     SIG( "glMapGrid1d" );
01892     dllMapGrid1d( un, u1, u2 );
01893 }

void APIENTRY logMapGrid1f GLint  un,
GLfloat  u1,
GLfloat  u2
[static]
 

Definition at line 1895 of file win_qgl.c.

References SIG, u1, and u2.

01896 {
01897     SIG( "glMapGrid1f" );
01898     dllMapGrid1f( un, u1, u2 );
01899 }

void APIENTRY logMapGrid2d GLint  un,
GLdouble  u1,
GLdouble  u2,
GLint  vn,
GLdouble  v1,
GLdouble  v2
[static]
 

Definition at line 1901 of file win_qgl.c.

References SIG, u1, u2, v1, v2, and vn.

01902 {
01903     SIG( "glMapGrid2d" );
01904     dllMapGrid2d( un, u1, u2, vn, v1, v2 );
01905 }

void APIENTRY logMapGrid2f GLint  un,
GLfloat  u1,
GLfloat  u2,
GLint  vn,
GLfloat  v1,
GLfloat  v2
[static]
 

Definition at line 1906 of file win_qgl.c.

References SIG, u1, u2, v1, v2, and vn.

01907 {
01908     SIG( "glMapGrid2f" );
01909     dllMapGrid2f( un, u1, u2, vn, v1, v2 );
01910 }

void APIENTRY logMaterialf GLenum  face,
GLenum  pname,
GLfloat  param
[static]
 

Definition at line 1911 of file win_qgl.c.

References param, pname, and SIG.

01912 {
01913     SIG( "glMaterialf" );
01914     dllMaterialf( face, pname, param );
01915 }

void APIENTRY logMaterialfv GLenum  face,
GLenum  pname,
const GLfloat params
[static]
 

Definition at line 1916 of file win_qgl.c.

References params, pname, and SIG.

01917 {
01918     SIG( "glMaterialfv" );
01919     dllMaterialfv( face, pname, params );
01920 }

void APIENTRY logMateriali GLenum  face,
GLenum  pname,
GLint  param
[static]
 

Definition at line 1922 of file win_qgl.c.

References param, pname, and SIG.

01923 {
01924     SIG( "glMateriali" );
01925     dllMateriali( face, pname, param );
01926 }

void APIENTRY logMaterialiv GLenum  face,
GLenum  pname,
const GLint *  params
[static]
 

Definition at line 1928 of file win_qgl.c.

References params, pname, and SIG.

01929 {
01930     SIG( "glMaterialiv" );
01931     dllMaterialiv( face, pname, params );
01932 }

void APIENTRY logMatrixMode GLenum  mode  )  [static]
 

Definition at line 1934 of file win_qgl.c.

References mode, and SIG.

01935 {
01936     SIG( "glMatrixMode" );
01937     dllMatrixMode( mode );
01938 }

void APIENTRY logMultMatrixd const GLdouble *  m  )  [static]
 

Definition at line 1940 of file win_qgl.c.

References m, and SIG.

01941 {
01942     SIG( "glMultMatrixd" );
01943     dllMultMatrixd( m );
01944 }

void APIENTRY logMultMatrixf const GLfloat m  )  [static]
 

Definition at line 1946 of file win_qgl.c.

References m, and SIG.

01947 {
01948     SIG( "glMultMatrixf" );
01949     dllMultMatrixf( m );
01950 }

void APIENTRY logNewList GLuint  list,
GLenum  mode
[static]
 

Definition at line 1952 of file win_qgl.c.

References mode, and SIG.

01953 {
01954     SIG( "glNewList" );
01955     dllNewList( list, mode );
01956 }

void APIENTRY logNormal3b GLbyte  nx,
GLbyte  ny,
GLbyte  nz
[static]
 

Definition at line 1958 of file win_qgl.c.

References ny, nz, and SIG.

01959 {
01960     SIG ("glNormal3b" );
01961     dllNormal3b( nx, ny, nz );
01962 }

void APIENTRY logNormal3bv const GLbyte *  v  )  [static]
 

Definition at line 1964 of file win_qgl.c.

References SIG, and v.

01965 {
01966     SIG( "glNormal3bv" );
01967     dllNormal3bv( v );
01968 }

void APIENTRY logNormal3d GLdouble  nx,
GLdouble  ny,
GLdouble  nz
[static]
 

Definition at line 1970 of file win_qgl.c.

References ny, nz, and SIG.

01971 {
01972     SIG( "glNormal3d" );
01973     dllNormal3d( nx, ny, nz );
01974 }

void APIENTRY logNormal3dv const GLdouble *  v  )  [static]
 

Definition at line 1976 of file win_qgl.c.

References SIG, and v.

01977 {
01978     SIG( "glNormal3dv" );
01979     dllNormal3dv( v );
01980 }

void APIENTRY logNormal3f GLfloat  nx,
GLfloat  ny,
GLfloat  nz
[static]
 

Definition at line 1982 of file win_qgl.c.

References ny, nz, and SIG.

01983 {
01984     SIG( "glNormal3f" );
01985     dllNormal3f( nx, ny, nz );
01986 }

void APIENTRY logNormal3fv const GLfloat v  )  [static]
 

Definition at line 1988 of file win_qgl.c.

References SIG, and v.

01989 {
01990     SIG( "glNormal3fv" );
01991     dllNormal3fv( v );
01992 }

void APIENTRY logNormal3i GLint  nx,
GLint  ny,
GLint  nz
[static]
 

Definition at line 1993 of file win_qgl.c.

References ny, nz, and SIG.

01994 {
01995     SIG( "glNormal3i" );
01996     dllNormal3i( nx, ny, nz );
01997 }

void APIENTRY logNormal3iv const GLint *  v  )  [static]
 

Definition at line 1998 of file win_qgl.c.

References SIG, and v.

01999 {
02000     SIG( "glNormal3iv" );
02001     dllNormal3iv( v );
02002 }

void APIENTRY logNormal3s GLshort  nx,
GLshort  ny,
GLshort  nz
[static]
 

Definition at line 2003 of file win_qgl.c.

References ny, nz, and SIG.

02004 {
02005     SIG( "glNormal3s" );
02006     dllNormal3s( nx, ny, nz );
02007 }

void APIENTRY logNormal3sv const GLshort *  v  )  [static]
 

Definition at line 2008 of file win_qgl.c.

References SIG, and v.

02009 {
02010     SIG( "glNormal3sv" );
02011     dllNormal3sv( v );
02012 }

void APIENTRY logNormalPointer GLenum  type,
GLsizei  stride,
const void *  pointer
[static]
 

Definition at line 2013 of file win_qgl.c.

References pointer, SIG, stride, and type.

02014 {
02015     SIG( "glNormalPointer" );
02016     dllNormalPointer( type, stride, pointer );
02017 }

void APIENTRY logOrtho GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  zNear,
GLdouble  zFar
[static]
 

Definition at line 2018 of file win_qgl.c.

References bottom, right, SIG, top, zFar, and zNear.

02019 {
02020     SIG( "glOrtho" );
02021     dllOrtho( left, right, bottom, top, zNear, zFar );
02022 }

void APIENTRY logPassThrough GLfloat  token  )  [static]
 

Definition at line 2024 of file win_qgl.c.

References SIG, and token.

02025 {
02026     SIG( "glPassThrough" );
02027     dllPassThrough( token );
02028 }

void APIENTRY logPixelMapfv GLenum  map,
GLsizei  mapsize,
const GLfloat values
[static]
 

Definition at line 2030 of file win_qgl.c.

References mapsize, SIG, and values.

02031 {
02032     SIG( "glPixelMapfv" );
02033     dllPixelMapfv( map, mapsize, values );
02034 }

void APIENTRY logPixelMapuiv GLenum  map,
GLsizei  mapsize,
const GLuint *  values
[static]
 

Definition at line 2036 of file win_qgl.c.

References mapsize, SIG, and values.

02037 {
02038     SIG( "glPixelMapuiv" );
02039     dllPixelMapuiv( map, mapsize, values );
02040 }

void APIENTRY logPixelMapusv GLenum  map,
GLsizei  mapsize,
const GLushort *  values
[static]
 

Definition at line 2042 of file win_qgl.c.

References mapsize, SIG, and values.

02043 {
02044     SIG( "glPixelMapusv" );
02045     dllPixelMapusv( map, mapsize, values );
02046 }

void APIENTRY logPixelStoref GLenum  pname,
GLfloat  param
[static]
 

Definition at line 2047 of file win_qgl.c.

References param, pname, and SIG.

02048 {
02049     SIG( "glPixelStoref" );
02050     dllPixelStoref( pname, param );
02051 }

void APIENTRY logPixelStorei GLenum  pname,
GLint  param
[static]
 

Definition at line 2052 of file win_qgl.c.

References param, pname, and SIG.

02053 {
02054     SIG( "glPixelStorei" );
02055     dllPixelStorei( pname, param );
02056 }

void APIENTRY logPixelTransferf GLenum  pname,
GLfloat  param
[static]
 

Definition at line 2057 of file win_qgl.c.

References param, pname, and SIG.

02058 {
02059     SIG( "glPixelTransferf" );
02060     dllPixelTransferf( pname, param );
02061 }

void APIENTRY logPixelTransferi GLenum  pname,
GLint  param
[static]
 

Definition at line 2063 of file win_qgl.c.

References param, pname, and SIG.

02064 {
02065     SIG( "glPixelTransferi" );
02066     dllPixelTransferi( pname, param );
02067 }

void APIENTRY logPixelZoom GLfloat  xfactor,
GLfloat  yfactor
[static]
 

Definition at line 2069 of file win_qgl.c.

References SIG, and yfactor.

02070 {
02071     SIG( "glPixelZoom" );
02072     dllPixelZoom( xfactor, yfactor );
02073 }

void APIENTRY logPointSize GLfloat  size  )  [static]
 

Definition at line 2075 of file win_qgl.c.

References SIG.

02076 {
02077     SIG( "glPointSize" );
02078     dllPointSize( size );
02079 }

void APIENTRY logPolygonMode GLenum  face,
GLenum  mode
[static]
 

Definition at line 2081 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, and mode.

02082 {
02083     fprintf( glw_state.log_fp, "glPolygonMode( 0x%x, 0x%x )\n", face, mode );
02084     dllPolygonMode( face, mode );
02085 }

Here is the call graph for this function:

void APIENTRY logPolygonOffset GLfloat  factor,
GLfloat  units
[static]
 

Definition at line 2087 of file win_qgl.c.

References SIG, and units.

02088 {
02089     SIG( "glPolygonOffset" );
02090     dllPolygonOffset( factor, units );
02091 }

void APIENTRY logPolygonStipple const GLubyte *  mask  )  [static]
 

Definition at line 2092 of file win_qgl.c.

References mask, and SIG.

02093 {
02094     SIG( "glPolygonStipple" );
02095     dllPolygonStipple( mask );
02096 }

void APIENTRY logPopAttrib void   )  [static]
 

Definition at line 2097 of file win_qgl.c.

References SIG.

02098 {
02099     SIG( "glPopAttrib" );
02100     dllPopAttrib();
02101 }

void APIENTRY logPopClientAttrib void   )  [static]
 

Definition at line 2103 of file win_qgl.c.

References SIG.

02104 {
02105     SIG( "glPopClientAttrib" );
02106     dllPopClientAttrib();
02107 }

void APIENTRY logPopMatrix void   )  [static]
 

Definition at line 2109 of file win_qgl.c.

References SIG.

02110 {
02111     SIG( "glPopMatrix" );
02112     dllPopMatrix();
02113 }

void APIENTRY logPopName void   )  [static]
 

Definition at line 2115 of file win_qgl.c.

References SIG.

02116 {
02117     SIG( "glPopName" );
02118     dllPopName();
02119 }

void APIENTRY logPrioritizeTextures GLsizei  n,
const GLuint *  textures,
const GLclampf *  priorities
[static]
 

Definition at line 2121 of file win_qgl.c.

References n, priorities, SIG, and textures.

02122 {
02123     SIG( "glPrioritizeTextures" );
02124     dllPrioritizeTextures( n, textures, priorities );
02125 }

void APIENTRY logPushAttrib GLbitfield  mask  )  [static]
 

Definition at line 2127 of file win_qgl.c.

References mask, and SIG.

02128 {
02129     SIG( "glPushAttrib" );
02130     dllPushAttrib( mask );
02131 }

void APIENTRY logPushClientAttrib GLbitfield  mask  )  [static]
 

Definition at line 2133 of file win_qgl.c.

References mask, and SIG.

02134 {
02135     SIG( "glPushClientAttrib" );
02136     dllPushClientAttrib( mask );
02137 }

void APIENTRY logPushMatrix void   )  [static]
 

Definition at line 2139 of file win_qgl.c.

References SIG.

02140 {
02141     SIG( "glPushMatrix" );
02142     dllPushMatrix();
02143 }

void APIENTRY logPushName GLuint  name  )  [static]
 

Definition at line 2145 of file win_qgl.c.

References name, and SIG.

02146 {
02147     SIG( "glPushName" );
02148     dllPushName( name );
02149 }

void APIENTRY logRasterPos2d GLdouble  x,
GLdouble  y
[static]
 

Definition at line 2151 of file win_qgl.c.

References SIG, x, and y.

02152 {
02153     SIG ("glRasterPot2d" );
02154     dllRasterPos2d( x, y );
02155 }

void APIENTRY logRasterPos2dv const GLdouble *  v  )  [static]
 

Definition at line 2157 of file win_qgl.c.

References SIG, and v.

02158 {
02159     SIG( "glRasterPos2dv" );
02160     dllRasterPos2dv( v );
02161 }

void APIENTRY logRasterPos2f GLfloat  x,
GLfloat  y
[static]
 

Definition at line 2163 of file win_qgl.c.

References SIG, x, and y.

02164 {
02165     SIG( "glRasterPos2f" );
02166     dllRasterPos2f( x, y );
02167 }

void APIENTRY logRasterPos2fv const GLfloat v  )  [static]
 

Definition at line 2168 of file win_qgl.c.

References SIG, and v.

02169 {
02170     SIG( "glRasterPos2dv" );
02171     dllRasterPos2fv( v );
02172 }

void APIENTRY logRasterPos2i GLint  x,
GLint  y
[static]
 

Definition at line 2173 of file win_qgl.c.

References SIG, x, and y.

02174 {
02175     SIG( "glRasterPos2if" );
02176     dllRasterPos2i( x, y );
02177 }

void APIENTRY logRasterPos2iv const GLint *  v  )  [static]
 

Definition at line 2178 of file win_qgl.c.

References SIG, and v.

02179 {
02180     SIG( "glRasterPos2iv" );
02181     dllRasterPos2iv( v );
02182 }

void APIENTRY logRasterPos2s GLshort  x,
GLshort  y
[static]
 

Definition at line 2183 of file win_qgl.c.

References SIG, x, and y.

02184 {
02185     SIG( "glRasterPos2s" );
02186     dllRasterPos2s( x, y );
02187 }

void APIENTRY logRasterPos2sv const GLshort *  v  )  [static]
 

Definition at line 2188 of file win_qgl.c.

References SIG, and v.

02189 {
02190     SIG( "glRasterPos2sv" );
02191     dllRasterPos2sv( v );
02192 }

void APIENTRY logRasterPos3d GLdouble  x,
GLdouble  y,
GLdouble  z
[static]
 

Definition at line 2193 of file win_qgl.c.

References SIG, x, y, and z.

02194 {
02195     SIG( "glRasterPos3d" );
02196     dllRasterPos3d( x, y, z );
02197 }

void APIENTRY logRasterPos3dv const GLdouble *  v  )  [static]
 

Definition at line 2198 of file win_qgl.c.

References SIG, and v.

02199 {
02200     SIG( "glRasterPos3dv" );
02201     dllRasterPos3dv( v );
02202 }

void APIENTRY logRasterPos3f GLfloat  x,
GLfloat  y,
GLfloat  z
[static]
 

Definition at line 2203 of file win_qgl.c.

References SIG, x, y, and z.

02204 {
02205     SIG( "glRasterPos3f" );
02206     dllRasterPos3f( x, y, z );
02207 }

void APIENTRY logRasterPos3fv const GLfloat v  )  [static]
 

Definition at line 2208 of file win_qgl.c.

References SIG, and v.

02209 {
02210     SIG( "glRasterPos3fv" );
02211     dllRasterPos3fv( v );
02212 }

void APIENTRY logRasterPos3i GLint  x,
GLint  y,
GLint  z
[static]
 

Definition at line 2213 of file win_qgl.c.

References SIG, x, y, and z.

02214 {
02215     SIG( "glRasterPos3i" );
02216     dllRasterPos3i( x, y, z );
02217 }

void APIENTRY logRasterPos3iv const GLint *  v  )  [static]
 

Definition at line 2218 of file win_qgl.c.

References SIG, and v.

02219 {
02220     SIG( "glRasterPos3iv" );
02221     dllRasterPos3iv( v );
02222 }

void APIENTRY logRasterPos3s GLshort  x,
GLshort  y,
GLshort  z
[static]
 

Definition at line 2223 of file win_qgl.c.

References SIG, x, y, and z.

02224 {
02225     SIG( "glRasterPos3s" );
02226     dllRasterPos3s( x, y, z );
02227 }

void APIENTRY logRasterPos3sv const GLshort *  v  )  [static]
 

Definition at line 2228 of file win_qgl.c.

References SIG, and v.

02229 {
02230     SIG( "glRasterPos3sv" );
02231     dllRasterPos3sv( v );
02232 }

void APIENTRY logRasterPos4d GLdouble  x,
GLdouble  y,
GLdouble  z,
GLdouble  w
[static]
 

Definition at line 2233 of file win_qgl.c.

References SIG, w, x, y, and z.

02234 {
02235     SIG( "glRasterPos4d" );
02236     dllRasterPos4d( x, y, z, w );
02237 }

void APIENTRY logRasterPos4dv const GLdouble *  v  )  [static]
 

Definition at line 2238 of file win_qgl.c.

References SIG, and v.

02239 {
02240     SIG( "glRasterPos4dv" );
02241     dllRasterPos4dv( v );
02242 }

void APIENTRY logRasterPos4f GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  w
[static]
 

Definition at line 2243 of file win_qgl.c.

References SIG, w, x, y, and z.

02244 {
02245     SIG( "glRasterPos4f" );
02246     dllRasterPos4f( x, y, z, w );
02247 }

void APIENTRY logRasterPos4fv const GLfloat v  )  [static]
 

Definition at line 2248 of file win_qgl.c.

References SIG, and v.

02249 {
02250     SIG( "glRasterPos4fv" );
02251     dllRasterPos4fv( v );
02252 }

void APIENTRY logRasterPos4i GLint  x,
GLint  y,
GLint  z,
GLint  w
[static]
 

Definition at line 2253 of file win_qgl.c.

References SIG, w, x, y, and z.

02254 {
02255     SIG( "glRasterPos4i" );
02256     dllRasterPos4i( x, y, z, w );
02257 }

void APIENTRY logRasterPos4iv const GLint *  v  )  [static]
 

Definition at line 2258 of file win_qgl.c.

References SIG, and v.

02259 {
02260     SIG( "glRasterPos4iv" );
02261     dllRasterPos4iv( v );
02262 }

void APIENTRY logRasterPos4s GLshort  x,
GLshort  y,
GLshort  z,
GLshort  w
[static]
 

Definition at line 2263 of file win_qgl.c.

References SIG, w, x, y, and z.

02264 {
02265     SIG( "glRasterPos4s" );
02266     dllRasterPos4s( x, y, z, w );
02267 }

void APIENTRY logRasterPos4sv const GLshort *  v  )  [static]
 

Definition at line 2268 of file win_qgl.c.

References SIG, and v.

02269 {
02270     SIG( "glRasterPos4sv" );
02271     dllRasterPos4sv( v );
02272 }

void APIENTRY logReadBuffer GLenum  mode  )  [static]
 

Definition at line 2273 of file win_qgl.c.

References mode, and SIG.

02274 {
02275     SIG( "glReadBuffer" );
02276     dllReadBuffer( mode );
02277 }

void APIENTRY logReadPixels GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
void *  pixels
[static]
 

Definition at line 2278 of file win_qgl.c.

References format, height, pixels, SIG, type, width, x, and y.

02279 {
02280     SIG( "glReadPixels" );
02281     dllReadPixels( x, y, width, height, format, type, pixels );
02282 }

void APIENTRY logRectd GLdouble  x1,
GLdouble  y1,
GLdouble  x2,
GLdouble  y2
[static]
 

Definition at line 2284 of file win_qgl.c.

References SIG, x2, y1, and y2.

02285 {
02286     SIG( "glRectd" );
02287     dllRectd( x1, y1, x2, y2 );
02288 }

void APIENTRY logRectdv const GLdouble *  v1,
const GLdouble *  v2
[static]
 

Definition at line 2290 of file win_qgl.c.

References SIG, v1, and v2.

02291 {
02292     SIG( "glRectdv" );
02293     dllRectdv( v1, v2 );
02294 }

void APIENTRY logRectf GLfloat  x1,
GLfloat  y1,
GLfloat  x2,
GLfloat  y2
[static]
 

Definition at line 2296 of file win_qgl.c.

References SIG, x2, y1, and y2.

02297 {
02298     SIG( "glRectf" );
02299     dllRectf( x1, y1, x2, y2 );
02300 }

void APIENTRY logRectfv const GLfloat v1,
const GLfloat v2
[static]
 

Definition at line 2302 of file win_qgl.c.

References SIG, v1, and v2.

02303 {
02304     SIG( "glRectfv" );
02305     dllRectfv( v1, v2 );
02306 }

void APIENTRY logRecti GLint  x1,
GLint  y1,
GLint  x2,
GLint  y2
[static]
 

Definition at line 2307 of file win_qgl.c.

References SIG, x2, y1, and y2.

02308 {
02309     SIG( "glRecti" );
02310     dllRecti( x1, y1, x2, y2 );
02311 }

void APIENTRY logRectiv const GLint *  v1,
const GLint *  v2
[static]
 

Definition at line 2312 of file win_qgl.c.

References SIG, v1, and v2.

02313 {
02314     SIG( "glRectiv" );
02315     dllRectiv( v1, v2 );
02316 }

void APIENTRY logRects GLshort  x1,
GLshort  y1,
GLshort  x2,
GLshort  y2
[static]
 

Definition at line 2317 of file win_qgl.c.

References SIG, x2, y1, and y2.

02318 {
02319     SIG( "glRects" );
02320     dllRects( x1, y1, x2, y2 );
02321 }

void APIENTRY logRectsv const GLshort *  v1,
const GLshort *  v2
[static]
 

Definition at line 2322 of file win_qgl.c.

References SIG, v1, and v2.

02323 {
02324     SIG( "glRectsv" );
02325     dllRectsv( v1, v2 );
02326 }

GLint APIENTRY logRenderMode GLenum  mode  )  [static]
 

Definition at line 2327 of file win_qgl.c.

References GLint, mode, and SIG.

02328 {
02329     SIG( "glRenderMode" );
02330     return dllRenderMode( mode );
02331 }

void APIENTRY logRotated GLdouble  angle,
GLdouble  x,
GLdouble  y,
GLdouble  z
[static]
 

Definition at line 2332 of file win_qgl.c.

References SIG, x, y, and z.

02333 {
02334     SIG( "glRotated" );
02335     dllRotated( angle, x, y, z );
02336 }

void APIENTRY logRotatef GLfloat  angle,
GLfloat  x,
GLfloat  y,
GLfloat  z
[static]
 

Definition at line 2338 of file win_qgl.c.

References SIG, x, y, and z.

02339 {
02340     SIG( "glRotatef" );
02341     dllRotatef( angle, x, y, z );
02342 }

void APIENTRY logScaled GLdouble  x,
GLdouble  y,
GLdouble  z
[static]
 

Definition at line 2344 of file win_qgl.c.

References SIG, x, y, and z.

02345 {
02346     SIG( "glScaled" );
02347     dllScaled( x, y, z );
02348 }

void APIENTRY logScalef GLfloat  x,
GLfloat  y,
GLfloat  z
[static]
 

Definition at line 2350 of file win_qgl.c.

References SIG, x, y, and z.

02351 {
02352     SIG( "glScalef" );
02353     dllScalef( x, y, z );
02354 }

void APIENTRY logScissor GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height
[static]
 

Definition at line 2356 of file win_qgl.c.

References fprintf(), glw_state, height, glwstate_t::log_fp, width, x, and y.

02357 {
02358     fprintf( glw_state.log_fp, "glScissor( %d, %d, %d, %d )\n", x, y, width, height );
02359     dllScissor( x, y, width, height );
02360 }

Here is the call graph for this function:

void APIENTRY logSelectBuffer GLsizei  size,
GLuint *  buffer
[static]
 

Definition at line 2362 of file win_qgl.c.

References buffer, and SIG.

02363 {
02364     SIG( "glSelectBuffer" );
02365     dllSelectBuffer( size, buffer );
02366 }

void APIENTRY logShadeModel GLenum  mode  )  [static]
 

Definition at line 2368 of file win_qgl.c.

References mode, and SIG.

02369 {
02370     SIG( "glShadeModel" );
02371     dllShadeModel( mode );
02372 }

void APIENTRY logStencilFunc GLenum  func,
GLint  ref,
GLuint  mask
[static]
 

Definition at line 2374 of file win_qgl.c.

References func(), mask, ref, and SIG.

02375 {
02376     SIG( "glStencilFunc" );
02377     dllStencilFunc( func, ref, mask );
02378 }

Here is the call graph for this function:

void APIENTRY logStencilMask GLuint  mask  )  [static]
 

Definition at line 2380 of file win_qgl.c.

References mask, and SIG.

02381 {
02382     SIG( "glStencilMask" );
02383     dllStencilMask( mask );
02384 }

void APIENTRY logStencilOp GLenum  fail,
GLenum  zfail,
GLenum  zpass
[static]
 

Definition at line 2386 of file win_qgl.c.

References SIG, zfail, and zpass.

02387 {
02388     SIG( "glStencilOp" );
02389     dllStencilOp( fail, zfail, zpass );
02390 }

void APIENTRY logTexCoord1d GLdouble  s  )  [static]
 

Definition at line 2392 of file win_qgl.c.

References s, and SIG.

02393 {
02394     SIG( "glTexCoord1d" );
02395     dllTexCoord1d( s );
02396 }

void APIENTRY logTexCoord1dv const GLdouble *  v  )  [static]
 

Definition at line 2398 of file win_qgl.c.

References SIG, and v.

02399 {
02400     SIG( "glTexCoord1dv" );
02401     dllTexCoord1dv( v );
02402 }

void APIENTRY logTexCoord1f GLfloat  s  )  [static]
 

Definition at line 2404 of file win_qgl.c.

References s, and SIG.

02405 {
02406     SIG( "glTexCoord1f" );
02407     dllTexCoord1f( s );
02408 }

void APIENTRY logTexCoord1fv const GLfloat v  )  [static]
 

Definition at line 2409 of file win_qgl.c.

References SIG, and v.

02410 {
02411     SIG( "glTexCoord1fv" );
02412     dllTexCoord1fv( v );
02413 }

void APIENTRY logTexCoord1i GLint  s  )  [static]
 

Definition at line 2414 of file win_qgl.c.

References s, and SIG.

02415 {
02416     SIG( "glTexCoord1i" );
02417     dllTexCoord1i( s );
02418 }

void APIENTRY logTexCoord1iv const GLint *  v  )  [static]
 

Definition at line 2419 of file win_qgl.c.

References SIG, and v.

02420 {
02421     SIG( "glTexCoord1iv" );
02422     dllTexCoord1iv( v );
02423 }

void APIENTRY logTexCoord1s GLshort  s  )  [static]
 

Definition at line 2424 of file win_qgl.c.

References s, and SIG.

02425 {
02426     SIG( "glTexCoord1s" );
02427     dllTexCoord1s( s );
02428 }

void APIENTRY logTexCoord1sv const GLshort *  v  )  [static]
 

Definition at line 2429 of file win_qgl.c.

References SIG, and v.

02430 {
02431     SIG( "glTexCoord1sv" );
02432     dllTexCoord1sv( v );
02433 }

void APIENTRY logTexCoord2d GLdouble  s,
GLdouble  t
[static]
 

Definition at line 2434 of file win_qgl.c.

References s, SIG, and t.

02435 {
02436     SIG( "glTexCoord2d" );
02437     dllTexCoord2d( s, t );
02438 }

void APIENTRY logTexCoord2dv const GLdouble *  v  )  [static]
 

Definition at line 2440 of file win_qgl.c.

References SIG, and v.

02441 {
02442     SIG( "glTexCoord2dv" );
02443     dllTexCoord2dv( v );
02444 }

void APIENTRY logTexCoord2f GLfloat  s,
GLfloat  t
[static]
 

Definition at line 2445 of file win_qgl.c.

References s, SIG, and t.

02446 {
02447     SIG( "glTexCoord2f" );
02448     dllTexCoord2f( s, t );
02449 }

void APIENTRY logTexCoord2fv const GLfloat v  )  [static]
 

Definition at line 2450 of file win_qgl.c.

References SIG, and v.

02451 {
02452     SIG( "glTexCoord2fv" );
02453     dllTexCoord2fv( v );
02454 }

void APIENTRY logTexCoord2i GLint  s,
GLint  t
[static]
 

Definition at line 2455 of file win_qgl.c.

References s, SIG, and t.

02456 {
02457     SIG( "glTexCoord2i" );
02458     dllTexCoord2i( s, t );
02459 }

void APIENTRY logTexCoord2iv const GLint *  v  )  [static]
 

Definition at line 2460 of file win_qgl.c.

References SIG, and v.

02461 {
02462     SIG( "glTexCoord2iv" );
02463     dllTexCoord2iv( v );
02464 }

void APIENTRY logTexCoord2s GLshort  s,
GLshort  t
[static]
 

Definition at line 2465 of file win_qgl.c.

References s, SIG, and t.

02466 {
02467     SIG( "glTexCoord2s" );
02468     dllTexCoord2s( s, t );
02469 }

void APIENTRY logTexCoord2sv const GLshort *  v  )  [static]
 

Definition at line 2470 of file win_qgl.c.

References SIG, and v.

02471 {
02472     SIG( "glTexCoord2sv" );
02473     dllTexCoord2sv( v );
02474 }

void APIENTRY logTexCoord3d GLdouble  s,
GLdouble  t,
GLdouble  r
[static]
 

Definition at line 2475 of file win_qgl.c.

References r, s, SIG, and t.

02476 {
02477     SIG( "glTexCoord3d" );
02478     dllTexCoord3d( s, t, r );
02479 }

void APIENTRY logTexCoord3dv const GLdouble *  v  )  [static]
 

Definition at line 2480 of file win_qgl.c.

References SIG, and v.

02481 {
02482     SIG( "glTexCoord3dv" );
02483     dllTexCoord3dv( v );
02484 }

void APIENTRY logTexCoord3f GLfloat  s,
GLfloat  t,
GLfloat  r
[static]
 

Definition at line 2485 of file win_qgl.c.

References r, s, SIG, and t.

02486 {
02487     SIG( "glTexCoord3f" );
02488     dllTexCoord3f( s, t, r );
02489 }

void APIENTRY logTexCoord3fv const GLfloat v  )  [static]
 

Definition at line 2490 of file win_qgl.c.

References SIG, and v.

02491 {
02492     SIG( "glTexCoord3fv" );
02493     dllTexCoord3fv( v );
02494 }

void APIENTRY logTexCoord3i GLint  s,
GLint  t,
GLint  r
[static]
 

Definition at line 2495 of file win_qgl.c.

References r, s, SIG, and t.

02496 {
02497     SIG( "glTexCoord3i" );
02498     dllTexCoord3i( s, t, r );
02499 }

void APIENTRY logTexCoord3iv const GLint *  v  )  [static]
 

Definition at line 2500 of file win_qgl.c.

References SIG, and v.

02501 {
02502     SIG( "glTexCoord3iv" );
02503     dllTexCoord3iv( v );
02504 }

void APIENTRY logTexCoord3s GLshort  s,
GLshort  t,
GLshort  r
[static]
 

Definition at line 2505 of file win_qgl.c.

References r, s, SIG, and t.

02506 {
02507     SIG( "glTexCoord3s" );
02508     dllTexCoord3s( s, t, r );
02509 }

void APIENTRY logTexCoord3sv const GLshort *  v  )  [static]
 

Definition at line 2510 of file win_qgl.c.

References SIG, and v.

02511 {
02512     SIG( "glTexCoord3sv" );
02513     dllTexCoord3sv( v );
02514 }

void APIENTRY logTexCoord4d GLdouble  s,
GLdouble  t,
GLdouble  r,
GLdouble  q
[static]
 

Definition at line 2515 of file win_qgl.c.

References q, r, s, SIG, and t.

02516 {
02517     SIG( "glTexCoord4d" );
02518     dllTexCoord4d( s, t, r, q );
02519 }

void APIENTRY logTexCoord4dv const GLdouble *  v  )  [static]
 

Definition at line 2520 of file win_qgl.c.

References SIG, and v.

02521 {
02522     SIG( "glTexCoord4dv" );
02523     dllTexCoord4dv( v );
02524 }

void APIENTRY logTexCoord4f GLfloat  s,
GLfloat  t,
GLfloat  r,
GLfloat  q
[static]
 

Definition at line 2525 of file win_qgl.c.

References q, r, s, SIG, and t.

02526 {
02527     SIG( "glTexCoord4f" );
02528     dllTexCoord4f( s, t, r, q );
02529 }

void APIENTRY logTexCoord4fv const GLfloat v  )  [static]
 

Definition at line 2530 of file win_qgl.c.

References SIG, and v.

02531 {
02532     SIG( "glTexCoord4fv" );
02533     dllTexCoord4fv( v );
02534 }

void APIENTRY logTexCoord4i GLint  s,
GLint  t,
GLint  r,
GLint  q
[static]
 

Definition at line 2535 of file win_qgl.c.

References q, r, s, SIG, and t.

02536 {
02537     SIG( "glTexCoord4i" );
02538     dllTexCoord4i( s, t, r, q );
02539 }

void APIENTRY logTexCoord4iv const GLint *  v  )  [static]
 

Definition at line 2540 of file win_qgl.c.

References SIG, and v.

02541 {
02542     SIG( "glTexCoord4iv" );
02543     dllTexCoord4iv( v );
02544 }

void APIENTRY logTexCoord4s GLshort  s,
GLshort  t,
GLshort  r,
GLshort  q
[static]
 

Definition at line 2545 of file win_qgl.c.

References q, r, s, SIG, and t.

02546 {
02547     SIG( "glTexCoord4s" );
02548     dllTexCoord4s( s, t, r, q );
02549 }

void APIENTRY logTexCoord4sv const GLshort *  v  )  [static]
 

Definition at line 2550 of file win_qgl.c.

References SIG, and v.

02551 {
02552     SIG( "glTexCoord4sv" );
02553     dllTexCoord4sv( v );
02554 }

void APIENTRY logTexCoordPointer GLint  size,
GLenum  type,
GLsizei  stride,
const void *  pointer
[static]
 

Definition at line 2555 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, pointer, stride, type, and TypeToString().

02556 {
02557     fprintf( glw_state.log_fp, "glTexCoordPointer( %d, %s, %d, MEM )\n", size, TypeToString( type ), stride );
02558     dllTexCoordPointer( size, type, stride, pointer );
02559 }

Here is the call graph for this function:

void APIENTRY logTexEnvf GLenum  target,
GLenum  pname,
GLfloat  param
[static]
 

Definition at line 2561 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, param, and pname.

02562 {
02563     fprintf( glw_state.log_fp, "glTexEnvf( 0x%x, 0x%x, %f )\n", target, pname, param );
02564     dllTexEnvf( target, pname, param );
02565 }

Here is the call graph for this function:

void APIENTRY logTexEnvfv GLenum  target,
GLenum  pname,
const GLfloat params
[static]
 

Definition at line 2567 of file win_qgl.c.

References params, pname, and SIG.

02568 {
02569     SIG( "glTexEnvfv" );
02570     dllTexEnvfv( target, pname, params );
02571 }

void APIENTRY logTexEnvi GLenum  target,
GLenum  pname,
GLint  param
[static]
 

Definition at line 2573 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, param, and pname.

02574 {
02575     fprintf( glw_state.log_fp, "glTexEnvi( 0x%x, 0x%x, 0x%x )\n", target, pname, param );
02576     dllTexEnvi( target, pname, param );
02577 }

Here is the call graph for this function:

void APIENTRY logTexEnviv GLenum  target,
GLenum  pname,
const GLint *  params
[static]
 

Definition at line 2578 of file win_qgl.c.

References params, pname, and SIG.

02579 {
02580     SIG( "glTexEnviv" );
02581     dllTexEnviv( target, pname, params );
02582 }

void APIENTRY logTexGend GLenum  coord,
GLenum  pname,
GLdouble  param
[static]
 

Definition at line 2584 of file win_qgl.c.

References param, pname, and SIG.

02585 {
02586     SIG( "glTexGend" );
02587     dllTexGend( coord, pname, param );
02588 }

void APIENTRY logTexGendv GLenum  coord,
GLenum  pname,
const GLdouble *  params
[static]
 

Definition at line 2590 of file win_qgl.c.

References params, pname, and SIG.

02591 {
02592     SIG( "glTexGendv" );
02593     dllTexGendv( coord, pname, params );
02594 }

void APIENTRY logTexGenf GLenum  coord,
GLenum  pname,
GLfloat  param
[static]
 

Definition at line 2596 of file win_qgl.c.

References param, pname, and SIG.

02597 {
02598     SIG( "glTexGenf" );
02599     dllTexGenf( coord, pname, param );
02600 }

void APIENTRY logTexGenfv GLenum  coord,
GLenum  pname,
const GLfloat params
[static]
 

Definition at line 2601 of file win_qgl.c.

References params, pname, and SIG.

02602 {
02603     SIG( "glTexGenfv" );
02604     dllTexGenfv( coord, pname, params );
02605 }

void APIENTRY logTexGeni GLenum  coord,
GLenum  pname,
GLint  param
[static]
 

Definition at line 2606 of file win_qgl.c.

References param, pname, and SIG.

02607 {
02608     SIG( "glTexGeni" );
02609     dllTexGeni( coord, pname, param );
02610 }

void APIENTRY logTexGeniv GLenum  coord,
GLenum  pname,
const GLint *  params
[static]
 

Definition at line 2611 of file win_qgl.c.

References params, pname, and SIG.

02612 {
02613     SIG( "glTexGeniv" );
02614     dllTexGeniv( coord, pname, params );
02615 }

void APIENTRY logTexImage1D GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLint  border,
GLenum  format,
GLenum  type,
const void *  pixels
[static]
 

Definition at line 2616 of file win_qgl.c.

References border, format, internalformat, level, pixels, SIG, type, and width.

02617 {
02618     SIG( "glTexImage1D" );
02619     dllTexImage1D( target, level, internalformat, width, border, format, type, pixels );
02620 }

void APIENTRY logTexImage2D GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
const void *  pixels
[static]
 

Definition at line 2621 of file win_qgl.c.

References border, format, height, internalformat, level, pixels, SIG, type, and width.

02622 {
02623     SIG( "glTexImage2D" );
02624     dllTexImage2D( target, level, internalformat, width, height, border, format, type, pixels );
02625 }

void APIENTRY logTexParameterf GLenum  target,
GLenum  pname,
GLfloat  param
[static]
 

Definition at line 2627 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, param, and pname.

02628 {
02629     fprintf( glw_state.log_fp, "glTexParameterf( 0x%x, 0x%x, %f )\n", target, pname, param );
02630     dllTexParameterf( target, pname, param );
02631 }

Here is the call graph for this function:

void APIENTRY logTexParameterfv GLenum  target,
GLenum  pname,
const GLfloat params
[static]
 

Definition at line 2633 of file win_qgl.c.

References params, pname, and SIG.

02634 {
02635     SIG( "glTexParameterfv" );
02636     dllTexParameterfv( target, pname, params );
02637 }

void APIENTRY logTexParameteri GLenum  target,
GLenum  pname,
GLint  param
[static]
 

Definition at line 2638 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, param, and pname.

02639 {
02640     fprintf( glw_state.log_fp, "glTexParameteri( 0x%x, 0x%x, 0x%x )\n", target, pname, param );
02641     dllTexParameteri( target, pname, param );
02642 }

Here is the call graph for this function:

void APIENTRY logTexParameteriv GLenum  target,
GLenum  pname,
const GLint *  params
[static]
 

Definition at line 2643 of file win_qgl.c.

References params, pname, and SIG.

02644 {
02645     SIG( "glTexParameteriv" );
02646     dllTexParameteriv( target, pname, params );
02647 }

void APIENTRY logTexSubImage1D GLenum  target,
GLint  level,
GLint  xoffset,
GLsizei  width,
GLenum  format,
GLenum  type,
const void *  pixels
[static]
 

Definition at line 2648 of file win_qgl.c.

References format, level, pixels, SIG, type, width, and xoffset.

02649 {
02650     SIG( "glTexSubImage1D" );
02651     dllTexSubImage1D( target, level, xoffset, width, format, type, pixels );
02652 }

void APIENTRY logTexSubImage2D GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
const void *  pixels
[static]
 

Definition at line 2653 of file win_qgl.c.

References format, height, level, pixels, SIG, type, width, xoffset, and yoffset.

02654 {
02655     SIG( "glTexSubImage2D" );
02656     dllTexSubImage2D( target, level, xoffset, yoffset, width, height, format, type, pixels );
02657 }

void APIENTRY logTranslated GLdouble  x,
GLdouble  y,
GLdouble  z
[static]
 

Definition at line 2658 of file win_qgl.c.

References SIG, x, y, and z.

02659 {
02660     SIG( "glTranslated" );
02661     dllTranslated( x, y, z );
02662 }

void APIENTRY logTranslatef GLfloat  x,
GLfloat  y,
GLfloat  z
[static]
 

Definition at line 2664 of file win_qgl.c.

References SIG, x, y, and z.

02665 {
02666     SIG( "glTranslatef" );
02667     dllTranslatef( x, y, z );
02668 }

void APIENTRY logVertex2d GLdouble  x,
GLdouble  y
[static]
 

Definition at line 2670 of file win_qgl.c.

References SIG, x, and y.

02671 {
02672     SIG( "glVertex2d" );
02673     dllVertex2d( x, y );
02674 }

void APIENTRY logVertex2dv const GLdouble *  v  )  [static]
 

Definition at line 2676 of file win_qgl.c.

References SIG, and v.

02677 {
02678     SIG( "glVertex2dv" );
02679     dllVertex2dv( v );
02680 }

void APIENTRY logVertex2f GLfloat  x,
GLfloat  y
[static]
 

Definition at line 2681 of file win_qgl.c.

References SIG, x, and y.

02682 {
02683     SIG( "glVertex2f" );
02684     dllVertex2f( x, y );
02685 }

void APIENTRY logVertex2fv const GLfloat v  )  [static]
 

Definition at line 2686 of file win_qgl.c.

References SIG, and v.

02687 {
02688     SIG( "glVertex2fv" );
02689     dllVertex2fv( v );
02690 }

void APIENTRY logVertex2i GLint  x,
GLint  y
[static]
 

Definition at line 2691 of file win_qgl.c.

References SIG, x, and y.

02692 {
02693     SIG( "glVertex2i" );
02694     dllVertex2i( x, y );
02695 }

void APIENTRY logVertex2iv const GLint *  v  )  [static]
 

Definition at line 2696 of file win_qgl.c.

References SIG, and v.

02697 {
02698     SIG( "glVertex2iv" );
02699     dllVertex2iv( v );
02700 }

void APIENTRY logVertex2s GLshort  x,
GLshort  y
[static]
 

Definition at line 2701 of file win_qgl.c.

References SIG, x, and y.

02702 {
02703     SIG( "glVertex2s" );
02704     dllVertex2s( x, y );
02705 }

void APIENTRY logVertex2sv const GLshort *  v  )  [static]
 

Definition at line 2706 of file win_qgl.c.

References SIG, and v.

02707 {
02708     SIG( "glVertex2sv" );
02709     dllVertex2sv( v );
02710 }

void APIENTRY logVertex3d GLdouble  x,
GLdouble  y,
GLdouble  z
[static]
 

Definition at line 2711 of file win_qgl.c.

References SIG, x, y, and z.

02712 {
02713     SIG( "glVertex3d" );
02714     dllVertex3d( x, y, z );
02715 }

void APIENTRY logVertex3dv const GLdouble *  v  )  [static]
 

Definition at line 2716 of file win_qgl.c.

References SIG, and v.

02717 {
02718     SIG( "glVertex3dv" );
02719     dllVertex3dv( v );
02720 }

void APIENTRY logVertex3f GLfloat  x,
GLfloat  y,
GLfloat  z
[static]
 

Definition at line 2721 of file win_qgl.c.

References SIG, x, y, and z.

02722 {
02723     SIG( "glVertex3f" );
02724     dllVertex3f( x, y, z );
02725 }

void APIENTRY logVertex3fv const GLfloat v  )  [static]
 

Definition at line 2726 of file win_qgl.c.

References SIG, and v.

02727 {
02728     SIG( "glVertex3fv" );
02729     dllVertex3fv( v );
02730 }

void APIENTRY logVertex3i GLint  x,
GLint  y,
GLint  z
[static]
 

Definition at line 2731 of file win_qgl.c.

References SIG, x, y, and z.

02732 {
02733     SIG( "glVertex3i" );
02734     dllVertex3i( x, y, z );
02735 }

void APIENTRY logVertex3iv const GLint *  v  )  [static]
 

Definition at line 2736 of file win_qgl.c.

References SIG, and v.

02737 {
02738     SIG( "glVertex3iv" );
02739     dllVertex3iv( v );
02740 }

void APIENTRY logVertex3s GLshort  x,
GLshort  y,
GLshort  z
[static]
 

Definition at line 2741 of file win_qgl.c.

References SIG, x, y, and z.

02742 {
02743     SIG( "glVertex3s" );
02744     dllVertex3s( x, y, z );
02745 }

void APIENTRY logVertex3sv const GLshort *  v  )  [static]
 

Definition at line 2746 of file win_qgl.c.

References SIG, and v.

02747 {
02748     SIG( "glVertex3sv" );
02749     dllVertex3sv( v );
02750 }

void APIENTRY logVertex4d GLdouble  x,
GLdouble  y,
GLdouble  z,
GLdouble  w
[static]
 

Definition at line 2751 of file win_qgl.c.

References SIG, w, x, y, and z.

02752 {
02753     SIG( "glVertex4d" );
02754     dllVertex4d( x, y, z, w );
02755 }

void APIENTRY logVertex4dv const GLdouble *  v  )  [static]
 

Definition at line 2756 of file win_qgl.c.

References SIG, and v.

02757 {
02758     SIG( "glVertex4dv" );
02759     dllVertex4dv( v );
02760 }

void APIENTRY logVertex4f GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  w
[static]
 

Definition at line 2761 of file win_qgl.c.

References SIG, w, x, y, and z.

02762 {
02763     SIG( "glVertex4f" );
02764     dllVertex4f( x, y, z, w );
02765 }

void APIENTRY logVertex4fv const GLfloat v  )  [static]
 

Definition at line 2766 of file win_qgl.c.

References SIG, and v.

02767 {
02768     SIG( "glVertex4fv" );
02769     dllVertex4fv( v );
02770 }

void APIENTRY logVertex4i GLint  x,
GLint  y,
GLint  z,
GLint  w
[static]
 

Definition at line 2771 of file win_qgl.c.

References SIG, w, x, y, and z.

02772 {
02773     SIG( "glVertex4i" );
02774     dllVertex4i( x, y, z, w );
02775 }

void APIENTRY logVertex4iv const GLint *  v  )  [static]
 

Definition at line 2776 of file win_qgl.c.

References SIG, and v.

02777 {
02778     SIG( "glVertex4iv" );
02779     dllVertex4iv( v );
02780 }

void APIENTRY logVertex4s GLshort  x,
GLshort  y,
GLshort  z,
GLshort  w
[static]
 

Definition at line 2781 of file win_qgl.c.

References SIG, w, x, y, and z.

02782 {
02783     SIG( "glVertex4s" );
02784     dllVertex4s( x, y, z, w );
02785 }

void APIENTRY logVertex4sv const GLshort *  v  )  [static]
 

Definition at line 2786 of file win_qgl.c.

References SIG, and v.

02787 {
02788     SIG( "glVertex4sv" );
02789     dllVertex4sv( v );
02790 }

void APIENTRY logVertexPointer GLint  size,
GLenum  type,
GLsizei  stride,
const void *  pointer
[static]
 

Definition at line 2791 of file win_qgl.c.

References fprintf(), glw_state, glwstate_t::log_fp, pointer, stride, type, and TypeToString().

02792 {
02793     fprintf( glw_state.log_fp, "glVertexPointer( %d, %s, %d, MEM )\n", size, TypeToString( type ), stride );
02794     dllVertexPointer( size, type, stride, pointer );
02795 }

Here is the call graph for this function:

void APIENTRY logViewport GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height
[static]
 

Definition at line 2796 of file win_qgl.c.

References fprintf(), glw_state, height, glwstate_t::log_fp, width, x, and y.

02797 {
02798     fprintf( glw_state.log_fp, "glViewport( %d, %d, %d, %d )\n", x, y, width, height );
02799     dllViewport( x, y, width, height );
02800 }

Here is the call graph for this function:

const char* PrimToString GLenum  mode  )  [static]
 

Definition at line 782 of file win_qgl.c.

References mode, sprintf(), and strcpy().

Referenced by logBegin(), and logDrawElements().

00783 {
00784     static char prim[1024];
00785 
00786     if ( mode == GL_TRIANGLES )
00787         strcpy( prim, "GL_TRIANGLES" );
00788     else if ( mode == GL_TRIANGLE_STRIP )
00789         strcpy( prim, "GL_TRIANGLE_STRIP" );
00790     else if ( mode == GL_TRIANGLE_FAN )
00791         strcpy( prim, "GL_TRIANGLE_FAN" );
00792     else if ( mode == GL_QUADS )
00793         strcpy( prim, "GL_QUADS" );
00794     else if ( mode == GL_QUAD_STRIP )
00795         strcpy( prim, "GL_QUAD_STRIP" );
00796     else if ( mode == GL_POLYGON )
00797         strcpy( prim, "GL_POLYGON" );
00798     else if ( mode == GL_POINTS )
00799         strcpy( prim, "GL_POINTS" );
00800     else if ( mode == GL_LINES )
00801         strcpy( prim, "GL_LINES" );
00802     else if ( mode == GL_LINE_STRIP )
00803         strcpy( prim, "GL_LINE_STRIP" );
00804     else if ( mode == GL_LINE_LOOP )
00805         strcpy( prim, "GL_LINE_LOOP" );
00806     else
00807         sprintf( prim, "0x%x", mode );
00808 
00809     return prim;
00810 }

Here is the call graph for this function:

PROC WINAPI *  qwglGetProcAddress  ) 
 

void QGL_EnableLogging qboolean  enable  ) 
 

Definition at line 3426 of file linux_qgl.c.

References asctime(), assert, buffer, Com_sprintf(), refimport_t::Cvar_Get, refimport_t::Cvar_Set, cvar_t, fopen(), fprintf(), glw_state, cvar_s::integer, localtime(), glwstate_t::log_fp, PRINT_ALL, qboolean, qglAccum, qglAlphaFunc, qglAreTexturesResident, qglArrayElement, qglBegin, qglBindTexture, qglBitmap, qglBlendFunc, qglCallList, qglCallLists, qglClear, qglClearAccum, qglClearColor, qglClearDepth, qglClearIndex, qglClearStencil, qglClipPlane, qglColor3b, qglColor3bv, qglColor3d, qglColor3dv, qglColor3f, qglColor3fv, qglColor3i, qglColor3iv, qglColor3s, qglColor3sv, qglColor3ub, qglColor3ubv, qglColor3ui, qglColor3uiv, qglColor3us, qglColor3usv, qglColor4b, qglColor4bv, qglColor4d, qglColor4dv, qglColor4f, qglColor4fv, qglColor4i, qglColor4iv, qglColor4s, qglColor4sv, qglColor4ub, qglColor4ubv, qglColor4ui, qglColor4uiv, qglColor4us, qglColor4usv, qglColorMask, qglColorMaterial, qglColorPointer, qglCopyPixels, qglCopyTexImage1D, qglCopyTexImage2D, qglCopyTexSubImage1D, qglCopyTexSubImage2D, qglCullFace, qglDeleteLists, qglDeleteTextures, qglDepthFunc, qglDepthMask, qglDepthRange, qglDisable, qglDisableClientState, qglDrawArrays, qglDrawBuffer, qglDrawElements, qglDrawPixels, qglEdgeFlag, qglEdgeFlagPointer, qglEdgeFlagv, qglEnable, qglEnableClientState, qglEnd, qglEndList, qglEvalCoord1d, qglEvalCoord1dv, qglEvalCoord1f, qglEvalCoord1fv, qglEvalCoord2d, qglEvalCoord2dv, qglEvalCoord2f, qglEvalCoord2fv, qglEvalMesh1, qglEvalMesh2, qglEvalPoint1, qglEvalPoint2, qglFeedbackBuffer, qglFinish, qglFlush, qglFogf, qglFogfv, qglFogi, qglFogiv, qglFrontFace, qglFrustum, qglGenLists, qglGenTextures, qglGetBooleanv, qglGetClipPlane, qglGetDoublev, qglGetError, qglGetFloatv, qglGetIntegerv, qglGetLightfv, qglGetLightiv, qglGetMapdv, qglGetMapfv, qglGetMapiv, qglGetMaterialfv, qglGetMaterialiv, qglGetPixelMapfv, qglGetPixelMapuiv, qglGetPixelMapusv, qglGetPointerv, qglGetPolygonStipple, qglGetString, qglGetTexGendv, qglGetTexGenfv, qglGetTexGeniv, qglGetTexImage, qglGetTexLevelParameterfv, qglGetTexLevelParameteriv, qglGetTexParameterfv, qglGetTexParameteriv, qglHint, qglIndexd, qglIndexdv, qglIndexf, qglIndexfv, qglIndexi, qglIndexiv, qglIndexMask, qglIndexPointer, qglIndexs, qglIndexsv, qglIndexub, qglIndexubv, qglInitNames, qglInterleavedArrays, qglIsEnabled, qglIsList, qglIsTexture, qglLightf, qglLightfv, qglLighti, qglLightiv, qglLightModelf, qglLightModelfv, qglLightModeli, qglLightModeliv, qglLineStipple, qglLineWidth, qglListBase, qglLoadIdentity, qglLoadMatrixd, qglLoadMatrixf, qglLoadName, qglLogicOp, qglMap1d, qglMap1f, qglMap2d, qglMap2f, qglMapGrid1d, qglMapGrid1f, qglMapGrid2d, qglMapGrid2f, qglMaterialf, qglMaterialfv, qglMateriali, qglMaterialiv, qglMatrixMode, qglMultMatrixd, qglMultMatrixf, qglNewList, qglNormal3b, qglNormal3bv, qglNormal3d, qglNormal3dv, qglNormal3f, qglNormal3fv, qglNormal3i, qglNormal3iv, qglNormal3s, qglNormal3sv, qglNormalPointer, qglOrtho, qglPassThrough, qglPixelMapfv, qglPixelMapuiv, qglPixelMapusv, qglPixelStoref, qglPixelStorei, qglPixelTransferf, qglPixelTransferi, qglPixelZoom, qglPointSize, qglPolygonMode, qglPolygonOffset, qglPolygonStipple, qglPopAttrib, qglPopClientAttrib, qglPopMatrix, qglPopName, qglPrioritizeTextures, qglPushAttrib, qglPushClientAttrib, qglPushMatrix, qglPushName, qglRasterPos2d, qglRasterPos2dv, qglRasterPos2f, qglRasterPos2fv, qglRasterPos2i, qglRasterPos2iv, qglRasterPos2s, qglRasterPos2sv, qglRasterPos3d, qglRasterPos3dv, qglRasterPos3f, qglRasterPos3fv, qglRasterPos3i, qglRasterPos3iv, qglRasterPos3s, qglRasterPos3sv, qglRasterPos4d, qglRasterPos4dv, qglRasterPos4f, qglRasterPos4fv, qglRasterPos4i, qglRasterPos4iv, qglRasterPos4s, qglRasterPos4sv, qglReadBuffer, qglReadPixels, qglRectd, qglRectdv, qglRectf, qglRectfv, qglRecti, qglRectiv, qglRects, qglRectsv, qglRenderMode, qglRotated, qglRotatef, qglScaled, qglScalef, qglScissor, qglSelectBuffer, qglShadeModel, qglStencilFunc, qglStencilMask, qglStencilOp, qglTexCoord1d, qglTexCoord1dv, qglTexCoord1f, qglTexCoord1fv, qglTexCoord1i, qglTexCoord1iv, qglTexCoord1s, qglTexCoord1sv, qglTexCoord2d, qglTexCoord2dv, qglTexCoord2f, qglTexCoord2fv, qglTexCoord2i, qglTexCoord2iv, qglTexCoord2s, qglTexCoord2sv, qglTexCoord3d, qglTexCoord3dv, qglTexCoord3f, qglTexCoord3fv, qglTexCoord3i, qglTexCoord3iv, qglTexCoord3s, qglTexCoord3sv, qglTexCoord4d, qglTexCoord4dv, qglTexCoord4f, qglTexCoord4fv, qglTexCoord4i, qglTexCoord4iv, qglTexCoord4s, qglTexCoord4sv, qglTexCoordPointer, qglTexEnvf, qglTexEnvfv, qglTexEnvi, qglTexEnviv, qglTexGend, qglTexGendv, qglTexGenf, qglTexGenfv, qglTexGeni, qglTexGeniv, qglTexImage1D, qglTexImage2D, qglTexParameterf, qglTexParameterfv, qglTexParameteri, qglTexParameteriv, qglTexSubImage1D, qglTexSubImage2D, qglTranslated, qglTranslatef, qglVertex2d, qglVertex2dv, qglVertex2f, qglVertex2fv, qglVertex2i, qglVertex2iv, qglVertex2s, qglVertex2sv, qglVertex3d, qglVertex3dv, qglVertex3f, qglVertex3fv, qglVertex3i, qglVertex3iv, qglVertex3s, qglVertex3sv, qglVertex4d, qglVertex4dv, qglVertex4f, qglVertex4fv, qglVertex4i, qglVertex4iv, qglVertex4s, qglVertex4sv, qglVertexPointer, qglViewport, r_logFile, ri, cvar_s::string, time(), time_t, and va().

Referenced by GLimp_EndFrame(), and QGL_Init().

03426                                           {
03427   // bk001205 - fixed for new countdown
03428   static qboolean isEnabled = qfalse; // init
03429   
03430   // return if we're already active
03431   if ( isEnabled && enable ) {
03432     // decrement log counter and stop if it has reached 0
03433     ri.Cvar_Set( "r_logFile", va("%d", r_logFile->integer - 1 ) );
03434     if ( r_logFile->integer ) {
03435       return;
03436     }
03437     enable = qfalse;
03438   }
03439 
03440   // return if we're already disabled
03441   if ( !enable && !isEnabled )
03442     return;
03443 
03444   isEnabled = enable;
03445 
03446   // bk001205 - old code starts here
03447   if ( enable ) {
03448     if ( !glw_state.log_fp ) {
03449       struct tm *newtime;
03450       time_t aclock;
03451       char buffer[1024];
03452       cvar_t    *basedir;
03453       
03454       time( &aclock );
03455       newtime = localtime( &aclock );
03456       
03457       asctime( newtime );
03458       
03459       basedir = ri.Cvar_Get( "fs_basepath", "", 0 ); // FIXME: userdir?
03460       assert(basedir);
03461       Com_sprintf( buffer, sizeof(buffer), "%s/gl.log", basedir->string ); 
03462       glw_state.log_fp = fopen( buffer, "wt" );
03463       assert(glw_state.log_fp);
03464       ri.Printf(PRINT_ALL, "QGL_EnableLogging(%d): writing %s\n", r_logFile->integer, buffer );
03465 
03466       fprintf( glw_state.log_fp, "%s\n", asctime( newtime ) );
03467     }
03468 
03469                 qglAccum                     = logAccum;
03470                 qglAlphaFunc                 = logAlphaFunc;
03471                 qglAreTexturesResident       = logAreTexturesResident;
03472         qglArrayElement              = logArrayElement;
03473         qglBegin                     = logBegin;
03474         qglBindTexture               = logBindTexture;
03475         qglBitmap                    = logBitmap;
03476         qglBlendFunc                 = logBlendFunc;
03477         qglCallList                  = logCallList;
03478         qglCallLists                 = logCallLists;
03479         qglClear                     = logClear;
03480         qglClearAccum                = logClearAccum;
03481         qglClearColor                = logClearColor;
03482         qglClearDepth                = logClearDepth;
03483         qglClearIndex                = logClearIndex;
03484         qglClearStencil              = logClearStencil;
03485         qglClipPlane                 = logClipPlane;
03486         qglColor3b                   = logColor3b;
03487         qglColor3bv                  = logColor3bv;
03488         qglColor3d                   = logColor3d;
03489         qglColor3dv                  = logColor3dv;
03490         qglColor3f                   = logColor3f;
03491         qglColor3fv                  = logColor3fv;
03492         qglColor3i                   = logColor3i;
03493         qglColor3iv                  = logColor3iv;
03494         qglColor3s                   = logColor3s;
03495         qglColor3sv                  = logColor3sv;
03496         qglColor3ub                  = logColor3ub;
03497         qglColor3ubv                 = logColor3ubv;
03498         qglColor3ui                  = logColor3ui;
03499         qglColor3uiv                 = logColor3uiv;
03500         qglColor3us                  = logColor3us;
03501         qglColor3usv                 = logColor3usv;
03502         qglColor4b                   = logColor4b;
03503         qglColor4bv                  = logColor4bv;
03504         qglColor4d                   = logColor4d;
03505         qglColor4dv                  = logColor4dv;
03506         qglColor4f                   = logColor4f;
03507         qglColor4fv                  = logColor4fv;
03508         qglColor4i                   = logColor4i;
03509         qglColor4iv                  = logColor4iv;
03510         qglColor4s                   = logColor4s;
03511         qglColor4sv                  = logColor4sv;
03512         qglColor4ub                  = logColor4ub;
03513         qglColor4ubv                 = logColor4ubv;
03514         qglColor4ui                  = logColor4ui;
03515         qglColor4uiv                 = logColor4uiv;
03516         qglColor4us                  = logColor4us;
03517         qglColor4usv                 = logColor4usv;
03518         qglColorMask                 = logColorMask;
03519         qglColorMaterial             = logColorMaterial;
03520         qglColorPointer              = logColorPointer;
03521         qglCopyPixels                = logCopyPixels;
03522         qglCopyTexImage1D            = logCopyTexImage1D;
03523         qglCopyTexImage2D            = logCopyTexImage2D;
03524         qglCopyTexSubImage1D         = logCopyTexSubImage1D;
03525         qglCopyTexSubImage2D         = logCopyTexSubImage2D;
03526         qglCullFace                  = logCullFace;
03527         qglDeleteLists               = logDeleteLists ;
03528         qglDeleteTextures            = logDeleteTextures ;
03529         qglDepthFunc                 = logDepthFunc ;
03530         qglDepthMask                 = logDepthMask ;
03531         qglDepthRange                = logDepthRange ;
03532         qglDisable                   = logDisable ;
03533         qglDisableClientState        = logDisableClientState ;
03534         qglDrawArrays                = logDrawArrays ;
03535         qglDrawBuffer                = logDrawBuffer ;
03536         qglDrawElements              = logDrawElements ;
03537         qglDrawPixels                = logDrawPixels ;
03538         qglEdgeFlag                  = logEdgeFlag ;
03539         qglEdgeFlagPointer           = logEdgeFlagPointer ;
03540         qglEdgeFlagv                 = logEdgeFlagv ;
03541         qglEnable                    =  logEnable                    ;
03542         qglEnableClientState         =  logEnableClientState         ;
03543         qglEnd                       =  logEnd                       ;
03544         qglEndList                   =  logEndList                   ;
03545         qglEvalCoord1d               =  logEvalCoord1d               ;
03546         qglEvalCoord1dv              =  logEvalCoord1dv              ;
03547         qglEvalCoord1f               =  logEvalCoord1f               ;
03548         qglEvalCoord1fv              =  logEvalCoord1fv              ;
03549         qglEvalCoord2d               =  logEvalCoord2d               ;
03550         qglEvalCoord2dv              =  logEvalCoord2dv              ;
03551         qglEvalCoord2f               =  logEvalCoord2f               ;
03552         qglEvalCoord2fv              =  logEvalCoord2fv              ;
03553         qglEvalMesh1                 =  logEvalMesh1                 ;
03554         qglEvalMesh2                 =  logEvalMesh2                 ;
03555         qglEvalPoint1                =  logEvalPoint1                ;
03556         qglEvalPoint2                =  logEvalPoint2                ;
03557         qglFeedbackBuffer            =  logFeedbackBuffer            ;
03558         qglFinish                    =  logFinish                    ;
03559         qglFlush                     =  logFlush                     ;
03560         qglFogf                      =  logFogf                      ;
03561         qglFogfv                     =  logFogfv                     ;
03562         qglFogi                      =  logFogi                      ;
03563         qglFogiv                     =  logFogiv                     ;
03564         qglFrontFace                 =  logFrontFace                 ;
03565         qglFrustum                   =  logFrustum                   ;
03566         qglGenLists                  =  logGenLists                  ;
03567         qglGenTextures               =  logGenTextures               ;
03568         qglGetBooleanv               =  logGetBooleanv               ;
03569         qglGetClipPlane              =  logGetClipPlane              ;
03570         qglGetDoublev                =  logGetDoublev                ;
03571         qglGetError                  =  logGetError                  ;
03572         qglGetFloatv                 =  logGetFloatv                 ;
03573         qglGetIntegerv               =  logGetIntegerv               ;
03574         qglGetLightfv                =  logGetLightfv                ;
03575         qglGetLightiv                =  logGetLightiv                ;
03576         qglGetMapdv                  =  logGetMapdv                  ;
03577         qglGetMapfv                  =  logGetMapfv                  ;
03578         qglGetMapiv                  =  logGetMapiv                  ;
03579         qglGetMaterialfv             =  logGetMaterialfv             ;
03580         qglGetMaterialiv             =  logGetMaterialiv             ;
03581         qglGetPixelMapfv             =  logGetPixelMapfv             ;
03582         qglGetPixelMapuiv            =  logGetPixelMapuiv            ;
03583         qglGetPixelMapusv            =  logGetPixelMapusv            ;
03584         qglGetPointerv               =  logGetPointerv               ;
03585         qglGetPolygonStipple         =  logGetPolygonStipple         ;
03586         qglGetString                 =  logGetString                 ;
03587         qglGetTexEnvfv               =  logGetTexEnvfv               ;
03588         qglGetTexEnviv               =  logGetTexEnviv               ;
03589         qglGetTexGendv               =  logGetTexGendv               ;
03590         qglGetTexGenfv               =  logGetTexGenfv               ;
03591         qglGetTexGeniv               =  logGetTexGeniv               ;
03592         qglGetTexImage               =  logGetTexImage               ;
03593         qglGetTexLevelParameterfv    =  logGetTexLevelParameterfv    ;
03594         qglGetTexLevelParameteriv    =  logGetTexLevelParameteriv    ;
03595         qglGetTexParameterfv         =  logGetTexParameterfv         ;
03596         qglGetTexParameteriv         =  logGetTexParameteriv         ;
03597         qglHint                      =  logHint                      ;
03598         qglIndexMask                 =  logIndexMask                 ;
03599         qglIndexPointer              =  logIndexPointer              ;
03600         qglIndexd                    =  logIndexd                    ;
03601         qglIndexdv                   =  logIndexdv                   ;
03602         qglIndexf                    =  logIndexf                    ;
03603         qglIndexfv                   =  logIndexfv                   ;
03604         qglIndexi                    =  logIndexi                    ;
03605         qglIndexiv                   =  logIndexiv                   ;
03606         qglIndexs                    =  logIndexs                    ;
03607         qglIndexsv                   =  logIndexsv                   ;
03608         qglIndexub                   =  logIndexub                   ;
03609         qglIndexubv                  =  logIndexubv                  ;
03610         qglInitNames                 =  logInitNames                 ;
03611         qglInterleavedArrays         =  logInterleavedArrays         ;
03612         qglIsEnabled                 =  logIsEnabled                 ;
03613         qglIsList                    =  logIsList                    ;
03614         qglIsTexture                 =  logIsTexture                 ;
03615         qglLightModelf               =  logLightModelf               ;
03616         qglLightModelfv              =  logLightModelfv              ;
03617         qglLightModeli               =  logLightModeli               ;
03618         qglLightModeliv              =  logLightModeliv              ;
03619         qglLightf                    =  logLightf                    ;
03620         qglLightfv                   =  logLightfv                   ;
03621         qglLighti                    =  logLighti                    ;
03622         qglLightiv                   =  logLightiv                   ;
03623         qglLineStipple               =  logLineStipple               ;
03624         qglLineWidth                 =  logLineWidth                 ;
03625         qglListBase                  =  logListBase                  ;
03626         qglLoadIdentity              =  logLoadIdentity              ;
03627         qglLoadMatrixd               =  logLoadMatrixd               ;
03628         qglLoadMatrixf               =  logLoadMatrixf               ;
03629         qglLoadName                  =  logLoadName                  ;
03630         qglLogicOp                   =  logLogicOp                   ;
03631         qglMap1d                     =  logMap1d                     ;
03632         qglMap1f                     =  logMap1f                     ;
03633         qglMap2d                     =  logMap2d                     ;
03634         qglMap2f                     =  logMap2f                     ;
03635         qglMapGrid1d                 =  logMapGrid1d                 ;
03636         qglMapGrid1f                 =  logMapGrid1f                 ;
03637         qglMapGrid2d                 =  logMapGrid2d                 ;
03638         qglMapGrid2f                 =  logMapGrid2f                 ;
03639         qglMaterialf                 =  logMaterialf                 ;
03640         qglMaterialfv                =  logMaterialfv                ;
03641         qglMateriali                 =  logMateriali                 ;
03642         qglMaterialiv                =  logMaterialiv                ;
03643         qglMatrixMode                =  logMatrixMode                ;
03644         qglMultMatrixd               =  logMultMatrixd               ;
03645         qglMultMatrixf               =  logMultMatrixf               ;
03646         qglNewList                   =  logNewList                   ;
03647         qglNormal3b                  =  logNormal3b                  ;
03648         qglNormal3bv                 =  logNormal3bv                 ;
03649         qglNormal3d                  =  logNormal3d                  ;
03650         qglNormal3dv                 =  logNormal3dv                 ;
03651         qglNormal3f                  =  logNormal3f                  ;
03652         qglNormal3fv                 =  logNormal3fv                 ;
03653         qglNormal3i                  =  logNormal3i                  ;
03654         qglNormal3iv                 =  logNormal3iv                 ;
03655         qglNormal3s                  =  logNormal3s                  ;
03656         qglNormal3sv                 =  logNormal3sv                 ;
03657         qglNormalPointer             =  logNormalPointer             ;
03658         qglOrtho                     =  logOrtho                     ;
03659         qglPassThrough               =  logPassThrough               ;
03660         qglPixelMapfv                =  logPixelMapfv                ;
03661         qglPixelMapuiv               =  logPixelMapuiv               ;
03662         qglPixelMapusv               =  logPixelMapusv               ;
03663         qglPixelStoref               =  logPixelStoref               ;
03664         qglPixelStorei               =  logPixelStorei               ;
03665         qglPixelTransferf            =  logPixelTransferf            ;
03666         qglPixelTransferi            =  logPixelTransferi            ;
03667         qglPixelZoom                 =  logPixelZoom                 ;
03668         qglPointSize                 =  logPointSize                 ;
03669         qglPolygonMode               =  logPolygonMode               ;
03670         qglPolygonOffset             =  logPolygonOffset             ;
03671         qglPolygonStipple            =  logPolygonStipple            ;
03672         qglPopAttrib                 =  logPopAttrib                 ;
03673         qglPopClientAttrib           =  logPopClientAttrib           ;
03674         qglPopMatrix                 =  logPopMatrix                 ;
03675         qglPopName                   =  logPopName                   ;
03676         qglPrioritizeTextures        =  logPrioritizeTextures        ;
03677         qglPushAttrib                =  logPushAttrib                ;
03678         qglPushClientAttrib          =  logPushClientAttrib          ;
03679         qglPushMatrix                =  logPushMatrix                ;
03680         qglPushName                  =  logPushName                  ;
03681         qglRasterPos2d               =  logRasterPos2d               ;
03682         qglRasterPos2dv              =  logRasterPos2dv              ;
03683         qglRasterPos2f               =  logRasterPos2f               ;
03684         qglRasterPos2fv              =  logRasterPos2fv              ;
03685         qglRasterPos2i               =  logRasterPos2i               ;
03686         qglRasterPos2iv              =  logRasterPos2iv              ;
03687         qglRasterPos2s               =  logRasterPos2s               ;
03688         qglRasterPos2sv              =  logRasterPos2sv              ;
03689         qglRasterPos3d               =  logRasterPos3d               ;
03690         qglRasterPos3dv              =  logRasterPos3dv              ;
03691         qglRasterPos3f               =  logRasterPos3f               ;
03692         qglRasterPos3fv              =  logRasterPos3fv              ;
03693         qglRasterPos3i               =  logRasterPos3i               ;
03694         qglRasterPos3iv              =  logRasterPos3iv              ;
03695         qglRasterPos3s               =  logRasterPos3s               ;
03696         qglRasterPos3sv              =  logRasterPos3sv              ;
03697         qglRasterPos4d               =  logRasterPos4d               ;
03698         qglRasterPos4dv              =  logRasterPos4dv              ;
03699         qglRasterPos4f               =  logRasterPos4f               ;
03700         qglRasterPos4fv              =  logRasterPos4fv              ;
03701         qglRasterPos4i               =  logRasterPos4i               ;
03702         qglRasterPos4iv              =  logRasterPos4iv              ;
03703         qglRasterPos4s               =  logRasterPos4s               ;
03704         qglRasterPos4sv              =  logRasterPos4sv              ;
03705         qglReadBuffer                =  logReadBuffer                ;
03706         qglReadPixels                =  logReadPixels                ;
03707         qglRectd                     =  logRectd                     ;
03708         qglRectdv                    =  logRectdv                    ;
03709         qglRectf                     =  logRectf                     ;
03710         qglRectfv                    =  logRectfv                    ;
03711         qglRecti                     =  logRecti                     ;
03712         qglRectiv                    =  logRectiv                    ;
03713         qglRects                     =  logRects                     ;
03714         qglRectsv                    =  logRectsv                    ;
03715         qglRenderMode                =  logRenderMode                ;
03716         qglRotated                   =  logRotated                   ;
03717         qglRotatef                   =  logRotatef                   ;
03718         qglScaled                    =  logScaled                    ;
03719         qglScalef                    =  logScalef                    ;
03720         qglScissor                   =  logScissor                   ;
03721         qglSelectBuffer              =  logSelectBuffer              ;
03722         qglShadeModel                =  logShadeModel                ;
03723         qglStencilFunc               =  logStencilFunc               ;
03724         qglStencilMask               =  logStencilMask               ;
03725         qglStencilOp                 =  logStencilOp                 ;
03726         qglTexCoord1d                =  logTexCoord1d                ;
03727         qglTexCoord1dv               =  logTexCoord1dv               ;
03728         qglTexCoord1f                =  logTexCoord1f                ;
03729         qglTexCoord1fv               =  logTexCoord1fv               ;
03730         qglTexCoord1i                =  logTexCoord1i                ;
03731         qglTexCoord1iv               =  logTexCoord1iv               ;
03732         qglTexCoord1s                =  logTexCoord1s                ;
03733         qglTexCoord1sv               =  logTexCoord1sv               ;
03734         qglTexCoord2d                =  logTexCoord2d                ;
03735         qglTexCoord2dv               =  logTexCoord2dv               ;
03736         qglTexCoord2f                =  logTexCoord2f                ;
03737         qglTexCoord2fv               =  logTexCoord2fv               ;
03738         qglTexCoord2i                =  logTexCoord2i                ;
03739         qglTexCoord2iv               =  logTexCoord2iv               ;
03740         qglTexCoord2s                =  logTexCoord2s                ;
03741         qglTexCoord2sv               =  logTexCoord2sv               ;
03742         qglTexCoord3d                =  logTexCoord3d                ;
03743         qglTexCoord3dv               =  logTexCoord3dv               ;
03744         qglTexCoord3f                =  logTexCoord3f                ;
03745         qglTexCoord3fv               =  logTexCoord3fv               ;
03746         qglTexCoord3i                =  logTexCoord3i                ;
03747         qglTexCoord3iv               =  logTexCoord3iv               ;
03748         qglTexCoord3s                =  logTexCoord3s                ;
03749         qglTexCoord3sv               =  logTexCoord3sv               ;
03750         qglTexCoord4d                =  logTexCoord4d                ;
03751         qglTexCoord4dv               =  logTexCoord4dv               ;
03752         qglTexCoord4f                =  logTexCoord4f                ;
03753         qglTexCoord4fv               =  logTexCoord4fv               ;
03754         qglTexCoord4i                =  logTexCoord4i                ;
03755         qglTexCoord4iv               =  logTexCoord4iv               ;
03756         qglTexCoord4s                =  logTexCoord4s                ;
03757         qglTexCoord4sv               =  logTexCoord4sv               ;
03758         qglTexCoordPointer           =  logTexCoordPointer           ;
03759         qglTexEnvf                   =  logTexEnvf                   ;
03760         qglTexEnvfv                  =  logTexEnvfv                  ;
03761         qglTexEnvi                   =  logTexEnvi                   ;
03762         qglTexEnviv                  =  logTexEnviv                  ;
03763         qglTexGend                   =  logTexGend                   ;
03764         qglTexGendv                  =  logTexGendv                  ;
03765         qglTexGenf                   =  logTexGenf                   ;
03766         qglTexGenfv                  =  logTexGenfv                  ;
03767         qglTexGeni                   =  logTexGeni                   ;
03768         qglTexGeniv                  =  logTexGeniv                  ;
03769         qglTexImage1D                =  logTexImage1D                ;
03770         qglTexImage2D                =  logTexImage2D                ;
03771         qglTexParameterf             =  logTexParameterf             ;
03772         qglTexParameterfv            =  logTexParameterfv            ;
03773         qglTexParameteri             =  logTexParameteri             ;
03774         qglTexParameteriv            =  logTexParameteriv            ;
03775         qglTexSubImage1D             =  logTexSubImage1D             ;
03776         qglTexSubImage2D             =  logTexSubImage2D             ;
03777         qglTranslated                =  logTranslated                ;
03778         qglTranslatef                =  logTranslatef                ;
03779         qglVertex2d                  =  logVertex2d                  ;
03780         qglVertex2dv                 =  logVertex2dv                 ;
03781         qglVertex2f                  =  logVertex2f                  ;
03782         qglVertex2fv                 =  logVertex2fv                 ;
03783         qglVertex2i                  =  logVertex2i                  ;
03784         qglVertex2iv                 =  logVertex2iv                 ;
03785         qglVertex2s                  =  logVertex2s                  ;
03786         qglVertex2sv                 =  logVertex2sv                 ;
03787         qglVertex3d                  =  logVertex3d                  ;
03788         qglVertex3dv                 =  logVertex3dv                 ;
03789         qglVertex3f                  =  logVertex3f                  ;
03790         qglVertex3fv                 =  logVertex3fv                 ;
03791         qglVertex3i                  =  logVertex3i                  ;
03792         qglVertex3iv                 =  logVertex3iv                 ;
03793         qglVertex3s                  =  logVertex3s                  ;
03794         qglVertex3sv                 =  logVertex3sv                 ;
03795         qglVertex4d                  =  logVertex4d                  ;
03796         qglVertex4dv                 =  logVertex4dv                 ;
03797         qglVertex4f                  =  logVertex4f                  ;
03798         qglVertex4fv                 =  logVertex4fv                 ;
03799         qglVertex4i                  =  logVertex4i                  ;
03800         qglVertex4iv                 =  logVertex4iv                 ;
03801         qglVertex4s                  =  logVertex4s                  ;
03802         qglVertex4sv                 =  logVertex4sv                 ;
03803         qglVertexPointer             =  logVertexPointer             ;
03804         qglViewport                  =  logViewport                  ;
03805     }
03806     else
03807     {
03808         qglAccum                     = dllAccum;
03809         qglAlphaFunc                 = dllAlphaFunc;
03810         qglAreTexturesResident       = dllAreTexturesResident;
03811         qglArrayElement              = dllArrayElement;
03812         qglBegin                     = dllBegin;
03813         qglBindTexture               = dllBindTexture;
03814         qglBitmap                    = dllBitmap;
03815         qglBlendFunc                 = dllBlendFunc;
03816         qglCallList                  = dllCallList;
03817         qglCallLists                 = dllCallLists;
03818         qglClear                     = dllClear;
03819         qglClearAccum                = dllClearAccum;
03820         qglClearColor                = dllClearColor;
03821         qglClearDepth                = dllClearDepth;
03822         qglClearIndex                = dllClearIndex;
03823         qglClearStencil              = dllClearStencil;
03824         qglClipPlane                 = dllClipPlane;
03825         qglColor3b                   = dllColor3b;
03826         qglColor3bv                  = dllColor3bv;
03827         qglColor3d                   = dllColor3d;
03828         qglColor3dv                  = dllColor3dv;
03829         qglColor3f                   = dllColor3f;
03830         qglColor3fv                  = dllColor3fv;
03831         qglColor3i                   = dllColor3i;
03832         qglColor3iv                  = dllColor3iv;
03833         qglColor3s                   = dllColor3s;
03834         qglColor3sv                  = dllColor3sv;
03835         qglColor3ub                  = dllColor3ub;
03836         qglColor3ubv                 = dllColor3ubv;
03837         qglColor3ui                  = dllColor3ui;
03838         qglColor3uiv                 = dllColor3uiv;
03839         qglColor3us                  = dllColor3us;
03840         qglColor3usv                 = dllColor3usv;
03841         qglColor4b                   = dllColor4b;
03842         qglColor4bv                  = dllColor4bv;
03843         qglColor4d                   = dllColor4d;
03844         qglColor4dv                  = dllColor4dv;
03845         qglColor4f                   = dllColor4f;
03846         qglColor4fv                  = dllColor4fv;
03847         qglColor4i                   = dllColor4i;
03848         qglColor4iv                  = dllColor4iv;
03849         qglColor4s                   = dllColor4s;
03850         qglColor4sv                  = dllColor4sv;
03851         qglColor4ub                  = dllColor4ub;
03852         qglColor4ubv                 = dllColor4ubv;
03853         qglColor4ui                  = dllColor4ui;
03854         qglColor4uiv                 = dllColor4uiv;
03855         qglColor4us                  = dllColor4us;
03856         qglColor4usv                 = dllColor4usv;
03857         qglColorMask                 = dllColorMask;
03858         qglColorMaterial             = dllColorMaterial;
03859         qglColorPointer              = dllColorPointer;
03860         qglCopyPixels                = dllCopyPixels;
03861         qglCopyTexImage1D            = dllCopyTexImage1D;
03862         qglCopyTexImage2D            = dllCopyTexImage2D;
03863         qglCopyTexSubImage1D         = dllCopyTexSubImage1D;
03864         qglCopyTexSubImage2D         = dllCopyTexSubImage2D;
03865         qglCullFace                  = dllCullFace;
03866         qglDeleteLists               = dllDeleteLists ;
03867         qglDeleteTextures            = dllDeleteTextures ;
03868         qglDepthFunc                 = dllDepthFunc ;
03869         qglDepthMask                 = dllDepthMask ;
03870         qglDepthRange                = dllDepthRange ;
03871         qglDisable                   = dllDisable ;
03872         qglDisableClientState        = dllDisableClientState ;
03873         qglDrawArrays                = dllDrawArrays ;
03874         qglDrawBuffer                = dllDrawBuffer ;
03875         qglDrawElements              = dllDrawElements ;
03876         qglDrawPixels                = dllDrawPixels ;
03877         qglEdgeFlag                  = dllEdgeFlag ;
03878         qglEdgeFlagPointer           = dllEdgeFlagPointer ;
03879         qglEdgeFlagv                 = dllEdgeFlagv ;
03880         qglEnable                    =  dllEnable                    ;
03881         qglEnableClientState         =  dllEnableClientState         ;
03882         qglEnd                       =  dllEnd                       ;
03883         qglEndList                   =  dllEndList                   ;
03884         qglEvalCoord1d               =  dllEvalCoord1d               ;
03885         qglEvalCoord1dv              =  dllEvalCoord1dv              ;
03886         qglEvalCoord1f               =  dllEvalCoord1f               ;
03887         qglEvalCoord1fv              =  dllEvalCoord1fv              ;
03888         qglEvalCoord2d               =  dllEvalCoord2d               ;
03889         qglEvalCoord2dv              =  dllEvalCoord2dv              ;
03890         qglEvalCoord2f               =  dllEvalCoord2f               ;
03891         qglEvalCoord2fv              =  dllEvalCoord2fv              ;
03892         qglEvalMesh1                 =  dllEvalMesh1                 ;
03893         qglEvalMesh2                 =  dllEvalMesh2                 ;
03894         qglEvalPoint1                =  dllEvalPoint1                ;
03895         qglEvalPoint2                =  dllEvalPoint2                ;
03896         qglFeedbackBuffer            =  dllFeedbackBuffer            ;
03897         qglFinish                    =  dllFinish                    ;
03898         qglFlush                     =  dllFlush                     ;
03899         qglFogf                      =  dllFogf                      ;
03900         qglFogfv                     =  dllFogfv                     ;
03901         qglFogi                      =  dllFogi                      ;
03902         qglFogiv                     =  dllFogiv                     ;
03903         qglFrontFace                 =  dllFrontFace                 ;
03904         qglFrustum                   =  dllFrustum                   ;
03905         qglGenLists                  =  dllGenLists                  ;
03906         qglGenTextures               =  dllGenTextures               ;
03907         qglGetBooleanv               =  dllGetBooleanv               ;
03908         qglGetClipPlane              =  dllGetClipPlane              ;
03909         qglGetDoublev                =  dllGetDoublev                ;
03910         qglGetError                  =  dllGetError                  ;
03911         qglGetFloatv                 =  dllGetFloatv                 ;
03912         qglGetIntegerv               =  dllGetIntegerv               ;
03913         qglGetLightfv                =  dllGetLightfv                ;
03914         qglGetLightiv                =  dllGetLightiv                ;
03915         qglGetMapdv                  =  dllGetMapdv                  ;
03916         qglGetMapfv                  =  dllGetMapfv                  ;
03917         qglGetMapiv                  =  dllGetMapiv                  ;
03918         qglGetMaterialfv             =  dllGetMaterialfv             ;
03919         qglGetMaterialiv             =  dllGetMaterialiv             ;
03920         qglGetPixelMapfv             =  dllGetPixelMapfv             ;
03921         qglGetPixelMapuiv            =  dllGetPixelMapuiv            ;
03922         qglGetPixelMapusv            =  dllGetPixelMapusv            ;
03923         qglGetPointerv               =  dllGetPointerv               ;
03924         qglGetPolygonStipple         =  dllGetPolygonStipple         ;
03925         qglGetString                 =  dllGetString                 ;
03926         qglGetTexEnvfv               =  dllGetTexEnvfv               ;
03927         qglGetTexEnviv               =  dllGetTexEnviv               ;
03928         qglGetTexGendv               =  dllGetTexGendv               ;
03929         qglGetTexGenfv               =  dllGetTexGenfv               ;
03930         qglGetTexGeniv               =  dllGetTexGeniv               ;
03931         qglGetTexImage               =  dllGetTexImage               ;
03932         qglGetTexLevelParameterfv    =  dllGetTexLevelParameterfv    ;
03933         qglGetTexLevelParameteriv    =  dllGetTexLevelParameteriv    ;
03934         qglGetTexParameterfv         =  dllGetTexParameterfv         ;
03935         qglGetTexParameteriv         =  dllGetTexParameteriv         ;
03936         qglHint                      =  dllHint                      ;
03937         qglIndexMask                 =  dllIndexMask                 ;
03938         qglIndexPointer              =  dllIndexPointer              ;
03939         qglIndexd                    =  dllIndexd                    ;
03940         qglIndexdv                   =  dllIndexdv                   ;
03941         qglIndexf                    =  dllIndexf                    ;
03942         qglIndexfv                   =  dllIndexfv                   ;
03943         qglIndexi                    =  dllIndexi                    ;
03944         qglIndexiv                   =  dllIndexiv                   ;
03945         qglIndexs                    =  dllIndexs                    ;
03946         qglIndexsv                   =  dllIndexsv                   ;
03947         qglIndexub                   =  dllIndexub                   ;
03948         qglIndexubv                  =  dllIndexubv                  ;
03949         qglInitNames                 =  dllInitNames                 ;
03950         qglInterleavedArrays         =  dllInterleavedArrays         ;
03951         qglIsEnabled                 =  dllIsEnabled                 ;
03952         qglIsList                    =  dllIsList                    ;
03953         qglIsTexture                 =  dllIsTexture                 ;
03954         qglLightModelf               =  dllLightModelf               ;
03955         qglLightModelfv              =  dllLightModelfv              ;
03956         qglLightModeli               =  dllLightModeli               ;
03957         qglLightModeliv              =  dllLightModeliv              ;
03958         qglLightf                    =  dllLightf                    ;
03959         qglLightfv                   =  dllLightfv                   ;
03960         qglLighti                    =  dllLighti                    ;
03961         qglLightiv                   =  dllLightiv                   ;
03962         qglLineStipple               =  dllLineStipple               ;
03963         qglLineWidth                 =  dllLineWidth                 ;
03964         qglListBase                  =  dllListBase                  ;
03965         qglLoadIdentity              =  dllLoadIdentity              ;
03966         qglLoadMatrixd               =  dllLoadMatrixd               ;
03967         qglLoadMatrixf               =  dllLoadMatrixf               ;
03968         qglLoadName                  =  dllLoadName                  ;
03969         qglLogicOp                   =  dllLogicOp                   ;
03970         qglMap1d                     =  dllMap1d                     ;
03971         qglMap1f                     =  dllMap1f                     ;
03972         qglMap2d                     =  dllMap2d                     ;
03973         qglMap2f                     =  dllMap2f                     ;
03974         qglMapGrid1d                 =  dllMapGrid1d                 ;
03975         qglMapGrid1f                 =  dllMapGrid1f                 ;
03976         qglMapGrid2d                 =  dllMapGrid2d                 ;
03977         qglMapGrid2f                 =  dllMapGrid2f                 ;
03978         qglMaterialf                 =  dllMaterialf                 ;
03979         qglMaterialfv                =  dllMaterialfv                ;
03980         qglMateriali                 =  dllMateriali                 ;
03981         qglMaterialiv                =  dllMaterialiv                ;
03982         qglMatrixMode                =  dllMatrixMode                ;
03983         qglMultMatrixd               =  dllMultMatrixd               ;
03984         qglMultMatrixf               =  dllMultMatrixf               ;
03985         qglNewList                   =  dllNewList                   ;
03986         qglNormal3b                  =  dllNormal3b                  ;
03987         qglNormal3bv                 =  dllNormal3bv                 ;
03988         qglNormal3d                  =  dllNormal3d                  ;
03989         qglNormal3dv                 =  dllNormal3dv                 ;
03990         qglNormal3f                  =  dllNormal3f                  ;
03991         qglNormal3fv                 =  dllNormal3fv                 ;
03992         qglNormal3i                  =  dllNormal3i                  ;
03993         qglNormal3iv                 =  dllNormal3iv                 ;
03994         qglNormal3s                  =  dllNormal3s                  ;
03995         qglNormal3sv                 =  dllNormal3sv                 ;
03996         qglNormalPointer             =  dllNormalPointer             ;
03997         qglOrtho                     =  dllOrtho                     ;
03998         qglPassThrough               =  dllPassThrough               ;
03999         qglPixelMapfv                =  dllPixelMapfv                ;
04000         qglPixelMapuiv               =  dllPixelMapuiv               ;
04001         qglPixelMapusv               =  dllPixelMapusv               ;
04002         qglPixelStoref               =  dllPixelStoref               ;
04003         qglPixelStorei               =  dllPixelStorei               ;
04004         qglPixelTransferf            =  dllPixelTransferf            ;
04005         qglPixelTransferi            =  dllPixelTransferi            ;
04006         qglPixelZoom                 =  dllPixelZoom                 ;
04007         qglPointSize                 =  dllPointSize                 ;
04008         qglPolygonMode               =  dllPolygonMode               ;
04009         qglPolygonOffset             =  dllPolygonOffset             ;
04010         qglPolygonStipple            =  dllPolygonStipple            ;
04011         qglPopAttrib                 =  dllPopAttrib                 ;
04012         qglPopClientAttrib           =  dllPopClientAttrib           ;
04013         qglPopMatrix                 =  dllPopMatrix                 ;
04014         qglPopName                   =  dllPopName                   ;
04015         qglPrioritizeTextures        =  dllPrioritizeTextures        ;
04016         qglPushAttrib                =  dllPushAttrib                ;
04017         qglPushClientAttrib          =  dllPushClientAttrib          ;
04018         qglPushMatrix                =  dllPushMatrix                ;
04019         qglPushName                  =  dllPushName                  ;
04020         qglRasterPos2d               =  dllRasterPos2d               ;
04021         qglRasterPos2dv              =  dllRasterPos2dv              ;
04022         qglRasterPos2f               =  dllRasterPos2f               ;
04023         qglRasterPos2fv              =  dllRasterPos2fv              ;
04024         qglRasterPos2i               =  dllRasterPos2i               ;
04025         qglRasterPos2iv              =  dllRasterPos2iv              ;
04026         qglRasterPos2s               =  dllRasterPos2s               ;
04027         qglRasterPos2sv              =  dllRasterPos2sv              ;
04028         qglRasterPos3d               =  dllRasterPos3d               ;
04029         qglRasterPos3dv              =  dllRasterPos3dv              ;
04030         qglRasterPos3f               =  dllRasterPos3f               ;
04031         qglRasterPos3fv              =  dllRasterPos3fv              ;
04032         qglRasterPos3i               =  dllRasterPos3i               ;
04033         qglRasterPos3iv              =  dllRasterPos3iv              ;
04034         qglRasterPos3s               =  dllRasterPos3s               ;
04035         qglRasterPos3sv              =  dllRasterPos3sv              ;
04036         qglRasterPos4d               =  dllRasterPos4d               ;
04037         qglRasterPos4dv              =  dllRasterPos4dv              ;
04038         qglRasterPos4f               =  dllRasterPos4f               ;
04039         qglRasterPos4fv              =  dllRasterPos4fv              ;
04040         qglRasterPos4i               =  dllRasterPos4i               ;
04041         qglRasterPos4iv              =  dllRasterPos4iv              ;
04042         qglRasterPos4s               =  dllRasterPos4s               ;
04043         qglRasterPos4sv              =  dllRasterPos4sv              ;
04044         qglReadBuffer                =  dllReadBuffer                ;
04045         qglReadPixels                =  dllReadPixels                ;
04046         qglRectd                     =  dllRectd                     ;
04047         qglRectdv                    =  dllRectdv                    ;
04048         qglRectf                     =  dllRectf                     ;
04049         qglRectfv                    =  dllRectfv                    ;
04050         qglRecti                     =  dllRecti                     ;
04051         qglRectiv                    =  dllRectiv                    ;
04052         qglRects                     =  dllRects                     ;
04053         qglRectsv                    =  dllRectsv                    ;
04054         qglRenderMode                =  dllRenderMode                ;
04055         qglRotated                   =  dllRotated                   ;
04056         qglRotatef                   =  dllRotatef                   ;
04057         qglScaled                    =  dllScaled                    ;
04058         qglScalef                    =  dllScalef                    ;
04059         qglScissor                   =  dllScissor                   ;
04060         qglSelectBuffer              =  dllSelectBuffer              ;
04061         qglShadeModel                =  dllShadeModel                ;
04062         qglStencilFunc               =  dllStencilFunc               ;
04063         qglStencilMask               =  dllStencilMask               ;
04064         qglStencilOp                 =  dllStencilOp                 ;
04065         qglTexCoord1d                =  dllTexCoord1d                ;
04066         qglTexCoord1dv               =  dllTexCoord1dv               ;
04067         qglTexCoord1f                =  dllTexCoord1f                ;
04068         qglTexCoord1fv               =  dllTexCoord1fv               ;
04069         qglTexCoord1i                =  dllTexCoord1i                ;
04070         qglTexCoord1iv               =  dllTexCoord1iv               ;
04071         qglTexCoord1s                =  dllTexCoord1s                ;
04072         qglTexCoord1sv               =  dllTexCoord1sv               ;
04073         qglTexCoord2d                =  dllTexCoord2d                ;
04074         qglTexCoord2dv               =  dllTexCoord2dv               ;
04075         qglTexCoord2f                =  dllTexCoord2f                ;
04076         qglTexCoord2fv               =  dllTexCoord2fv               ;
04077         qglTexCoord2i                =  dllTexCoord2i                ;
04078         qglTexCoord2iv               =  dllTexCoord2iv               ;
04079         qglTexCoord2s                =  dllTexCoord2s                ;
04080         qglTexCoord2sv               =  dllTexCoord2sv               ;
04081         qglTexCoord3d                =  dllTexCoord3d                ;
04082         qglTexCoord3dv               =  dllTexCoord3dv               ;
04083         qglTexCoord3f                =  dllTexCoord3f                ;
04084         qglTexCoord3fv               =  dllTexCoord3fv               ;
04085         qglTexCoord3i                =  dllTexCoord3i                ;
04086         qglTexCoord3iv               =  dllTexCoord3iv               ;
04087         qglTexCoord3s                =  dllTexCoord3s                ;
04088         qglTexCoord3sv               =  dllTexCoord3sv               ;
04089         qglTexCoord4d                =  dllTexCoord4d                ;
04090         qglTexCoord4dv               =  dllTexCoord4dv               ;
04091         qglTexCoord4f                =  dllTexCoord4f                ;
04092         qglTexCoord4fv               =  dllTexCoord4fv               ;
04093         qglTexCoord4i                =  dllTexCoord4i                ;
04094         qglTexCoord4iv               =  dllTexCoord4iv               ;
04095         qglTexCoord4s                =  dllTexCoord4s                ;
04096         qglTexCoord4sv               =  dllTexCoord4sv               ;
04097         qglTexCoordPointer           =  dllTexCoordPointer           ;
04098         qglTexEnvf                   =  dllTexEnvf                   ;
04099         qglTexEnvfv                  =  dllTexEnvfv                  ;
04100         qglTexEnvi                   =  dllTexEnvi                   ;
04101         qglTexEnviv                  =  dllTexEnviv                  ;
04102         qglTexGend                   =  dllTexGend                   ;
04103         qglTexGendv                  =  dllTexGendv                  ;
04104         qglTexGenf                   =  dllTexGenf                   ;
04105         qglTexGenfv                  =  dllTexGenfv                  ;
04106         qglTexGeni                   =  dllTexGeni                   ;
04107         qglTexGeniv                  =  dllTexGeniv                  ;
04108         qglTexImage1D                =  dllTexImage1D                ;
04109         qglTexImage2D                =  dllTexImage2D                ;
04110         qglTexParameterf             =  dllTexParameterf             ;
04111         qglTexParameterfv            =  dllTexParameterfv            ;
04112         qglTexParameteri             =  dllTexParameteri             ;
04113         qglTexParameteriv            =  dllTexParameteriv            ;
04114         qglTexSubImage1D             =  dllTexSubImage1D             ;
04115         qglTexSubImage2D             =  dllTexSubImage2D             ;
04116         qglTranslated                =  dllTranslated                ;
04117         qglTranslatef                =  dllTranslatef                ;
04118         qglVertex2d                  =  dllVertex2d                  ;
04119         qglVertex2dv                 =  dllVertex2dv                 ;
04120         qglVertex2f                  =  dllVertex2f                  ;
04121         qglVertex2fv                 =  dllVertex2fv                 ;
04122         qglVertex2i                  =  dllVertex2i                  ;
04123         qglVertex2iv                 =  dllVertex2iv                 ;
04124         qglVertex2s                  =  dllVertex2s                  ;
04125         qglVertex2sv                 =  dllVertex2sv                 ;
04126         qglVertex3d                  =  dllVertex3d                  ;
04127         qglVertex3dv                 =  dllVertex3dv                 ;
04128         qglVertex3f                  =  dllVertex3f                  ;
04129         qglVertex3fv                 =  dllVertex3fv                 ;
04130         qglVertex3i                  =  dllVertex3i                  ;
04131         qglVertex3iv                 =  dllVertex3iv                 ;
04132         qglVertex3s                  =  dllVertex3s                  ;
04133         qglVertex3sv                 =  dllVertex3sv                 ;
04134         qglVertex4d                  =  dllVertex4d                  ;
04135         qglVertex4dv                 =  dllVertex4dv                 ;
04136         qglVertex4f                  =  dllVertex4f                  ;
04137         qglVertex4fv                 =  dllVertex4fv                 ;
04138         qglVertex4i                  =  dllVertex4i                  ;
04139         qglVertex4iv                 =  dllVertex4iv                 ;
04140         qglVertex4s                  =  dllVertex4s                  ;
04141         qglVertex4sv                 =  dllVertex4sv                 ;
04142         qglVertexPointer             =  dllVertexPointer             ;
04143         qglViewport                  =  dllViewport                  ;
04144     }
04145 }

Here is the call graph for this function:

qboolean QGL_Init const char *  dllname  ) 
 

Definition at line 3235 of file win_qgl.c.

References _3DFX_DRIVER_NAME, assert, Com_sprintf(), dllGetString(), GLenum(), GlideIsValid(), GLuint(), glw_state, GPA, glwstate_t::hinstOpenGL, cvar_s::integer, PRINT_ALL, Q_strncpyz(), qboolean, QGL_EnableLogging(), qglAccum, qglActiveTextureARB, qglAlphaFunc, qglAreTexturesResident, qglArrayElement, qglBegin, qglBindTexture, qglBitmap, qglBlendFunc, qglCallList, qglCallLists, qglClear, qglClearAccum, qglClearColor, qglClearDepth, qglClearIndex, qglClearStencil, qglClientActiveTextureARB, qglClipPlane, qglColor3b, qglColor3bv, qglColor3d, qglColor3dv, qglColor3f, qglColor3fv, qglColor3i, qglColor3iv, qglColor3s, qglColor3sv, qglColor3ub, qglColor3ubv, qglColor3ui, qglColor3uiv, qglColor3us, qglColor3usv, qglColor4b, qglColor4bv, qglColor4d, qglColor4dv, qglColor4f, qglColor4fv, qglColor4i, qglColor4iv, qglColor4s, qglColor4sv, qglColor4ub, qglColor4ubv, qglColor4ui, qglColor4uiv, qglColor4us, qglColor4usv, qglColorMask, qglColorMaterial, qglColorPointer, qglCopyPixels, qglCopyTexImage1D, qglCopyTexImage2D, qglCopyTexSubImage1D, qglCopyTexSubImage2D, qglCullFace, qglDeleteLists, qglDeleteTextures, qglDepthFunc, qglDepthMask, qglDepthRange, qglDisable, qglDisableClientState, qglDrawArrays, qglDrawBuffer, qglDrawElements, qglDrawPixels, qglEdgeFlag, qglEdgeFlagPointer, qglEdgeFlagv, qglEnable, qglEnableClientState, qglEnd, qglEndList, qglEvalCoord1d, qglEvalCoord1dv, qglEvalCoord1f, qglEvalCoord1fv, qglEvalCoord2d, qglEvalCoord2dv, qglEvalCoord2f, qglEvalCoord2fv, qglEvalMesh1, qglEvalMesh2, qglEvalPoint1, qglEvalPoint2, qglFeedbackBuffer, qglFinish, qglFlush, qglFogf, qglFogfv, qglFogi, qglFogiv, qglFrontFace, qglFrustum, qglGenLists, qglGenTextures, qglGetBooleanv, qglGetClipPlane, qglGetDoublev, qglGetError, qglGetFloatv, qglGetIntegerv, qglGetLightfv, qglGetLightiv, qglGetMapdv, qglGetMapfv, qglGetMapiv, qglGetMaterialfv, qglGetMaterialiv, qglGetPixelMapfv, qglGetPixelMapuiv, qglGetPixelMapusv, qglGetPointerv, qglGetPolygonStipple, qglGetString, qglGetTexGendv, qglGetTexGenfv, qglGetTexGeniv, qglGetTexImage, qglGetTexParameterfv, qglGetTexParameteriv, qglHint, qglIndexd, qglIndexdv, qglIndexf, qglIndexfv, qglIndexi, qglIndexiv, qglIndexMask, qglIndexPointer, qglIndexs, qglIndexsv, qglIndexub, qglIndexubv, qglInitNames, qglInterleavedArrays, qglIsEnabled, qglIsList, qglIsTexture, qglLightf, qglLightfv, qglLighti, qglLightiv, qglLightModelf, qglLightModelfv, qglLightModeli, qglLightModeliv, qglLineStipple, qglLineWidth, qglListBase, qglLoadIdentity, qglLoadMatrixd, qglLoadMatrixf, qglLoadName, qglLockArraysEXT, qglLogicOp, qglMap1d, qglMap1f, qglMap2d, qglMap2f, qglMapGrid1d, qglMapGrid1f, qglMapGrid2d, qglMapGrid2f, qglMaterialf, qglMaterialfv, qglMateriali, qglMaterialiv, qglMatrixMode, qglMultiTexCoord2fARB, qglMultMatrixd, qglMultMatrixf, qglNewList, qglNormal3b, qglNormal3bv, qglNormal3d, qglNormal3dv, qglNormal3f, qglNormal3fv, qglNormal3i, qglNormal3iv, qglNormal3s, qglNormal3sv, qglNormalPointer, qglOrtho, qglPassThrough, qglPixelMapfv, qglPixelMapuiv, qglPixelMapusv, qglPixelStoref, qglPixelStorei, qglPixelTransferf, qglPixelTransferi, qglPixelZoom, qglPointSize, qglPolygonMode, qglPolygonOffset, qglPolygonStipple, qglPopAttrib, qglPopClientAttrib, qglPopMatrix, qglPopName, qglPrioritizeTextures, qglPushAttrib, qglPushClientAttrib, qglPushMatrix, qglPushName, qglRasterPos2d, qglRasterPos2dv, qglRasterPos2f, qglRasterPos2fv, qglRasterPos2i, qglRasterPos2iv, qglRasterPos2s, qglRasterPos2sv, qglRasterPos3d, qglRasterPos3dv, qglRasterPos3f, qglRasterPos3fv, qglRasterPos3i, qglRasterPos3iv, qglRasterPos3s, qglRasterPos3sv, qglRasterPos4d, qglRasterPos4dv, qglRasterPos4f, qglRasterPos4fv, qglRasterPos4i, qglRasterPos4iv, qglRasterPos4s, qglRasterPos4sv, qglReadBuffer, qglReadPixels, qglRectd, qglRectdv, qglRectf, qglRectfv, qglRecti, qglRectiv, qglRects, qglRectsv, qglRenderMode, qglRotated, qglRotatef, qglScaled, qglScalef, qglScissor, qglSelectBuffer, qglShadeModel, qglStencilFunc, qglStencilMask, qglStencilOp, qglTexCoord1d, qglTexCoord1dv, qglTexCoord1f, qglTexCoord1fv, qglTexCoord1i, qglTexCoord1iv, qglTexCoord1s, qglTexCoord1sv, qglTexCoord2d, qglTexCoord2dv, qglTexCoord2f, qglTexCoord2fv, qglTexCoord2i, qglTexCoord2iv, qglTexCoord2s, qglTexCoord2sv, qglTexCoord3d, qglTexCoord3dv, qglTexCoord3f, qglTexCoord3fv, qglTexCoord3i, qglTexCoord3iv, qglTexCoord3s, qglTexCoord3sv, qglTexCoord4d, qglTexCoord4dv, qglTexCoord4f, qglTexCoord4fv, qglTexCoord4i, qglTexCoord4iv, qglTexCoord4s, qglTexCoord4sv, qglTexCoordPointer, qglTexEnvf, qglTexEnvfv, qglTexEnvi, qglTexEnviv, qglTexGend, qglTexGendv, qglTexGenf, qglTexGenfv, qglTexGeni, qglTexGeniv, qglTexImage1D, qglTexImage2D, qglTexParameterf, qglTexParameterfv, qglTexParameteri, qglTexParameteriv, qglTexSubImage1D, qglTexSubImage2D, qglTranslated, qglTranslatef, qglUnlockArraysEXT, qglVertex2d, qglVertex2dv, qglVertex2f, qglVertex2fv, qglVertex2i, qglVertex2iv, qglVertex2s, qglVertex2sv, qglVertex3d, qglVertex3dv, qglVertex3f, qglVertex3fv, qglVertex3i, qglVertex3iv, qglVertex3s, qglVertex3sv, qglVertex4d, qglVertex4dv, qglVertex4f, qglVertex4fv, qglVertex4i, qglVertex4iv, qglVertex4s, qglVertex4sv, qglVertexPointer, qglViewport, qwglGetProcAddress(), qwglSwapIntervalEXT, r_logFile, ri, and strstr().

03236 {
03237     char systemDir[1024];
03238     char libName[1024];
03239 
03240     GetSystemDirectory( systemDir, sizeof( systemDir ) );
03241 
03242     assert( glw_state.hinstOpenGL == 0 );
03243 
03244     ri.Printf( PRINT_ALL, "...initializing QGL\n" );
03245 
03246     // NOTE: this assumes that 'dllname' is lower case (and it should be)!
03247     if ( strstr( dllname, _3DFX_DRIVER_NAME ) )
03248     {
03249         if ( !GlideIsValid() )
03250         {
03251             ri.Printf( PRINT_ALL, "...WARNING: missing Glide installation, assuming no 3Dfx available\n" );
03252             return qfalse;
03253         }
03254     }
03255 
03256     if ( dllname[0] != '!' )
03257     {
03258         Com_sprintf( libName, sizeof( libName ), "%s\\%s", systemDir, dllname );
03259     }
03260     else
03261     {
03262         Q_strncpyz( libName, dllname, sizeof( libName ) );
03263     }
03264 
03265     ri.Printf( PRINT_ALL, "...calling LoadLibrary( '%s.dll' ): ", libName );
03266 
03267     if ( ( glw_state.hinstOpenGL = LoadLibrary( dllname ) ) == 0 )
03268     {
03269         ri.Printf( PRINT_ALL, "failed\n" );
03270         return qfalse;
03271     }
03272     ri.Printf( PRINT_ALL, "succeeded\n" );
03273 
03274     qglAccum                     = dllAccum = GPA( "glAccum" );
03275     qglAlphaFunc                 = dllAlphaFunc = GPA( "glAlphaFunc" );
03276     qglAreTexturesResident       = dllAreTexturesResident = GPA( "glAreTexturesResident" );
03277     qglArrayElement              = dllArrayElement = GPA( "glArrayElement" );
03278     qglBegin                     = dllBegin = GPA( "glBegin" );
03279     qglBindTexture               = dllBindTexture = GPA( "glBindTexture" );
03280     qglBitmap                    = dllBitmap = GPA( "glBitmap" );
03281     qglBlendFunc                 = dllBlendFunc = GPA( "glBlendFunc" );
03282     qglCallList                  = dllCallList = GPA( "glCallList" );
03283     qglCallLists                 = dllCallLists = GPA( "glCallLists" );
03284     qglClear                     = dllClear = GPA( "glClear" );
03285     qglClearAccum                = dllClearAccum = GPA( "glClearAccum" );
03286     qglClearColor                = dllClearColor = GPA( "glClearColor" );
03287     qglClearDepth                = dllClearDepth = GPA( "glClearDepth" );
03288     qglClearIndex                = dllClearIndex = GPA( "glClearIndex" );
03289     qglClearStencil              = dllClearStencil = GPA( "glClearStencil" );
03290     qglClipPlane                 = dllClipPlane = GPA( "glClipPlane" );
03291     qglColor3b                   = dllColor3b = GPA( "glColor3b" );
03292     qglColor3bv                  = dllColor3bv = GPA( "glColor3bv" );
03293     qglColor3d                   = dllColor3d = GPA( "glColor3d" );
03294     qglColor3dv                  = dllColor3dv = GPA( "glColor3dv" );
03295     qglColor3f                   = dllColor3f = GPA( "glColor3f" );
03296     qglColor3fv                  = dllColor3fv = GPA( "glColor3fv" );
03297     qglColor3i                   = dllColor3i = GPA( "glColor3i" );
03298     qglColor3iv                  = dllColor3iv = GPA( "glColor3iv" );
03299     qglColor3s                   = dllColor3s = GPA( "glColor3s" );
03300     qglColor3sv                  = dllColor3sv = GPA( "glColor3sv" );
03301     qglColor3ub                  = dllColor3ub = GPA( "glColor3ub" );
03302     qglColor3ubv                 = dllColor3ubv = GPA( "glColor3ubv" );
03303     qglColor3ui                  = dllColor3ui = GPA( "glColor3ui" );
03304     qglColor3uiv                 = dllColor3uiv = GPA( "glColor3uiv" );
03305     qglColor3us                  = dllColor3us = GPA( "glColor3us" );
03306     qglColor3usv                 = dllColor3usv = GPA( "glColor3usv" );
03307     qglColor4b                   = dllColor4b = GPA( "glColor4b" );
03308     qglColor4bv                  = dllColor4bv = GPA( "glColor4bv" );
03309     qglColor4d                   = dllColor4d = GPA( "glColor4d" );
03310     qglColor4dv                  = dllColor4dv = GPA( "glColor4dv" );
03311     qglColor4f                   = dllColor4f = GPA( "glColor4f" );
03312     qglColor4fv                  = dllColor4fv = GPA( "glColor4fv" );
03313     qglColor4i                   = dllColor4i = GPA( "glColor4i" );
03314     qglColor4iv                  = dllColor4iv = GPA( "glColor4iv" );
03315     qglColor4s                   = dllColor4s = GPA( "glColor4s" );
03316     qglColor4sv                  = dllColor4sv = GPA( "glColor4sv" );
03317     qglColor4ub                  = dllColor4ub = GPA( "glColor4ub" );
03318     qglColor4ubv                 = dllColor4ubv = GPA( "glColor4ubv" );
03319     qglColor4ui                  = dllColor4ui = GPA( "glColor4ui" );
03320     qglColor4uiv                 = dllColor4uiv = GPA( "glColor4uiv" );
03321     qglColor4us                  = dllColor4us = GPA( "glColor4us" );
03322     qglColor4usv                 = dllColor4usv = GPA( "glColor4usv" );
03323     qglColorMask                 = dllColorMask = GPA( "glColorMask" );
03324     qglColorMaterial             = dllColorMaterial = GPA( "glColorMaterial" );
03325     qglColorPointer              = dllColorPointer = GPA( "glColorPointer" );
03326     qglCopyPixels                = dllCopyPixels = GPA( "glCopyPixels" );
03327     qglCopyTexImage1D            = dllCopyTexImage1D = GPA( "glCopyTexImage1D" );
03328     qglCopyTexImage2D            = dllCopyTexImage2D = GPA( "glCopyTexImage2D" );
03329     qglCopyTexSubImage1D         = dllCopyTexSubImage1D = GPA( "glCopyTexSubImage1D" );
03330     qglCopyTexSubImage2D         = dllCopyTexSubImage2D = GPA( "glCopyTexSubImage2D" );
03331     qglCullFace                  = dllCullFace = GPA( "glCullFace" );
03332     qglDeleteLists               = dllDeleteLists = GPA( "glDeleteLists" );
03333     qglDeleteTextures            = dllDeleteTextures = GPA( "glDeleteTextures" );
03334     qglDepthFunc                 = dllDepthFunc = GPA( "glDepthFunc" );
03335     qglDepthMask                 = dllDepthMask = GPA( "glDepthMask" );
03336     qglDepthRange                = dllDepthRange = GPA( "glDepthRange" );
03337     qglDisable                   = dllDisable = GPA( "glDisable" );
03338     qglDisableClientState        = dllDisableClientState = GPA( "glDisableClientState" );
03339     qglDrawArrays                = dllDrawArrays = GPA( "glDrawArrays" );
03340     qglDrawBuffer                = dllDrawBuffer = GPA( "glDrawBuffer" );
03341     qglDrawElements              = dllDrawElements = GPA( "glDrawElements" );
03342     qglDrawPixels                = dllDrawPixels = GPA( "glDrawPixels" );
03343     qglEdgeFlag                  = dllEdgeFlag = GPA( "glEdgeFlag" );
03344     qglEdgeFlagPointer           = dllEdgeFlagPointer = GPA( "glEdgeFlagPointer" );
03345     qglEdgeFlagv                 = dllEdgeFlagv = GPA( "glEdgeFlagv" );
03346     qglEnable                    =  dllEnable                    = GPA( "glEnable" );
03347     qglEnableClientState         =  dllEnableClientState         = GPA( "glEnableClientState" );
03348     qglEnd                       =  dllEnd                       = GPA( "glEnd" );
03349     qglEndList                   =  dllEndList                   = GPA( "glEndList" );
03350     qglEvalCoord1d               =  dllEvalCoord1d               = GPA( "glEvalCoord1d" );
03351     qglEvalCoord1dv              =  dllEvalCoord1dv              = GPA( "glEvalCoord1dv" );
03352     qglEvalCoord1f               =  dllEvalCoord1f               = GPA( "glEvalCoord1f" );
03353     qglEvalCoord1fv              =  dllEvalCoord1fv              = GPA( "glEvalCoord1fv" );
03354     qglEvalCoord2d               =  dllEvalCoord2d               = GPA( "glEvalCoord2d" );
03355     qglEvalCoord2dv              =  dllEvalCoord2dv              = GPA( "glEvalCoord2dv" );
03356     qglEvalCoord2f               =  dllEvalCoord2f               = GPA( "glEvalCoord2f" );
03357     qglEvalCoord2fv              =  dllEvalCoord2fv              = GPA( "glEvalCoord2fv" );
03358     qglEvalMesh1                 =  dllEvalMesh1                 = GPA( "glEvalMesh1" );
03359     qglEvalMesh2                 =  dllEvalMesh2                 = GPA( "glEvalMesh2" );
03360     qglEvalPoint1                =  dllEvalPoint1                = GPA( "glEvalPoint1" );
03361     qglEvalPoint2                =  dllEvalPoint2                = GPA( "glEvalPoint2" );
03362     qglFeedbackBuffer            =  dllFeedbackBuffer            = GPA( "glFeedbackBuffer" );
03363     qglFinish                    =  dllFinish                    = GPA( "glFinish" );
03364     qglFlush                     =  dllFlush                     = GPA( "glFlush" );
03365     qglFogf                      =  dllFogf                      = GPA( "glFogf" );
03366     qglFogfv                     =  dllFogfv                     = GPA( "glFogfv" );
03367     qglFogi                      =  dllFogi                      = GPA( "glFogi" );
03368     qglFogiv                     =  dllFogiv                     = GPA( "glFogiv" );
03369     qglFrontFace                 =  dllFrontFace                 = GPA( "glFrontFace" );
03370     qglFrustum                   =  dllFrustum                   = GPA( "glFrustum" );
03371     qglGenLists                  =  dllGenLists                  = ( GLuint (__stdcall * )(int) ) GPA( "glGenLists" );
03372     qglGenTextures               =  dllGenTextures               = GPA( "glGenTextures" );
03373     qglGetBooleanv               =  dllGetBooleanv               = GPA( "glGetBooleanv" );
03374     qglGetClipPlane              =  dllGetClipPlane              = GPA( "glGetClipPlane" );
03375     qglGetDoublev                =  dllGetDoublev                = GPA( "glGetDoublev" );
03376     qglGetError                  =  dllGetError                  = ( GLenum (__stdcall * )(void) ) GPA( "glGetError" );
03377     qglGetFloatv                 =  dllGetFloatv                 = GPA( "glGetFloatv" );
03378     qglGetIntegerv               =  dllGetIntegerv               = GPA( "glGetIntegerv" );
03379     qglGetLightfv                =  dllGetLightfv                = GPA( "glGetLightfv" );
03380     qglGetLightiv                =  dllGetLightiv                = GPA( "glGetLightiv" );
03381     qglGetMapdv                  =  dllGetMapdv                  = GPA( "glGetMapdv" );
03382     qglGetMapfv                  =  dllGetMapfv                  = GPA( "glGetMapfv" );
03383     qglGetMapiv                  =  dllGetMapiv                  = GPA( "glGetMapiv" );
03384     qglGetMaterialfv             =  dllGetMaterialfv             = GPA( "glGetMaterialfv" );
03385     qglGetMaterialiv             =  dllGetMaterialiv             = GPA( "glGetMaterialiv" );
03386     qglGetPixelMapfv             =  dllGetPixelMapfv             = GPA( "glGetPixelMapfv" );
03387     qglGetPixelMapuiv            =  dllGetPixelMapuiv            = GPA( "glGetPixelMapuiv" );
03388     qglGetPixelMapusv            =  dllGetPixelMapusv            = GPA( "glGetPixelMapusv" );
03389     qglGetPointerv               =  dllGetPointerv               = GPA( "glGetPointerv" );
03390     qglGetPolygonStipple         =  dllGetPolygonStipple         = GPA( "glGetPolygonStipple" );
03391     qglGetString                 =  dllGetString                 = GPA( "glGetString" );
03392     qglGetTexEnvfv               =  dllGetTexEnvfv               = GPA( "glGetTexEnvfv" );
03393     qglGetTexEnviv               =  dllGetTexEnviv               = GPA( "glGetTexEnviv" );
03394     qglGetTexGendv               =  dllGetTexGendv               = GPA( "glGetTexGendv" );
03395     qglGetTexGenfv               =  dllGetTexGenfv               = GPA( "glGetTexGenfv" );
03396     qglGetTexGeniv               =  dllGetTexGeniv               = GPA( "glGetTexGeniv" );
03397     qglGetTexImage               =  dllGetTexImage               = GPA( "glGetTexImage" );
03398     qglGetTexParameterfv         =  dllGetTexParameterfv         = GPA( "glGetTexParameterfv" );
03399     qglGetTexParameteriv         =  dllGetTexParameteriv         = GPA( "glGetTexParameteriv" );
03400     qglHint                      =  dllHint                      = GPA( "glHint" );
03401     qglIndexMask                 =  dllIndexMask                 = GPA( "glIndexMask" );
03402     qglIndexPointer              =  dllIndexPointer              = GPA( "glIndexPointer" );
03403     qglIndexd                    =  dllIndexd                    = GPA( "glIndexd" );
03404     qglIndexdv                   =  dllIndexdv                   = GPA( "glIndexdv" );
03405     qglIndexf                    =  dllIndexf                    = GPA( "glIndexf" );
03406     qglIndexfv                   =  dllIndexfv                   = GPA( "glIndexfv" );
03407     qglIndexi                    =  dllIndexi                    = GPA( "glIndexi" );
03408     qglIndexiv                   =  dllIndexiv                   = GPA( "glIndexiv" );
03409     qglIndexs                    =  dllIndexs                    = GPA( "glIndexs" );
03410     qglIndexsv                   =  dllIndexsv                   = GPA( "glIndexsv" );
03411     qglIndexub                   =  dllIndexub                   = GPA( "glIndexub" );
03412     qglIndexubv                  =  dllIndexubv                  = GPA( "glIndexubv" );
03413     qglInitNames                 =  dllInitNames                 = GPA( "glInitNames" );
03414     qglInterleavedArrays         =  dllInterleavedArrays         = GPA( "glInterleavedArrays" );
03415     qglIsEnabled                 =  dllIsEnabled                 = GPA( "glIsEnabled" );
03416     qglIsList                    =  dllIsList                    = GPA( "glIsList" );
03417     qglIsTexture                 =  dllIsTexture                 = GPA( "glIsTexture" );
03418     qglLightModelf               =  dllLightModelf               = GPA( "glLightModelf" );
03419     qglLightModelfv              =  dllLightModelfv              = GPA( "glLightModelfv" );
03420     qglLightModeli               =  dllLightModeli               = GPA( "glLightModeli" );
03421     qglLightModeliv              =  dllLightModeliv              = GPA( "glLightModeliv" );
03422     qglLightf                    =  dllLightf                    = GPA( "glLightf" );
03423     qglLightfv                   =  dllLightfv                   = GPA( "glLightfv" );
03424     qglLighti                    =  dllLighti                    = GPA( "glLighti" );
03425     qglLightiv                   =  dllLightiv                   = GPA( "glLightiv" );
03426     qglLineStipple               =  dllLineStipple               = GPA( "glLineStipple" );
03427     qglLineWidth                 =  dllLineWidth                 = GPA( "glLineWidth" );
03428     qglListBase                  =  dllListBase                  = GPA( "glListBase" );
03429     qglLoadIdentity              =  dllLoadIdentity              = GPA( "glLoadIdentity" );
03430     qglLoadMatrixd               =  dllLoadMatrixd               = GPA( "glLoadMatrixd" );
03431     qglLoadMatrixf               =  dllLoadMatrixf               = GPA( "glLoadMatrixf" );
03432     qglLoadName                  =  dllLoadName                  = GPA( "glLoadName" );
03433     qglLogicOp                   =  dllLogicOp                   = GPA( "glLogicOp" );
03434     qglMap1d                     =  dllMap1d                     = GPA( "glMap1d" );
03435     qglMap1f                     =  dllMap1f                     = GPA( "glMap1f" );
03436     qglMap2d                     =  dllMap2d                     = GPA( "glMap2d" );
03437     qglMap2f                     =  dllMap2f                     = GPA( "glMap2f" );
03438     qglMapGrid1d                 =  dllMapGrid1d                 = GPA( "glMapGrid1d" );
03439     qglMapGrid1f                 =  dllMapGrid1f                 = GPA( "glMapGrid1f" );
03440     qglMapGrid2d                 =  dllMapGrid2d                 = GPA( "glMapGrid2d" );
03441     qglMapGrid2f                 =  dllMapGrid2f                 = GPA( "glMapGrid2f" );
03442     qglMaterialf                 =  dllMaterialf                 = GPA( "glMaterialf" );
03443     qglMaterialfv                =  dllMaterialfv                = GPA( "glMaterialfv" );
03444     qglMateriali                 =  dllMateriali                 = GPA( "glMateriali" );
03445     qglMaterialiv                =  dllMaterialiv                = GPA( "glMaterialiv" );
03446     qglMatrixMode                =  dllMatrixMode                = GPA( "glMatrixMode" );
03447     qglMultMatrixd               =  dllMultMatrixd               = GPA( "glMultMatrixd" );
03448     qglMultMatrixf               =  dllMultMatrixf               = GPA( "glMultMatrixf" );
03449     qglNewList                   =  dllNewList                   = GPA( "glNewList" );
03450     qglNormal3b                  =  dllNormal3b                  = GPA( "glNormal3b" );
03451     qglNormal3bv                 =  dllNormal3bv                 = GPA( "glNormal3bv" );
03452     qglNormal3d                  =  dllNormal3d                  = GPA( "glNormal3d" );
03453     qglNormal3dv                 =  dllNormal3dv                 = GPA( "glNormal3dv" );
03454     qglNormal3f                  =  dllNormal3f                  = GPA( "glNormal3f" );
03455     qglNormal3fv                 =  dllNormal3fv                 = GPA( "glNormal3fv" );
03456     qglNormal3i                  =  dllNormal3i                  = GPA( "glNormal3i" );
03457     qglNormal3iv                 =  dllNormal3iv                 = GPA( "glNormal3iv" );
03458     qglNormal3s                  =  dllNormal3s                  = GPA( "glNormal3s" );
03459     qglNormal3sv                 =  dllNormal3sv                 = GPA( "glNormal3sv" );
03460     qglNormalPointer             =  dllNormalPointer             = GPA( "glNormalPointer" );
03461     qglOrtho                     =  dllOrtho                     = GPA( "glOrtho" );
03462     qglPassThrough               =  dllPassThrough               = GPA( "glPassThrough" );
03463     qglPixelMapfv                =  dllPixelMapfv                = GPA( "glPixelMapfv" );
03464     qglPixelMapuiv               =  dllPixelMapuiv               = GPA( "glPixelMapuiv" );
03465     qglPixelMapusv               =  dllPixelMapusv               = GPA( "glPixelMapusv" );
03466     qglPixelStoref               =  dllPixelStoref               = GPA( "glPixelStoref" );
03467     qglPixelStorei               =  dllPixelStorei               = GPA( "glPixelStorei" );
03468     qglPixelTransferf            =  dllPixelTransferf            = GPA( "glPixelTransferf" );
03469     qglPixelTransferi            =  dllPixelTransferi            = GPA( "glPixelTransferi" );
03470     qglPixelZoom                 =  dllPixelZoom                 = GPA( "glPixelZoom" );
03471     qglPointSize                 =  dllPointSize                 = GPA( "glPointSize" );
03472     qglPolygonMode               =  dllPolygonMode               = GPA( "glPolygonMode" );
03473     qglPolygonOffset             =  dllPolygonOffset             = GPA( "glPolygonOffset" );
03474     qglPolygonStipple            =  dllPolygonStipple            = GPA( "glPolygonStipple" );
03475     qglPopAttrib                 =  dllPopAttrib                 = GPA( "glPopAttrib" );
03476     qglPopClientAttrib           =  dllPopClientAttrib           = GPA( "glPopClientAttrib" );
03477     qglPopMatrix                 =  dllPopMatrix                 = GPA( "glPopMatrix" );
03478     qglPopName                   =  dllPopName                   = GPA( "glPopName" );
03479     qglPrioritizeTextures        =  dllPrioritizeTextures        = GPA( "glPrioritizeTextures" );
03480     qglPushAttrib                =  dllPushAttrib                = GPA( "glPushAttrib" );
03481     qglPushClientAttrib          =  dllPushClientAttrib          = GPA( "glPushClientAttrib" );
03482     qglPushMatrix                =  dllPushMatrix                = GPA( "glPushMatrix" );
03483     qglPushName                  =  dllPushName                  = GPA( "glPushName" );
03484     qglRasterPos2d               =  dllRasterPos2d               = GPA( "glRasterPos2d" );
03485     qglRasterPos2dv              =  dllRasterPos2dv              = GPA( "glRasterPos2dv" );
03486     qglRasterPos2f               =  dllRasterPos2f               = GPA( "glRasterPos2f" );
03487     qglRasterPos2fv              =  dllRasterPos2fv              = GPA( "glRasterPos2fv" );
03488     qglRasterPos2i               =  dllRasterPos2i               = GPA( "glRasterPos2i" );
03489     qglRasterPos2iv              =  dllRasterPos2iv              = GPA( "glRasterPos2iv" );
03490     qglRasterPos2s               =  dllRasterPos2s               = GPA( "glRasterPos2s" );
03491     qglRasterPos2sv              =  dllRasterPos2sv              = GPA( "glRasterPos2sv" );
03492     qglRasterPos3d               =  dllRasterPos3d               = GPA( "glRasterPos3d" );
03493     qglRasterPos3dv              =  dllRasterPos3dv              = GPA( "glRasterPos3dv" );
03494     qglRasterPos3f               =  dllRasterPos3f               = GPA( "glRasterPos3f" );
03495     qglRasterPos3fv              =  dllRasterPos3fv              = GPA( "glRasterPos3fv" );
03496     qglRasterPos3i               =  dllRasterPos3i               = GPA( "glRasterPos3i" );
03497     qglRasterPos3iv              =  dllRasterPos3iv              = GPA( "glRasterPos3iv" );
03498     qglRasterPos3s               =  dllRasterPos3s               = GPA( "glRasterPos3s" );
03499     qglRasterPos3sv              =  dllRasterPos3sv              = GPA( "glRasterPos3sv" );
03500     qglRasterPos4d               =  dllRasterPos4d               = GPA( "glRasterPos4d" );
03501     qglRasterPos4dv              =  dllRasterPos4dv              = GPA( "glRasterPos4dv" );
03502     qglRasterPos4f               =  dllRasterPos4f               = GPA( "glRasterPos4f" );
03503     qglRasterPos4fv              =  dllRasterPos4fv              = GPA( "glRasterPos4fv" );
03504     qglRasterPos4i               =  dllRasterPos4i               = GPA( "glRasterPos4i" );
03505     qglRasterPos4iv              =  dllRasterPos4iv              = GPA( "glRasterPos4iv" );
03506     qglRasterPos4s               =  dllRasterPos4s               = GPA( "glRasterPos4s" );
03507     qglRasterPos4sv              =  dllRasterPos4sv              = GPA( "glRasterPos4sv" );
03508     qglReadBuffer                =  dllReadBuffer                = GPA( "glReadBuffer" );
03509     qglReadPixels                =  dllReadPixels                = GPA( "glReadPixels" );
03510     qglRectd                     =  dllRectd                     = GPA( "glRectd" );
03511     qglRectdv                    =  dllRectdv                    = GPA( "glRectdv" );
03512     qglRectf                     =  dllRectf                     = GPA( "glRectf" );
03513     qglRectfv                    =  dllRectfv                    = GPA( "glRectfv" );
03514     qglRecti                     =  dllRecti                     = GPA( "glRecti" );
03515     qglRectiv                    =  dllRectiv                    = GPA( "glRectiv" );
03516     qglRects                     =  dllRects                     = GPA( "glRects" );
03517     qglRectsv                    =  dllRectsv                    = GPA( "glRectsv" );
03518     qglRenderMode                =  dllRenderMode                = GPA( "glRenderMode" );
03519     qglRotated                   =  dllRotated                   = GPA( "glRotated" );
03520     qglRotatef                   =  dllRotatef                   = GPA( "glRotatef" );
03521     qglScaled                    =  dllScaled                    = GPA( "glScaled" );
03522     qglScalef                    =  dllScalef                    = GPA( "glScalef" );
03523     qglScissor                   =  dllScissor                   = GPA( "glScissor" );
03524     qglSelectBuffer              =  dllSelectBuffer              = GPA( "glSelectBuffer" );
03525     qglShadeModel                =  dllShadeModel                = GPA( "glShadeModel" );
03526     qglStencilFunc               =  dllStencilFunc               = GPA( "glStencilFunc" );
03527     qglStencilMask               =  dllStencilMask               = GPA( "glStencilMask" );
03528     qglStencilOp                 =  dllStencilOp                 = GPA( "glStencilOp" );
03529     qglTexCoord1d                =  dllTexCoord1d                = GPA( "glTexCoord1d" );
03530     qglTexCoord1dv               =  dllTexCoord1dv               = GPA( "glTexCoord1dv" );
03531     qglTexCoord1f                =  dllTexCoord1f                = GPA( "glTexCoord1f" );
03532     qglTexCoord1fv               =  dllTexCoord1fv               = GPA( "glTexCoord1fv" );
03533     qglTexCoord1i                =  dllTexCoord1i                = GPA( "glTexCoord1i" );
03534     qglTexCoord1iv               =  dllTexCoord1iv               = GPA( "glTexCoord1iv" );
03535     qglTexCoord1s                =  dllTexCoord1s                = GPA( "glTexCoord1s" );
03536     qglTexCoord1sv               =  dllTexCoord1sv               = GPA( "glTexCoord1sv" );
03537     qglTexCoord2d                =  dllTexCoord2d                = GPA( "glTexCoord2d" );
03538     qglTexCoord2dv               =  dllTexCoord2dv               = GPA( "glTexCoord2dv" );
03539     qglTexCoord2f                =  dllTexCoord2f                = GPA( "glTexCoord2f" );
03540     qglTexCoord2fv               =  dllTexCoord2fv               = GPA( "glTexCoord2fv" );
03541     qglTexCoord2i                =  dllTexCoord2i                = GPA( "glTexCoord2i" );
03542     qglTexCoord2iv               =  dllTexCoord2iv               = GPA( "glTexCoord2iv" );
03543     qglTexCoord2s                =  dllTexCoord2s                = GPA( "glTexCoord2s" );
03544     qglTexCoord2sv               =  dllTexCoord2sv               = GPA( "glTexCoord2sv" );
03545     qglTexCoord3d                =  dllTexCoord3d                = GPA( "glTexCoord3d" );
03546     qglTexCoord3dv               =  dllTexCoord3dv               = GPA( "glTexCoord3dv" );
03547     qglTexCoord3f                =  dllTexCoord3f                = GPA( "glTexCoord3f" );
03548     qglTexCoord3fv               =  dllTexCoord3fv               = GPA( "glTexCoord3fv" );
03549     qglTexCoord3i                =  dllTexCoord3i                = GPA( "glTexCoord3i" );
03550     qglTexCoord3iv               =  dllTexCoord3iv               = GPA( "glTexCoord3iv" );
03551     qglTexCoord3s                =  dllTexCoord3s                = GPA( "glTexCoord3s" );
03552     qglTexCoord3sv               =  dllTexCoord3sv               = GPA( "glTexCoord3sv" );
03553     qglTexCoord4d                =  dllTexCoord4d                = GPA( "glTexCoord4d" );
03554     qglTexCoord4dv               =  dllTexCoord4dv               = GPA( "glTexCoord4dv" );
03555     qglTexCoord4f                =  dllTexCoord4f                = GPA( "glTexCoord4f" );
03556     qglTexCoord4fv               =  dllTexCoord4fv               = GPA( "glTexCoord4fv" );
03557     qglTexCoord4i                =  dllTexCoord4i                = GPA( "glTexCoord4i" );
03558     qglTexCoord4iv               =  dllTexCoord4iv               = GPA( "glTexCoord4iv" );
03559     qglTexCoord4s                =  dllTexCoord4s                = GPA( "glTexCoord4s" );
03560     qglTexCoord4sv               =  dllTexCoord4sv               = GPA( "glTexCoord4sv" );
03561     qglTexCoordPointer           =  dllTexCoordPointer           = GPA( "glTexCoordPointer" );
03562     qglTexEnvf                   =  dllTexEnvf                   = GPA( "glTexEnvf" );
03563     qglTexEnvfv                  =  dllTexEnvfv                  = GPA( "glTexEnvfv" );
03564     qglTexEnvi                   =  dllTexEnvi                   = GPA( "glTexEnvi" );
03565     qglTexEnviv                  =  dllTexEnviv                  = GPA( "glTexEnviv" );
03566     qglTexGend                   =  dllTexGend                   = GPA( "glTexGend" );
03567     qglTexGendv                  =  dllTexGendv                  = GPA( "glTexGendv" );
03568     qglTexGenf                   =  dllTexGenf                   = GPA( "glTexGenf" );
03569     qglTexGenfv                  =  dllTexGenfv                  = GPA( "glTexGenfv" );
03570     qglTexGeni                   =  dllTexGeni                   = GPA( "glTexGeni" );
03571     qglTexGeniv                  =  dllTexGeniv                  = GPA( "glTexGeniv" );
03572     qglTexImage1D                =  dllTexImage1D                = GPA( "glTexImage1D" );
03573     qglTexImage2D                =  dllTexImage2D                = GPA( "glTexImage2D" );
03574     qglTexParameterf             =  dllTexParameterf             = GPA( "glTexParameterf" );
03575     qglTexParameterfv            =  dllTexParameterfv            = GPA( "glTexParameterfv" );
03576     qglTexParameteri             =  dllTexParameteri             = GPA( "glTexParameteri" );
03577     qglTexParameteriv            =  dllTexParameteriv            = GPA( "glTexParameteriv" );
03578     qglTexSubImage1D             =  dllTexSubImage1D             = GPA( "glTexSubImage1D" );
03579     qglTexSubImage2D             =  dllTexSubImage2D             = GPA( "glTexSubImage2D" );
03580     qglTranslated                =  dllTranslated                = GPA( "glTranslated" );
03581     qglTranslatef                =  dllTranslatef                = GPA( "glTranslatef" );
03582     qglVertex2d                  =  dllVertex2d                  = GPA( "glVertex2d" );
03583     qglVertex2dv                 =  dllVertex2dv                 = GPA( "glVertex2dv" );
03584     qglVertex2f                  =  dllVertex2f                  = GPA( "glVertex2f" );
03585     qglVertex2fv                 =  dllVertex2fv                 = GPA( "glVertex2fv" );
03586     qglVertex2i                  =  dllVertex2i                  = GPA( "glVertex2i" );
03587     qglVertex2iv                 =  dllVertex2iv                 = GPA( "glVertex2iv" );
03588     qglVertex2s                  =  dllVertex2s                  = GPA( "glVertex2s" );
03589     qglVertex2sv                 =  dllVertex2sv                 = GPA( "glVertex2sv" );
03590     qglVertex3d                  =  dllVertex3d                  = GPA( "glVertex3d" );
03591     qglVertex3dv                 =  dllVertex3dv                 = GPA( "glVertex3dv" );
03592     qglVertex3f                  =  dllVertex3f                  = GPA( "glVertex3f" );
03593     qglVertex3fv                 =  dllVertex3fv                 = GPA( "glVertex3fv" );
03594     qglVertex3i                  =  dllVertex3i                  = GPA( "glVertex3i" );
03595     qglVertex3iv                 =  dllVertex3iv                 = GPA( "glVertex3iv" );
03596     qglVertex3s                  =  dllVertex3s                  = GPA( "glVertex3s" );
03597     qglVertex3sv                 =  dllVertex3sv                 = GPA( "glVertex3sv" );
03598     qglVertex4d                  =  dllVertex4d                  = GPA( "glVertex4d" );
03599     qglVertex4dv                 =  dllVertex4dv                 = GPA( "glVertex4dv" );
03600     qglVertex4f                  =  dllVertex4f                  = GPA( "glVertex4f" );
03601     qglVertex4fv                 =  dllVertex4fv                 = GPA( "glVertex4fv" );
03602     qglVertex4i                  =  dllVertex4i                  = GPA( "glVertex4i" );
03603     qglVertex4iv                 =  dllVertex4iv                 = GPA( "glVertex4iv" );
03604     qglVertex4s                  =  dllVertex4s                  = GPA( "glVertex4s" );
03605     qglVertex4sv                 =  dllVertex4sv                 = GPA( "glVertex4sv" );
03606     qglVertexPointer             =  dllVertexPointer             = GPA( "glVertexPointer" );
03607     qglViewport                  =  dllViewport                  = GPA( "glViewport" );
03608 
03609     qwglCopyContext              = GPA( "wglCopyContext" );
03610     qwglCreateContext            = GPA( "wglCreateContext" );
03611     qwglCreateLayerContext       = GPA( "wglCreateLayerContext" );
03612     qwglDeleteContext            = GPA( "wglDeleteContext" );
03613     qwglDescribeLayerPlane       = GPA( "wglDescribeLayerPlane" );
03614     qwglGetCurrentContext        = GPA( "wglGetCurrentContext" );
03615     qwglGetCurrentDC             = GPA( "wglGetCurrentDC" );
03616     qwglGetLayerPaletteEntries   = GPA( "wglGetLayerPaletteEntries" );
03617     qwglGetProcAddress           = GPA( "wglGetProcAddress" );
03618     qwglMakeCurrent              = GPA( "wglMakeCurrent" );
03619     qwglRealizeLayerPalette      = GPA( "wglRealizeLayerPalette" );
03620     qwglSetLayerPaletteEntries   = GPA( "wglSetLayerPaletteEntries" );
03621     qwglShareLists               = GPA( "wglShareLists" );
03622     qwglSwapLayerBuffers         = GPA( "wglSwapLayerBuffers" );
03623     qwglUseFontBitmaps           = GPA( "wglUseFontBitmapsA" );
03624     qwglUseFontOutlines          = GPA( "wglUseFontOutlinesA" );
03625 
03626     qwglChoosePixelFormat        = GPA( "wglChoosePixelFormat" );
03627     qwglDescribePixelFormat      = GPA( "wglDescribePixelFormat" );
03628     qwglGetPixelFormat           = GPA( "wglGetPixelFormat" );
03629     qwglSetPixelFormat           = GPA( "wglSetPixelFormat" );
03630     qwglSwapBuffers              = GPA( "wglSwapBuffers" );
03631 
03632     qwglSwapIntervalEXT = 0;
03633     qglActiveTextureARB = 0;
03634     qglClientActiveTextureARB = 0;
03635     qglMultiTexCoord2fARB = 0;
03636     qglLockArraysEXT = 0;
03637     qglUnlockArraysEXT = 0;
03638     qwglGetDeviceGammaRamp3DFX = NULL;
03639     qwglSetDeviceGammaRamp3DFX = NULL;
03640 
03641     // check logging
03642     QGL_EnableLogging( r_logFile->integer );
03643 
03644     return qtrue;
03645 }

Here is the call graph for this function:

void QGL_Shutdown void   ) 
 

Definition at line 2808 of file win_qgl.c.

References glw_state, glwstate_t::hinstOpenGL, PRINT_ALL, qglAccum, qglAlphaFunc, qglAreTexturesResident, qglArrayElement, qglBegin, qglBindTexture, qglBitmap, qglBlendFunc, qglCallList, qglCallLists, qglClear, qglClearAccum, qglClearColor, qglClearDepth, qglClearIndex, qglClearStencil, qglClipPlane, qglColor3b, qglColor3bv, qglColor3d, qglColor3dv, qglColor3f, qglColor3fv, qglColor3i, qglColor3iv, qglColor3s, qglColor3sv, qglColor3ub, qglColor3ubv, qglColor3ui, qglColor3uiv, qglColor3us, qglColor3usv, qglColor4b, qglColor4bv, qglColor4d, qglColor4dv, qglColor4f, qglColor4fv, qglColor4i, qglColor4iv, qglColor4s, qglColor4sv, qglColor4ub, qglColor4ubv, qglColor4ui, qglColor4uiv, qglColor4us, qglColor4usv, qglColorMask, qglColorMaterial, qglColorPointer, qglCopyPixels, qglCopyTexImage1D, qglCopyTexImage2D, qglCopyTexSubImage1D, qglCopyTexSubImage2D, qglCullFace, qglDeleteLists, qglDeleteTextures, qglDepthFunc, qglDepthMask, qglDepthRange, qglDisable, qglDisableClientState, qglDrawArrays, qglDrawBuffer, qglDrawElements, qglDrawPixels, qglEdgeFlag, qglEdgeFlagPointer, qglEdgeFlagv, qglEnable, qglEnableClientState, qglEnd, qglEndList, qglEvalCoord1d, qglEvalCoord1dv, qglEvalCoord1f, qglEvalCoord1fv, qglEvalCoord2d, qglEvalCoord2dv, qglEvalCoord2f, qglEvalCoord2fv, qglEvalMesh1, qglEvalMesh2, qglEvalPoint1, qglEvalPoint2, qglFeedbackBuffer, qglFinish, qglFlush, qglFogf, qglFogfv, qglFogi, qglFogiv, qglFrontFace, qglFrustum, qglGenLists, qglGenTextures, qglGetBooleanv, qglGetClipPlane, qglGetDoublev, qglGetError, qglGetFloatv, qglGetIntegerv, qglGetLightfv, qglGetLightiv, qglGetMapdv, qglGetMapfv, qglGetMapiv, qglGetMaterialfv, qglGetMaterialiv, qglGetPixelMapfv, qglGetPixelMapuiv, qglGetPixelMapusv, qglGetPointerv, qglGetPolygonStipple, qglGetString, qglGetTexGendv, qglGetTexGenfv, qglGetTexGeniv, qglGetTexImage, qglGetTexLevelParameterfv, qglGetTexLevelParameteriv, qglGetTexParameterfv, qglGetTexParameteriv, qglHint, qglIndexd, qglIndexdv, qglIndexf, qglIndexfv, qglIndexi, qglIndexiv, qglIndexMask, qglIndexPointer, qglIndexs, qglIndexsv, qglIndexub, qglIndexubv, qglInitNames, qglInterleavedArrays, qglIsEnabled, qglIsList, qglIsTexture, qglLightf, qglLightfv, qglLighti, qglLightiv, qglLightModelf, qglLightModelfv, qglLightModeli, qglLightModeliv, qglLineStipple, qglLineWidth, qglListBase, qglLoadIdentity, qglLoadMatrixd, qglLoadMatrixf, qglLoadName, qglLogicOp, qglMap1d, qglMap1f, qglMap2d, qglMap2f, qglMapGrid1d, qglMapGrid1f, qglMapGrid2d, qglMapGrid2f, qglMaterialf, qglMaterialfv, qglMateriali, qglMaterialiv, qglMatrixMode, qglMultMatrixd, qglMultMatrixf, qglNewList, qglNormal3b, qglNormal3bv, qglNormal3d, qglNormal3dv, qglNormal3f, qglNormal3fv, qglNormal3i, qglNormal3iv, qglNormal3s, qglNormal3sv, qglNormalPointer, qglOrtho, qglPassThrough, qglPixelMapfv, qglPixelMapuiv,