38 #include "../../idlib/precompiled.h"
43 #include "../../renderer/tr_local.h"
46 int (
WINAPI * qwglChoosePixelFormat )(
HDC, CONST PIXELFORMATDESCRIPTOR *);
49 BOOL (
WINAPI * qwglSetPixelFormat)(
HDC,
int, CONST PIXELFORMATDESCRIPTOR *);
491 static void (
APIENTRY * dllEvalCoord1dv )(
const GLdouble *u);
493 static void (
APIENTRY * dllEvalCoord1fv )(
const GLfloat *u);
494 static void (
APIENTRY * dllEvalCoord2d )(GLdouble u, GLdouble
v);
495 static void (
APIENTRY * dllEvalCoord2dv )(
const GLdouble *u);
496 static void (
APIENTRY * dllEvalCoord2f )(GLfloat u, GLfloat
v);
497 static void (
APIENTRY * dllEvalCoord2fv )(
const GLfloat *u);
572 static void (
APIENTRY * dllLoadMatrixd )(
const GLdouble *m);
573 static void (
APIENTRY * dllLoadMatrixf )(
const GLfloat *m);
589 static void (
APIENTRY * dllMultMatrixd )(
const GLdouble *m);
590 static void (
APIENTRY * dllMultMatrixf )(
const GLfloat *m);
604 static void (
APIENTRY * dllPassThrough )(GLfloat token);
626 static void (
APIENTRY * dllRasterPos2d )(GLdouble
x, GLdouble
y);
627 static void (
APIENTRY * dllRasterPos2dv )(
const GLdouble *
v);
629 static void (
APIENTRY * dllRasterPos2fv )(
const GLfloat *
v);
633 static void (
APIENTRY * dllRasterPos2sv )(
const GLshort *
v);
634 static void (
APIENTRY * dllRasterPos3d )(GLdouble
x, GLdouble
y, GLdouble
z);
635 static void (
APIENTRY * dllRasterPos3dv )(
const GLdouble *
v);
636 static void (
APIENTRY * dllRasterPos3f )(GLfloat
x, GLfloat
y, GLfloat
z);
637 static void (
APIENTRY * dllRasterPos3fv )(
const GLfloat *
v);
640 static void (
APIENTRY * dllRasterPos3s )(GLshort
x, GLshort
y, GLshort
z);
641 static void (
APIENTRY * dllRasterPos3sv )(
const GLshort *
v);
642 static void (
APIENTRY * dllRasterPos4d )(GLdouble
x, GLdouble
y, GLdouble
z, GLdouble
w);
643 static void (
APIENTRY * dllRasterPos4dv )(
const GLdouble *
v);
644 static void (
APIENTRY * dllRasterPos4f )(GLfloat
x, GLfloat
y, GLfloat
z, GLfloat
w);
645 static void (
APIENTRY * dllRasterPos4fv )(
const GLfloat *
v);
648 static void (
APIENTRY * dllRasterPos4s )(GLshort
x, GLshort
y, GLshort
z, GLshort
w);
649 static void (
APIENTRY * dllRasterPos4sv )(
const GLshort *
v);
652 static void (
APIENTRY * dllRectd )(GLdouble x1, GLdouble
y1, GLdouble
x2, GLdouble
y2);
653 static void (
APIENTRY * dllRectdv )(
const GLdouble *
v1,
const GLdouble *
v2);
661 static void (
APIENTRY * dllRotated )(GLdouble angle, GLdouble
x, GLdouble
y, GLdouble
z);
662 static void (
APIENTRY * dllRotatef )(GLfloat angle, GLfloat
x, GLfloat
y, GLfloat
z);
663 static void (
APIENTRY * dllScaled )(GLdouble
x, GLdouble
y, GLdouble
z);
672 static void (
APIENTRY * dllTexCoord1dv )(
const GLdouble *
v);
680 static void (
APIENTRY * dllTexCoord2dv )(
const GLdouble *
v);
687 static void (
APIENTRY * dllTexCoord3d )(GLdouble
s, GLdouble
t, GLdouble
r);
688 static void (
APIENTRY * dllTexCoord3dv )(
const GLdouble *
v);
689 static void (
APIENTRY * dllTexCoord3f )(GLfloat
s, GLfloat
t, GLfloat
r);
693 static void (
APIENTRY * dllTexCoord3s )(GLshort
s, GLshort
t, GLshort
r);
695 static void (
APIENTRY * dllTexCoord4d )(GLdouble
s, GLdouble
t, GLdouble
r, GLdouble
q);
696 static void (
APIENTRY * dllTexCoord4dv )(
const GLdouble *
v);
697 static void (
APIENTRY * dllTexCoord4f )(GLfloat
s, GLfloat
t, GLfloat
r, GLfloat
q);
701 static void (
APIENTRY * dllTexCoord4s )(GLshort
s, GLshort
t, GLshort
r, GLshort
q);
722 static void (
APIENTRY * dllTranslated )(GLdouble
x, GLdouble
y, GLdouble
z);
723 static void (
APIENTRY * dllTranslatef )(GLfloat
x, GLfloat
y, GLfloat
z);
732 static void (
APIENTRY * dllVertex3d )(GLdouble
x, GLdouble
y, GLdouble
z);
734 static void (
APIENTRY * dllVertex3f )(GLfloat
x, GLfloat
y, GLfloat
z);
738 static void (
APIENTRY * dllVertex3s )(GLshort
x, GLshort
y, GLshort
z);
740 static void (
APIENTRY * dllVertex4d )(GLdouble
x, GLdouble
y, GLdouble
z, GLdouble
w);
742 static void (
APIENTRY * dllVertex4f )(GLfloat
x, GLfloat
y, GLfloat
z, GLfloat
w);
746 static void (
APIENTRY * dllVertex4s )(GLshort
x, GLshort
y, GLshort
z, GLshort
w);
756 #define DEF(x) { x, #x },
762 { GL_BYTE,
"GL_BYTE" },
763 { GL_UNSIGNED_BYTE,
"GL_UNSIGNED_BYTE" },
764 { GL_SHORT,
"GL_SHORT" },
765 { GL_UNSIGNED_SHORT,
"GL_UNSIGNED_SHORT" },
766 { GL_INT,
"GL_INT" },
767 { GL_UNSIGNED_INT,
"GL_UNSIGNED_INT" },
768 { GL_FLOAT,
"GL_FLOAT" },
769 { GL_DOUBLE,
"GL_DOUBLE" },
773 { GL_TEXTURE_2D,
"GL_TEXTURE_2D" },
774 { GL_BLEND,
"GL_BLEND" },
775 { GL_DEPTH_TEST,
"GL_DEPTH_TEST" },
776 { GL_CULL_FACE,
"GL_CULL_FACE" },
777 { GL_CLIP_PLANE0,
"GL_CLIP_PLANE0" },
778 { GL_COLOR_ARRAY,
"GL_COLOR_ARRAY" },
779 { GL_TEXTURE_COORD_ARRAY,
"GL_TEXTURE_COORD_ARRAY" },
780 { GL_VERTEX_ARRAY,
"GL_VERTEX_ARRAY" },
781 { GL_ALPHA_TEST,
"GL_ALPHA_TEST" },
782 { GL_TEXTURE_GEN_S,
"GL_TEXTURE_GEN_S" },
783 { GL_TEXTURE_GEN_T,
"GL_TEXTURE_GEN_T" },
784 { GL_TEXTURE_GEN_R,
"GL_TEXTURE_GEN_R" },
785 { GL_TEXTURE_GEN_Q,
"GL_TEXTURE_GEN_Q" },
786 { GL_STENCIL_TEST,
"GL_STENCIL_TEST" },
787 { GL_POLYGON_OFFSET_FILL,
"GL_POLYGON_OFFSET_FILL" },
789 { GL_TRIANGLES,
"GL_TRIANGLES" },
790 { GL_TRIANGLE_STRIP,
"GL_TRIANGLE_STRIP" },
791 { GL_TRIANGLE_FAN,
"GL_TRIANGLE_FAN" },
792 { GL_QUADS,
"GL_QUADS" },
793 { GL_QUAD_STRIP,
"GL_QUAD_STRIP" },
794 { GL_POLYGON,
"GL_POLYGON" },
795 { GL_POINTS,
"GL_POINTS" },
796 { GL_LINES,
"GL_LINES" },
797 { GL_LINE_STRIP,
"GL_LINE_STRIP" },
798 { GL_LINE_LOOP,
"GL_LINE_LOOP" },
800 { GL_ALWAYS,
"GL_ALWAYS" },
801 { GL_NEVER,
"GL_NEVER" },
802 { GL_LEQUAL,
"GL_LEQUAL" },
803 { GL_LESS,
"GL_LESS" },
804 { GL_EQUAL,
"GL_EQUAL" },
805 { GL_GREATER,
"GL_GREATER" },
806 { GL_GEQUAL,
"GL_GEQUAL" },
807 { GL_NOTEQUAL,
"GL_NOTEQUAL" },
809 { GL_ONE,
"GL_ONE" },
810 { GL_ZERO,
"GL_ZERO" },
811 { GL_SRC_ALPHA,
"GL_SRC_ALPHA" },
812 { GL_ONE_MINUS_SRC_ALPHA,
"GL_ONE_MINUS_SRC_ALPHA" },
813 { GL_DST_COLOR,
"GL_DST_COLOR" },
814 { GL_ONE_MINUS_DST_COLOR,
"GL_ONE_MINUS_DST_COLOR" },
815 { GL_DST_ALPHA,
"GL_DST_ALPHA" },
817 { GL_MODELVIEW,
"GL_MODELVIEW" },
818 { GL_PROJECTION,
"GL_PROJECTION" },
819 { GL_TEXTURE,
"GL_TEXTURE" },
831 DEF(GL_FRONT_AND_BACK)
838 DEF(GL_CURRENT_COLOR)
839 DEF(GL_CURRENT_INDEX)
840 DEF(GL_CURRENT_NORMAL)
841 DEF(GL_CURRENT_TEXTURE_COORDS)
842 DEF(GL_CURRENT_RASTER_COLOR)
843 DEF(GL_CURRENT_RASTER_INDEX)
844 DEF(GL_CURRENT_RASTER_TEXTURE_COORDS)
845 DEF(GL_CURRENT_RASTER_POSITION)
846 DEF(GL_CURRENT_RASTER_POSITION_VALID)
847 DEF(GL_CURRENT_RASTER_DISTANCE)
850 DEF(GL_POINT_SIZE_RANGE)
851 DEF(GL_POINT_SIZE_GRANULARITY)
854 DEF(GL_LINE_WIDTH_RANGE)
855 DEF(GL_LINE_WIDTH_GRANULARITY)
857 DEF(GL_LINE_STIPPLE_PATTERN)
858 DEF(GL_LINE_STIPPLE_REPEAT)
860 DEF(GL_MAX_LIST_NESTING)
864 DEF(GL_POLYGON_SMOOTH)
865 DEF(GL_POLYGON_STIPPLE)
868 DEF(GL_CULL_FACE_MODE)
871 DEF(GL_LIGHT_MODEL_LOCAL_VIEWER)
872 DEF(GL_LIGHT_MODEL_TWO_SIDE)
873 DEF(GL_LIGHT_MODEL_AMBIENT)
875 DEF(GL_COLOR_MATERIAL_FACE)
876 DEF(GL_COLOR_MATERIAL_PARAMETER)
877 DEF(GL_COLOR_MATERIAL)
887 DEF(GL_DEPTH_WRITEMASK)
888 DEF(GL_DEPTH_CLEAR_VALUE)
890 DEF(GL_ACCUM_CLEAR_VALUE)
892 DEF(GL_STENCIL_CLEAR_VALUE)
894 DEF(GL_STENCIL_VALUE_MASK)
896 DEF(GL_STENCIL_PASS_DEPTH_FAIL)
897 DEF(GL_STENCIL_PASS_DEPTH_PASS)
899 DEF(GL_STENCIL_WRITEMASK)
903 DEF(GL_MODELVIEW_STACK_DEPTH)
904 DEF(GL_PROJECTION_STACK_DEPTH)
905 DEF(GL_TEXTURE_STACK_DEPTH)
906 DEF(GL_MODELVIEW_MATRIX)
907 DEF(GL_PROJECTION_MATRIX)
908 DEF(GL_TEXTURE_MATRIX)
909 DEF(GL_ATTRIB_STACK_DEPTH)
910 DEF(GL_CLIENT_ATTRIB_STACK_DEPTH)
912 DEF(GL_ALPHA_TEST_FUNC)
913 DEF(GL_ALPHA_TEST_REF)
918 DEF(GL_LOGIC_OP_MODE)
919 DEF(GL_INDEX_LOGIC_OP)
920 DEF(GL_COLOR_LOGIC_OP)
926 DEF(GL_INDEX_CLEAR_VALUE)
927 DEF(GL_INDEX_WRITEMASK)
928 DEF(GL_COLOR_CLEAR_VALUE)
929 DEF(GL_COLOR_WRITEMASK)
935 DEF(GL_PERSPECTIVE_CORRECTION_HINT)
936 DEF(GL_POINT_SMOOTH_HINT)
937 DEF(GL_LINE_SMOOTH_HINT)
938 DEF(GL_POLYGON_SMOOTH_HINT)
940 DEF(GL_TEXTURE_GEN_S)
941 DEF(GL_TEXTURE_GEN_T)
942 DEF(GL_TEXTURE_GEN_R)
943 DEF(GL_TEXTURE_GEN_Q)
944 DEF(GL_PIXEL_MAP_I_TO_I)
945 DEF(GL_PIXEL_MAP_S_TO_S)
946 DEF(GL_PIXEL_MAP_I_TO_R)
947 DEF(GL_PIXEL_MAP_I_TO_G)
948 DEF(GL_PIXEL_MAP_I_TO_B)
949 DEF(GL_PIXEL_MAP_I_TO_A)
950 DEF(GL_PIXEL_MAP_R_TO_R)
951 DEF(GL_PIXEL_MAP_G_TO_G)
952 DEF(GL_PIXEL_MAP_B_TO_B)
953 DEF(GL_PIXEL_MAP_A_TO_A)
954 DEF(GL_PIXEL_MAP_I_TO_I_SIZE)
955 DEF(GL_PIXEL_MAP_S_TO_S_SIZE)
956 DEF(GL_PIXEL_MAP_I_TO_R_SIZE)
957 DEF(GL_PIXEL_MAP_I_TO_G_SIZE)
958 DEF(GL_PIXEL_MAP_I_TO_B_SIZE)
959 DEF(GL_PIXEL_MAP_I_TO_A_SIZE)
960 DEF(GL_PIXEL_MAP_R_TO_R_SIZE)
961 DEF(GL_PIXEL_MAP_G_TO_G_SIZE)
962 DEF(GL_PIXEL_MAP_B_TO_B_SIZE)
963 DEF(GL_PIXEL_MAP_A_TO_A_SIZE)
964 DEF(GL_UNPACK_SWAP_BYTES)
965 DEF(GL_UNPACK_LSB_FIRST)
966 DEF(GL_UNPACK_ROW_LENGTH)
967 DEF(GL_UNPACK_SKIP_ROWS)
968 DEF(GL_UNPACK_SKIP_PIXELS)
969 DEF(GL_UNPACK_ALIGNMENT)
970 DEF(GL_PACK_SWAP_BYTES)
971 DEF(GL_PACK_LSB_FIRST)
972 DEF(GL_PACK_ROW_LENGTH)
973 DEF(GL_PACK_SKIP_ROWS)
974 DEF(GL_PACK_SKIP_PIXELS)
975 DEF(GL_PACK_ALIGNMENT)
992 DEF(GL_MAX_EVAL_ORDER)
994 DEF(GL_MAX_CLIP_PLANES)
995 DEF(GL_MAX_TEXTURE_SIZE)
996 DEF(GL_MAX_PIXEL_MAP_TABLE)
997 DEF(GL_MAX_ATTRIB_STACK_DEPTH)
998 DEF(GL_MAX_MODELVIEW_STACK_DEPTH)
999 DEF(GL_MAX_NAME_STACK_DEPTH)
1000 DEF(GL_MAX_PROJECTION_STACK_DEPTH)
1001 DEF(GL_MAX_TEXTURE_STACK_DEPTH)
1002 DEF(GL_MAX_VIEWPORT_DIMS)
1003 DEF(GL_MAX_CLIENT_ATTRIB_STACK_DEPTH)
1004 DEF(GL_SUBPIXEL_BITS)
1011 DEF(GL_STENCIL_BITS)
1012 DEF(GL_ACCUM_RED_BITS)
1013 DEF(GL_ACCUM_GREEN_BITS)
1014 DEF(GL_ACCUM_BLUE_BITS)
1015 DEF(GL_ACCUM_ALPHA_BITS)
1016 DEF(GL_NAME_STACK_DEPTH)
1018 DEF(GL_MAP1_COLOR_4)
1021 DEF(GL_MAP1_TEXTURE_COORD_1)
1022 DEF(GL_MAP1_TEXTURE_COORD_2)
1023 DEF(GL_MAP1_TEXTURE_COORD_3)
1024 DEF(GL_MAP1_TEXTURE_COORD_4)
1025 DEF(GL_MAP1_VERTEX_3)
1026 DEF(GL_MAP1_VERTEX_4)
1027 DEF(GL_MAP2_COLOR_4)
1030 DEF(GL_MAP2_TEXTURE_COORD_1)
1031 DEF(GL_MAP2_TEXTURE_COORD_2)
1032 DEF(GL_MAP2_TEXTURE_COORD_3)
1033 DEF(GL_MAP2_TEXTURE_COORD_4)
1034 DEF(GL_MAP2_VERTEX_3)
1035 DEF(GL_MAP2_VERTEX_4)
1036 DEF(GL_MAP1_GRID_DOMAIN)
1037 DEF(GL_MAP1_GRID_SEGMENTS)
1038 DEF(GL_MAP2_GRID_DOMAIN)
1039 DEF(GL_MAP2_GRID_SEGMENTS)
1042 DEF(GL_FEEDBACK_BUFFER_POINTER)
1043 DEF(GL_FEEDBACK_BUFFER_SIZE)
1044 DEF(GL_FEEDBACK_BUFFER_TYPE)
1045 DEF(GL_SELECTION_BUFFER_POINTER)
1046 DEF(GL_SELECTION_BUFFER_SIZE)
1055 DEF(GL_STENCIL_INDEX)
1056 DEF(GL_DEPTH_COMPONENT)
1064 DEF(GL_LUMINANCE_ALPHA)
1165 DEF(GL_TEXTURE_ENV_MODE)
1166 DEF(GL_TEXTURE_ENV_COLOR)
1173 DEF(GL_OBJECT_LINEAR)
1177 DEF(GL_TEXTURE_GEN_MODE)
1178 DEF(GL_OBJECT_PLANE)
1188 DEF(GL_NEAREST_MIPMAP_NEAREST)
1189 DEF(GL_LINEAR_MIPMAP_NEAREST)
1190 DEF(GL_NEAREST_MIPMAP_LINEAR)
1191 DEF(GL_LINEAR_MIPMAP_LINEAR)
1194 DEF(GL_TEXTURE_MAG_FILTER)
1195 DEF(GL_TEXTURE_MIN_FILTER)
1196 DEF(GL_TEXTURE_WRAP_S)
1197 DEF(GL_TEXTURE_WRAP_T)
1218 DEF(GL_CLIENT_PIXEL_STORE_BIT)
1219 DEF(GL_CLIENT_VERTEX_ARRAY_BIT)
1220 DEF(GL_CLIENT_ALL_ATTRIB_BITS)
1223 DEF(GL_POLYGON_OFFSET_FACTOR)
1224 DEF(GL_POLYGON_OFFSET_UNITS)
1225 DEF(GL_POLYGON_OFFSET_POINT)
1226 DEF(GL_POLYGON_OFFSET_LINE)
1227 DEF(GL_POLYGON_OFFSET_FILL)
1232 static const char *EnumString(
GLenum t )
1234 static char buffer[8][1024];
1235 static int index = 0;
1243 int oldIndex =
index;
1244 index = ( index + 1 ) & 7;
1245 sprintf( buffer[oldIndex],
"0x%x", t );
1247 return buffer[oldIndex];
1250 static const char *FloatData(
const GLfloat *
v,
int count ) {
1251 static char buffer[8][1024];
1252 static int index = 0;
1255 name = buffer[index&7];
1256 sprintf( name,
"f%i", index );
1259 fprintf(
tr.
logFile,
"static float %s[%i] = {", name, count );
1260 for(
int i = 0 ;
i <
count ;
i++ ) {
1261 if (
i < count - 1 ) {
1279 if ( mask & GL_COLOR_BUFFER_BIT )
1280 fprintf(
tr.
logFile,
"| GL_COLOR_BUFFER_BIT " );
1281 if ( mask & GL_DEPTH_BUFFER_BIT )
1282 fprintf(
tr.
logFile,
"| GL_DEPTH_BUFFER_BIT " );
1283 if ( mask & GL_STENCIL_BUFFER_BIT )
1284 fprintf(
tr.
logFile,
"| GL_STENCIL_BUFFER_BIT " );
1285 if ( mask & GL_ACCUM_BUFFER_BIT )
1286 fprintf(
tr.
logFile,
"| GL_ACCUM_BUFFER_BIT " );
1651 qwglCopyContext =
NULL;
1652 qwglCreateContext =
NULL;
1653 qwglCreateLayerContext =
NULL;
1654 qwglDeleteContext =
NULL;
1655 qwglDescribeLayerPlane =
NULL;
1656 qwglGetCurrentContext =
NULL;
1657 qwglGetCurrentDC =
NULL;
1658 qwglGetLayerPaletteEntries =
NULL;
1659 qwglGetProcAddress =
NULL;
1660 qwglMakeCurrent =
NULL;
1661 qwglRealizeLayerPalette =
NULL;
1662 qwglSetLayerPaletteEntries =
NULL;
1663 qwglShareLists =
NULL;
1664 qwglSwapLayerBuffers =
NULL;
1665 qwglUseFontBitmaps =
NULL;
1666 qwglUseFontOutlines =
NULL;
1668 qwglChoosePixelFormat =
NULL;
1669 qwglDescribePixelFormat =
NULL;
1670 qwglGetPixelFormat =
NULL;
1671 qwglSetPixelFormat =
NULL;
1672 qwglSwapBuffers =
NULL;
1675 #define GR_NUM_BOARDS 0x0f
1678 #pragma warning (disable : 4113 4133 4047 )
1679 #define GPA( a ) GetProcAddress( win32.hinstOpenGL, a )
1696 common->
Printf(
"...calling LoadLibrary( '%s' ): ", dllname );
2042 qwglCopyContext = wglCopyContext;
2043 qwglCreateContext = wglCreateContext;
2044 qwglCreateLayerContext = wglCreateLayerContext;
2045 qwglDeleteContext = wglDeleteContext;
2046 qwglDescribeLayerPlane = wglDescribeLayerPlane;
2047 qwglGetCurrentContext = wglGetCurrentContext;
2048 qwglGetCurrentDC = wglGetCurrentDC;
2049 qwglGetLayerPaletteEntries = wglGetLayerPaletteEntries;
2051 qwglMakeCurrent = wglMakeCurrent;
2052 qwglRealizeLayerPalette = wglRealizeLayerPalette;
2053 qwglSetLayerPaletteEntries = wglSetLayerPaletteEntries;
2054 qwglShareLists = wglShareLists;
2055 qwglSwapLayerBuffers = wglSwapLayerBuffers;
2056 qwglUseFontBitmaps = wglUseFontBitmapsA;
2057 qwglUseFontOutlines = wglUseFontOutlinesA;
2059 qwglChoosePixelFormat = ChoosePixelFormat;
2060 qwglDescribePixelFormat = DescribePixelFormat;
2061 qwglGetPixelFormat = GetPixelFormat;
2062 qwglSetPixelFormat = SetPixelFormat;
2063 qwglSwapBuffers = SwapBuffers;
2065 qglActiveTextureARB = 0;
2066 qglClientActiveTextureARB = 0;
2067 qglMultiTexCoord2fARB = 0;
2080 static bool isEnabled;
2081 static int initialFrames;
2085 if ( isEnabled && enable ) {
2091 common->
Printf(
"closing logfile '%s' after %i frames.\n", ospath, initialFrames );
2100 if ( !enable && !isEnabled ) {
2117 for ( i = 0 ; i < 9999 ; i++ ) {
2118 sprintf( qpath,
"renderlog_%i.txt", i );
2131 fprintf(
tr.
logFile,
"// %s", asctime( newtime ) );
void glDisableClientState(GLenum array)
void glPixelZoom(GLfloat xfactor, GLfloat yfactor)
GLdouble GLdouble GLdouble GLdouble zNear
void glTexEnviv(GLenum target, GLenum pname, const GLint *params)
void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
void glEvalCoord1f(GLfloat u)
void glColor3usv(const GLushort *v)
void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
void glTexCoord4i(GLint s, GLint t, GLint r, GLint q)
void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
void glColor3iv(const GLint *v)
#define qglTexCoordPointer
GLdouble GLdouble GLint GLint const GLdouble * points
#define qglPixelTransferf
void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
GLsizei GLfloat GLfloat GLfloat GLfloat ymove
void glTexCoord1f(GLfloat s)
#define qglGetTexLevelParameteriv
void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
GLdouble GLdouble GLdouble q
void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
void glLineWidth(GLfloat width)
void glShadeModel(GLenum mode)
void glTexCoord3fv(const GLfloat *v)
assert(prefInfo.fullscreenBtn)
void glEvalCoord2dv(const GLdouble *u)
void glClear(GLbitfield mask)
void glVertex4i(GLint x, GLint y, GLint z, GLint w)
idCVarSystem * cvarSystem
#define qglCopyTexSubImage1D
void glRectsv(const GLshort *v1, const GLshort *v2)
#define qglGetTexLevelParameterfv
void glIndexubv(const GLubyte *c)
void glRectiv(const GLint *v1, const GLint *v2)
#define qglEnableClientState
void glIndexsv(const GLshort *c)
#define qglFeedbackBuffer
void glTranslated(GLdouble x, GLdouble y, GLdouble z)
GLdouble GLdouble GLint GLint GLdouble v1
void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
void glMaterialf(GLenum face, GLenum pname, GLfloat param)
CONST COLORREF COLORREF BOOL
#define qglDisableClientState
void glNormal3dv(const GLdouble *v)
void glGetMapiv(GLenum target, GLenum query, GLint *v)
GLuint(APIENTRY *qglGenLists)(GLsizei range)
void glVertex3s(GLshort x, GLshort y, GLshort z)
void glFogf(GLenum pname, GLfloat param)
GLint GLenum GLint GLint GLsizei GLint border
void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
void glTexCoord1s(GLshort s)
void glTexCoord1fv(const GLfloat *v)
void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
void glTexCoord1sv(const GLshort *v)
CONST PIXELFORMATDESCRIPTOR UINT
const GLubyte * glGetString(GLenum name)
void glIndexfv(const GLfloat *c)
void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params)
void glCallLists(GLsizei n, GLenum type, const GLvoid *lists)
void glRasterPos2iv(const GLint *v)
void glGetPolygonStipple(GLubyte *mask)
void glVertex3i(GLint x, GLint y, GLint z)
bool QGL_Init(const char *dllname)
GLint GLint internalformat
void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
GLsizei GLenum GLenum const GLvoid * pixels
virtual int ReadFile(const char *relativePath, void **buffer, ID_TIME_T *timestamp=NULL)=0
void glRasterPos2dv(const GLdouble *v)
void glReadBuffer(GLenum mode)
GLboolean glIsList(GLuint list)
void glGetMapdv(GLenum target, GLenum query, GLdouble *v)
void glCallList(GLuint list)
void glColor3us(GLushort red, GLushort green, GLushort blue)
GLdouble GLdouble GLdouble w
void glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values)
void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params)
void glLightModelfv(GLenum pname, const GLfloat *params)
void glTexParameterf(GLenum target, GLenum pname, GLfloat param)
void glNormal3s(GLshort nx, GLshort ny, GLshort nz)
GLboolean glIsTexture(GLuint texture)
void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r)
void glRasterPos4dv(const GLdouble *v)
void glVertex2d(GLdouble x, GLdouble y)
void glEvalMesh1(GLenum mode, GLint i1, GLint i2)
void glVertex2f(GLfloat x, GLfloat y)
void glVertex3d(GLdouble x, GLdouble y, GLdouble z)
idFileSystem * fileSystem
void glPassThrough(GLfloat token)
void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha)
void glEvalCoord1dv(const GLdouble *u)
void glTexCoord4iv(const GLint *v)
void * wglGetProcAddress(const char *name)
void GLimp_EnableLogging(bool enable)
void glRasterPos2f(GLfloat x, GLfloat y)
void glIndexdv(const GLdouble *c)
void glGetPixelMapusv(GLenum map, GLushort *values)
void glColor3d(GLdouble red, GLdouble green, GLdouble blue)
void glColor3dv(const GLdouble *v)
GLint GLint GLsizei GLsizei GLsizei depth
#define qglCopyTexImage1D
void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q)
void glRasterPos2s(GLshort x, GLshort y)
void glColor4i(GLint red, GLint green, GLint blue, GLint alpha)
void glTexCoord1dv(const GLdouble *v)
void glGetIntegerv(GLenum pname, GLint *params)
void glColor3b(GLbyte red, GLbyte green, GLbyte blue)
void glRasterPos4iv(const GLint *v)
void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
#define qglDeleteTextures
void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha)
void glVertex2s(GLshort x, GLshort y)
void glGetPixelMapuiv(GLenum map, GLuint *values)
void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
void glRasterPos4fv(const GLfloat *v)
void glLightModelf(GLenum pname, GLfloat param)
GLenum GLsizei const GLvoid * pointer
void glTexGend(GLenum coord, GLenum pname, GLdouble param)
void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
void glPolygonOffset(GLfloat factor, GLfloat units)
void glArrayElement(GLint i)
const GLubyte *APIENTRY * dllGetString(GLenum name)
void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
GLboolean glIsEnabled(GLenum cap)
void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
void glIndexiv(const GLint *c)
GLuint glGenLists(GLsizei range)
#define qglGetPixelMapuiv
#define qglPixelTransferi
void glIndexMask(GLuint mask)
void glDrawArrays(GLenum mode, GLint first, GLsizei count)
void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
void glVertex4fv(const GLfloat *v)
void glStencilMask(GLuint mask)
void glRasterPos2fv(const GLfloat *v)
void glEvalPoint2(GLint i, GLint j)
void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w)
void glEvalCoord2f(GLfloat u, GLfloat v)
void glColor3ui(GLuint red, GLuint green, GLuint blue)
void glTexCoord3dv(const GLdouble *v)
#define qglPolygonStipple
void glScaled(GLdouble x, GLdouble y, GLdouble z)
void glSelectBuffer(GLsizei size, GLuint *buffer)
#define qglTexParameteriv
void glEvalCoord2fv(const GLfloat *u)
void glBegin(GLenum mode)
void glRasterPos2d(GLdouble x, GLdouble y)
void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha)
void glNormal3sv(const GLshort *v)
GLdouble GLdouble GLdouble top
void glDepthFunc(GLenum func)
void glTexParameteri(GLenum target, GLenum pname, GLint param)
GLuint GLuint GLsizei count
GLdouble GLdouble GLdouble y2
void glDisable(GLenum cap)
void glScalef(GLfloat x, GLfloat y, GLfloat z)
void glNewList(GLuint list, GLenum mode)
void glColor4sv(const GLshort *v)
void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
void glColor4dv(const GLdouble *v)
void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w)
GLdouble GLdouble GLint ustride
void glLineStipple(GLint factor, GLushort pattern)
void glRasterPos3sv(const GLshort *v)
void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
#define qglPushClientAttrib
void glGetMapfv(GLenum target, GLenum query, GLfloat *v)
void glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
GLenum(APIENTRY *qglGetError)(void)
GLdouble GLdouble GLint GLint order
void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q)
void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
void glRasterPos3iv(const GLint *v)
void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
GLint GLint GLint GLint j2
void glPolygonStipple(const GLubyte *mask)
void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
void glTexCoord2sv(const GLshort *v)
void glColorMaterial(GLenum face, GLenum mode)
GLfloat GLfloat GLfloat alpha
GLint glRenderMode(GLenum mode)
void glNormal3i(GLint nx, GLint ny, GLint nz)
#define qglGetPolygonStipple
void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities)
void glNormal3iv(const GLint *v)
void glNormal3fv(const GLfloat *v)
void glColor3bv(const GLbyte *v)
void glVertex3iv(const GLint *v)
void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer)
void glColor4ubv(const GLubyte *v)
void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
virtual const char * GetCVarString(const char *name) const =0
void glIndexub(GLubyte c)
void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences)
void glColor3uiv(const GLuint *v)
void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
void SetInteger(const int value)
void glVertex3f(GLfloat x, GLfloat y, GLfloat z)
void glBlendFunc(GLenum sfactor, GLenum dfactor)
void glAccum(GLenum op, GLfloat value)
int GetInteger(void) const
GLdouble GLdouble GLint GLint uorder
void glVertex2dv(const GLdouble *v)
void glCopyTexImage1D(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border)
void glEvalCoord2d(GLdouble u, GLdouble v)
void glVertex2fv(const GLfloat *v)
GLdouble GLdouble GLint GLint GLdouble GLdouble v2
void glLogicOp(GLenum opcode)
idCVar r_logFile("r_logFile","0", CVAR_RENDERER|CVAR_INTEGER,"number of frames to emit GL logs")
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint vstride
static void Copynz(char *dest, const char *src, int destsize)
#define qglInterleavedArrays
void glClearIndex(GLfloat c)
void glNormal3bv(const GLbyte *v)
void glVertex4sv(const GLshort *v)
void glTexCoord1d(GLdouble s)
void glGetDoublev(GLenum pname, GLdouble *params)
void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
void glFrontFace(GLenum mode)
void glTexCoord2dv(const GLdouble *v)
void glDeleteTextures(GLsizei n, const GLuint *textures)
void glLightModeli(GLenum pname, GLint param)
void glRasterPos3fv(const GLfloat *v)
GLint GLenum internalFormat
void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
void glColor3ubv(const GLubyte *v)
void glTexCoord4fv(const GLfloat *v)
CONST PIXELFORMATDESCRIPTOR int
const GLubyte *APIENTRY * qglGetString(GLenum name)
void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
void glTexCoord2d(GLdouble s, GLdouble t)
PROC(WINAPI *qwglGetProcAddress)(LPCSTR)
void glLoadIdentity(void)
void glRasterPos3dv(const GLdouble *v)
void glEvalCoord1fv(const GLfloat *u)
#define qglCopyTexImage2D
void glBindTexture(GLenum target, GLuint texture)
void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
void glTexEnvf(GLenum target, GLenum pname, GLfloat param)
void glTexCoord3s(GLshort s, GLshort t, GLshort r)
void glVertex3sv(const GLshort *v)
void glGetPointerv(GLenum pname, GLvoid **params)
void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
GLenum const GLvoid * lists
void glAlphaFunc(GLenum func, GLclampf ref)
void glVertex2sv(const GLshort *v)
void glLoadMatrixf(const GLfloat *m)
void glPixelTransferf(GLenum pname, GLfloat param)
void glClearStencil(GLint s)
virtual void Printf(const char *fmt,...) id_attribute((format(printf
void glPointSize(GLfloat size)
void glCullFace(GLenum mode)
void glPushClientAttrib(GLbitfield mask)
void glColor3ub(GLubyte red, GLubyte green, GLubyte blue)
void glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
void glPushAttrib(GLbitfield mask)
void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
GLsizei GLfloat GLfloat yorig
typedef VOID(WINAPI *PFNWGLDELETEBUFFERREGIONARBPROC)(HANDLE hRegion)
void glPushName(GLuint name)
void glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
void glLightf(GLenum light, GLenum pname, GLfloat param)
GLint(APIENTRY *qglRenderMode)(GLenum mode)
void glStencilFunc(GLenum func, GLint ref, GLuint mask)
void glVertex4iv(const GLint *v)
const GLuint const GLclampf * priorities
void glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
virtual const char * RelativePathToOSPath(const char *relativePath, const char *basePath="fs_devpath")=0
void glDepthRange(GLclampd zNear, GLclampd zFar)
HDC(WINAPI *qwglGetCurrentDC)(VOID)
void glPixelStoref(GLenum pname, GLfloat param)
void glEvalCoord1d(GLdouble u)
void glFogiv(GLenum pname, const GLint *params)
GLfloat GLfloat GLfloat GLfloat nx
void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
void glTexCoord2fv(const GLfloat *v)
void glMultMatrixd(const GLdouble *m)
void glColor3sv(const GLshort *v)
void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
GLboolean(APIENTRY *qglAreTexturesResident)(GLsizei n
void glLighti(GLenum light, GLenum pname, GLint param)
#define qglGetPixelMapusv
void glTexCoord2s(GLshort s, GLshort t)
void glGenTextures(GLsizei n, GLuint *textures)
void glEdgeFlag(GLboolean flag)
void glCopyTexImage2D(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
#define qglCopyTexSubImage2D
void glLightModeliv(GLenum pname, const GLint *params)
void glRasterPos2i(GLint x, GLint y)
void glColor4fv(const GLfloat *v)
void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
void glColor3f(GLfloat red, GLfloat green, GLfloat blue)
#define qglEdgeFlagPointer
const GLuint GLboolean * residences
void glTexEnvi(GLenum target, GLenum pname, GLint param)
void glMultMatrixf(const GLfloat *m)
#define qglGetTexParameterfv
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint vorder
void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
void glDeleteLists(GLuint list, GLsizei range)
void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q)
void glTexCoord3i(GLint s, GLint t, GLint r)
void glTexGeni(GLenum coord, GLenum pname, GLint param)
void glColor4bv(const GLbyte *v)
GLsizei GLfloat GLfloat GLfloat xmove
void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
void glPopClientAttrib(void)
#define qglAreTexturesResident
void glIndexd(GLdouble c)
void glEvalPoint1(GLint i)
void glVertex3fv(const GLfloat *v)
void glRasterPos3i(GLint x, GLint y, GLint z)
void glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
void glTexCoord3sv(const GLshort *v)
void glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
GLint GLint GLint yoffset
void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
glEnumName_t glEnumNames[]
void glTexCoord4dv(const GLdouble *v)
void glEnable(GLenum cap)
void glTexCoord3iv(const GLint *v)
void glEnableClientState(GLenum array)
void glRasterPos2sv(const GLshort *v)
void glGetBooleanv(GLenum pname, GLboolean *params)
void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
void(APIENTRY *qglAccum)(GLenum op
void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
#define GL_TEXTURE_CUBE_MAP_EXT
void glTexCoord2iv(const GLint *v)
void glPixelTransferi(GLenum pname, GLint param)
void glTexCoord4sv(const GLshort *v)
void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z)
void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
const GLdouble * equation
void glRasterPos4i(GLint x, GLint y, GLint z, GLint w)
void glLoadMatrixd(const GLdouble *m)
void glFogi(GLenum pname, GLint param)
void glColor4usv(const GLushort *v)
void glVertex2iv(const GLint *v)
void glVertex3dv(const GLdouble *v)
void glLightiv(GLenum light, GLenum pname, const GLint *params)
void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
void glRasterPos3s(GLshort x, GLshort y, GLshort z)
void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params)
void glDepthMask(GLboolean flag)
void glColor4uiv(const GLuint *v)
void glRasterPos4sv(const GLshort *v)
void glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
#define qglTexParameterfv
void glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat *values)
void glFogfv(GLenum pname, const GLfloat *params)
void glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values)
void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
struct tm * localtime(const time_t *)
void glGetFloatv(GLenum pname, GLfloat *params)
void glEdgeFlagv(const GLboolean *flag)
void glColor3fv(const GLfloat *v)
#define qglPopClientAttrib
void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
void glColor4iv(const GLint *v)
void glColor3s(GLshort red, GLshort green, GLshort blue)
void glColor3i(GLint red, GLint green, GLint blue)
void glMatrixMode(GLenum mode)
void glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
void glTranslatef(GLfloat x, GLfloat y, GLfloat z)
void glTexCoord2f(GLfloat s, GLfloat t)
void glLoadName(GLuint name)
void glLightfv(GLenum light, GLenum pname, const GLfloat *params)
void glVertex2i(GLint x, GLint y)
void glListBase(GLuint base)
void glTexCoord1i(GLint s)
void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
void glClearDepth(GLclampd depth)
void glTexCoord2i(GLint s, GLint t)
void glRectfv(const GLfloat *v1, const GLfloat *v2)
void glPolygonMode(GLenum face, GLenum mode)
CONST PIXELFORMATDESCRIPTOR LPPIXELFORMATDESCRIPTOR
void glHint(GLenum target, GLenum mode)
void glClipPlane(GLenum plane, const GLdouble *equation)
int sprintf(idStr &string, const char *fmt,...)
void glGetPixelMapfv(GLenum map, GLfloat *values)
void glDrawBuffer(GLenum mode)
void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
void glRectdv(const GLdouble *v1, const GLdouble *v2)
void glMateriali(GLenum face, GLenum pname, GLint param)
#define qglGetTexParameteriv
void glMaterialiv(GLenum face, GLenum pname, const GLint *params)
void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
GLsizei GLenum const GLvoid * indices
GLdouble GLdouble GLint vn
GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte * bitmap
void glGetClipPlane(GLenum plane, GLdouble *equation)
void glPixelStorei(GLenum pname, GLint param)
void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
void glGetLightiv(GLenum light, GLenum pname, GLint *params)
void glTexCoord1iv(const GLint *v)
void glVertex4dv(const GLdouble *v)
#define qglPrioritizeTextures
void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz)
void glTexGenf(GLenum coord, GLenum pname, GLfloat param)