📄 qgl_win.c
字号:
SIG( "glColor4us" );
dllColor4us( red, green, blue, alpha );
}
static void APIENTRY logColor4usv(const GLushort *v)
{
SIG( "glColor4usv" );
dllColor4usv( v );
}
static void APIENTRY logColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
{
SIG( "glColorMask" );
dllColorMask( red, green, blue, alpha );
}
static void APIENTRY logColorMaterial(GLenum face, GLenum mode)
{
SIG( "glColorMaterial" );
dllColorMaterial( face, mode );
}
static void APIENTRY logColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
{
SIG( "glColorPointer" );
dllColorPointer( size, type, stride, pointer );
}
static void APIENTRY logCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
{
SIG( "glCopyPixels" );
dllCopyPixels( x, y, width, height, type );
}
static void APIENTRY logCopyTexImage1D(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border)
{
SIG( "glCopyTexImage1D" );
dllCopyTexImage1D( target, level, internalFormat, x, y, width, border );
}
static void APIENTRY logCopyTexImage2D(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
{
SIG( "glCopyTexImage2D" );
dllCopyTexImage2D( target, level, internalFormat, x, y, width, height, border );
}
static void APIENTRY logCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
{
SIG( "glCopyTexSubImage1D" );
dllCopyTexSubImage1D( target, level, xoffset, x, y, width );
}
static void APIENTRY logCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
{
SIG( "glCopyTexSubImage2D" );
dllCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height );
}
static void APIENTRY logCullFace(GLenum mode)
{
SIG( "glCullFace" );
dllCullFace( mode );
}
static void APIENTRY logDeleteLists(GLuint list, GLsizei range)
{
SIG( "glDeleteLists" );
dllDeleteLists( list, range );
}
static void APIENTRY logDeleteTextures(GLsizei n, const GLuint *textures)
{
SIG( "glDeleteTextures" );
dllDeleteTextures( n, textures );
}
static void APIENTRY logDepthFunc(GLenum func)
{
SIG( "glDepthFunc" );
dllDepthFunc( func );
}
static void APIENTRY logDepthMask(GLboolean flag)
{
SIG( "glDepthMask" );
dllDepthMask( flag );
}
static void APIENTRY logDepthRange(GLclampd zNear, GLclampd zFar)
{
SIG( "glDepthRange" );
dllDepthRange( zNear, zFar );
}
static void APIENTRY logDisable(GLenum cap)
{
fprintf( glw_state.log_fp, "glDisable( 0x%x )\n", cap );
dllDisable( cap );
}
static void APIENTRY logDisableClientState(GLenum array)
{
SIG( "glDisableClientState" );
dllDisableClientState( array );
}
static void APIENTRY logDrawArrays(GLenum mode, GLint first, GLsizei count)
{
SIG( "glDrawArrays" );
dllDrawArrays( mode, first, count );
}
static void APIENTRY logDrawBuffer(GLenum mode)
{
SIG( "glDrawBuffer" );
dllDrawBuffer( mode );
}
static void APIENTRY logDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices)
{
SIG( "glDrawElements" );
dllDrawElements( mode, count, type, indices );
}
static void APIENTRY logDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
{
SIG( "glDrawPixels" );
dllDrawPixels( width, height, format, type, pixels );
}
static void APIENTRY logEdgeFlag(GLboolean flag)
{
SIG( "glEdgeFlag" );
dllEdgeFlag( flag );
}
static void APIENTRY logEdgeFlagPointer(GLsizei stride, const void *pointer)
{
SIG( "glEdgeFlagPointer" );
dllEdgeFlagPointer( stride, pointer );
}
static void APIENTRY logEdgeFlagv(const GLboolean *flag)
{
SIG( "glEdgeFlagv" );
dllEdgeFlagv( flag );
}
static void APIENTRY logEnable(GLenum cap)
{
fprintf( glw_state.log_fp, "glEnable( 0x%x )\n", cap );
dllEnable( cap );
}
static void APIENTRY logEnableClientState(GLenum array)
{
SIG( "glEnableClientState" );
dllEnableClientState( array );
}
static void APIENTRY logEnd(void)
{
SIG( "glEnd" );
dllEnd();
}
static void APIENTRY logEndList(void)
{
SIG( "glEndList" );
dllEndList();
}
static void APIENTRY logEvalCoord1d(GLdouble u)
{
SIG( "glEvalCoord1d" );
dllEvalCoord1d( u );
}
static void APIENTRY logEvalCoord1dv(const GLdouble *u)
{
SIG( "glEvalCoord1dv" );
dllEvalCoord1dv( u );
}
static void APIENTRY logEvalCoord1f(GLfloat u)
{
SIG( "glEvalCoord1f" );
dllEvalCoord1f( u );
}
static void APIENTRY logEvalCoord1fv(const GLfloat *u)
{
SIG( "glEvalCoord1fv" );
dllEvalCoord1fv( u );
}
static void APIENTRY logEvalCoord2d(GLdouble u, GLdouble v)
{
SIG( "glEvalCoord2d" );
dllEvalCoord2d( u, v );
}
static void APIENTRY logEvalCoord2dv(const GLdouble *u)
{
SIG( "glEvalCoord2dv" );
dllEvalCoord2dv( u );
}
static void APIENTRY logEvalCoord2f(GLfloat u, GLfloat v)
{
SIG( "glEvalCoord2f" );
dllEvalCoord2f( u, v );
}
static void APIENTRY logEvalCoord2fv(const GLfloat *u)
{
SIG( "glEvalCoord2fv" );
dllEvalCoord2fv( u );
}
static void APIENTRY logEvalMesh1(GLenum mode, GLint i1, GLint i2)
{
SIG( "glEvalMesh1" );
dllEvalMesh1( mode, i1, i2 );
}
static void APIENTRY logEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
{
SIG( "glEvalMesh2" );
dllEvalMesh2( mode, i1, i2, j1, j2 );
}
static void APIENTRY logEvalPoint1(GLint i)
{
SIG( "glEvalPoint1" );
dllEvalPoint1( i );
}
static void APIENTRY logEvalPoint2(GLint i, GLint j)
{
SIG( "glEvalPoint2" );
dllEvalPoint2( i, j );
}
static void APIENTRY logFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
{
SIG( "glFeedbackBuffer" );
dllFeedbackBuffer( size, type, buffer );
}
static void APIENTRY logFinish(void)
{
SIG( "glFinish" );
dllFinish();
}
static void APIENTRY logFlush(void)
{
SIG( "glFlush" );
dllFlush();
}
static void APIENTRY logFogf(
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -