From 312dd5297b7edfaab059ac2a75d61a5d1ec73664 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 26 Jun 2012 15:23:05 +0200 Subject: [PATCH] opengl32: Get rid of the X11 locking. --- dlls/opengl32/make_opengl | 31 +- dlls/opengl32/opengl_ext.c | 4568 ++----------------------------------------- dlls/opengl32/opengl_ext.h | 9 - dlls/opengl32/opengl_norm.c | 692 +------ dlls/opengl32/wgl.c | 57 +- 5 files changed, 150 insertions(+), 5207 deletions(-) diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl index f31f9210804..963bbf6b232 100755 --- a/dlls/opengl32/make_opengl +++ b/dlls/opengl32/make_opengl @@ -69,7 +69,7 @@ my $norm_file = "opengl_norm.c"; my $ext_file = "opengl_ext.c"; # Set to 0 for removing the ENTER / LEAVE GL calls -my $gen_thread_safe = 1; +my $gen_thread_safe = 0; # Prefix used for the local variables my $ext_prefix = "func_"; # If set to 1, generate TRACEs for each OpenGL function @@ -285,7 +285,7 @@ sub GenerateThunk($$$$$) } $ret .= 'void ' if (!@{$func_ref->[2]}); $ret = "$ret) {\n"; - if ($func_ref->[1] ne "void") { + if ($func_ref->[1] ne "void" && $thread_safe) { $ret = "$ret " . ConvertType($func_ref->[1]) . " ret_value;\n"; } $ret .= $local_var; @@ -297,18 +297,23 @@ sub GenerateThunk($$$$$) $ret = "$ret);\n"; } if ($thread_safe) { - $ret = "$ret ENTER_GL();\n"; + $ret .= " ENTER_GL();\n"; + $ret .= " "; + if ($func_ref->[1] ne "void") { + $ret .= "ret_value = "; + } + $ret .= "$prefix$func_ref->[0]( $call_arg);\n"; + $ret .= " LEAVE_GL();\n"; + if ($func_ref->[1] ne "void") { + $ret .= " return ret_value;\n" + } } - $ret = "$ret "; - if ($func_ref->[1] ne "void") { - $ret = $ret . "ret_value = "; - } - $ret = "$ret$prefix$func_ref->[0]( $call_arg);\n"; - if ($thread_safe) { - $ret = "$ret LEAVE_GL();\n"; - } - if ($func_ref->[1] ne "void") { - $ret = "$ret return ret_value;\n" + else { + $ret .= " "; + if ($func_ref->[1] ne "void") { + $ret .= "return "; + } + $ret .= "$prefix$func_ref->[0]( $call_arg);\n"; } $ret = "$ret}\n"; diff --git a/dlls/opengl32/opengl_ext.c b/dlls/opengl32/opengl_ext.c index ce34e00c861..257ea082086 100644 --- a/dlls/opengl32/opengl_ext.c +++ b/dlls/opengl32/opengl_ext.c @@ -2083,16733 +2083,12385 @@ void *extension_funcs[NB_EXTENSIONS]; static void WINAPI wine_glActiveProgramEXT( GLuint program ) { void (*func_glActiveProgramEXT)( GLuint ) = extension_funcs[EXT_glActiveProgramEXT]; TRACE("(%d)\n", program ); - ENTER_GL(); func_glActiveProgramEXT( program ); - LEAVE_GL(); } static void WINAPI wine_glActiveShaderProgram( GLuint pipeline, GLuint program ) { void (*func_glActiveShaderProgram)( GLuint, GLuint ) = extension_funcs[EXT_glActiveShaderProgram]; TRACE("(%d, %d)\n", pipeline, program ); - ENTER_GL(); func_glActiveShaderProgram( pipeline, program ); - LEAVE_GL(); } static void WINAPI wine_glActiveStencilFaceEXT( GLenum face ) { void (*func_glActiveStencilFaceEXT)( GLenum ) = extension_funcs[EXT_glActiveStencilFaceEXT]; TRACE("(%d)\n", face ); - ENTER_GL(); func_glActiveStencilFaceEXT( face ); - LEAVE_GL(); } static void WINAPI wine_glActiveTexture( GLenum texture ) { void (*func_glActiveTexture)( GLenum ) = extension_funcs[EXT_glActiveTexture]; TRACE("(%d)\n", texture ); - ENTER_GL(); func_glActiveTexture( texture ); - LEAVE_GL(); } static void WINAPI wine_glActiveTextureARB( GLenum texture ) { void (*func_glActiveTextureARB)( GLenum ) = extension_funcs[EXT_glActiveTextureARB]; TRACE("(%d)\n", texture ); - ENTER_GL(); func_glActiveTextureARB( texture ); - LEAVE_GL(); } static void WINAPI wine_glActiveVaryingNV( GLuint program, char* name ) { void (*func_glActiveVaryingNV)( GLuint, char* ) = extension_funcs[EXT_glActiveVaryingNV]; TRACE("(%d, %p)\n", program, name ); - ENTER_GL(); func_glActiveVaryingNV( program, name ); - LEAVE_GL(); } static void WINAPI wine_glAlphaFragmentOp1ATI( GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod ) { void (*func_glAlphaFragmentOp1ATI)( GLenum, GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glAlphaFragmentOp1ATI]; TRACE("(%d, %d, %d, %d, %d, %d)\n", op, dst, dstMod, arg1, arg1Rep, arg1Mod ); - ENTER_GL(); func_glAlphaFragmentOp1ATI( op, dst, dstMod, arg1, arg1Rep, arg1Mod ); - LEAVE_GL(); } static void WINAPI wine_glAlphaFragmentOp2ATI( GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod ) { void (*func_glAlphaFragmentOp2ATI)( GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glAlphaFragmentOp2ATI]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod ); - ENTER_GL(); func_glAlphaFragmentOp2ATI( op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod ); - LEAVE_GL(); } static void WINAPI wine_glAlphaFragmentOp3ATI( GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod ) { void (*func_glAlphaFragmentOp3ATI)( GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glAlphaFragmentOp3ATI]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod ); - ENTER_GL(); func_glAlphaFragmentOp3ATI( op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod ); - LEAVE_GL(); } static void WINAPI wine_glApplyTextureEXT( GLenum mode ) { void (*func_glApplyTextureEXT)( GLenum ) = extension_funcs[EXT_glApplyTextureEXT]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glApplyTextureEXT( mode ); - LEAVE_GL(); } static GLboolean WINAPI wine_glAreProgramsResidentNV( GLsizei n, GLuint* programs, GLboolean* residences ) { - GLboolean ret_value; GLboolean (*func_glAreProgramsResidentNV)( GLsizei, GLuint*, GLboolean* ) = extension_funcs[EXT_glAreProgramsResidentNV]; TRACE("(%d, %p, %p)\n", n, programs, residences ); - ENTER_GL(); - ret_value = func_glAreProgramsResidentNV( n, programs, residences ); - LEAVE_GL(); - return ret_value; + return func_glAreProgramsResidentNV( n, programs, residences ); } static GLboolean WINAPI wine_glAreTexturesResidentEXT( GLsizei n, GLuint* textures, GLboolean* residences ) { - GLboolean ret_value; GLboolean (*func_glAreTexturesResidentEXT)( GLsizei, GLuint*, GLboolean* ) = extension_funcs[EXT_glAreTexturesResidentEXT]; TRACE("(%d, %p, %p)\n", n, textures, residences ); - ENTER_GL(); - ret_value = func_glAreTexturesResidentEXT( n, textures, residences ); - LEAVE_GL(); - return ret_value; + return func_glAreTexturesResidentEXT( n, textures, residences ); } static void WINAPI wine_glArrayElementEXT( GLint i ) { void (*func_glArrayElementEXT)( GLint ) = extension_funcs[EXT_glArrayElementEXT]; TRACE("(%d)\n", i ); - ENTER_GL(); func_glArrayElementEXT( i ); - LEAVE_GL(); } static void WINAPI wine_glArrayObjectATI( GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset ) { void (*func_glArrayObjectATI)( GLenum, GLint, GLenum, GLsizei, GLuint, GLuint ) = extension_funcs[EXT_glArrayObjectATI]; TRACE("(%d, %d, %d, %d, %d, %d)\n", array, size, type, stride, buffer, offset ); - ENTER_GL(); func_glArrayObjectATI( array, size, type, stride, buffer, offset ); - LEAVE_GL(); } static void WINAPI wine_glAsyncMarkerSGIX( GLuint marker ) { void (*func_glAsyncMarkerSGIX)( GLuint ) = extension_funcs[EXT_glAsyncMarkerSGIX]; TRACE("(%d)\n", marker ); - ENTER_GL(); func_glAsyncMarkerSGIX( marker ); - LEAVE_GL(); } static void WINAPI wine_glAttachObjectARB( unsigned int containerObj, unsigned int obj ) { void (*func_glAttachObjectARB)( unsigned int, unsigned int ) = extension_funcs[EXT_glAttachObjectARB]; TRACE("(%d, %d)\n", containerObj, obj ); - ENTER_GL(); func_glAttachObjectARB( containerObj, obj ); - LEAVE_GL(); } static void WINAPI wine_glAttachShader( GLuint program, GLuint shader ) { void (*func_glAttachShader)( GLuint, GLuint ) = extension_funcs[EXT_glAttachShader]; TRACE("(%d, %d)\n", program, shader ); - ENTER_GL(); func_glAttachShader( program, shader ); - LEAVE_GL(); } static void WINAPI wine_glBeginConditionalRender( GLuint id, GLenum mode ) { void (*func_glBeginConditionalRender)( GLuint, GLenum ) = extension_funcs[EXT_glBeginConditionalRender]; TRACE("(%d, %d)\n", id, mode ); - ENTER_GL(); func_glBeginConditionalRender( id, mode ); - LEAVE_GL(); } static void WINAPI wine_glBeginConditionalRenderNV( GLuint id, GLenum mode ) { void (*func_glBeginConditionalRenderNV)( GLuint, GLenum ) = extension_funcs[EXT_glBeginConditionalRenderNV]; TRACE("(%d, %d)\n", id, mode ); - ENTER_GL(); func_glBeginConditionalRenderNV( id, mode ); - LEAVE_GL(); } static void WINAPI wine_glBeginFragmentShaderATI( void ) { void (*func_glBeginFragmentShaderATI)( void ) = extension_funcs[EXT_glBeginFragmentShaderATI]; TRACE("()\n"); - ENTER_GL(); func_glBeginFragmentShaderATI( ); - LEAVE_GL(); } static void WINAPI wine_glBeginOcclusionQueryNV( GLuint id ) { void (*func_glBeginOcclusionQueryNV)( GLuint ) = extension_funcs[EXT_glBeginOcclusionQueryNV]; TRACE("(%d)\n", id ); - ENTER_GL(); func_glBeginOcclusionQueryNV( id ); - LEAVE_GL(); } static void WINAPI wine_glBeginPerfMonitorAMD( GLuint monitor ) { void (*func_glBeginPerfMonitorAMD)( GLuint ) = extension_funcs[EXT_glBeginPerfMonitorAMD]; TRACE("(%d)\n", monitor ); - ENTER_GL(); func_glBeginPerfMonitorAMD( monitor ); - LEAVE_GL(); } static void WINAPI wine_glBeginQuery( GLenum target, GLuint id ) { void (*func_glBeginQuery)( GLenum, GLuint ) = extension_funcs[EXT_glBeginQuery]; TRACE("(%d, %d)\n", target, id ); - ENTER_GL(); func_glBeginQuery( target, id ); - LEAVE_GL(); } static void WINAPI wine_glBeginQueryARB( GLenum target, GLuint id ) { void (*func_glBeginQueryARB)( GLenum, GLuint ) = extension_funcs[EXT_glBeginQueryARB]; TRACE("(%d, %d)\n", target, id ); - ENTER_GL(); func_glBeginQueryARB( target, id ); - LEAVE_GL(); } static void WINAPI wine_glBeginQueryIndexed( GLenum target, GLuint index, GLuint id ) { void (*func_glBeginQueryIndexed)( GLenum, GLuint, GLuint ) = extension_funcs[EXT_glBeginQueryIndexed]; TRACE("(%d, %d, %d)\n", target, index, id ); - ENTER_GL(); func_glBeginQueryIndexed( target, index, id ); - LEAVE_GL(); } static void WINAPI wine_glBeginTransformFeedback( GLenum primitiveMode ) { void (*func_glBeginTransformFeedback)( GLenum ) = extension_funcs[EXT_glBeginTransformFeedback]; TRACE("(%d)\n", primitiveMode ); - ENTER_GL(); func_glBeginTransformFeedback( primitiveMode ); - LEAVE_GL(); } static void WINAPI wine_glBeginTransformFeedbackEXT( GLenum primitiveMode ) { void (*func_glBeginTransformFeedbackEXT)( GLenum ) = extension_funcs[EXT_glBeginTransformFeedbackEXT]; TRACE("(%d)\n", primitiveMode ); - ENTER_GL(); func_glBeginTransformFeedbackEXT( primitiveMode ); - LEAVE_GL(); } static void WINAPI wine_glBeginTransformFeedbackNV( GLenum primitiveMode ) { void (*func_glBeginTransformFeedbackNV)( GLenum ) = extension_funcs[EXT_glBeginTransformFeedbackNV]; TRACE("(%d)\n", primitiveMode ); - ENTER_GL(); func_glBeginTransformFeedbackNV( primitiveMode ); - LEAVE_GL(); } static void WINAPI wine_glBeginVertexShaderEXT( void ) { void (*func_glBeginVertexShaderEXT)( void ) = extension_funcs[EXT_glBeginVertexShaderEXT]; TRACE("()\n"); - ENTER_GL(); func_glBeginVertexShaderEXT( ); - LEAVE_GL(); } static void WINAPI wine_glBeginVideoCaptureNV( GLuint video_capture_slot ) { void (*func_glBeginVideoCaptureNV)( GLuint ) = extension_funcs[EXT_glBeginVideoCaptureNV]; TRACE("(%d)\n", video_capture_slot ); - ENTER_GL(); func_glBeginVideoCaptureNV( video_capture_slot ); - LEAVE_GL(); } static void WINAPI wine_glBindAttribLocation( GLuint program, GLuint index, char* name ) { void (*func_glBindAttribLocation)( GLuint, GLuint, char* ) = extension_funcs[EXT_glBindAttribLocation]; TRACE("(%d, %d, %p)\n", program, index, name ); - ENTER_GL(); func_glBindAttribLocation( program, index, name ); - LEAVE_GL(); } static void WINAPI wine_glBindAttribLocationARB( unsigned int programObj, GLuint index, char* name ) { void (*func_glBindAttribLocationARB)( unsigned int, GLuint, char* ) = extension_funcs[EXT_glBindAttribLocationARB]; TRACE("(%d, %d, %p)\n", programObj, index, name ); - ENTER_GL(); func_glBindAttribLocationARB( programObj, index, name ); - LEAVE_GL(); } static void WINAPI wine_glBindBuffer( GLenum target, GLuint buffer ) { void (*func_glBindBuffer)( GLenum, GLuint ) = extension_funcs[EXT_glBindBuffer]; TRACE("(%d, %d)\n", target, buffer ); - ENTER_GL(); func_glBindBuffer( target, buffer ); - LEAVE_GL(); } static void WINAPI wine_glBindBufferARB( GLenum target, GLuint buffer ) { void (*func_glBindBufferARB)( GLenum, GLuint ) = extension_funcs[EXT_glBindBufferARB]; TRACE("(%d, %d)\n", target, buffer ); - ENTER_GL(); func_glBindBufferARB( target, buffer ); - LEAVE_GL(); } static void WINAPI wine_glBindBufferBase( GLenum target, GLuint index, GLuint buffer ) { void (*func_glBindBufferBase)( GLenum, GLuint, GLuint ) = extension_funcs[EXT_glBindBufferBase]; TRACE("(%d, %d, %d)\n", target, index, buffer ); - ENTER_GL(); func_glBindBufferBase( target, index, buffer ); - LEAVE_GL(); } static void WINAPI wine_glBindBufferBaseEXT( GLenum target, GLuint index, GLuint buffer ) { void (*func_glBindBufferBaseEXT)( GLenum, GLuint, GLuint ) = extension_funcs[EXT_glBindBufferBaseEXT]; TRACE("(%d, %d, %d)\n", target, index, buffer ); - ENTER_GL(); func_glBindBufferBaseEXT( target, index, buffer ); - LEAVE_GL(); } static void WINAPI wine_glBindBufferBaseNV( GLenum target, GLuint index, GLuint buffer ) { void (*func_glBindBufferBaseNV)( GLenum, GLuint, GLuint ) = extension_funcs[EXT_glBindBufferBaseNV]; TRACE("(%d, %d, %d)\n", target, index, buffer ); - ENTER_GL(); func_glBindBufferBaseNV( target, index, buffer ); - LEAVE_GL(); } static void WINAPI wine_glBindBufferOffsetEXT( GLenum target, GLuint index, GLuint buffer, INT_PTR offset ) { void (*func_glBindBufferOffsetEXT)( GLenum, GLuint, GLuint, INT_PTR ) = extension_funcs[EXT_glBindBufferOffsetEXT]; TRACE("(%d, %d, %d, %ld)\n", target, index, buffer, offset ); - ENTER_GL(); func_glBindBufferOffsetEXT( target, index, buffer, offset ); - LEAVE_GL(); } static void WINAPI wine_glBindBufferOffsetNV( GLenum target, GLuint index, GLuint buffer, INT_PTR offset ) { void (*func_glBindBufferOffsetNV)( GLenum, GLuint, GLuint, INT_PTR ) = extension_funcs[EXT_glBindBufferOffsetNV]; TRACE("(%d, %d, %d, %ld)\n", target, index, buffer, offset ); - ENTER_GL(); func_glBindBufferOffsetNV( target, index, buffer, offset ); - LEAVE_GL(); } static void WINAPI wine_glBindBufferRange( GLenum target, GLuint index, GLuint buffer, INT_PTR offset, INT_PTR size ) { void (*func_glBindBufferRange)( GLenum, GLuint, GLuint, INT_PTR, INT_PTR ) = extension_funcs[EXT_glBindBufferRange]; TRACE("(%d, %d, %d, %ld, %ld)\n", target, index, buffer, offset, size ); - ENTER_GL(); func_glBindBufferRange( target, index, buffer, offset, size ); - LEAVE_GL(); } static void WINAPI wine_glBindBufferRangeEXT( GLenum target, GLuint index, GLuint buffer, INT_PTR offset, INT_PTR size ) { void (*func_glBindBufferRangeEXT)( GLenum, GLuint, GLuint, INT_PTR, INT_PTR ) = extension_funcs[EXT_glBindBufferRangeEXT]; TRACE("(%d, %d, %d, %ld, %ld)\n", target, index, buffer, offset, size ); - ENTER_GL(); func_glBindBufferRangeEXT( target, index, buffer, offset, size ); - LEAVE_GL(); } static void WINAPI wine_glBindBufferRangeNV( GLenum target, GLuint index, GLuint buffer, INT_PTR offset, INT_PTR size ) { void (*func_glBindBufferRangeNV)( GLenum, GLuint, GLuint, INT_PTR, INT_PTR ) = extension_funcs[EXT_glBindBufferRangeNV]; TRACE("(%d, %d, %d, %ld, %ld)\n", target, index, buffer, offset, size ); - ENTER_GL(); func_glBindBufferRangeNV( target, index, buffer, offset, size ); - LEAVE_GL(); } static void WINAPI wine_glBindFragDataLocation( GLuint program, GLuint color, char* name ) { void (*func_glBindFragDataLocation)( GLuint, GLuint, char* ) = extension_funcs[EXT_glBindFragDataLocation]; TRACE("(%d, %d, %p)\n", program, color, name ); - ENTER_GL(); func_glBindFragDataLocation( program, color, name ); - LEAVE_GL(); } static void WINAPI wine_glBindFragDataLocationEXT( GLuint program, GLuint color, char* name ) { void (*func_glBindFragDataLocationEXT)( GLuint, GLuint, char* ) = extension_funcs[EXT_glBindFragDataLocationEXT]; TRACE("(%d, %d, %p)\n", program, color, name ); - ENTER_GL(); func_glBindFragDataLocationEXT( program, color, name ); - LEAVE_GL(); } static void WINAPI wine_glBindFragDataLocationIndexed( GLuint program, GLuint colorNumber, GLuint index, char* name ) { void (*func_glBindFragDataLocationIndexed)( GLuint, GLuint, GLuint, char* ) = extension_funcs[EXT_glBindFragDataLocationIndexed]; TRACE("(%d, %d, %d, %p)\n", program, colorNumber, index, name ); - ENTER_GL(); func_glBindFragDataLocationIndexed( program, colorNumber, index, name ); - LEAVE_GL(); } static void WINAPI wine_glBindFragmentShaderATI( GLuint id ) { void (*func_glBindFragmentShaderATI)( GLuint ) = extension_funcs[EXT_glBindFragmentShaderATI]; TRACE("(%d)\n", id ); - ENTER_GL(); func_glBindFragmentShaderATI( id ); - LEAVE_GL(); } static void WINAPI wine_glBindFramebuffer( GLenum target, GLuint framebuffer ) { void (*func_glBindFramebuffer)( GLenum, GLuint ) = extension_funcs[EXT_glBindFramebuffer]; TRACE("(%d, %d)\n", target, framebuffer ); - ENTER_GL(); func_glBindFramebuffer( target, framebuffer ); - LEAVE_GL(); } static void WINAPI wine_glBindFramebufferEXT( GLenum target, GLuint framebuffer ) { void (*func_glBindFramebufferEXT)( GLenum, GLuint ) = extension_funcs[EXT_glBindFramebufferEXT]; TRACE("(%d, %d)\n", target, framebuffer ); - ENTER_GL(); func_glBindFramebufferEXT( target, framebuffer ); - LEAVE_GL(); } static void WINAPI wine_glBindImageTexture( GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format ) { void (*func_glBindImageTexture)( GLuint, GLuint, GLint, GLboolean, GLint, GLenum, GLenum ) = extension_funcs[EXT_glBindImageTexture]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", unit, texture, level, layered, layer, access, format ); - ENTER_GL(); func_glBindImageTexture( unit, texture, level, layered, layer, access, format ); - LEAVE_GL(); } static void WINAPI wine_glBindImageTextureEXT( GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format ) { void (*func_glBindImageTextureEXT)( GLuint, GLuint, GLint, GLboolean, GLint, GLenum, GLint ) = extension_funcs[EXT_glBindImageTextureEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", index, texture, level, layered, layer, access, format ); - ENTER_GL(); func_glBindImageTextureEXT( index, texture, level, layered, layer, access, format ); - LEAVE_GL(); } static GLuint WINAPI wine_glBindLightParameterEXT( GLenum light, GLenum value ) { - GLuint ret_value; GLuint (*func_glBindLightParameterEXT)( GLenum, GLenum ) = extension_funcs[EXT_glBindLightParameterEXT]; TRACE("(%d, %d)\n", light, value ); - ENTER_GL(); - ret_value = func_glBindLightParameterEXT( light, value ); - LEAVE_GL(); - return ret_value; + return func_glBindLightParameterEXT( light, value ); } static GLuint WINAPI wine_glBindMaterialParameterEXT( GLenum face, GLenum value ) { - GLuint ret_value; GLuint (*func_glBindMaterialParameterEXT)( GLenum, GLenum ) = extension_funcs[EXT_glBindMaterialParameterEXT]; TRACE("(%d, %d)\n", face, value ); - ENTER_GL(); - ret_value = func_glBindMaterialParameterEXT( face, value ); - LEAVE_GL(); - return ret_value; + return func_glBindMaterialParameterEXT( face, value ); } static void WINAPI wine_glBindMultiTextureEXT( GLenum texunit, GLenum target, GLuint texture ) { void (*func_glBindMultiTextureEXT)( GLenum, GLenum, GLuint ) = extension_funcs[EXT_glBindMultiTextureEXT]; TRACE("(%d, %d, %d)\n", texunit, target, texture ); - ENTER_GL(); func_glBindMultiTextureEXT( texunit, target, texture ); - LEAVE_GL(); } static GLuint WINAPI wine_glBindParameterEXT( GLenum value ) { - GLuint ret_value; GLuint (*func_glBindParameterEXT)( GLenum ) = extension_funcs[EXT_glBindParameterEXT]; TRACE("(%d)\n", value ); - ENTER_GL(); - ret_value = func_glBindParameterEXT( value ); - LEAVE_GL(); - return ret_value; + return func_glBindParameterEXT( value ); } static void WINAPI wine_glBindProgramARB( GLenum target, GLuint program ) { void (*func_glBindProgramARB)( GLenum, GLuint ) = extension_funcs[EXT_glBindProgramARB]; TRACE("(%d, %d)\n", target, program ); - ENTER_GL(); func_glBindProgramARB( target, program ); - LEAVE_GL(); } static void WINAPI wine_glBindProgramNV( GLenum target, GLuint id ) { void (*func_glBindProgramNV)( GLenum, GLuint ) = extension_funcs[EXT_glBindProgramNV]; TRACE("(%d, %d)\n", target, id ); - ENTER_GL(); func_glBindProgramNV( target, id ); - LEAVE_GL(); } static void WINAPI wine_glBindProgramPipeline( GLuint pipeline ) { void (*func_glBindProgramPipeline)( GLuint ) = extension_funcs[EXT_glBindProgramPipeline]; TRACE("(%d)\n", pipeline ); - ENTER_GL(); func_glBindProgramPipeline( pipeline ); - LEAVE_GL(); } static void WINAPI wine_glBindRenderbuffer( GLenum target, GLuint renderbuffer ) { void (*func_glBindRenderbuffer)( GLenum, GLuint ) = extension_funcs[EXT_glBindRenderbuffer]; TRACE("(%d, %d)\n", target, renderbuffer ); - ENTER_GL(); func_glBindRenderbuffer( target, renderbuffer ); - LEAVE_GL(); } static void WINAPI wine_glBindRenderbufferEXT( GLenum target, GLuint renderbuffer ) { void (*func_glBindRenderbufferEXT)( GLenum, GLuint ) = extension_funcs[EXT_glBindRenderbufferEXT]; TRACE("(%d, %d)\n", target, renderbuffer ); - ENTER_GL(); func_glBindRenderbufferEXT( target, renderbuffer ); - LEAVE_GL(); } static void WINAPI wine_glBindSampler( GLuint unit, GLuint sampler ) { void (*func_glBindSampler)( GLuint, GLuint ) = extension_funcs[EXT_glBindSampler]; TRACE("(%d, %d)\n", unit, sampler ); - ENTER_GL(); func_glBindSampler( unit, sampler ); - LEAVE_GL(); } static GLuint WINAPI wine_glBindTexGenParameterEXT( GLenum unit, GLenum coord, GLenum value ) { - GLuint ret_value; GLuint (*func_glBindTexGenParameterEXT)( GLenum, GLenum, GLenum ) = extension_funcs[EXT_glBindTexGenParameterEXT]; TRACE("(%d, %d, %d)\n", unit, coord, value ); - ENTER_GL(); - ret_value = func_glBindTexGenParameterEXT( unit, coord, value ); - LEAVE_GL(); - return ret_value; + return func_glBindTexGenParameterEXT( unit, coord, value ); } static void WINAPI wine_glBindTextureEXT( GLenum target, GLuint texture ) { void (*func_glBindTextureEXT)( GLenum, GLuint ) = extension_funcs[EXT_glBindTextureEXT]; TRACE("(%d, %d)\n", target, texture ); - ENTER_GL(); func_glBindTextureEXT( target, texture ); - LEAVE_GL(); } static GLuint WINAPI wine_glBindTextureUnitParameterEXT( GLenum unit, GLenum value ) { - GLuint ret_value; GLuint (*func_glBindTextureUnitParameterEXT)( GLenum, GLenum ) = extension_funcs[EXT_glBindTextureUnitParameterEXT]; TRACE("(%d, %d)\n", unit, value ); - ENTER_GL(); - ret_value = func_glBindTextureUnitParameterEXT( unit, value ); - LEAVE_GL(); - return ret_value; + return func_glBindTextureUnitParameterEXT( unit, value ); } static void WINAPI wine_glBindTransformFeedback( GLenum target, GLuint id ) { void (*func_glBindTransformFeedback)( GLenum, GLuint ) = extension_funcs[EXT_glBindTransformFeedback]; TRACE("(%d, %d)\n", target, id ); - ENTER_GL(); func_glBindTransformFeedback( target, id ); - LEAVE_GL(); } static void WINAPI wine_glBindTransformFeedbackNV( GLenum target, GLuint id ) { void (*func_glBindTransformFeedbackNV)( GLenum, GLuint ) = extension_funcs[EXT_glBindTransformFeedbackNV]; TRACE("(%d, %d)\n", target, id ); - ENTER_GL(); func_glBindTransformFeedbackNV( target, id ); - LEAVE_GL(); } static void WINAPI wine_glBindVertexArray( GLuint array ) { void (*func_glBindVertexArray)( GLuint ) = extension_funcs[EXT_glBindVertexArray]; TRACE("(%d)\n", array ); - ENTER_GL(); func_glBindVertexArray( array ); - LEAVE_GL(); } static void WINAPI wine_glBindVertexArrayAPPLE( GLuint array ) { void (*func_glBindVertexArrayAPPLE)( GLuint ) = extension_funcs[EXT_glBindVertexArrayAPPLE]; TRACE("(%d)\n", array ); - ENTER_GL(); func_glBindVertexArrayAPPLE( array ); - LEAVE_GL(); } static void WINAPI wine_glBindVertexShaderEXT( GLuint id ) { void (*func_glBindVertexShaderEXT)( GLuint ) = extension_funcs[EXT_glBindVertexShaderEXT]; TRACE("(%d)\n", id ); - ENTER_GL(); func_glBindVertexShaderEXT( id ); - LEAVE_GL(); } static void WINAPI wine_glBindVideoCaptureStreamBufferNV( GLuint video_capture_slot, GLuint stream, GLenum frame_region, INT_PTR offset ) { void (*func_glBindVideoCaptureStreamBufferNV)( GLuint, GLuint, GLenum, INT_PTR ) = extension_funcs[EXT_glBindVideoCaptureStreamBufferNV]; TRACE("(%d, %d, %d, %ld)\n", video_capture_slot, stream, frame_region, offset ); - ENTER_GL(); func_glBindVideoCaptureStreamBufferNV( video_capture_slot, stream, frame_region, offset ); - LEAVE_GL(); } static void WINAPI wine_glBindVideoCaptureStreamTextureNV( GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture ) { void (*func_glBindVideoCaptureStreamTextureNV)( GLuint, GLuint, GLenum, GLenum, GLuint ) = extension_funcs[EXT_glBindVideoCaptureStreamTextureNV]; TRACE("(%d, %d, %d, %d, %d)\n", video_capture_slot, stream, frame_region, target, texture ); - ENTER_GL(); func_glBindVideoCaptureStreamTextureNV( video_capture_slot, stream, frame_region, target, texture ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3bEXT( GLbyte bx, GLbyte by, GLbyte bz ) { void (*func_glBinormal3bEXT)( GLbyte, GLbyte, GLbyte ) = extension_funcs[EXT_glBinormal3bEXT]; TRACE("(%d, %d, %d)\n", bx, by, bz ); - ENTER_GL(); func_glBinormal3bEXT( bx, by, bz ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3bvEXT( GLbyte* v ) { void (*func_glBinormal3bvEXT)( GLbyte* ) = extension_funcs[EXT_glBinormal3bvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glBinormal3bvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3dEXT( GLdouble bx, GLdouble by, GLdouble bz ) { void (*func_glBinormal3dEXT)( GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glBinormal3dEXT]; TRACE("(%f, %f, %f)\n", bx, by, bz ); - ENTER_GL(); func_glBinormal3dEXT( bx, by, bz ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3dvEXT( GLdouble* v ) { void (*func_glBinormal3dvEXT)( GLdouble* ) = extension_funcs[EXT_glBinormal3dvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glBinormal3dvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3fEXT( GLfloat bx, GLfloat by, GLfloat bz ) { void (*func_glBinormal3fEXT)( GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glBinormal3fEXT]; TRACE("(%f, %f, %f)\n", bx, by, bz ); - ENTER_GL(); func_glBinormal3fEXT( bx, by, bz ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3fvEXT( GLfloat* v ) { void (*func_glBinormal3fvEXT)( GLfloat* ) = extension_funcs[EXT_glBinormal3fvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glBinormal3fvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3iEXT( GLint bx, GLint by, GLint bz ) { void (*func_glBinormal3iEXT)( GLint, GLint, GLint ) = extension_funcs[EXT_glBinormal3iEXT]; TRACE("(%d, %d, %d)\n", bx, by, bz ); - ENTER_GL(); func_glBinormal3iEXT( bx, by, bz ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3ivEXT( GLint* v ) { void (*func_glBinormal3ivEXT)( GLint* ) = extension_funcs[EXT_glBinormal3ivEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glBinormal3ivEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3sEXT( GLshort bx, GLshort by, GLshort bz ) { void (*func_glBinormal3sEXT)( GLshort, GLshort, GLshort ) = extension_funcs[EXT_glBinormal3sEXT]; TRACE("(%d, %d, %d)\n", bx, by, bz ); - ENTER_GL(); func_glBinormal3sEXT( bx, by, bz ); - LEAVE_GL(); } static void WINAPI wine_glBinormal3svEXT( GLshort* v ) { void (*func_glBinormal3svEXT)( GLshort* ) = extension_funcs[EXT_glBinormal3svEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glBinormal3svEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glBinormalPointerEXT( GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glBinormalPointerEXT)( GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glBinormalPointerEXT]; TRACE("(%d, %d, %p)\n", type, stride, pointer ); - ENTER_GL(); func_glBinormalPointerEXT( type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glBlendColor( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) { void (*func_glBlendColor)( GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glBlendColor]; TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha ); - ENTER_GL(); func_glBlendColor( red, green, blue, alpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendColorEXT( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) { void (*func_glBlendColorEXT)( GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glBlendColorEXT]; TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha ); - ENTER_GL(); func_glBlendColorEXT( red, green, blue, alpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquation( GLenum mode ) { void (*func_glBlendEquation)( GLenum ) = extension_funcs[EXT_glBlendEquation]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glBlendEquation( mode ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquationEXT( GLenum mode ) { void (*func_glBlendEquationEXT)( GLenum ) = extension_funcs[EXT_glBlendEquationEXT]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glBlendEquationEXT( mode ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquationIndexedAMD( GLuint buf, GLenum mode ) { void (*func_glBlendEquationIndexedAMD)( GLuint, GLenum ) = extension_funcs[EXT_glBlendEquationIndexedAMD]; TRACE("(%d, %d)\n", buf, mode ); - ENTER_GL(); func_glBlendEquationIndexedAMD( buf, mode ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquationSeparate( GLenum modeRGB, GLenum modeAlpha ) { void (*func_glBlendEquationSeparate)( GLenum, GLenum ) = extension_funcs[EXT_glBlendEquationSeparate]; TRACE("(%d, %d)\n", modeRGB, modeAlpha ); - ENTER_GL(); func_glBlendEquationSeparate( modeRGB, modeAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquationSeparateEXT( GLenum modeRGB, GLenum modeAlpha ) { void (*func_glBlendEquationSeparateEXT)( GLenum, GLenum ) = extension_funcs[EXT_glBlendEquationSeparateEXT]; TRACE("(%d, %d)\n", modeRGB, modeAlpha ); - ENTER_GL(); func_glBlendEquationSeparateEXT( modeRGB, modeAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquationSeparateIndexedAMD( GLuint buf, GLenum modeRGB, GLenum modeAlpha ) { void (*func_glBlendEquationSeparateIndexedAMD)( GLuint, GLenum, GLenum ) = extension_funcs[EXT_glBlendEquationSeparateIndexedAMD]; TRACE("(%d, %d, %d)\n", buf, modeRGB, modeAlpha ); - ENTER_GL(); func_glBlendEquationSeparateIndexedAMD( buf, modeRGB, modeAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquationSeparatei( GLuint buf, GLenum modeRGB, GLenum modeAlpha ) { void (*func_glBlendEquationSeparatei)( GLuint, GLenum, GLenum ) = extension_funcs[EXT_glBlendEquationSeparatei]; TRACE("(%d, %d, %d)\n", buf, modeRGB, modeAlpha ); - ENTER_GL(); func_glBlendEquationSeparatei( buf, modeRGB, modeAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquationSeparateiARB( GLuint buf, GLenum modeRGB, GLenum modeAlpha ) { void (*func_glBlendEquationSeparateiARB)( GLuint, GLenum, GLenum ) = extension_funcs[EXT_glBlendEquationSeparateiARB]; TRACE("(%d, %d, %d)\n", buf, modeRGB, modeAlpha ); - ENTER_GL(); func_glBlendEquationSeparateiARB( buf, modeRGB, modeAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquationi( GLuint buf, GLenum mode ) { void (*func_glBlendEquationi)( GLuint, GLenum ) = extension_funcs[EXT_glBlendEquationi]; TRACE("(%d, %d)\n", buf, mode ); - ENTER_GL(); func_glBlendEquationi( buf, mode ); - LEAVE_GL(); } static void WINAPI wine_glBlendEquationiARB( GLuint buf, GLenum mode ) { void (*func_glBlendEquationiARB)( GLuint, GLenum ) = extension_funcs[EXT_glBlendEquationiARB]; TRACE("(%d, %d)\n", buf, mode ); - ENTER_GL(); func_glBlendEquationiARB( buf, mode ); - LEAVE_GL(); } static void WINAPI wine_glBlendFuncIndexedAMD( GLuint buf, GLenum src, GLenum dst ) { void (*func_glBlendFuncIndexedAMD)( GLuint, GLenum, GLenum ) = extension_funcs[EXT_glBlendFuncIndexedAMD]; TRACE("(%d, %d, %d)\n", buf, src, dst ); - ENTER_GL(); func_glBlendFuncIndexedAMD( buf, src, dst ); - LEAVE_GL(); } static void WINAPI wine_glBlendFuncSeparate( GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha ) { void (*func_glBlendFuncSeparate)( GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glBlendFuncSeparate]; TRACE("(%d, %d, %d, %d)\n", sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha ); - ENTER_GL(); func_glBlendFuncSeparate( sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendFuncSeparateEXT( GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha ) { void (*func_glBlendFuncSeparateEXT)( GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glBlendFuncSeparateEXT]; TRACE("(%d, %d, %d, %d)\n", sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha ); - ENTER_GL(); func_glBlendFuncSeparateEXT( sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendFuncSeparateINGR( GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha ) { void (*func_glBlendFuncSeparateINGR)( GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glBlendFuncSeparateINGR]; TRACE("(%d, %d, %d, %d)\n", sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha ); - ENTER_GL(); func_glBlendFuncSeparateINGR( sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendFuncSeparateIndexedAMD( GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha ) { void (*func_glBlendFuncSeparateIndexedAMD)( GLuint, GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glBlendFuncSeparateIndexedAMD]; TRACE("(%d, %d, %d, %d, %d)\n", buf, srcRGB, dstRGB, srcAlpha, dstAlpha ); - ENTER_GL(); func_glBlendFuncSeparateIndexedAMD( buf, srcRGB, dstRGB, srcAlpha, dstAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendFuncSeparatei( GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha ) { void (*func_glBlendFuncSeparatei)( GLuint, GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glBlendFuncSeparatei]; TRACE("(%d, %d, %d, %d, %d)\n", buf, srcRGB, dstRGB, srcAlpha, dstAlpha ); - ENTER_GL(); func_glBlendFuncSeparatei( buf, srcRGB, dstRGB, srcAlpha, dstAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendFuncSeparateiARB( GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha ) { void (*func_glBlendFuncSeparateiARB)( GLuint, GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glBlendFuncSeparateiARB]; TRACE("(%d, %d, %d, %d, %d)\n", buf, srcRGB, dstRGB, srcAlpha, dstAlpha ); - ENTER_GL(); func_glBlendFuncSeparateiARB( buf, srcRGB, dstRGB, srcAlpha, dstAlpha ); - LEAVE_GL(); } static void WINAPI wine_glBlendFunci( GLuint buf, GLenum src, GLenum dst ) { void (*func_glBlendFunci)( GLuint, GLenum, GLenum ) = extension_funcs[EXT_glBlendFunci]; TRACE("(%d, %d, %d)\n", buf, src, dst ); - ENTER_GL(); func_glBlendFunci( buf, src, dst ); - LEAVE_GL(); } static void WINAPI wine_glBlendFunciARB( GLuint buf, GLenum src, GLenum dst ) { void (*func_glBlendFunciARB)( GLuint, GLenum, GLenum ) = extension_funcs[EXT_glBlendFunciARB]; TRACE("(%d, %d, %d)\n", buf, src, dst ); - ENTER_GL(); func_glBlendFunciARB( buf, src, dst ); - LEAVE_GL(); } static void WINAPI wine_glBlitFramebuffer( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter ) { void (*func_glBlitFramebuffer)( GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum ) = extension_funcs[EXT_glBlitFramebuffer]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter ); - ENTER_GL(); func_glBlitFramebuffer( srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter ); - LEAVE_GL(); } static void WINAPI wine_glBlitFramebufferEXT( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter ) { void (*func_glBlitFramebufferEXT)( GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum ) = extension_funcs[EXT_glBlitFramebufferEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter ); - ENTER_GL(); func_glBlitFramebufferEXT( srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter ); - LEAVE_GL(); } static void WINAPI wine_glBufferAddressRangeNV( GLenum pname, GLuint index, UINT64 address, INT_PTR length ) { void (*func_glBufferAddressRangeNV)( GLenum, GLuint, UINT64, INT_PTR ) = extension_funcs[EXT_glBufferAddressRangeNV]; TRACE("(%d, %d, %s, %ld)\n", pname, index, wine_dbgstr_longlong(address), length ); - ENTER_GL(); func_glBufferAddressRangeNV( pname, index, address, length ); - LEAVE_GL(); } static void WINAPI wine_glBufferData( GLenum target, INT_PTR size, GLvoid* data, GLenum usage ) { void (*func_glBufferData)( GLenum, INT_PTR, GLvoid*, GLenum ) = extension_funcs[EXT_glBufferData]; TRACE("(%d, %ld, %p, %d)\n", target, size, data, usage ); - ENTER_GL(); func_glBufferData( target, size, data, usage ); - LEAVE_GL(); } static void WINAPI wine_glBufferDataARB( GLenum target, INT_PTR size, GLvoid* data, GLenum usage ) { void (*func_glBufferDataARB)( GLenum, INT_PTR, GLvoid*, GLenum ) = extension_funcs[EXT_glBufferDataARB]; TRACE("(%d, %ld, %p, %d)\n", target, size, data, usage ); - ENTER_GL(); func_glBufferDataARB( target, size, data, usage ); - LEAVE_GL(); } static void WINAPI wine_glBufferParameteriAPPLE( GLenum target, GLenum pname, GLint param ) { void (*func_glBufferParameteriAPPLE)( GLenum, GLenum, GLint ) = extension_funcs[EXT_glBufferParameteriAPPLE]; TRACE("(%d, %d, %d)\n", target, pname, param ); - ENTER_GL(); func_glBufferParameteriAPPLE( target, pname, param ); - LEAVE_GL(); } static GLuint WINAPI wine_glBufferRegionEnabled( void ) { - GLuint ret_value; GLuint (*func_glBufferRegionEnabled)( void ) = extension_funcs[EXT_glBufferRegionEnabled]; TRACE("()\n"); - ENTER_GL(); - ret_value = func_glBufferRegionEnabled( ); - LEAVE_GL(); - return ret_value; + return func_glBufferRegionEnabled( ); } static void WINAPI wine_glBufferSubData( GLenum target, INT_PTR offset, INT_PTR size, GLvoid* data ) { void (*func_glBufferSubData)( GLenum, INT_PTR, INT_PTR, GLvoid* ) = extension_funcs[EXT_glBufferSubData]; TRACE("(%d, %ld, %ld, %p)\n", target, offset, size, data ); - ENTER_GL(); func_glBufferSubData( target, offset, size, data ); - LEAVE_GL(); } static void WINAPI wine_glBufferSubDataARB( GLenum target, INT_PTR offset, INT_PTR size, GLvoid* data ) { void (*func_glBufferSubDataARB)( GLenum, INT_PTR, INT_PTR, GLvoid* ) = extension_funcs[EXT_glBufferSubDataARB]; TRACE("(%d, %ld, %ld, %p)\n", target, offset, size, data ); - ENTER_GL(); func_glBufferSubDataARB( target, offset, size, data ); - LEAVE_GL(); } static GLenum WINAPI wine_glCheckFramebufferStatus( GLenum target ) { - GLenum ret_value; GLenum (*func_glCheckFramebufferStatus)( GLenum ) = extension_funcs[EXT_glCheckFramebufferStatus]; TRACE("(%d)\n", target ); - ENTER_GL(); - ret_value = func_glCheckFramebufferStatus( target ); - LEAVE_GL(); - return ret_value; + return func_glCheckFramebufferStatus( target ); } static GLenum WINAPI wine_glCheckFramebufferStatusEXT( GLenum target ) { - GLenum ret_value; GLenum (*func_glCheckFramebufferStatusEXT)( GLenum ) = extension_funcs[EXT_glCheckFramebufferStatusEXT]; TRACE("(%d)\n", target ); - ENTER_GL(); - ret_value = func_glCheckFramebufferStatusEXT( target ); - LEAVE_GL(); - return ret_value; + return func_glCheckFramebufferStatusEXT( target ); } static GLenum WINAPI wine_glCheckNamedFramebufferStatusEXT( GLuint framebuffer, GLenum target ) { - GLenum ret_value; GLenum (*func_glCheckNamedFramebufferStatusEXT)( GLuint, GLenum ) = extension_funcs[EXT_glCheckNamedFramebufferStatusEXT]; TRACE("(%d, %d)\n", framebuffer, target ); - ENTER_GL(); - ret_value = func_glCheckNamedFramebufferStatusEXT( framebuffer, target ); - LEAVE_GL(); - return ret_value; + return func_glCheckNamedFramebufferStatusEXT( framebuffer, target ); } static void WINAPI wine_glClampColor( GLenum target, GLenum clamp ) { void (*func_glClampColor)( GLenum, GLenum ) = extension_funcs[EXT_glClampColor]; TRACE("(%d, %d)\n", target, clamp ); - ENTER_GL(); func_glClampColor( target, clamp ); - LEAVE_GL(); } static void WINAPI wine_glClampColorARB( GLenum target, GLenum clamp ) { void (*func_glClampColorARB)( GLenum, GLenum ) = extension_funcs[EXT_glClampColorARB]; TRACE("(%d, %d)\n", target, clamp ); - ENTER_GL(); func_glClampColorARB( target, clamp ); - LEAVE_GL(); } static void WINAPI wine_glClearBufferfi( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil ) { void (*func_glClearBufferfi)( GLenum, GLint, GLfloat, GLint ) = extension_funcs[EXT_glClearBufferfi]; TRACE("(%d, %d, %f, %d)\n", buffer, drawbuffer, depth, stencil ); - ENTER_GL(); func_glClearBufferfi( buffer, drawbuffer, depth, stencil ); - LEAVE_GL(); } static void WINAPI wine_glClearBufferfv( GLenum buffer, GLint drawbuffer, GLfloat* value ) { void (*func_glClearBufferfv)( GLenum, GLint, GLfloat* ) = extension_funcs[EXT_glClearBufferfv]; TRACE("(%d, %d, %p)\n", buffer, drawbuffer, value ); - ENTER_GL(); func_glClearBufferfv( buffer, drawbuffer, value ); - LEAVE_GL(); } static void WINAPI wine_glClearBufferiv( GLenum buffer, GLint drawbuffer, GLint* value ) { void (*func_glClearBufferiv)( GLenum, GLint, GLint* ) = extension_funcs[EXT_glClearBufferiv]; TRACE("(%d, %d, %p)\n", buffer, drawbuffer, value ); - ENTER_GL(); func_glClearBufferiv( buffer, drawbuffer, value ); - LEAVE_GL(); } static void WINAPI wine_glClearBufferuiv( GLenum buffer, GLint drawbuffer, GLuint* value ) { void (*func_glClearBufferuiv)( GLenum, GLint, GLuint* ) = extension_funcs[EXT_glClearBufferuiv]; TRACE("(%d, %d, %p)\n", buffer, drawbuffer, value ); - ENTER_GL(); func_glClearBufferuiv( buffer, drawbuffer, value ); - LEAVE_GL(); } static void WINAPI wine_glClearColorIiEXT( GLint red, GLint green, GLint blue, GLint alpha ) { void (*func_glClearColorIiEXT)( GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glClearColorIiEXT]; TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); func_glClearColorIiEXT( red, green, blue, alpha ); - LEAVE_GL(); } static void WINAPI wine_glClearColorIuiEXT( GLuint red, GLuint green, GLuint blue, GLuint alpha ) { void (*func_glClearColorIuiEXT)( GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glClearColorIuiEXT]; TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); func_glClearColorIuiEXT( red, green, blue, alpha ); - LEAVE_GL(); } static void WINAPI wine_glClearDepthdNV( GLdouble depth ) { void (*func_glClearDepthdNV)( GLdouble ) = extension_funcs[EXT_glClearDepthdNV]; TRACE("(%f)\n", depth ); - ENTER_GL(); func_glClearDepthdNV( depth ); - LEAVE_GL(); } static void WINAPI wine_glClearDepthf( GLfloat d ) { void (*func_glClearDepthf)( GLfloat ) = extension_funcs[EXT_glClearDepthf]; TRACE("(%f)\n", d ); - ENTER_GL(); func_glClearDepthf( d ); - LEAVE_GL(); } static void WINAPI wine_glClientActiveTexture( GLenum texture ) { void (*func_glClientActiveTexture)( GLenum ) = extension_funcs[EXT_glClientActiveTexture]; TRACE("(%d)\n", texture ); - ENTER_GL(); func_glClientActiveTexture( texture ); - LEAVE_GL(); } static void WINAPI wine_glClientActiveTextureARB( GLenum texture ) { void (*func_glClientActiveTextureARB)( GLenum ) = extension_funcs[EXT_glClientActiveTextureARB]; TRACE("(%d)\n", texture ); - ENTER_GL(); func_glClientActiveTextureARB( texture ); - LEAVE_GL(); } static void WINAPI wine_glClientActiveVertexStreamATI( GLenum stream ) { void (*func_glClientActiveVertexStreamATI)( GLenum ) = extension_funcs[EXT_glClientActiveVertexStreamATI]; TRACE("(%d)\n", stream ); - ENTER_GL(); func_glClientActiveVertexStreamATI( stream ); - LEAVE_GL(); } static void WINAPI wine_glClientAttribDefaultEXT( GLbitfield mask ) { void (*func_glClientAttribDefaultEXT)( GLbitfield ) = extension_funcs[EXT_glClientAttribDefaultEXT]; TRACE("(%d)\n", mask ); - ENTER_GL(); func_glClientAttribDefaultEXT( mask ); - LEAVE_GL(); } static GLenum WINAPI wine_glClientWaitSync( GLvoid* sync, GLbitfield flags, UINT64 timeout ) { - GLenum ret_value; GLenum (*func_glClientWaitSync)( GLvoid*, GLbitfield, UINT64 ) = extension_funcs[EXT_glClientWaitSync]; TRACE("(%p, %d, %s)\n", sync, flags, wine_dbgstr_longlong(timeout) ); - ENTER_GL(); - ret_value = func_glClientWaitSync( sync, flags, timeout ); - LEAVE_GL(); - return ret_value; + return func_glClientWaitSync( sync, flags, timeout ); } static void WINAPI wine_glColor3fVertex3fSUN( GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glColor3fVertex3fSUN)( GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glColor3fVertex3fSUN]; TRACE("(%f, %f, %f, %f, %f, %f)\n", r, g, b, x, y, z ); - ENTER_GL(); func_glColor3fVertex3fSUN( r, g, b, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glColor3fVertex3fvSUN( GLfloat* c, GLfloat* v ) { void (*func_glColor3fVertex3fvSUN)( GLfloat*, GLfloat* ) = extension_funcs[EXT_glColor3fVertex3fvSUN]; TRACE("(%p, %p)\n", c, v ); - ENTER_GL(); func_glColor3fVertex3fvSUN( c, v ); - LEAVE_GL(); } static void WINAPI wine_glColor3hNV( unsigned short red, unsigned short green, unsigned short blue ) { void (*func_glColor3hNV)( unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glColor3hNV]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glColor3hNV( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glColor3hvNV( unsigned short* v ) { void (*func_glColor3hvNV)( unsigned short* ) = extension_funcs[EXT_glColor3hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glColor3hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glColor4fNormal3fVertex3fSUN( GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glColor4fNormal3fVertex3fSUN)( GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glColor4fNormal3fVertex3fSUN]; TRACE("(%f, %f, %f, %f, %f, %f, %f, %f, %f, %f)\n", r, g, b, a, nx, ny, nz, x, y, z ); - ENTER_GL(); func_glColor4fNormal3fVertex3fSUN( r, g, b, a, nx, ny, nz, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glColor4fNormal3fVertex3fvSUN( GLfloat* c, GLfloat* n, GLfloat* v ) { void (*func_glColor4fNormal3fVertex3fvSUN)( GLfloat*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glColor4fNormal3fVertex3fvSUN]; TRACE("(%p, %p, %p)\n", c, n, v ); - ENTER_GL(); func_glColor4fNormal3fVertex3fvSUN( c, n, v ); - LEAVE_GL(); } static void WINAPI wine_glColor4hNV( unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha ) { void (*func_glColor4hNV)( unsigned short, unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glColor4hNV]; TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); func_glColor4hNV( red, green, blue, alpha ); - LEAVE_GL(); } static void WINAPI wine_glColor4hvNV( unsigned short* v ) { void (*func_glColor4hvNV)( unsigned short* ) = extension_funcs[EXT_glColor4hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glColor4hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glColor4ubVertex2fSUN( GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y ) { void (*func_glColor4ubVertex2fSUN)( GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat ) = extension_funcs[EXT_glColor4ubVertex2fSUN]; TRACE("(%d, %d, %d, %d, %f, %f)\n", r, g, b, a, x, y ); - ENTER_GL(); func_glColor4ubVertex2fSUN( r, g, b, a, x, y ); - LEAVE_GL(); } static void WINAPI wine_glColor4ubVertex2fvSUN( GLubyte* c, GLfloat* v ) { void (*func_glColor4ubVertex2fvSUN)( GLubyte*, GLfloat* ) = extension_funcs[EXT_glColor4ubVertex2fvSUN]; TRACE("(%p, %p)\n", c, v ); - ENTER_GL(); func_glColor4ubVertex2fvSUN( c, v ); - LEAVE_GL(); } static void WINAPI wine_glColor4ubVertex3fSUN( GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glColor4ubVertex3fSUN)( GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glColor4ubVertex3fSUN]; TRACE("(%d, %d, %d, %d, %f, %f, %f)\n", r, g, b, a, x, y, z ); - ENTER_GL(); func_glColor4ubVertex3fSUN( r, g, b, a, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glColor4ubVertex3fvSUN( GLubyte* c, GLfloat* v ) { void (*func_glColor4ubVertex3fvSUN)( GLubyte*, GLfloat* ) = extension_funcs[EXT_glColor4ubVertex3fvSUN]; TRACE("(%p, %p)\n", c, v ); - ENTER_GL(); func_glColor4ubVertex3fvSUN( c, v ); - LEAVE_GL(); } static void WINAPI wine_glColorFormatNV( GLint size, GLenum type, GLsizei stride ) { void (*func_glColorFormatNV)( GLint, GLenum, GLsizei ) = extension_funcs[EXT_glColorFormatNV]; TRACE("(%d, %d, %d)\n", size, type, stride ); - ENTER_GL(); func_glColorFormatNV( size, type, stride ); - LEAVE_GL(); } static void WINAPI wine_glColorFragmentOp1ATI( GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod ) { void (*func_glColorFragmentOp1ATI)( GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glColorFragmentOp1ATI]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod ); - ENTER_GL(); func_glColorFragmentOp1ATI( op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod ); - LEAVE_GL(); } static void WINAPI wine_glColorFragmentOp2ATI( GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod ) { void (*func_glColorFragmentOp2ATI)( GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glColorFragmentOp2ATI]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod ); - ENTER_GL(); func_glColorFragmentOp2ATI( op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod ); - LEAVE_GL(); } static void WINAPI wine_glColorFragmentOp3ATI( GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod ) { void (*func_glColorFragmentOp3ATI)( GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glColorFragmentOp3ATI]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod ); - ENTER_GL(); func_glColorFragmentOp3ATI( op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod ); - LEAVE_GL(); } static void WINAPI wine_glColorMaskIndexedEXT( GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a ) { void (*func_glColorMaskIndexedEXT)( GLuint, GLboolean, GLboolean, GLboolean, GLboolean ) = extension_funcs[EXT_glColorMaskIndexedEXT]; TRACE("(%d, %d, %d, %d, %d)\n", index, r, g, b, a ); - ENTER_GL(); func_glColorMaskIndexedEXT( index, r, g, b, a ); - LEAVE_GL(); } static void WINAPI wine_glColorMaski( GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a ) { void (*func_glColorMaski)( GLuint, GLboolean, GLboolean, GLboolean, GLboolean ) = extension_funcs[EXT_glColorMaski]; TRACE("(%d, %d, %d, %d, %d)\n", index, r, g, b, a ); - ENTER_GL(); func_glColorMaski( index, r, g, b, a ); - LEAVE_GL(); } static void WINAPI wine_glColorP3ui( GLenum type, GLuint color ) { void (*func_glColorP3ui)( GLenum, GLuint ) = extension_funcs[EXT_glColorP3ui]; TRACE("(%d, %d)\n", type, color ); - ENTER_GL(); func_glColorP3ui( type, color ); - LEAVE_GL(); } static void WINAPI wine_glColorP3uiv( GLenum type, GLuint* color ) { void (*func_glColorP3uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glColorP3uiv]; TRACE("(%d, %p)\n", type, color ); - ENTER_GL(); func_glColorP3uiv( type, color ); - LEAVE_GL(); } static void WINAPI wine_glColorP4ui( GLenum type, GLuint color ) { void (*func_glColorP4ui)( GLenum, GLuint ) = extension_funcs[EXT_glColorP4ui]; TRACE("(%d, %d)\n", type, color ); - ENTER_GL(); func_glColorP4ui( type, color ); - LEAVE_GL(); } static void WINAPI wine_glColorP4uiv( GLenum type, GLuint* color ) { void (*func_glColorP4uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glColorP4uiv]; TRACE("(%d, %p)\n", type, color ); - ENTER_GL(); func_glColorP4uiv( type, color ); - LEAVE_GL(); } static void WINAPI wine_glColorPointerEXT( GLint size, GLenum type, GLsizei stride, GLsizei count, GLvoid* pointer ) { void (*func_glColorPointerEXT)( GLint, GLenum, GLsizei, GLsizei, GLvoid* ) = extension_funcs[EXT_glColorPointerEXT]; TRACE("(%d, %d, %d, %d, %p)\n", size, type, stride, count, pointer ); - ENTER_GL(); func_glColorPointerEXT( size, type, stride, count, pointer ); - LEAVE_GL(); } static void WINAPI wine_glColorPointerListIBM( GLint size, GLenum type, GLint stride, GLvoid** pointer, GLint ptrstride ) { void (*func_glColorPointerListIBM)( GLint, GLenum, GLint, GLvoid**, GLint ) = extension_funcs[EXT_glColorPointerListIBM]; TRACE("(%d, %d, %d, %p, %d)\n", size, type, stride, pointer, ptrstride ); - ENTER_GL(); func_glColorPointerListIBM( size, type, stride, pointer, ptrstride ); - LEAVE_GL(); } static void WINAPI wine_glColorPointervINTEL( GLint size, GLenum type, GLvoid** pointer ) { void (*func_glColorPointervINTEL)( GLint, GLenum, GLvoid** ) = extension_funcs[EXT_glColorPointervINTEL]; TRACE("(%d, %d, %p)\n", size, type, pointer ); - ENTER_GL(); func_glColorPointervINTEL( size, type, pointer ); - LEAVE_GL(); } static void WINAPI wine_glColorSubTable( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, GLvoid* data ) { void (*func_glColorSubTable)( GLenum, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glColorSubTable]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, start, count, format, type, data ); - ENTER_GL(); func_glColorSubTable( target, start, count, format, type, data ); - LEAVE_GL(); } static void WINAPI wine_glColorSubTableEXT( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, GLvoid* data ) { void (*func_glColorSubTableEXT)( GLenum, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glColorSubTableEXT]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, start, count, format, type, data ); - ENTER_GL(); func_glColorSubTableEXT( target, start, count, format, type, data ); - LEAVE_GL(); } static void WINAPI wine_glColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* table ) { void (*func_glColorTable)( GLenum, GLenum, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glColorTable]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, table ); - ENTER_GL(); func_glColorTable( target, internalformat, width, format, type, table ); - LEAVE_GL(); } static void WINAPI wine_glColorTableEXT( GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, GLvoid* table ) { void (*func_glColorTableEXT)( GLenum, GLenum, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glColorTableEXT]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalFormat, width, format, type, table ); - ENTER_GL(); func_glColorTableEXT( target, internalFormat, width, format, type, table ); - LEAVE_GL(); } static void WINAPI wine_glColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glColorTableParameterfv)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glColorTableParameterfv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glColorTableParameterfv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glColorTableParameterfvSGI( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glColorTableParameterfvSGI)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glColorTableParameterfvSGI]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glColorTableParameterfvSGI( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glColorTableParameteriv( GLenum target, GLenum pname, GLint* params ) { void (*func_glColorTableParameteriv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glColorTableParameteriv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glColorTableParameteriv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glColorTableParameterivSGI( GLenum target, GLenum pname, GLint* params ) { void (*func_glColorTableParameterivSGI)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glColorTableParameterivSGI]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glColorTableParameterivSGI( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glColorTableSGI( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* table ) { void (*func_glColorTableSGI)( GLenum, GLenum, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glColorTableSGI]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, table ); - ENTER_GL(); func_glColorTableSGI( target, internalformat, width, format, type, table ); - LEAVE_GL(); } static void WINAPI wine_glCombinerInputNV( GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage ) { void (*func_glCombinerInputNV)( GLenum, GLenum, GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glCombinerInputNV]; TRACE("(%d, %d, %d, %d, %d, %d)\n", stage, portion, variable, input, mapping, componentUsage ); - ENTER_GL(); func_glCombinerInputNV( stage, portion, variable, input, mapping, componentUsage ); - LEAVE_GL(); } static void WINAPI wine_glCombinerOutputNV( GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum ) { void (*func_glCombinerOutputNV)( GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean ) = extension_funcs[EXT_glCombinerOutputNV]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum ); - ENTER_GL(); func_glCombinerOutputNV( stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum ); - LEAVE_GL(); } static void WINAPI wine_glCombinerParameterfNV( GLenum pname, GLfloat param ) { void (*func_glCombinerParameterfNV)( GLenum, GLfloat ) = extension_funcs[EXT_glCombinerParameterfNV]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glCombinerParameterfNV( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glCombinerParameterfvNV( GLenum pname, GLfloat* params ) { void (*func_glCombinerParameterfvNV)( GLenum, GLfloat* ) = extension_funcs[EXT_glCombinerParameterfvNV]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glCombinerParameterfvNV( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glCombinerParameteriNV( GLenum pname, GLint param ) { void (*func_glCombinerParameteriNV)( GLenum, GLint ) = extension_funcs[EXT_glCombinerParameteriNV]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glCombinerParameteriNV( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glCombinerParameterivNV( GLenum pname, GLint* params ) { void (*func_glCombinerParameterivNV)( GLenum, GLint* ) = extension_funcs[EXT_glCombinerParameterivNV]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glCombinerParameterivNV( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glCombinerStageParameterfvNV( GLenum stage, GLenum pname, GLfloat* params ) { void (*func_glCombinerStageParameterfvNV)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glCombinerStageParameterfvNV]; TRACE("(%d, %d, %p)\n", stage, pname, params ); - ENTER_GL(); func_glCombinerStageParameterfvNV( stage, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glCompileShader( GLuint shader ) { void (*func_glCompileShader)( GLuint ) = extension_funcs[EXT_glCompileShader]; TRACE("(%d)\n", shader ); - ENTER_GL(); func_glCompileShader( shader ); - LEAVE_GL(); } static void WINAPI wine_glCompileShaderARB( unsigned int shaderObj ) { void (*func_glCompileShaderARB)( unsigned int ) = extension_funcs[EXT_glCompileShaderARB]; TRACE("(%d)\n", shaderObj ); - ENTER_GL(); func_glCompileShaderARB( shaderObj ); - LEAVE_GL(); } static void WINAPI wine_glCompileShaderIncludeARB( GLuint shader, GLsizei count, char** path, GLint* length ) { void (*func_glCompileShaderIncludeARB)( GLuint, GLsizei, char**, GLint* ) = extension_funcs[EXT_glCompileShaderIncludeARB]; TRACE("(%d, %d, %p, %p)\n", shader, count, path, length ); - ENTER_GL(); func_glCompileShaderIncludeARB( shader, count, path, length ); - LEAVE_GL(); } static void WINAPI wine_glCompressedMultiTexImage1DEXT( GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedMultiTexImage1DEXT)( GLenum, GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedMultiTexImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, internalformat, width, border, imageSize, bits ); - ENTER_GL(); func_glCompressedMultiTexImage1DEXT( texunit, target, level, internalformat, width, border, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedMultiTexImage2DEXT( GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedMultiTexImage2DEXT)( GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedMultiTexImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, internalformat, width, height, border, imageSize, bits ); - ENTER_GL(); func_glCompressedMultiTexImage2DEXT( texunit, target, level, internalformat, width, height, border, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedMultiTexImage3DEXT( GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedMultiTexImage3DEXT)( GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedMultiTexImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, internalformat, width, height, depth, border, imageSize, bits ); - ENTER_GL(); func_glCompressedMultiTexImage3DEXT( texunit, target, level, internalformat, width, height, depth, border, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedMultiTexSubImage1DEXT( GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedMultiTexSubImage1DEXT)( GLenum, GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedMultiTexSubImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, xoffset, width, format, imageSize, bits ); - ENTER_GL(); func_glCompressedMultiTexSubImage1DEXT( texunit, target, level, xoffset, width, format, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedMultiTexSubImage2DEXT( GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedMultiTexSubImage2DEXT)( GLenum, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedMultiTexSubImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, xoffset, yoffset, width, height, format, imageSize, bits ); - ENTER_GL(); func_glCompressedMultiTexSubImage2DEXT( texunit, target, level, xoffset, yoffset, width, height, format, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedMultiTexSubImage3DEXT( GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedMultiTexSubImage3DEXT)( GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedMultiTexSubImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits ); - ENTER_GL(); func_glCompressedMultiTexSubImage3DEXT( texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexImage1D)( GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexImage1D]; TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, border, imageSize, data ); - ENTER_GL(); func_glCompressedTexImage1D( target, level, internalformat, width, border, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexImage1DARB( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexImage1DARB)( GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexImage1DARB]; TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, border, imageSize, data ); - ENTER_GL(); func_glCompressedTexImage1DARB( target, level, internalformat, width, border, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexImage2D)( GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexImage2D]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, border, imageSize, data ); - ENTER_GL(); func_glCompressedTexImage2D( target, level, internalformat, width, height, border, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexImage2DARB( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexImage2DARB)( GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexImage2DARB]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, border, imageSize, data ); - ENTER_GL(); func_glCompressedTexImage2DARB( target, level, internalformat, width, height, border, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexImage3D)( GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexImage3D]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, depth, border, imageSize, data ); - ENTER_GL(); func_glCompressedTexImage3D( target, level, internalformat, width, height, depth, border, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexImage3DARB( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexImage3DARB)( GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexImage3DARB]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, depth, border, imageSize, data ); - ENTER_GL(); func_glCompressedTexImage3DARB( target, level, internalformat, width, height, depth, border, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexSubImage1D)( GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexSubImage1D]; TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, imageSize, data ); - ENTER_GL(); func_glCompressedTexSubImage1D( target, level, xoffset, width, format, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexSubImage1DARB( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexSubImage1DARB)( GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexSubImage1DARB]; TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, imageSize, data ); - ENTER_GL(); func_glCompressedTexSubImage1DARB( target, level, xoffset, width, format, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexSubImage2D)( GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexSubImage2D]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, width, height, format, imageSize, data ); - ENTER_GL(); func_glCompressedTexSubImage2D( target, level, xoffset, yoffset, width, height, format, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexSubImage2DARB( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexSubImage2DARB)( GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexSubImage2DARB]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, width, height, format, imageSize, data ); - ENTER_GL(); func_glCompressedTexSubImage2DARB( target, level, xoffset, yoffset, width, height, format, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexSubImage3D)( GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexSubImage3D]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data ); - ENTER_GL(); func_glCompressedTexSubImage3D( target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTexSubImage3DARB( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLvoid* data ) { void (*func_glCompressedTexSubImage3DARB)( GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTexSubImage3DARB]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data ); - ENTER_GL(); func_glCompressedTexSubImage3DARB( target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTextureImage1DEXT( GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedTextureImage1DEXT)( GLuint, GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTextureImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, internalformat, width, border, imageSize, bits ); - ENTER_GL(); func_glCompressedTextureImage1DEXT( texture, target, level, internalformat, width, border, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTextureImage2DEXT( GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedTextureImage2DEXT)( GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTextureImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, internalformat, width, height, border, imageSize, bits ); - ENTER_GL(); func_glCompressedTextureImage2DEXT( texture, target, level, internalformat, width, height, border, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTextureImage3DEXT( GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedTextureImage3DEXT)( GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTextureImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, internalformat, width, height, depth, border, imageSize, bits ); - ENTER_GL(); func_glCompressedTextureImage3DEXT( texture, target, level, internalformat, width, height, depth, border, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTextureSubImage1DEXT( GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedTextureSubImage1DEXT)( GLuint, GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTextureSubImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, xoffset, width, format, imageSize, bits ); - ENTER_GL(); func_glCompressedTextureSubImage1DEXT( texture, target, level, xoffset, width, format, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTextureSubImage2DEXT( GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedTextureSubImage2DEXT)( GLuint, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTextureSubImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, xoffset, yoffset, width, height, format, imageSize, bits ); - ENTER_GL(); func_glCompressedTextureSubImage2DEXT( texture, target, level, xoffset, yoffset, width, height, format, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glCompressedTextureSubImage3DEXT( GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLvoid* bits ) { void (*func_glCompressedTextureSubImage3DEXT)( GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glCompressedTextureSubImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits ); - ENTER_GL(); func_glCompressedTextureSubImage3DEXT( texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionFilter1D( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* image ) { void (*func_glConvolutionFilter1D)( GLenum, GLenum, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glConvolutionFilter1D]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, image ); - ENTER_GL(); func_glConvolutionFilter1D( target, internalformat, width, format, type, image ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionFilter1DEXT( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* image ) { void (*func_glConvolutionFilter1DEXT)( GLenum, GLenum, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glConvolutionFilter1DEXT]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, image ); - ENTER_GL(); func_glConvolutionFilter1DEXT( target, internalformat, width, format, type, image ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* image ) { void (*func_glConvolutionFilter2D)( GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glConvolutionFilter2D]; TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, internalformat, width, height, format, type, image ); - ENTER_GL(); func_glConvolutionFilter2D( target, internalformat, width, height, format, type, image ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionFilter2DEXT( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* image ) { void (*func_glConvolutionFilter2DEXT)( GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glConvolutionFilter2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, internalformat, width, height, format, type, image ); - ENTER_GL(); func_glConvolutionFilter2DEXT( target, internalformat, width, height, format, type, image ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionParameterf( GLenum target, GLenum pname, GLfloat params ) { void (*func_glConvolutionParameterf)( GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glConvolutionParameterf]; TRACE("(%d, %d, %f)\n", target, pname, params ); - ENTER_GL(); func_glConvolutionParameterf( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionParameterfEXT( GLenum target, GLenum pname, GLfloat params ) { void (*func_glConvolutionParameterfEXT)( GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glConvolutionParameterfEXT]; TRACE("(%d, %d, %f)\n", target, pname, params ); - ENTER_GL(); func_glConvolutionParameterfEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glConvolutionParameterfv)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glConvolutionParameterfv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glConvolutionParameterfv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionParameterfvEXT( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glConvolutionParameterfvEXT)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glConvolutionParameterfvEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glConvolutionParameterfvEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionParameteri( GLenum target, GLenum pname, GLint params ) { void (*func_glConvolutionParameteri)( GLenum, GLenum, GLint ) = extension_funcs[EXT_glConvolutionParameteri]; TRACE("(%d, %d, %d)\n", target, pname, params ); - ENTER_GL(); func_glConvolutionParameteri( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionParameteriEXT( GLenum target, GLenum pname, GLint params ) { void (*func_glConvolutionParameteriEXT)( GLenum, GLenum, GLint ) = extension_funcs[EXT_glConvolutionParameteriEXT]; TRACE("(%d, %d, %d)\n", target, pname, params ); - ENTER_GL(); func_glConvolutionParameteriEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionParameteriv( GLenum target, GLenum pname, GLint* params ) { void (*func_glConvolutionParameteriv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glConvolutionParameteriv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glConvolutionParameteriv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glConvolutionParameterivEXT( GLenum target, GLenum pname, GLint* params ) { void (*func_glConvolutionParameterivEXT)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glConvolutionParameterivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glConvolutionParameterivEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glCopyBufferSubData( GLenum readTarget, GLenum writeTarget, INT_PTR readOffset, INT_PTR writeOffset, INT_PTR size ) { void (*func_glCopyBufferSubData)( GLenum, GLenum, INT_PTR, INT_PTR, INT_PTR ) = extension_funcs[EXT_glCopyBufferSubData]; TRACE("(%d, %d, %ld, %ld, %ld)\n", readTarget, writeTarget, readOffset, writeOffset, size ); - ENTER_GL(); func_glCopyBufferSubData( readTarget, writeTarget, readOffset, writeOffset, size ); - LEAVE_GL(); } static void WINAPI wine_glCopyColorSubTable( GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ) { void (*func_glCopyColorSubTable)( GLenum, GLsizei, GLint, GLint, GLsizei ) = extension_funcs[EXT_glCopyColorSubTable]; TRACE("(%d, %d, %d, %d, %d)\n", target, start, x, y, width ); - ENTER_GL(); func_glCopyColorSubTable( target, start, x, y, width ); - LEAVE_GL(); } static void WINAPI wine_glCopyColorSubTableEXT( GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ) { void (*func_glCopyColorSubTableEXT)( GLenum, GLsizei, GLint, GLint, GLsizei ) = extension_funcs[EXT_glCopyColorSubTableEXT]; TRACE("(%d, %d, %d, %d, %d)\n", target, start, x, y, width ); - ENTER_GL(); func_glCopyColorSubTableEXT( target, start, x, y, width ); - LEAVE_GL(); } static void WINAPI wine_glCopyColorTable( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) { void (*func_glCopyColorTable)( GLenum, GLenum, GLint, GLint, GLsizei ) = extension_funcs[EXT_glCopyColorTable]; TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width ); - ENTER_GL(); func_glCopyColorTable( target, internalformat, x, y, width ); - LEAVE_GL(); } static void WINAPI wine_glCopyColorTableSGI( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) { void (*func_glCopyColorTableSGI)( GLenum, GLenum, GLint, GLint, GLsizei ) = extension_funcs[EXT_glCopyColorTableSGI]; TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width ); - ENTER_GL(); func_glCopyColorTableSGI( target, internalformat, x, y, width ); - LEAVE_GL(); } static void WINAPI wine_glCopyConvolutionFilter1D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) { void (*func_glCopyConvolutionFilter1D)( GLenum, GLenum, GLint, GLint, GLsizei ) = extension_funcs[EXT_glCopyConvolutionFilter1D]; TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width ); - ENTER_GL(); func_glCopyConvolutionFilter1D( target, internalformat, x, y, width ); - LEAVE_GL(); } static void WINAPI wine_glCopyConvolutionFilter1DEXT( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) { void (*func_glCopyConvolutionFilter1DEXT)( GLenum, GLenum, GLint, GLint, GLsizei ) = extension_funcs[EXT_glCopyConvolutionFilter1DEXT]; TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width ); - ENTER_GL(); func_glCopyConvolutionFilter1DEXT( target, internalformat, x, y, width ); - LEAVE_GL(); } static void WINAPI wine_glCopyConvolutionFilter2D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glCopyConvolutionFilter2D)( GLenum, GLenum, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyConvolutionFilter2D]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, internalformat, x, y, width, height ); - ENTER_GL(); func_glCopyConvolutionFilter2D( target, internalformat, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glCopyConvolutionFilter2DEXT( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glCopyConvolutionFilter2DEXT)( GLenum, GLenum, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyConvolutionFilter2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, internalformat, x, y, width, height ); - ENTER_GL(); func_glCopyConvolutionFilter2DEXT( target, internalformat, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glCopyImageSubDataNV( GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth ) { void (*func_glCopyImageSubDataNV)( GLuint, GLenum, GLint, GLint, GLint, GLint, GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyImageSubDataNV]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth ); - ENTER_GL(); func_glCopyImageSubDataNV( srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth ); - LEAVE_GL(); } static void WINAPI wine_glCopyMultiTexImage1DEXT( GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ) { void (*func_glCopyMultiTexImage1DEXT)( GLenum, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint ) = extension_funcs[EXT_glCopyMultiTexImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", texunit, target, level, internalformat, x, y, width, border ); - ENTER_GL(); func_glCopyMultiTexImage1DEXT( texunit, target, level, internalformat, x, y, width, border ); - LEAVE_GL(); } static void WINAPI wine_glCopyMultiTexImage2DEXT( GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) { void (*func_glCopyMultiTexImage2DEXT)( GLenum, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint ) = extension_funcs[EXT_glCopyMultiTexImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", texunit, target, level, internalformat, x, y, width, height, border ); - ENTER_GL(); func_glCopyMultiTexImage2DEXT( texunit, target, level, internalformat, x, y, width, height, border ); - LEAVE_GL(); } static void WINAPI wine_glCopyMultiTexSubImage1DEXT( GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ) { void (*func_glCopyMultiTexSubImage1DEXT)( GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei ) = extension_funcs[EXT_glCopyMultiTexSubImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", texunit, target, level, xoffset, x, y, width ); - ENTER_GL(); func_glCopyMultiTexSubImage1DEXT( texunit, target, level, xoffset, x, y, width ); - LEAVE_GL(); } static void WINAPI wine_glCopyMultiTexSubImage2DEXT( GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glCopyMultiTexSubImage2DEXT)( GLenum, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyMultiTexSubImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", texunit, target, level, xoffset, yoffset, x, y, width, height ); - ENTER_GL(); func_glCopyMultiTexSubImage2DEXT( texunit, target, level, xoffset, yoffset, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glCopyMultiTexSubImage3DEXT( GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glCopyMultiTexSubImage3DEXT)( GLenum, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyMultiTexSubImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", texunit, target, level, xoffset, yoffset, zoffset, x, y, width, height ); - ENTER_GL(); func_glCopyMultiTexSubImage3DEXT( texunit, target, level, xoffset, yoffset, zoffset, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glCopyPathNV( GLuint resultPath, GLuint srcPath ) { void (*func_glCopyPathNV)( GLuint, GLuint ) = extension_funcs[EXT_glCopyPathNV]; TRACE("(%d, %d)\n", resultPath, srcPath ); - ENTER_GL(); func_glCopyPathNV( resultPath, srcPath ); - LEAVE_GL(); } static void WINAPI wine_glCopyTexImage1DEXT( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ) { void (*func_glCopyTexImage1DEXT)( GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint ) = extension_funcs[EXT_glCopyTexImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, border ); - ENTER_GL(); func_glCopyTexImage1DEXT( target, level, internalformat, x, y, width, border ); - LEAVE_GL(); } static void WINAPI wine_glCopyTexImage2DEXT( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) { void (*func_glCopyTexImage2DEXT)( GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint ) = extension_funcs[EXT_glCopyTexImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, height, border ); - ENTER_GL(); func_glCopyTexImage2DEXT( target, level, internalformat, x, y, width, height, border ); - LEAVE_GL(); } static void WINAPI wine_glCopyTexSubImage1DEXT( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ) { void (*func_glCopyTexSubImage1DEXT)( GLenum, GLint, GLint, GLint, GLint, GLsizei ) = extension_funcs[EXT_glCopyTexSubImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, level, xoffset, x, y, width ); - ENTER_GL(); func_glCopyTexSubImage1DEXT( target, level, xoffset, x, y, width ); - LEAVE_GL(); } static void WINAPI wine_glCopyTexSubImage2DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glCopyTexSubImage2DEXT)( GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyTexSubImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, x, y, width, height ); - ENTER_GL(); func_glCopyTexSubImage2DEXT( target, level, xoffset, yoffset, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glCopyTexSubImage3D)( GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyTexSubImage3D]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, zoffset, x, y, width, height ); - ENTER_GL(); func_glCopyTexSubImage3D( target, level, xoffset, yoffset, zoffset, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glCopyTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glCopyTexSubImage3DEXT)( GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyTexSubImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, zoffset, x, y, width, height ); - ENTER_GL(); func_glCopyTexSubImage3DEXT( target, level, xoffset, yoffset, zoffset, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glCopyTextureImage1DEXT( GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ) { void (*func_glCopyTextureImage1DEXT)( GLuint, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint ) = extension_funcs[EXT_glCopyTextureImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", texture, target, level, internalformat, x, y, width, border ); - ENTER_GL(); func_glCopyTextureImage1DEXT( texture, target, level, internalformat, x, y, width, border ); - LEAVE_GL(); } static void WINAPI wine_glCopyTextureImage2DEXT( GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) { void (*func_glCopyTextureImage2DEXT)( GLuint, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint ) = extension_funcs[EXT_glCopyTextureImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", texture, target, level, internalformat, x, y, width, height, border ); - ENTER_GL(); func_glCopyTextureImage2DEXT( texture, target, level, internalformat, x, y, width, height, border ); - LEAVE_GL(); } static void WINAPI wine_glCopyTextureSubImage1DEXT( GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ) { void (*func_glCopyTextureSubImage1DEXT)( GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei ) = extension_funcs[EXT_glCopyTextureSubImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", texture, target, level, xoffset, x, y, width ); - ENTER_GL(); func_glCopyTextureSubImage1DEXT( texture, target, level, xoffset, x, y, width ); - LEAVE_GL(); } static void WINAPI wine_glCopyTextureSubImage2DEXT( GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glCopyTextureSubImage2DEXT)( GLuint, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyTextureSubImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", texture, target, level, xoffset, yoffset, x, y, width, height ); - ENTER_GL(); func_glCopyTextureSubImage2DEXT( texture, target, level, xoffset, yoffset, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glCopyTextureSubImage3DEXT( GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glCopyTextureSubImage3DEXT)( GLuint, GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glCopyTextureSubImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", texture, target, level, xoffset, yoffset, zoffset, x, y, width, height ); - ENTER_GL(); func_glCopyTextureSubImage3DEXT( texture, target, level, xoffset, yoffset, zoffset, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glCoverFillPathInstancedNV( GLsizei numPaths, GLenum pathNameType, GLvoid* paths, GLuint pathBase, GLenum coverMode, GLenum transformType, GLfloat* transformValues ) { void (*func_glCoverFillPathInstancedNV)( GLsizei, GLenum, GLvoid*, GLuint, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glCoverFillPathInstancedNV]; TRACE("(%d, %d, %p, %d, %d, %d, %p)\n", numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues ); - ENTER_GL(); func_glCoverFillPathInstancedNV( numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues ); - LEAVE_GL(); } static void WINAPI wine_glCoverFillPathNV( GLuint path, GLenum coverMode ) { void (*func_glCoverFillPathNV)( GLuint, GLenum ) = extension_funcs[EXT_glCoverFillPathNV]; TRACE("(%d, %d)\n", path, coverMode ); - ENTER_GL(); func_glCoverFillPathNV( path, coverMode ); - LEAVE_GL(); } static void WINAPI wine_glCoverStrokePathInstancedNV( GLsizei numPaths, GLenum pathNameType, GLvoid* paths, GLuint pathBase, GLenum coverMode, GLenum transformType, GLfloat* transformValues ) { void (*func_glCoverStrokePathInstancedNV)( GLsizei, GLenum, GLvoid*, GLuint, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glCoverStrokePathInstancedNV]; TRACE("(%d, %d, %p, %d, %d, %d, %p)\n", numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues ); - ENTER_GL(); func_glCoverStrokePathInstancedNV( numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues ); - LEAVE_GL(); } static void WINAPI wine_glCoverStrokePathNV( GLuint path, GLenum coverMode ) { void (*func_glCoverStrokePathNV)( GLuint, GLenum ) = extension_funcs[EXT_glCoverStrokePathNV]; TRACE("(%d, %d)\n", path, coverMode ); - ENTER_GL(); func_glCoverStrokePathNV( path, coverMode ); - LEAVE_GL(); } static GLuint WINAPI wine_glCreateProgram( void ) { - GLuint ret_value; GLuint (*func_glCreateProgram)( void ) = extension_funcs[EXT_glCreateProgram]; TRACE("()\n"); - ENTER_GL(); - ret_value = func_glCreateProgram( ); - LEAVE_GL(); - return ret_value; + return func_glCreateProgram( ); } static unsigned int WINAPI wine_glCreateProgramObjectARB( void ) { - unsigned int ret_value; unsigned int (*func_glCreateProgramObjectARB)( void ) = extension_funcs[EXT_glCreateProgramObjectARB]; TRACE("()\n"); - ENTER_GL(); - ret_value = func_glCreateProgramObjectARB( ); - LEAVE_GL(); - return ret_value; + return func_glCreateProgramObjectARB( ); } static GLuint WINAPI wine_glCreateShader( GLenum type ) { - GLuint ret_value; GLuint (*func_glCreateShader)( GLenum ) = extension_funcs[EXT_glCreateShader]; TRACE("(%d)\n", type ); - ENTER_GL(); - ret_value = func_glCreateShader( type ); - LEAVE_GL(); - return ret_value; + return func_glCreateShader( type ); } static unsigned int WINAPI wine_glCreateShaderObjectARB( GLenum shaderType ) { - unsigned int ret_value; unsigned int (*func_glCreateShaderObjectARB)( GLenum ) = extension_funcs[EXT_glCreateShaderObjectARB]; TRACE("(%d)\n", shaderType ); - ENTER_GL(); - ret_value = func_glCreateShaderObjectARB( shaderType ); - LEAVE_GL(); - return ret_value; + return func_glCreateShaderObjectARB( shaderType ); } static GLuint WINAPI wine_glCreateShaderProgramEXT( GLenum type, char* string ) { - GLuint ret_value; GLuint (*func_glCreateShaderProgramEXT)( GLenum, char* ) = extension_funcs[EXT_glCreateShaderProgramEXT]; TRACE("(%d, %p)\n", type, string ); - ENTER_GL(); - ret_value = func_glCreateShaderProgramEXT( type, string ); - LEAVE_GL(); - return ret_value; + return func_glCreateShaderProgramEXT( type, string ); } static GLuint WINAPI wine_glCreateShaderProgramv( GLenum type, GLsizei count, char* const* strings ) { - GLuint ret_value; GLuint (*func_glCreateShaderProgramv)( GLenum, GLsizei, char* const* ) = extension_funcs[EXT_glCreateShaderProgramv]; TRACE("(%d, %d, %p)\n", type, count, strings ); - ENTER_GL(); - ret_value = func_glCreateShaderProgramv( type, count, strings ); - LEAVE_GL(); - return ret_value; + return func_glCreateShaderProgramv( type, count, strings ); } static GLvoid* WINAPI wine_glCreateSyncFromCLeventARB( void * context, void * event, GLbitfield flags ) { - GLvoid* ret_value; GLvoid* (*func_glCreateSyncFromCLeventARB)( void *, void *, GLbitfield ) = extension_funcs[EXT_glCreateSyncFromCLeventARB]; TRACE("(%p, %p, %d)\n", context, event, flags ); - ENTER_GL(); - ret_value = func_glCreateSyncFromCLeventARB( context, event, flags ); - LEAVE_GL(); - return ret_value; + return func_glCreateSyncFromCLeventARB( context, event, flags ); } static void WINAPI wine_glCullParameterdvEXT( GLenum pname, GLdouble* params ) { void (*func_glCullParameterdvEXT)( GLenum, GLdouble* ) = extension_funcs[EXT_glCullParameterdvEXT]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glCullParameterdvEXT( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glCullParameterfvEXT( GLenum pname, GLfloat* params ) { void (*func_glCullParameterfvEXT)( GLenum, GLfloat* ) = extension_funcs[EXT_glCullParameterfvEXT]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glCullParameterfvEXT( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glCurrentPaletteMatrixARB( GLint index ) { void (*func_glCurrentPaletteMatrixARB)( GLint ) = extension_funcs[EXT_glCurrentPaletteMatrixARB]; TRACE("(%d)\n", index ); - ENTER_GL(); func_glCurrentPaletteMatrixARB( index ); - LEAVE_GL(); } static void WINAPI wine_glDebugMessageCallbackAMD( void * callback, GLvoid* userParam ) { void (*func_glDebugMessageCallbackAMD)( void *, GLvoid* ) = extension_funcs[EXT_glDebugMessageCallbackAMD]; TRACE("(%p, %p)\n", callback, userParam ); - ENTER_GL(); func_glDebugMessageCallbackAMD( callback, userParam ); - LEAVE_GL(); } static void WINAPI wine_glDebugMessageCallbackARB( void * callback, GLvoid* userParam ) { void (*func_glDebugMessageCallbackARB)( void *, GLvoid* ) = extension_funcs[EXT_glDebugMessageCallbackARB]; TRACE("(%p, %p)\n", callback, userParam ); - ENTER_GL(); func_glDebugMessageCallbackARB( callback, userParam ); - LEAVE_GL(); } static void WINAPI wine_glDebugMessageControlARB( GLenum source, GLenum type, GLenum severity, GLsizei count, GLuint* ids, GLboolean enabled ) { void (*func_glDebugMessageControlARB)( GLenum, GLenum, GLenum, GLsizei, GLuint*, GLboolean ) = extension_funcs[EXT_glDebugMessageControlARB]; TRACE("(%d, %d, %d, %d, %p, %d)\n", source, type, severity, count, ids, enabled ); - ENTER_GL(); func_glDebugMessageControlARB( source, type, severity, count, ids, enabled ); - LEAVE_GL(); } static void WINAPI wine_glDebugMessageEnableAMD( GLenum category, GLenum severity, GLsizei count, GLuint* ids, GLboolean enabled ) { void (*func_glDebugMessageEnableAMD)( GLenum, GLenum, GLsizei, GLuint*, GLboolean ) = extension_funcs[EXT_glDebugMessageEnableAMD]; TRACE("(%d, %d, %d, %p, %d)\n", category, severity, count, ids, enabled ); - ENTER_GL(); func_glDebugMessageEnableAMD( category, severity, count, ids, enabled ); - LEAVE_GL(); } static void WINAPI wine_glDebugMessageInsertAMD( GLenum category, GLenum severity, GLuint id, GLsizei length, char* buf ) { void (*func_glDebugMessageInsertAMD)( GLenum, GLenum, GLuint, GLsizei, char* ) = extension_funcs[EXT_glDebugMessageInsertAMD]; TRACE("(%d, %d, %d, %d, %p)\n", category, severity, id, length, buf ); - ENTER_GL(); func_glDebugMessageInsertAMD( category, severity, id, length, buf ); - LEAVE_GL(); } static void WINAPI wine_glDebugMessageInsertARB( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, char* buf ) { void (*func_glDebugMessageInsertARB)( GLenum, GLenum, GLuint, GLenum, GLsizei, char* ) = extension_funcs[EXT_glDebugMessageInsertARB]; TRACE("(%d, %d, %d, %d, %d, %p)\n", source, type, id, severity, length, buf ); - ENTER_GL(); func_glDebugMessageInsertARB( source, type, id, severity, length, buf ); - LEAVE_GL(); } static void WINAPI wine_glDeformSGIX( GLbitfield mask ) { void (*func_glDeformSGIX)( GLbitfield ) = extension_funcs[EXT_glDeformSGIX]; TRACE("(%d)\n", mask ); - ENTER_GL(); func_glDeformSGIX( mask ); - LEAVE_GL(); } static void WINAPI wine_glDeformationMap3dSGIX( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, GLdouble* points ) { void (*func_glDeformationMap3dSGIX)( GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble* ) = extension_funcs[EXT_glDeformationMap3dSGIX]; TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points ); - ENTER_GL(); func_glDeformationMap3dSGIX( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points ); - LEAVE_GL(); } static void WINAPI wine_glDeformationMap3fSGIX( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, GLfloat* points ) { void (*func_glDeformationMap3fSGIX)( GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat* ) = extension_funcs[EXT_glDeformationMap3fSGIX]; TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points ); - ENTER_GL(); func_glDeformationMap3fSGIX( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points ); - LEAVE_GL(); } static void WINAPI wine_glDeleteAsyncMarkersSGIX( GLuint marker, GLsizei range ) { void (*func_glDeleteAsyncMarkersSGIX)( GLuint, GLsizei ) = extension_funcs[EXT_glDeleteAsyncMarkersSGIX]; TRACE("(%d, %d)\n", marker, range ); - ENTER_GL(); func_glDeleteAsyncMarkersSGIX( marker, range ); - LEAVE_GL(); } static void WINAPI wine_glDeleteBufferRegion( GLenum region ) { void (*func_glDeleteBufferRegion)( GLenum ) = extension_funcs[EXT_glDeleteBufferRegion]; TRACE("(%d)\n", region ); - ENTER_GL(); func_glDeleteBufferRegion( region ); - LEAVE_GL(); } static void WINAPI wine_glDeleteBuffers( GLsizei n, GLuint* buffers ) { void (*func_glDeleteBuffers)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteBuffers]; TRACE("(%d, %p)\n", n, buffers ); - ENTER_GL(); func_glDeleteBuffers( n, buffers ); - LEAVE_GL(); } static void WINAPI wine_glDeleteBuffersARB( GLsizei n, GLuint* buffers ) { void (*func_glDeleteBuffersARB)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteBuffersARB]; TRACE("(%d, %p)\n", n, buffers ); - ENTER_GL(); func_glDeleteBuffersARB( n, buffers ); - LEAVE_GL(); } static void WINAPI wine_glDeleteFencesAPPLE( GLsizei n, GLuint* fences ) { void (*func_glDeleteFencesAPPLE)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteFencesAPPLE]; TRACE("(%d, %p)\n", n, fences ); - ENTER_GL(); func_glDeleteFencesAPPLE( n, fences ); - LEAVE_GL(); } static void WINAPI wine_glDeleteFencesNV( GLsizei n, GLuint* fences ) { void (*func_glDeleteFencesNV)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteFencesNV]; TRACE("(%d, %p)\n", n, fences ); - ENTER_GL(); func_glDeleteFencesNV( n, fences ); - LEAVE_GL(); } static void WINAPI wine_glDeleteFragmentShaderATI( GLuint id ) { void (*func_glDeleteFragmentShaderATI)( GLuint ) = extension_funcs[EXT_glDeleteFragmentShaderATI]; TRACE("(%d)\n", id ); - ENTER_GL(); func_glDeleteFragmentShaderATI( id ); - LEAVE_GL(); } static void WINAPI wine_glDeleteFramebuffers( GLsizei n, GLuint* framebuffers ) { void (*func_glDeleteFramebuffers)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteFramebuffers]; TRACE("(%d, %p)\n", n, framebuffers ); - ENTER_GL(); func_glDeleteFramebuffers( n, framebuffers ); - LEAVE_GL(); } static void WINAPI wine_glDeleteFramebuffersEXT( GLsizei n, GLuint* framebuffers ) { void (*func_glDeleteFramebuffersEXT)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteFramebuffersEXT]; TRACE("(%d, %p)\n", n, framebuffers ); - ENTER_GL(); func_glDeleteFramebuffersEXT( n, framebuffers ); - LEAVE_GL(); } static void WINAPI wine_glDeleteNamedStringARB( GLint namelen, char* name ) { void (*func_glDeleteNamedStringARB)( GLint, char* ) = extension_funcs[EXT_glDeleteNamedStringARB]; TRACE("(%d, %p)\n", namelen, name ); - ENTER_GL(); func_glDeleteNamedStringARB( namelen, name ); - LEAVE_GL(); } static void WINAPI wine_glDeleteNamesAMD( GLenum identifier, GLuint num, GLuint* names ) { void (*func_glDeleteNamesAMD)( GLenum, GLuint, GLuint* ) = extension_funcs[EXT_glDeleteNamesAMD]; TRACE("(%d, %d, %p)\n", identifier, num, names ); - ENTER_GL(); func_glDeleteNamesAMD( identifier, num, names ); - LEAVE_GL(); } static void WINAPI wine_glDeleteObjectARB( unsigned int obj ) { void (*func_glDeleteObjectARB)( unsigned int ) = extension_funcs[EXT_glDeleteObjectARB]; TRACE("(%d)\n", obj ); - ENTER_GL(); func_glDeleteObjectARB( obj ); - LEAVE_GL(); } static void WINAPI wine_glDeleteObjectBufferATI( GLuint buffer ) { void (*func_glDeleteObjectBufferATI)( GLuint ) = extension_funcs[EXT_glDeleteObjectBufferATI]; TRACE("(%d)\n", buffer ); - ENTER_GL(); func_glDeleteObjectBufferATI( buffer ); - LEAVE_GL(); } static void WINAPI wine_glDeleteOcclusionQueriesNV( GLsizei n, GLuint* ids ) { void (*func_glDeleteOcclusionQueriesNV)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteOcclusionQueriesNV]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glDeleteOcclusionQueriesNV( n, ids ); - LEAVE_GL(); } static void WINAPI wine_glDeletePathsNV( GLuint path, GLsizei range ) { void (*func_glDeletePathsNV)( GLuint, GLsizei ) = extension_funcs[EXT_glDeletePathsNV]; TRACE("(%d, %d)\n", path, range ); - ENTER_GL(); func_glDeletePathsNV( path, range ); - LEAVE_GL(); } static void WINAPI wine_glDeletePerfMonitorsAMD( GLsizei n, GLuint* monitors ) { void (*func_glDeletePerfMonitorsAMD)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeletePerfMonitorsAMD]; TRACE("(%d, %p)\n", n, monitors ); - ENTER_GL(); func_glDeletePerfMonitorsAMD( n, monitors ); - LEAVE_GL(); } static void WINAPI wine_glDeleteProgram( GLuint program ) { void (*func_glDeleteProgram)( GLuint ) = extension_funcs[EXT_glDeleteProgram]; TRACE("(%d)\n", program ); - ENTER_GL(); func_glDeleteProgram( program ); - LEAVE_GL(); } static void WINAPI wine_glDeleteProgramPipelines( GLsizei n, GLuint* pipelines ) { void (*func_glDeleteProgramPipelines)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteProgramPipelines]; TRACE("(%d, %p)\n", n, pipelines ); - ENTER_GL(); func_glDeleteProgramPipelines( n, pipelines ); - LEAVE_GL(); } static void WINAPI wine_glDeleteProgramsARB( GLsizei n, GLuint* programs ) { void (*func_glDeleteProgramsARB)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteProgramsARB]; TRACE("(%d, %p)\n", n, programs ); - ENTER_GL(); func_glDeleteProgramsARB( n, programs ); - LEAVE_GL(); } static void WINAPI wine_glDeleteProgramsNV( GLsizei n, GLuint* programs ) { void (*func_glDeleteProgramsNV)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteProgramsNV]; TRACE("(%d, %p)\n", n, programs ); - ENTER_GL(); func_glDeleteProgramsNV( n, programs ); - LEAVE_GL(); } static void WINAPI wine_glDeleteQueries( GLsizei n, GLuint* ids ) { void (*func_glDeleteQueries)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteQueries]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glDeleteQueries( n, ids ); - LEAVE_GL(); } static void WINAPI wine_glDeleteQueriesARB( GLsizei n, GLuint* ids ) { void (*func_glDeleteQueriesARB)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteQueriesARB]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glDeleteQueriesARB( n, ids ); - LEAVE_GL(); } static void WINAPI wine_glDeleteRenderbuffers( GLsizei n, GLuint* renderbuffers ) { void (*func_glDeleteRenderbuffers)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteRenderbuffers]; TRACE("(%d, %p)\n", n, renderbuffers ); - ENTER_GL(); func_glDeleteRenderbuffers( n, renderbuffers ); - LEAVE_GL(); } static void WINAPI wine_glDeleteRenderbuffersEXT( GLsizei n, GLuint* renderbuffers ) { void (*func_glDeleteRenderbuffersEXT)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteRenderbuffersEXT]; TRACE("(%d, %p)\n", n, renderbuffers ); - ENTER_GL(); func_glDeleteRenderbuffersEXT( n, renderbuffers ); - LEAVE_GL(); } static void WINAPI wine_glDeleteSamplers( GLsizei count, GLuint* samplers ) { void (*func_glDeleteSamplers)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteSamplers]; TRACE("(%d, %p)\n", count, samplers ); - ENTER_GL(); func_glDeleteSamplers( count, samplers ); - LEAVE_GL(); } static void WINAPI wine_glDeleteShader( GLuint shader ) { void (*func_glDeleteShader)( GLuint ) = extension_funcs[EXT_glDeleteShader]; TRACE("(%d)\n", shader ); - ENTER_GL(); func_glDeleteShader( shader ); - LEAVE_GL(); } static void WINAPI wine_glDeleteSync( GLvoid* sync ) { void (*func_glDeleteSync)( GLvoid* ) = extension_funcs[EXT_glDeleteSync]; TRACE("(%p)\n", sync ); - ENTER_GL(); func_glDeleteSync( sync ); - LEAVE_GL(); } static void WINAPI wine_glDeleteTexturesEXT( GLsizei n, GLuint* textures ) { void (*func_glDeleteTexturesEXT)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteTexturesEXT]; TRACE("(%d, %p)\n", n, textures ); - ENTER_GL(); func_glDeleteTexturesEXT( n, textures ); - LEAVE_GL(); } static void WINAPI wine_glDeleteTransformFeedbacks( GLsizei n, GLuint* ids ) { void (*func_glDeleteTransformFeedbacks)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteTransformFeedbacks]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glDeleteTransformFeedbacks( n, ids ); - LEAVE_GL(); } static void WINAPI wine_glDeleteTransformFeedbacksNV( GLsizei n, GLuint* ids ) { void (*func_glDeleteTransformFeedbacksNV)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteTransformFeedbacksNV]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glDeleteTransformFeedbacksNV( n, ids ); - LEAVE_GL(); } static void WINAPI wine_glDeleteVertexArrays( GLsizei n, GLuint* arrays ) { void (*func_glDeleteVertexArrays)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteVertexArrays]; TRACE("(%d, %p)\n", n, arrays ); - ENTER_GL(); func_glDeleteVertexArrays( n, arrays ); - LEAVE_GL(); } static void WINAPI wine_glDeleteVertexArraysAPPLE( GLsizei n, GLuint* arrays ) { void (*func_glDeleteVertexArraysAPPLE)( GLsizei, GLuint* ) = extension_funcs[EXT_glDeleteVertexArraysAPPLE]; TRACE("(%d, %p)\n", n, arrays ); - ENTER_GL(); func_glDeleteVertexArraysAPPLE( n, arrays ); - LEAVE_GL(); } static void WINAPI wine_glDeleteVertexShaderEXT( GLuint id ) { void (*func_glDeleteVertexShaderEXT)( GLuint ) = extension_funcs[EXT_glDeleteVertexShaderEXT]; TRACE("(%d)\n", id ); - ENTER_GL(); func_glDeleteVertexShaderEXT( id ); - LEAVE_GL(); } static void WINAPI wine_glDepthBoundsEXT( GLclampd zmin, GLclampd zmax ) { void (*func_glDepthBoundsEXT)( GLclampd, GLclampd ) = extension_funcs[EXT_glDepthBoundsEXT]; TRACE("(%f, %f)\n", zmin, zmax ); - ENTER_GL(); func_glDepthBoundsEXT( zmin, zmax ); - LEAVE_GL(); } static void WINAPI wine_glDepthBoundsdNV( GLdouble zmin, GLdouble zmax ) { void (*func_glDepthBoundsdNV)( GLdouble, GLdouble ) = extension_funcs[EXT_glDepthBoundsdNV]; TRACE("(%f, %f)\n", zmin, zmax ); - ENTER_GL(); func_glDepthBoundsdNV( zmin, zmax ); - LEAVE_GL(); } static void WINAPI wine_glDepthRangeArrayv( GLuint first, GLsizei count, GLdouble* v ) { void (*func_glDepthRangeArrayv)( GLuint, GLsizei, GLdouble* ) = extension_funcs[EXT_glDepthRangeArrayv]; TRACE("(%d, %d, %p)\n", first, count, v ); - ENTER_GL(); func_glDepthRangeArrayv( first, count, v ); - LEAVE_GL(); } static void WINAPI wine_glDepthRangeIndexed( GLuint index, GLdouble n, GLdouble f ) { void (*func_glDepthRangeIndexed)( GLuint, GLdouble, GLdouble ) = extension_funcs[EXT_glDepthRangeIndexed]; TRACE("(%d, %f, %f)\n", index, n, f ); - ENTER_GL(); func_glDepthRangeIndexed( index, n, f ); - LEAVE_GL(); } static void WINAPI wine_glDepthRangedNV( GLdouble zNear, GLdouble zFar ) { void (*func_glDepthRangedNV)( GLdouble, GLdouble ) = extension_funcs[EXT_glDepthRangedNV]; TRACE("(%f, %f)\n", zNear, zFar ); - ENTER_GL(); func_glDepthRangedNV( zNear, zFar ); - LEAVE_GL(); } static void WINAPI wine_glDepthRangef( GLfloat n, GLfloat f ) { void (*func_glDepthRangef)( GLfloat, GLfloat ) = extension_funcs[EXT_glDepthRangef]; TRACE("(%f, %f)\n", n, f ); - ENTER_GL(); func_glDepthRangef( n, f ); - LEAVE_GL(); } static void WINAPI wine_glDetachObjectARB( unsigned int containerObj, unsigned int attachedObj ) { void (*func_glDetachObjectARB)( unsigned int, unsigned int ) = extension_funcs[EXT_glDetachObjectARB]; TRACE("(%d, %d)\n", containerObj, attachedObj ); - ENTER_GL(); func_glDetachObjectARB( containerObj, attachedObj ); - LEAVE_GL(); } static void WINAPI wine_glDetachShader( GLuint program, GLuint shader ) { void (*func_glDetachShader)( GLuint, GLuint ) = extension_funcs[EXT_glDetachShader]; TRACE("(%d, %d)\n", program, shader ); - ENTER_GL(); func_glDetachShader( program, shader ); - LEAVE_GL(); } static void WINAPI wine_glDetailTexFuncSGIS( GLenum target, GLsizei n, GLfloat* points ) { void (*func_glDetailTexFuncSGIS)( GLenum, GLsizei, GLfloat* ) = extension_funcs[EXT_glDetailTexFuncSGIS]; TRACE("(%d, %d, %p)\n", target, n, points ); - ENTER_GL(); func_glDetailTexFuncSGIS( target, n, points ); - LEAVE_GL(); } static void WINAPI wine_glDisableClientStateIndexedEXT( GLenum array, GLuint index ) { void (*func_glDisableClientStateIndexedEXT)( GLenum, GLuint ) = extension_funcs[EXT_glDisableClientStateIndexedEXT]; TRACE("(%d, %d)\n", array, index ); - ENTER_GL(); func_glDisableClientStateIndexedEXT( array, index ); - LEAVE_GL(); } static void WINAPI wine_glDisableIndexedEXT( GLenum target, GLuint index ) { void (*func_glDisableIndexedEXT)( GLenum, GLuint ) = extension_funcs[EXT_glDisableIndexedEXT]; TRACE("(%d, %d)\n", target, index ); - ENTER_GL(); func_glDisableIndexedEXT( target, index ); - LEAVE_GL(); } static void WINAPI wine_glDisableVariantClientStateEXT( GLuint id ) { void (*func_glDisableVariantClientStateEXT)( GLuint ) = extension_funcs[EXT_glDisableVariantClientStateEXT]; TRACE("(%d)\n", id ); - ENTER_GL(); func_glDisableVariantClientStateEXT( id ); - LEAVE_GL(); } static void WINAPI wine_glDisableVertexAttribAPPLE( GLuint index, GLenum pname ) { void (*func_glDisableVertexAttribAPPLE)( GLuint, GLenum ) = extension_funcs[EXT_glDisableVertexAttribAPPLE]; TRACE("(%d, %d)\n", index, pname ); - ENTER_GL(); func_glDisableVertexAttribAPPLE( index, pname ); - LEAVE_GL(); } static void WINAPI wine_glDisableVertexAttribArray( GLuint index ) { void (*func_glDisableVertexAttribArray)( GLuint ) = extension_funcs[EXT_glDisableVertexAttribArray]; TRACE("(%d)\n", index ); - ENTER_GL(); func_glDisableVertexAttribArray( index ); - LEAVE_GL(); } static void WINAPI wine_glDisableVertexAttribArrayARB( GLuint index ) { void (*func_glDisableVertexAttribArrayARB)( GLuint ) = extension_funcs[EXT_glDisableVertexAttribArrayARB]; TRACE("(%d)\n", index ); - ENTER_GL(); func_glDisableVertexAttribArrayARB( index ); - LEAVE_GL(); } static void WINAPI wine_glDisablei( GLenum target, GLuint index ) { void (*func_glDisablei)( GLenum, GLuint ) = extension_funcs[EXT_glDisablei]; TRACE("(%d, %d)\n", target, index ); - ENTER_GL(); func_glDisablei( target, index ); - LEAVE_GL(); } static void WINAPI wine_glDrawArraysEXT( GLenum mode, GLint first, GLsizei count ) { void (*func_glDrawArraysEXT)( GLenum, GLint, GLsizei ) = extension_funcs[EXT_glDrawArraysEXT]; TRACE("(%d, %d, %d)\n", mode, first, count ); - ENTER_GL(); func_glDrawArraysEXT( mode, first, count ); - LEAVE_GL(); } static void WINAPI wine_glDrawArraysIndirect( GLenum mode, GLvoid* indirect ) { void (*func_glDrawArraysIndirect)( GLenum, GLvoid* ) = extension_funcs[EXT_glDrawArraysIndirect]; TRACE("(%d, %p)\n", mode, indirect ); - ENTER_GL(); func_glDrawArraysIndirect( mode, indirect ); - LEAVE_GL(); } static void WINAPI wine_glDrawArraysInstanced( GLenum mode, GLint first, GLsizei count, GLsizei primcount ) { void (*func_glDrawArraysInstanced)( GLenum, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glDrawArraysInstanced]; TRACE("(%d, %d, %d, %d)\n", mode, first, count, primcount ); - ENTER_GL(); func_glDrawArraysInstanced( mode, first, count, primcount ); - LEAVE_GL(); } static void WINAPI wine_glDrawArraysInstancedARB( GLenum mode, GLint first, GLsizei count, GLsizei primcount ) { void (*func_glDrawArraysInstancedARB)( GLenum, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glDrawArraysInstancedARB]; TRACE("(%d, %d, %d, %d)\n", mode, first, count, primcount ); - ENTER_GL(); func_glDrawArraysInstancedARB( mode, first, count, primcount ); - LEAVE_GL(); } static void WINAPI wine_glDrawArraysInstancedBaseInstance( GLenum mode, GLint first, GLsizei count, GLsizei primcount, GLuint baseinstance ) { void (*func_glDrawArraysInstancedBaseInstance)( GLenum, GLint, GLsizei, GLsizei, GLuint ) = extension_funcs[EXT_glDrawArraysInstancedBaseInstance]; TRACE("(%d, %d, %d, %d, %d)\n", mode, first, count, primcount, baseinstance ); - ENTER_GL(); func_glDrawArraysInstancedBaseInstance( mode, first, count, primcount, baseinstance ); - LEAVE_GL(); } static void WINAPI wine_glDrawArraysInstancedEXT( GLenum mode, GLint start, GLsizei count, GLsizei primcount ) { void (*func_glDrawArraysInstancedEXT)( GLenum, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glDrawArraysInstancedEXT]; TRACE("(%d, %d, %d, %d)\n", mode, start, count, primcount ); - ENTER_GL(); func_glDrawArraysInstancedEXT( mode, start, count, primcount ); - LEAVE_GL(); } static void WINAPI wine_glDrawBufferRegion( GLenum region, GLint x, GLint y, GLsizei width, GLsizei height, GLint xDest, GLint yDest ) { void (*func_glDrawBufferRegion)( GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLint ) = extension_funcs[EXT_glDrawBufferRegion]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", region, x, y, width, height, xDest, yDest ); - ENTER_GL(); func_glDrawBufferRegion( region, x, y, width, height, xDest, yDest ); - LEAVE_GL(); } static void WINAPI wine_glDrawBuffers( GLsizei n, GLenum* bufs ) { void (*func_glDrawBuffers)( GLsizei, GLenum* ) = extension_funcs[EXT_glDrawBuffers]; TRACE("(%d, %p)\n", n, bufs ); - ENTER_GL(); func_glDrawBuffers( n, bufs ); - LEAVE_GL(); } static void WINAPI wine_glDrawBuffersARB( GLsizei n, GLenum* bufs ) { void (*func_glDrawBuffersARB)( GLsizei, GLenum* ) = extension_funcs[EXT_glDrawBuffersARB]; TRACE("(%d, %p)\n", n, bufs ); - ENTER_GL(); func_glDrawBuffersARB( n, bufs ); - LEAVE_GL(); } static void WINAPI wine_glDrawBuffersATI( GLsizei n, GLenum* bufs ) { void (*func_glDrawBuffersATI)( GLsizei, GLenum* ) = extension_funcs[EXT_glDrawBuffersATI]; TRACE("(%d, %p)\n", n, bufs ); - ENTER_GL(); func_glDrawBuffersATI( n, bufs ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementArrayAPPLE( GLenum mode, GLint first, GLsizei count ) { void (*func_glDrawElementArrayAPPLE)( GLenum, GLint, GLsizei ) = extension_funcs[EXT_glDrawElementArrayAPPLE]; TRACE("(%d, %d, %d)\n", mode, first, count ); - ENTER_GL(); func_glDrawElementArrayAPPLE( mode, first, count ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementArrayATI( GLenum mode, GLsizei count ) { void (*func_glDrawElementArrayATI)( GLenum, GLsizei ) = extension_funcs[EXT_glDrawElementArrayATI]; TRACE("(%d, %d)\n", mode, count ); - ENTER_GL(); func_glDrawElementArrayATI( mode, count ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementsBaseVertex( GLenum mode, GLsizei count, GLenum type, GLvoid* indices, GLint basevertex ) { void (*func_glDrawElementsBaseVertex)( GLenum, GLsizei, GLenum, GLvoid*, GLint ) = extension_funcs[EXT_glDrawElementsBaseVertex]; TRACE("(%d, %d, %d, %p, %d)\n", mode, count, type, indices, basevertex ); - ENTER_GL(); func_glDrawElementsBaseVertex( mode, count, type, indices, basevertex ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementsIndirect( GLenum mode, GLenum type, GLvoid* indirect ) { void (*func_glDrawElementsIndirect)( GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glDrawElementsIndirect]; TRACE("(%d, %d, %p)\n", mode, type, indirect ); - ENTER_GL(); func_glDrawElementsIndirect( mode, type, indirect ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementsInstanced( GLenum mode, GLsizei count, GLenum type, GLvoid* indices, GLsizei primcount ) { void (*func_glDrawElementsInstanced)( GLenum, GLsizei, GLenum, GLvoid*, GLsizei ) = extension_funcs[EXT_glDrawElementsInstanced]; TRACE("(%d, %d, %d, %p, %d)\n", mode, count, type, indices, primcount ); - ENTER_GL(); func_glDrawElementsInstanced( mode, count, type, indices, primcount ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementsInstancedARB( GLenum mode, GLsizei count, GLenum type, GLvoid* indices, GLsizei primcount ) { void (*func_glDrawElementsInstancedARB)( GLenum, GLsizei, GLenum, GLvoid*, GLsizei ) = extension_funcs[EXT_glDrawElementsInstancedARB]; TRACE("(%d, %d, %d, %p, %d)\n", mode, count, type, indices, primcount ); - ENTER_GL(); func_glDrawElementsInstancedARB( mode, count, type, indices, primcount ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementsInstancedBaseInstance( GLenum mode, GLsizei count, GLenum type, void* indices, GLsizei primcount, GLuint baseinstance ) { void (*func_glDrawElementsInstancedBaseInstance)( GLenum, GLsizei, GLenum, void*, GLsizei, GLuint ) = extension_funcs[EXT_glDrawElementsInstancedBaseInstance]; TRACE("(%d, %d, %d, %p, %d, %d)\n", mode, count, type, indices, primcount, baseinstance ); - ENTER_GL(); func_glDrawElementsInstancedBaseInstance( mode, count, type, indices, primcount, baseinstance ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementsInstancedBaseVertex( GLenum mode, GLsizei count, GLenum type, GLvoid* indices, GLsizei primcount, GLint basevertex ) { void (*func_glDrawElementsInstancedBaseVertex)( GLenum, GLsizei, GLenum, GLvoid*, GLsizei, GLint ) = extension_funcs[EXT_glDrawElementsInstancedBaseVertex]; TRACE("(%d, %d, %d, %p, %d, %d)\n", mode, count, type, indices, primcount, basevertex ); - ENTER_GL(); func_glDrawElementsInstancedBaseVertex( mode, count, type, indices, primcount, basevertex ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementsInstancedBaseVertexBaseInstance( GLenum mode, GLsizei count, GLenum type, void* indices, GLsizei primcount, GLint basevertex, GLuint baseinstance ) { void (*func_glDrawElementsInstancedBaseVertexBaseInstance)( GLenum, GLsizei, GLenum, void*, GLsizei, GLint, GLuint ) = extension_funcs[EXT_glDrawElementsInstancedBaseVertexBaseInstance]; TRACE("(%d, %d, %d, %p, %d, %d, %d)\n", mode, count, type, indices, primcount, basevertex, baseinstance ); - ENTER_GL(); func_glDrawElementsInstancedBaseVertexBaseInstance( mode, count, type, indices, primcount, basevertex, baseinstance ); - LEAVE_GL(); } static void WINAPI wine_glDrawElementsInstancedEXT( GLenum mode, GLsizei count, GLenum type, GLvoid* indices, GLsizei primcount ) { void (*func_glDrawElementsInstancedEXT)( GLenum, GLsizei, GLenum, GLvoid*, GLsizei ) = extension_funcs[EXT_glDrawElementsInstancedEXT]; TRACE("(%d, %d, %d, %p, %d)\n", mode, count, type, indices, primcount ); - ENTER_GL(); func_glDrawElementsInstancedEXT( mode, count, type, indices, primcount ); - LEAVE_GL(); } static void WINAPI wine_glDrawMeshArraysSUN( GLenum mode, GLint first, GLsizei count, GLsizei width ) { void (*func_glDrawMeshArraysSUN)( GLenum, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glDrawMeshArraysSUN]; TRACE("(%d, %d, %d, %d)\n", mode, first, count, width ); - ENTER_GL(); func_glDrawMeshArraysSUN( mode, first, count, width ); - LEAVE_GL(); } static void WINAPI wine_glDrawRangeElementArrayAPPLE( GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count ) { void (*func_glDrawRangeElementArrayAPPLE)( GLenum, GLuint, GLuint, GLint, GLsizei ) = extension_funcs[EXT_glDrawRangeElementArrayAPPLE]; TRACE("(%d, %d, %d, %d, %d)\n", mode, start, end, first, count ); - ENTER_GL(); func_glDrawRangeElementArrayAPPLE( mode, start, end, first, count ); - LEAVE_GL(); } static void WINAPI wine_glDrawRangeElementArrayATI( GLenum mode, GLuint start, GLuint end, GLsizei count ) { void (*func_glDrawRangeElementArrayATI)( GLenum, GLuint, GLuint, GLsizei ) = extension_funcs[EXT_glDrawRangeElementArrayATI]; TRACE("(%d, %d, %d, %d)\n", mode, start, end, count ); - ENTER_GL(); func_glDrawRangeElementArrayATI( mode, start, end, count ); - LEAVE_GL(); } static void WINAPI wine_glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLvoid* indices ) { void (*func_glDrawRangeElements)( GLenum, GLuint, GLuint, GLsizei, GLenum, GLvoid* ) = extension_funcs[EXT_glDrawRangeElements]; TRACE("(%d, %d, %d, %d, %d, %p)\n", mode, start, end, count, type, indices ); - ENTER_GL(); func_glDrawRangeElements( mode, start, end, count, type, indices ); - LEAVE_GL(); } static void WINAPI wine_glDrawRangeElementsBaseVertex( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLvoid* indices, GLint basevertex ) { void (*func_glDrawRangeElementsBaseVertex)( GLenum, GLuint, GLuint, GLsizei, GLenum, GLvoid*, GLint ) = extension_funcs[EXT_glDrawRangeElementsBaseVertex]; TRACE("(%d, %d, %d, %d, %d, %p, %d)\n", mode, start, end, count, type, indices, basevertex ); - ENTER_GL(); func_glDrawRangeElementsBaseVertex( mode, start, end, count, type, indices, basevertex ); - LEAVE_GL(); } static void WINAPI wine_glDrawRangeElementsEXT( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLvoid* indices ) { void (*func_glDrawRangeElementsEXT)( GLenum, GLuint, GLuint, GLsizei, GLenum, GLvoid* ) = extension_funcs[EXT_glDrawRangeElementsEXT]; TRACE("(%d, %d, %d, %d, %d, %p)\n", mode, start, end, count, type, indices ); - ENTER_GL(); func_glDrawRangeElementsEXT( mode, start, end, count, type, indices ); - LEAVE_GL(); } static void WINAPI wine_glDrawTransformFeedback( GLenum mode, GLuint id ) { void (*func_glDrawTransformFeedback)( GLenum, GLuint ) = extension_funcs[EXT_glDrawTransformFeedback]; TRACE("(%d, %d)\n", mode, id ); - ENTER_GL(); func_glDrawTransformFeedback( mode, id ); - LEAVE_GL(); } static void WINAPI wine_glDrawTransformFeedbackInstanced( GLenum mode, GLuint id, GLsizei primcount ) { void (*func_glDrawTransformFeedbackInstanced)( GLenum, GLuint, GLsizei ) = extension_funcs[EXT_glDrawTransformFeedbackInstanced]; TRACE("(%d, %d, %d)\n", mode, id, primcount ); - ENTER_GL(); func_glDrawTransformFeedbackInstanced( mode, id, primcount ); - LEAVE_GL(); } static void WINAPI wine_glDrawTransformFeedbackNV( GLenum mode, GLuint id ) { void (*func_glDrawTransformFeedbackNV)( GLenum, GLuint ) = extension_funcs[EXT_glDrawTransformFeedbackNV]; TRACE("(%d, %d)\n", mode, id ); - ENTER_GL(); func_glDrawTransformFeedbackNV( mode, id ); - LEAVE_GL(); } static void WINAPI wine_glDrawTransformFeedbackStream( GLenum mode, GLuint id, GLuint stream ) { void (*func_glDrawTransformFeedbackStream)( GLenum, GLuint, GLuint ) = extension_funcs[EXT_glDrawTransformFeedbackStream]; TRACE("(%d, %d, %d)\n", mode, id, stream ); - ENTER_GL(); func_glDrawTransformFeedbackStream( mode, id, stream ); - LEAVE_GL(); } static void WINAPI wine_glDrawTransformFeedbackStreamInstanced( GLenum mode, GLuint id, GLuint stream, GLsizei primcount ) { void (*func_glDrawTransformFeedbackStreamInstanced)( GLenum, GLuint, GLuint, GLsizei ) = extension_funcs[EXT_glDrawTransformFeedbackStreamInstanced]; TRACE("(%d, %d, %d, %d)\n", mode, id, stream, primcount ); - ENTER_GL(); func_glDrawTransformFeedbackStreamInstanced( mode, id, stream, primcount ); - LEAVE_GL(); } static void WINAPI wine_glEdgeFlagFormatNV( GLsizei stride ) { void (*func_glEdgeFlagFormatNV)( GLsizei ) = extension_funcs[EXT_glEdgeFlagFormatNV]; TRACE("(%d)\n", stride ); - ENTER_GL(); func_glEdgeFlagFormatNV( stride ); - LEAVE_GL(); } static void WINAPI wine_glEdgeFlagPointerEXT( GLsizei stride, GLsizei count, GLboolean* pointer ) { void (*func_glEdgeFlagPointerEXT)( GLsizei, GLsizei, GLboolean* ) = extension_funcs[EXT_glEdgeFlagPointerEXT]; TRACE("(%d, %d, %p)\n", stride, count, pointer ); - ENTER_GL(); func_glEdgeFlagPointerEXT( stride, count, pointer ); - LEAVE_GL(); } static void WINAPI wine_glEdgeFlagPointerListIBM( GLint stride, GLboolean** pointer, GLint ptrstride ) { void (*func_glEdgeFlagPointerListIBM)( GLint, GLboolean**, GLint ) = extension_funcs[EXT_glEdgeFlagPointerListIBM]; TRACE("(%d, %p, %d)\n", stride, pointer, ptrstride ); - ENTER_GL(); func_glEdgeFlagPointerListIBM( stride, pointer, ptrstride ); - LEAVE_GL(); } static void WINAPI wine_glElementPointerAPPLE( GLenum type, GLvoid* pointer ) { void (*func_glElementPointerAPPLE)( GLenum, GLvoid* ) = extension_funcs[EXT_glElementPointerAPPLE]; TRACE("(%d, %p)\n", type, pointer ); - ENTER_GL(); func_glElementPointerAPPLE( type, pointer ); - LEAVE_GL(); } static void WINAPI wine_glElementPointerATI( GLenum type, GLvoid* pointer ) { void (*func_glElementPointerATI)( GLenum, GLvoid* ) = extension_funcs[EXT_glElementPointerATI]; TRACE("(%d, %p)\n", type, pointer ); - ENTER_GL(); func_glElementPointerATI( type, pointer ); - LEAVE_GL(); } static void WINAPI wine_glEnableClientStateIndexedEXT( GLenum array, GLuint index ) { void (*func_glEnableClientStateIndexedEXT)( GLenum, GLuint ) = extension_funcs[EXT_glEnableClientStateIndexedEXT]; TRACE("(%d, %d)\n", array, index ); - ENTER_GL(); func_glEnableClientStateIndexedEXT( array, index ); - LEAVE_GL(); } static void WINAPI wine_glEnableIndexedEXT( GLenum target, GLuint index ) { void (*func_glEnableIndexedEXT)( GLenum, GLuint ) = extension_funcs[EXT_glEnableIndexedEXT]; TRACE("(%d, %d)\n", target, index ); - ENTER_GL(); func_glEnableIndexedEXT( target, index ); - LEAVE_GL(); } static void WINAPI wine_glEnableVariantClientStateEXT( GLuint id ) { void (*func_glEnableVariantClientStateEXT)( GLuint ) = extension_funcs[EXT_glEnableVariantClientStateEXT]; TRACE("(%d)\n", id ); - ENTER_GL(); func_glEnableVariantClientStateEXT( id ); - LEAVE_GL(); } static void WINAPI wine_glEnableVertexAttribAPPLE( GLuint index, GLenum pname ) { void (*func_glEnableVertexAttribAPPLE)( GLuint, GLenum ) = extension_funcs[EXT_glEnableVertexAttribAPPLE]; TRACE("(%d, %d)\n", index, pname ); - ENTER_GL(); func_glEnableVertexAttribAPPLE( index, pname ); - LEAVE_GL(); } static void WINAPI wine_glEnableVertexAttribArray( GLuint index ) { void (*func_glEnableVertexAttribArray)( GLuint ) = extension_funcs[EXT_glEnableVertexAttribArray]; TRACE("(%d)\n", index ); - ENTER_GL(); func_glEnableVertexAttribArray( index ); - LEAVE_GL(); } static void WINAPI wine_glEnableVertexAttribArrayARB( GLuint index ) { void (*func_glEnableVertexAttribArrayARB)( GLuint ) = extension_funcs[EXT_glEnableVertexAttribArrayARB]; TRACE("(%d)\n", index ); - ENTER_GL(); func_glEnableVertexAttribArrayARB( index ); - LEAVE_GL(); } static void WINAPI wine_glEnablei( GLenum target, GLuint index ) { void (*func_glEnablei)( GLenum, GLuint ) = extension_funcs[EXT_glEnablei]; TRACE("(%d, %d)\n", target, index ); - ENTER_GL(); func_glEnablei( target, index ); - LEAVE_GL(); } static void WINAPI wine_glEndConditionalRender( void ) { void (*func_glEndConditionalRender)( void ) = extension_funcs[EXT_glEndConditionalRender]; TRACE("()\n"); - ENTER_GL(); func_glEndConditionalRender( ); - LEAVE_GL(); } static void WINAPI wine_glEndConditionalRenderNV( void ) { void (*func_glEndConditionalRenderNV)( void ) = extension_funcs[EXT_glEndConditionalRenderNV]; TRACE("()\n"); - ENTER_GL(); func_glEndConditionalRenderNV( ); - LEAVE_GL(); } static void WINAPI wine_glEndFragmentShaderATI( void ) { void (*func_glEndFragmentShaderATI)( void ) = extension_funcs[EXT_glEndFragmentShaderATI]; TRACE("()\n"); - ENTER_GL(); func_glEndFragmentShaderATI( ); - LEAVE_GL(); } static void WINAPI wine_glEndOcclusionQueryNV( void ) { void (*func_glEndOcclusionQueryNV)( void ) = extension_funcs[EXT_glEndOcclusionQueryNV]; TRACE("()\n"); - ENTER_GL(); func_glEndOcclusionQueryNV( ); - LEAVE_GL(); } static void WINAPI wine_glEndPerfMonitorAMD( GLuint monitor ) { void (*func_glEndPerfMonitorAMD)( GLuint ) = extension_funcs[EXT_glEndPerfMonitorAMD]; TRACE("(%d)\n", monitor ); - ENTER_GL(); func_glEndPerfMonitorAMD( monitor ); - LEAVE_GL(); } static void WINAPI wine_glEndQuery( GLenum target ) { void (*func_glEndQuery)( GLenum ) = extension_funcs[EXT_glEndQuery]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glEndQuery( target ); - LEAVE_GL(); } static void WINAPI wine_glEndQueryARB( GLenum target ) { void (*func_glEndQueryARB)( GLenum ) = extension_funcs[EXT_glEndQueryARB]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glEndQueryARB( target ); - LEAVE_GL(); } static void WINAPI wine_glEndQueryIndexed( GLenum target, GLuint index ) { void (*func_glEndQueryIndexed)( GLenum, GLuint ) = extension_funcs[EXT_glEndQueryIndexed]; TRACE("(%d, %d)\n", target, index ); - ENTER_GL(); func_glEndQueryIndexed( target, index ); - LEAVE_GL(); } static void WINAPI wine_glEndTransformFeedback( void ) { void (*func_glEndTransformFeedback)( void ) = extension_funcs[EXT_glEndTransformFeedback]; TRACE("()\n"); - ENTER_GL(); func_glEndTransformFeedback( ); - LEAVE_GL(); } static void WINAPI wine_glEndTransformFeedbackEXT( void ) { void (*func_glEndTransformFeedbackEXT)( void ) = extension_funcs[EXT_glEndTransformFeedbackEXT]; TRACE("()\n"); - ENTER_GL(); func_glEndTransformFeedbackEXT( ); - LEAVE_GL(); } static void WINAPI wine_glEndTransformFeedbackNV( void ) { void (*func_glEndTransformFeedbackNV)( void ) = extension_funcs[EXT_glEndTransformFeedbackNV]; TRACE("()\n"); - ENTER_GL(); func_glEndTransformFeedbackNV( ); - LEAVE_GL(); } static void WINAPI wine_glEndVertexShaderEXT( void ) { void (*func_glEndVertexShaderEXT)( void ) = extension_funcs[EXT_glEndVertexShaderEXT]; TRACE("()\n"); - ENTER_GL(); func_glEndVertexShaderEXT( ); - LEAVE_GL(); } static void WINAPI wine_glEndVideoCaptureNV( GLuint video_capture_slot ) { void (*func_glEndVideoCaptureNV)( GLuint ) = extension_funcs[EXT_glEndVideoCaptureNV]; TRACE("(%d)\n", video_capture_slot ); - ENTER_GL(); func_glEndVideoCaptureNV( video_capture_slot ); - LEAVE_GL(); } static void WINAPI wine_glEvalMapsNV( GLenum target, GLenum mode ) { void (*func_glEvalMapsNV)( GLenum, GLenum ) = extension_funcs[EXT_glEvalMapsNV]; TRACE("(%d, %d)\n", target, mode ); - ENTER_GL(); func_glEvalMapsNV( target, mode ); - LEAVE_GL(); } static void WINAPI wine_glExecuteProgramNV( GLenum target, GLuint id, GLfloat* params ) { void (*func_glExecuteProgramNV)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glExecuteProgramNV]; TRACE("(%d, %d, %p)\n", target, id, params ); - ENTER_GL(); func_glExecuteProgramNV( target, id, params ); - LEAVE_GL(); } static void WINAPI wine_glExtractComponentEXT( GLuint res, GLuint src, GLuint num ) { void (*func_glExtractComponentEXT)( GLuint, GLuint, GLuint ) = extension_funcs[EXT_glExtractComponentEXT]; TRACE("(%d, %d, %d)\n", res, src, num ); - ENTER_GL(); func_glExtractComponentEXT( res, src, num ); - LEAVE_GL(); } static GLvoid* WINAPI wine_glFenceSync( GLenum condition, GLbitfield flags ) { - GLvoid* ret_value; GLvoid* (*func_glFenceSync)( GLenum, GLbitfield ) = extension_funcs[EXT_glFenceSync]; TRACE("(%d, %d)\n", condition, flags ); - ENTER_GL(); - ret_value = func_glFenceSync( condition, flags ); - LEAVE_GL(); - return ret_value; + return func_glFenceSync( condition, flags ); } static void WINAPI wine_glFinalCombinerInputNV( GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage ) { void (*func_glFinalCombinerInputNV)( GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glFinalCombinerInputNV]; TRACE("(%d, %d, %d, %d)\n", variable, input, mapping, componentUsage ); - ENTER_GL(); func_glFinalCombinerInputNV( variable, input, mapping, componentUsage ); - LEAVE_GL(); } static GLint WINAPI wine_glFinishAsyncSGIX( GLuint* markerp ) { - GLint ret_value; GLint (*func_glFinishAsyncSGIX)( GLuint* ) = extension_funcs[EXT_glFinishAsyncSGIX]; TRACE("(%p)\n", markerp ); - ENTER_GL(); - ret_value = func_glFinishAsyncSGIX( markerp ); - LEAVE_GL(); - return ret_value; + return func_glFinishAsyncSGIX( markerp ); } static void WINAPI wine_glFinishFenceAPPLE( GLuint fence ) { void (*func_glFinishFenceAPPLE)( GLuint ) = extension_funcs[EXT_glFinishFenceAPPLE]; TRACE("(%d)\n", fence ); - ENTER_GL(); func_glFinishFenceAPPLE( fence ); - LEAVE_GL(); } static void WINAPI wine_glFinishFenceNV( GLuint fence ) { void (*func_glFinishFenceNV)( GLuint ) = extension_funcs[EXT_glFinishFenceNV]; TRACE("(%d)\n", fence ); - ENTER_GL(); func_glFinishFenceNV( fence ); - LEAVE_GL(); } static void WINAPI wine_glFinishObjectAPPLE( GLenum object, GLint name ) { void (*func_glFinishObjectAPPLE)( GLenum, GLint ) = extension_funcs[EXT_glFinishObjectAPPLE]; TRACE("(%d, %d)\n", object, name ); - ENTER_GL(); func_glFinishObjectAPPLE( object, name ); - LEAVE_GL(); } static void WINAPI wine_glFinishTextureSUNX( void ) { void (*func_glFinishTextureSUNX)( void ) = extension_funcs[EXT_glFinishTextureSUNX]; TRACE("()\n"); - ENTER_GL(); func_glFinishTextureSUNX( ); - LEAVE_GL(); } static void WINAPI wine_glFlushMappedBufferRange( GLenum target, INT_PTR offset, INT_PTR length ) { void (*func_glFlushMappedBufferRange)( GLenum, INT_PTR, INT_PTR ) = extension_funcs[EXT_glFlushMappedBufferRange]; TRACE("(%d, %ld, %ld)\n", target, offset, length ); - ENTER_GL(); func_glFlushMappedBufferRange( target, offset, length ); - LEAVE_GL(); } static void WINAPI wine_glFlushMappedBufferRangeAPPLE( GLenum target, INT_PTR offset, INT_PTR size ) { void (*func_glFlushMappedBufferRangeAPPLE)( GLenum, INT_PTR, INT_PTR ) = extension_funcs[EXT_glFlushMappedBufferRangeAPPLE]; TRACE("(%d, %ld, %ld)\n", target, offset, size ); - ENTER_GL(); func_glFlushMappedBufferRangeAPPLE( target, offset, size ); - LEAVE_GL(); } static void WINAPI wine_glFlushMappedNamedBufferRangeEXT( GLuint buffer, INT_PTR offset, INT_PTR length ) { void (*func_glFlushMappedNamedBufferRangeEXT)( GLuint, INT_PTR, INT_PTR ) = extension_funcs[EXT_glFlushMappedNamedBufferRangeEXT]; TRACE("(%d, %ld, %ld)\n", buffer, offset, length ); - ENTER_GL(); func_glFlushMappedNamedBufferRangeEXT( buffer, offset, length ); - LEAVE_GL(); } static void WINAPI wine_glFlushPixelDataRangeNV( GLenum target ) { void (*func_glFlushPixelDataRangeNV)( GLenum ) = extension_funcs[EXT_glFlushPixelDataRangeNV]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glFlushPixelDataRangeNV( target ); - LEAVE_GL(); } static void WINAPI wine_glFlushRasterSGIX( void ) { void (*func_glFlushRasterSGIX)( void ) = extension_funcs[EXT_glFlushRasterSGIX]; TRACE("()\n"); - ENTER_GL(); func_glFlushRasterSGIX( ); - LEAVE_GL(); } static void WINAPI wine_glFlushVertexArrayRangeAPPLE( GLsizei length, GLvoid* pointer ) { void (*func_glFlushVertexArrayRangeAPPLE)( GLsizei, GLvoid* ) = extension_funcs[EXT_glFlushVertexArrayRangeAPPLE]; TRACE("(%d, %p)\n", length, pointer ); - ENTER_GL(); func_glFlushVertexArrayRangeAPPLE( length, pointer ); - LEAVE_GL(); } static void WINAPI wine_glFlushVertexArrayRangeNV( void ) { void (*func_glFlushVertexArrayRangeNV)( void ) = extension_funcs[EXT_glFlushVertexArrayRangeNV]; TRACE("()\n"); - ENTER_GL(); func_glFlushVertexArrayRangeNV( ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordFormatNV( GLenum type, GLsizei stride ) { void (*func_glFogCoordFormatNV)( GLenum, GLsizei ) = extension_funcs[EXT_glFogCoordFormatNV]; TRACE("(%d, %d)\n", type, stride ); - ENTER_GL(); func_glFogCoordFormatNV( type, stride ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordPointer( GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glFogCoordPointer)( GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glFogCoordPointer]; TRACE("(%d, %d, %p)\n", type, stride, pointer ); - ENTER_GL(); func_glFogCoordPointer( type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordPointerEXT( GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glFogCoordPointerEXT)( GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glFogCoordPointerEXT]; TRACE("(%d, %d, %p)\n", type, stride, pointer ); - ENTER_GL(); func_glFogCoordPointerEXT( type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordPointerListIBM( GLenum type, GLint stride, GLvoid** pointer, GLint ptrstride ) { void (*func_glFogCoordPointerListIBM)( GLenum, GLint, GLvoid**, GLint ) = extension_funcs[EXT_glFogCoordPointerListIBM]; TRACE("(%d, %d, %p, %d)\n", type, stride, pointer, ptrstride ); - ENTER_GL(); func_glFogCoordPointerListIBM( type, stride, pointer, ptrstride ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordd( GLdouble coord ) { void (*func_glFogCoordd)( GLdouble ) = extension_funcs[EXT_glFogCoordd]; TRACE("(%f)\n", coord ); - ENTER_GL(); func_glFogCoordd( coord ); - LEAVE_GL(); } static void WINAPI wine_glFogCoorddEXT( GLdouble coord ) { void (*func_glFogCoorddEXT)( GLdouble ) = extension_funcs[EXT_glFogCoorddEXT]; TRACE("(%f)\n", coord ); - ENTER_GL(); func_glFogCoorddEXT( coord ); - LEAVE_GL(); } static void WINAPI wine_glFogCoorddv( GLdouble* coord ) { void (*func_glFogCoorddv)( GLdouble* ) = extension_funcs[EXT_glFogCoorddv]; TRACE("(%p)\n", coord ); - ENTER_GL(); func_glFogCoorddv( coord ); - LEAVE_GL(); } static void WINAPI wine_glFogCoorddvEXT( GLdouble* coord ) { void (*func_glFogCoorddvEXT)( GLdouble* ) = extension_funcs[EXT_glFogCoorddvEXT]; TRACE("(%p)\n", coord ); - ENTER_GL(); func_glFogCoorddvEXT( coord ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordf( GLfloat coord ) { void (*func_glFogCoordf)( GLfloat ) = extension_funcs[EXT_glFogCoordf]; TRACE("(%f)\n", coord ); - ENTER_GL(); func_glFogCoordf( coord ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordfEXT( GLfloat coord ) { void (*func_glFogCoordfEXT)( GLfloat ) = extension_funcs[EXT_glFogCoordfEXT]; TRACE("(%f)\n", coord ); - ENTER_GL(); func_glFogCoordfEXT( coord ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordfv( GLfloat* coord ) { void (*func_glFogCoordfv)( GLfloat* ) = extension_funcs[EXT_glFogCoordfv]; TRACE("(%p)\n", coord ); - ENTER_GL(); func_glFogCoordfv( coord ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordfvEXT( GLfloat* coord ) { void (*func_glFogCoordfvEXT)( GLfloat* ) = extension_funcs[EXT_glFogCoordfvEXT]; TRACE("(%p)\n", coord ); - ENTER_GL(); func_glFogCoordfvEXT( coord ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordhNV( unsigned short fog ) { void (*func_glFogCoordhNV)( unsigned short ) = extension_funcs[EXT_glFogCoordhNV]; TRACE("(%d)\n", fog ); - ENTER_GL(); func_glFogCoordhNV( fog ); - LEAVE_GL(); } static void WINAPI wine_glFogCoordhvNV( unsigned short* fog ) { void (*func_glFogCoordhvNV)( unsigned short* ) = extension_funcs[EXT_glFogCoordhvNV]; TRACE("(%p)\n", fog ); - ENTER_GL(); func_glFogCoordhvNV( fog ); - LEAVE_GL(); } static void WINAPI wine_glFogFuncSGIS( GLsizei n, GLfloat* points ) { void (*func_glFogFuncSGIS)( GLsizei, GLfloat* ) = extension_funcs[EXT_glFogFuncSGIS]; TRACE("(%d, %p)\n", n, points ); - ENTER_GL(); func_glFogFuncSGIS( n, points ); - LEAVE_GL(); } static void WINAPI wine_glFragmentColorMaterialSGIX( GLenum face, GLenum mode ) { void (*func_glFragmentColorMaterialSGIX)( GLenum, GLenum ) = extension_funcs[EXT_glFragmentColorMaterialSGIX]; TRACE("(%d, %d)\n", face, mode ); - ENTER_GL(); func_glFragmentColorMaterialSGIX( face, mode ); - LEAVE_GL(); } static void WINAPI wine_glFragmentLightModelfSGIX( GLenum pname, GLfloat param ) { void (*func_glFragmentLightModelfSGIX)( GLenum, GLfloat ) = extension_funcs[EXT_glFragmentLightModelfSGIX]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glFragmentLightModelfSGIX( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glFragmentLightModelfvSGIX( GLenum pname, GLfloat* params ) { void (*func_glFragmentLightModelfvSGIX)( GLenum, GLfloat* ) = extension_funcs[EXT_glFragmentLightModelfvSGIX]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glFragmentLightModelfvSGIX( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glFragmentLightModeliSGIX( GLenum pname, GLint param ) { void (*func_glFragmentLightModeliSGIX)( GLenum, GLint ) = extension_funcs[EXT_glFragmentLightModeliSGIX]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glFragmentLightModeliSGIX( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glFragmentLightModelivSGIX( GLenum pname, GLint* params ) { void (*func_glFragmentLightModelivSGIX)( GLenum, GLint* ) = extension_funcs[EXT_glFragmentLightModelivSGIX]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glFragmentLightModelivSGIX( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glFragmentLightfSGIX( GLenum light, GLenum pname, GLfloat param ) { void (*func_glFragmentLightfSGIX)( GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glFragmentLightfSGIX]; TRACE("(%d, %d, %f)\n", light, pname, param ); - ENTER_GL(); func_glFragmentLightfSGIX( light, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glFragmentLightfvSGIX( GLenum light, GLenum pname, GLfloat* params ) { void (*func_glFragmentLightfvSGIX)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glFragmentLightfvSGIX]; TRACE("(%d, %d, %p)\n", light, pname, params ); - ENTER_GL(); func_glFragmentLightfvSGIX( light, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glFragmentLightiSGIX( GLenum light, GLenum pname, GLint param ) { void (*func_glFragmentLightiSGIX)( GLenum, GLenum, GLint ) = extension_funcs[EXT_glFragmentLightiSGIX]; TRACE("(%d, %d, %d)\n", light, pname, param ); - ENTER_GL(); func_glFragmentLightiSGIX( light, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glFragmentLightivSGIX( GLenum light, GLenum pname, GLint* params ) { void (*func_glFragmentLightivSGIX)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glFragmentLightivSGIX]; TRACE("(%d, %d, %p)\n", light, pname, params ); - ENTER_GL(); func_glFragmentLightivSGIX( light, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glFragmentMaterialfSGIX( GLenum face, GLenum pname, GLfloat param ) { void (*func_glFragmentMaterialfSGIX)( GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glFragmentMaterialfSGIX]; TRACE("(%d, %d, %f)\n", face, pname, param ); - ENTER_GL(); func_glFragmentMaterialfSGIX( face, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glFragmentMaterialfvSGIX( GLenum face, GLenum pname, GLfloat* params ) { void (*func_glFragmentMaterialfvSGIX)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glFragmentMaterialfvSGIX]; TRACE("(%d, %d, %p)\n", face, pname, params ); - ENTER_GL(); func_glFragmentMaterialfvSGIX( face, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glFragmentMaterialiSGIX( GLenum face, GLenum pname, GLint param ) { void (*func_glFragmentMaterialiSGIX)( GLenum, GLenum, GLint ) = extension_funcs[EXT_glFragmentMaterialiSGIX]; TRACE("(%d, %d, %d)\n", face, pname, param ); - ENTER_GL(); func_glFragmentMaterialiSGIX( face, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glFragmentMaterialivSGIX( GLenum face, GLenum pname, GLint* params ) { void (*func_glFragmentMaterialivSGIX)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glFragmentMaterialivSGIX]; TRACE("(%d, %d, %p)\n", face, pname, params ); - ENTER_GL(); func_glFragmentMaterialivSGIX( face, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glFrameTerminatorGREMEDY( void ) { void (*func_glFrameTerminatorGREMEDY)( void ) = extension_funcs[EXT_glFrameTerminatorGREMEDY]; TRACE("()\n"); - ENTER_GL(); func_glFrameTerminatorGREMEDY( ); - LEAVE_GL(); } static void WINAPI wine_glFrameZoomSGIX( GLint factor ) { void (*func_glFrameZoomSGIX)( GLint ) = extension_funcs[EXT_glFrameZoomSGIX]; TRACE("(%d)\n", factor ); - ENTER_GL(); func_glFrameZoomSGIX( factor ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferDrawBufferEXT( GLuint framebuffer, GLenum mode ) { void (*func_glFramebufferDrawBufferEXT)( GLuint, GLenum ) = extension_funcs[EXT_glFramebufferDrawBufferEXT]; TRACE("(%d, %d)\n", framebuffer, mode ); - ENTER_GL(); func_glFramebufferDrawBufferEXT( framebuffer, mode ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferDrawBuffersEXT( GLuint framebuffer, GLsizei n, GLenum* bufs ) { void (*func_glFramebufferDrawBuffersEXT)( GLuint, GLsizei, GLenum* ) = extension_funcs[EXT_glFramebufferDrawBuffersEXT]; TRACE("(%d, %d, %p)\n", framebuffer, n, bufs ); - ENTER_GL(); func_glFramebufferDrawBuffersEXT( framebuffer, n, bufs ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferReadBufferEXT( GLuint framebuffer, GLenum mode ) { void (*func_glFramebufferReadBufferEXT)( GLuint, GLenum ) = extension_funcs[EXT_glFramebufferReadBufferEXT]; TRACE("(%d, %d)\n", framebuffer, mode ); - ENTER_GL(); func_glFramebufferReadBufferEXT( framebuffer, mode ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferRenderbuffer( GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) { void (*func_glFramebufferRenderbuffer)( GLenum, GLenum, GLenum, GLuint ) = extension_funcs[EXT_glFramebufferRenderbuffer]; TRACE("(%d, %d, %d, %d)\n", target, attachment, renderbuffertarget, renderbuffer ); - ENTER_GL(); func_glFramebufferRenderbuffer( target, attachment, renderbuffertarget, renderbuffer ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferRenderbufferEXT( GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) { void (*func_glFramebufferRenderbufferEXT)( GLenum, GLenum, GLenum, GLuint ) = extension_funcs[EXT_glFramebufferRenderbufferEXT]; TRACE("(%d, %d, %d, %d)\n", target, attachment, renderbuffertarget, renderbuffer ); - ENTER_GL(); func_glFramebufferRenderbufferEXT( target, attachment, renderbuffertarget, renderbuffer ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTexture( GLenum target, GLenum attachment, GLuint texture, GLint level ) { void (*func_glFramebufferTexture)( GLenum, GLenum, GLuint, GLint ) = extension_funcs[EXT_glFramebufferTexture]; TRACE("(%d, %d, %d, %d)\n", target, attachment, texture, level ); - ENTER_GL(); func_glFramebufferTexture( target, attachment, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTexture1D( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) { void (*func_glFramebufferTexture1D)( GLenum, GLenum, GLenum, GLuint, GLint ) = extension_funcs[EXT_glFramebufferTexture1D]; TRACE("(%d, %d, %d, %d, %d)\n", target, attachment, textarget, texture, level ); - ENTER_GL(); func_glFramebufferTexture1D( target, attachment, textarget, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTexture1DEXT( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) { void (*func_glFramebufferTexture1DEXT)( GLenum, GLenum, GLenum, GLuint, GLint ) = extension_funcs[EXT_glFramebufferTexture1DEXT]; TRACE("(%d, %d, %d, %d, %d)\n", target, attachment, textarget, texture, level ); - ENTER_GL(); func_glFramebufferTexture1DEXT( target, attachment, textarget, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTexture2D( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) { void (*func_glFramebufferTexture2D)( GLenum, GLenum, GLenum, GLuint, GLint ) = extension_funcs[EXT_glFramebufferTexture2D]; TRACE("(%d, %d, %d, %d, %d)\n", target, attachment, textarget, texture, level ); - ENTER_GL(); func_glFramebufferTexture2D( target, attachment, textarget, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTexture2DEXT( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) { void (*func_glFramebufferTexture2DEXT)( GLenum, GLenum, GLenum, GLuint, GLint ) = extension_funcs[EXT_glFramebufferTexture2DEXT]; TRACE("(%d, %d, %d, %d, %d)\n", target, attachment, textarget, texture, level ); - ENTER_GL(); func_glFramebufferTexture2DEXT( target, attachment, textarget, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTexture3D( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset ) { void (*func_glFramebufferTexture3D)( GLenum, GLenum, GLenum, GLuint, GLint, GLint ) = extension_funcs[EXT_glFramebufferTexture3D]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, attachment, textarget, texture, level, zoffset ); - ENTER_GL(); func_glFramebufferTexture3D( target, attachment, textarget, texture, level, zoffset ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTexture3DEXT( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset ) { void (*func_glFramebufferTexture3DEXT)( GLenum, GLenum, GLenum, GLuint, GLint, GLint ) = extension_funcs[EXT_glFramebufferTexture3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, attachment, textarget, texture, level, zoffset ); - ENTER_GL(); func_glFramebufferTexture3DEXT( target, attachment, textarget, texture, level, zoffset ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTextureARB( GLenum target, GLenum attachment, GLuint texture, GLint level ) { void (*func_glFramebufferTextureARB)( GLenum, GLenum, GLuint, GLint ) = extension_funcs[EXT_glFramebufferTextureARB]; TRACE("(%d, %d, %d, %d)\n", target, attachment, texture, level ); - ENTER_GL(); func_glFramebufferTextureARB( target, attachment, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTextureEXT( GLenum target, GLenum attachment, GLuint texture, GLint level ) { void (*func_glFramebufferTextureEXT)( GLenum, GLenum, GLuint, GLint ) = extension_funcs[EXT_glFramebufferTextureEXT]; TRACE("(%d, %d, %d, %d)\n", target, attachment, texture, level ); - ENTER_GL(); func_glFramebufferTextureEXT( target, attachment, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTextureFaceARB( GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face ) { void (*func_glFramebufferTextureFaceARB)( GLenum, GLenum, GLuint, GLint, GLenum ) = extension_funcs[EXT_glFramebufferTextureFaceARB]; TRACE("(%d, %d, %d, %d, %d)\n", target, attachment, texture, level, face ); - ENTER_GL(); func_glFramebufferTextureFaceARB( target, attachment, texture, level, face ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTextureFaceEXT( GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face ) { void (*func_glFramebufferTextureFaceEXT)( GLenum, GLenum, GLuint, GLint, GLenum ) = extension_funcs[EXT_glFramebufferTextureFaceEXT]; TRACE("(%d, %d, %d, %d, %d)\n", target, attachment, texture, level, face ); - ENTER_GL(); func_glFramebufferTextureFaceEXT( target, attachment, texture, level, face ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTextureLayer( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer ) { void (*func_glFramebufferTextureLayer)( GLenum, GLenum, GLuint, GLint, GLint ) = extension_funcs[EXT_glFramebufferTextureLayer]; TRACE("(%d, %d, %d, %d, %d)\n", target, attachment, texture, level, layer ); - ENTER_GL(); func_glFramebufferTextureLayer( target, attachment, texture, level, layer ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTextureLayerARB( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer ) { void (*func_glFramebufferTextureLayerARB)( GLenum, GLenum, GLuint, GLint, GLint ) = extension_funcs[EXT_glFramebufferTextureLayerARB]; TRACE("(%d, %d, %d, %d, %d)\n", target, attachment, texture, level, layer ); - ENTER_GL(); func_glFramebufferTextureLayerARB( target, attachment, texture, level, layer ); - LEAVE_GL(); } static void WINAPI wine_glFramebufferTextureLayerEXT( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer ) { void (*func_glFramebufferTextureLayerEXT)( GLenum, GLenum, GLuint, GLint, GLint ) = extension_funcs[EXT_glFramebufferTextureLayerEXT]; TRACE("(%d, %d, %d, %d, %d)\n", target, attachment, texture, level, layer ); - ENTER_GL(); func_glFramebufferTextureLayerEXT( target, attachment, texture, level, layer ); - LEAVE_GL(); } static void WINAPI wine_glFreeObjectBufferATI( GLuint buffer ) { void (*func_glFreeObjectBufferATI)( GLuint ) = extension_funcs[EXT_glFreeObjectBufferATI]; TRACE("(%d)\n", buffer ); - ENTER_GL(); func_glFreeObjectBufferATI( buffer ); - LEAVE_GL(); } static GLuint WINAPI wine_glGenAsyncMarkersSGIX( GLsizei range ) { - GLuint ret_value; GLuint (*func_glGenAsyncMarkersSGIX)( GLsizei ) = extension_funcs[EXT_glGenAsyncMarkersSGIX]; TRACE("(%d)\n", range ); - ENTER_GL(); - ret_value = func_glGenAsyncMarkersSGIX( range ); - LEAVE_GL(); - return ret_value; + return func_glGenAsyncMarkersSGIX( range ); } static void WINAPI wine_glGenBuffers( GLsizei n, GLuint* buffers ) { void (*func_glGenBuffers)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenBuffers]; TRACE("(%d, %p)\n", n, buffers ); - ENTER_GL(); func_glGenBuffers( n, buffers ); - LEAVE_GL(); } static void WINAPI wine_glGenBuffersARB( GLsizei n, GLuint* buffers ) { void (*func_glGenBuffersARB)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenBuffersARB]; TRACE("(%d, %p)\n", n, buffers ); - ENTER_GL(); func_glGenBuffersARB( n, buffers ); - LEAVE_GL(); } static void WINAPI wine_glGenFencesAPPLE( GLsizei n, GLuint* fences ) { void (*func_glGenFencesAPPLE)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenFencesAPPLE]; TRACE("(%d, %p)\n", n, fences ); - ENTER_GL(); func_glGenFencesAPPLE( n, fences ); - LEAVE_GL(); } static void WINAPI wine_glGenFencesNV( GLsizei n, GLuint* fences ) { void (*func_glGenFencesNV)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenFencesNV]; TRACE("(%d, %p)\n", n, fences ); - ENTER_GL(); func_glGenFencesNV( n, fences ); - LEAVE_GL(); } static GLuint WINAPI wine_glGenFragmentShadersATI( GLuint range ) { - GLuint ret_value; GLuint (*func_glGenFragmentShadersATI)( GLuint ) = extension_funcs[EXT_glGenFragmentShadersATI]; TRACE("(%d)\n", range ); - ENTER_GL(); - ret_value = func_glGenFragmentShadersATI( range ); - LEAVE_GL(); - return ret_value; + return func_glGenFragmentShadersATI( range ); } static void WINAPI wine_glGenFramebuffers( GLsizei n, GLuint* framebuffers ) { void (*func_glGenFramebuffers)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenFramebuffers]; TRACE("(%d, %p)\n", n, framebuffers ); - ENTER_GL(); func_glGenFramebuffers( n, framebuffers ); - LEAVE_GL(); } static void WINAPI wine_glGenFramebuffersEXT( GLsizei n, GLuint* framebuffers ) { void (*func_glGenFramebuffersEXT)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenFramebuffersEXT]; TRACE("(%d, %p)\n", n, framebuffers ); - ENTER_GL(); func_glGenFramebuffersEXT( n, framebuffers ); - LEAVE_GL(); } static void WINAPI wine_glGenNamesAMD( GLenum identifier, GLuint num, GLuint* names ) { void (*func_glGenNamesAMD)( GLenum, GLuint, GLuint* ) = extension_funcs[EXT_glGenNamesAMD]; TRACE("(%d, %d, %p)\n", identifier, num, names ); - ENTER_GL(); func_glGenNamesAMD( identifier, num, names ); - LEAVE_GL(); } static void WINAPI wine_glGenOcclusionQueriesNV( GLsizei n, GLuint* ids ) { void (*func_glGenOcclusionQueriesNV)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenOcclusionQueriesNV]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glGenOcclusionQueriesNV( n, ids ); - LEAVE_GL(); } static GLuint WINAPI wine_glGenPathsNV( GLsizei range ) { - GLuint ret_value; GLuint (*func_glGenPathsNV)( GLsizei ) = extension_funcs[EXT_glGenPathsNV]; TRACE("(%d)\n", range ); - ENTER_GL(); - ret_value = func_glGenPathsNV( range ); - LEAVE_GL(); - return ret_value; + return func_glGenPathsNV( range ); } static void WINAPI wine_glGenPerfMonitorsAMD( GLsizei n, GLuint* monitors ) { void (*func_glGenPerfMonitorsAMD)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenPerfMonitorsAMD]; TRACE("(%d, %p)\n", n, monitors ); - ENTER_GL(); func_glGenPerfMonitorsAMD( n, monitors ); - LEAVE_GL(); } static void WINAPI wine_glGenProgramPipelines( GLsizei n, GLuint* pipelines ) { void (*func_glGenProgramPipelines)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenProgramPipelines]; TRACE("(%d, %p)\n", n, pipelines ); - ENTER_GL(); func_glGenProgramPipelines( n, pipelines ); - LEAVE_GL(); } static void WINAPI wine_glGenProgramsARB( GLsizei n, GLuint* programs ) { void (*func_glGenProgramsARB)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenProgramsARB]; TRACE("(%d, %p)\n", n, programs ); - ENTER_GL(); func_glGenProgramsARB( n, programs ); - LEAVE_GL(); } static void WINAPI wine_glGenProgramsNV( GLsizei n, GLuint* programs ) { void (*func_glGenProgramsNV)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenProgramsNV]; TRACE("(%d, %p)\n", n, programs ); - ENTER_GL(); func_glGenProgramsNV( n, programs ); - LEAVE_GL(); } static void WINAPI wine_glGenQueries( GLsizei n, GLuint* ids ) { void (*func_glGenQueries)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenQueries]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glGenQueries( n, ids ); - LEAVE_GL(); } static void WINAPI wine_glGenQueriesARB( GLsizei n, GLuint* ids ) { void (*func_glGenQueriesARB)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenQueriesARB]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glGenQueriesARB( n, ids ); - LEAVE_GL(); } static void WINAPI wine_glGenRenderbuffers( GLsizei n, GLuint* renderbuffers ) { void (*func_glGenRenderbuffers)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenRenderbuffers]; TRACE("(%d, %p)\n", n, renderbuffers ); - ENTER_GL(); func_glGenRenderbuffers( n, renderbuffers ); - LEAVE_GL(); } static void WINAPI wine_glGenRenderbuffersEXT( GLsizei n, GLuint* renderbuffers ) { void (*func_glGenRenderbuffersEXT)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenRenderbuffersEXT]; TRACE("(%d, %p)\n", n, renderbuffers ); - ENTER_GL(); func_glGenRenderbuffersEXT( n, renderbuffers ); - LEAVE_GL(); } static void WINAPI wine_glGenSamplers( GLsizei count, GLuint* samplers ) { void (*func_glGenSamplers)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenSamplers]; TRACE("(%d, %p)\n", count, samplers ); - ENTER_GL(); func_glGenSamplers( count, samplers ); - LEAVE_GL(); } static GLuint WINAPI wine_glGenSymbolsEXT( GLenum datatype, GLenum storagetype, GLenum range, GLuint components ) { - GLuint ret_value; GLuint (*func_glGenSymbolsEXT)( GLenum, GLenum, GLenum, GLuint ) = extension_funcs[EXT_glGenSymbolsEXT]; TRACE("(%d, %d, %d, %d)\n", datatype, storagetype, range, components ); - ENTER_GL(); - ret_value = func_glGenSymbolsEXT( datatype, storagetype, range, components ); - LEAVE_GL(); - return ret_value; + return func_glGenSymbolsEXT( datatype, storagetype, range, components ); } static void WINAPI wine_glGenTexturesEXT( GLsizei n, GLuint* textures ) { void (*func_glGenTexturesEXT)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenTexturesEXT]; TRACE("(%d, %p)\n", n, textures ); - ENTER_GL(); func_glGenTexturesEXT( n, textures ); - LEAVE_GL(); } static void WINAPI wine_glGenTransformFeedbacks( GLsizei n, GLuint* ids ) { void (*func_glGenTransformFeedbacks)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenTransformFeedbacks]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glGenTransformFeedbacks( n, ids ); - LEAVE_GL(); } static void WINAPI wine_glGenTransformFeedbacksNV( GLsizei n, GLuint* ids ) { void (*func_glGenTransformFeedbacksNV)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenTransformFeedbacksNV]; TRACE("(%d, %p)\n", n, ids ); - ENTER_GL(); func_glGenTransformFeedbacksNV( n, ids ); - LEAVE_GL(); } static void WINAPI wine_glGenVertexArrays( GLsizei n, GLuint* arrays ) { void (*func_glGenVertexArrays)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenVertexArrays]; TRACE("(%d, %p)\n", n, arrays ); - ENTER_GL(); func_glGenVertexArrays( n, arrays ); - LEAVE_GL(); } static void WINAPI wine_glGenVertexArraysAPPLE( GLsizei n, GLuint* arrays ) { void (*func_glGenVertexArraysAPPLE)( GLsizei, GLuint* ) = extension_funcs[EXT_glGenVertexArraysAPPLE]; TRACE("(%d, %p)\n", n, arrays ); - ENTER_GL(); func_glGenVertexArraysAPPLE( n, arrays ); - LEAVE_GL(); } static GLuint WINAPI wine_glGenVertexShadersEXT( GLuint range ) { - GLuint ret_value; GLuint (*func_glGenVertexShadersEXT)( GLuint ) = extension_funcs[EXT_glGenVertexShadersEXT]; TRACE("(%d)\n", range ); - ENTER_GL(); - ret_value = func_glGenVertexShadersEXT( range ); - LEAVE_GL(); - return ret_value; + return func_glGenVertexShadersEXT( range ); } static void WINAPI wine_glGenerateMipmap( GLenum target ) { void (*func_glGenerateMipmap)( GLenum ) = extension_funcs[EXT_glGenerateMipmap]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glGenerateMipmap( target ); - LEAVE_GL(); } static void WINAPI wine_glGenerateMipmapEXT( GLenum target ) { void (*func_glGenerateMipmapEXT)( GLenum ) = extension_funcs[EXT_glGenerateMipmapEXT]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glGenerateMipmapEXT( target ); - LEAVE_GL(); } static void WINAPI wine_glGenerateMultiTexMipmapEXT( GLenum texunit, GLenum target ) { void (*func_glGenerateMultiTexMipmapEXT)( GLenum, GLenum ) = extension_funcs[EXT_glGenerateMultiTexMipmapEXT]; TRACE("(%d, %d)\n", texunit, target ); - ENTER_GL(); func_glGenerateMultiTexMipmapEXT( texunit, target ); - LEAVE_GL(); } static void WINAPI wine_glGenerateTextureMipmapEXT( GLuint texture, GLenum target ) { void (*func_glGenerateTextureMipmapEXT)( GLuint, GLenum ) = extension_funcs[EXT_glGenerateTextureMipmapEXT]; TRACE("(%d, %d)\n", texture, target ); - ENTER_GL(); func_glGenerateTextureMipmapEXT( texture, target ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveAtomicCounterBufferiv( GLuint program, GLuint bufferIndex, GLenum pname, GLint* params ) { void (*func_glGetActiveAtomicCounterBufferiv)( GLuint, GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetActiveAtomicCounterBufferiv]; TRACE("(%d, %d, %d, %p)\n", program, bufferIndex, pname, params ); - ENTER_GL(); func_glGetActiveAtomicCounterBufferiv( program, bufferIndex, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveAttrib( GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, char* name ) { void (*func_glGetActiveAttrib)( GLuint, GLuint, GLsizei, GLsizei*, GLint*, GLenum*, char* ) = extension_funcs[EXT_glGetActiveAttrib]; TRACE("(%d, %d, %d, %p, %p, %p, %p)\n", program, index, bufSize, length, size, type, name ); - ENTER_GL(); func_glGetActiveAttrib( program, index, bufSize, length, size, type, name ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveAttribARB( unsigned int programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, char* name ) { void (*func_glGetActiveAttribARB)( unsigned int, GLuint, GLsizei, GLsizei*, GLint*, GLenum*, char* ) = extension_funcs[EXT_glGetActiveAttribARB]; TRACE("(%d, %d, %d, %p, %p, %p, %p)\n", programObj, index, maxLength, length, size, type, name ); - ENTER_GL(); func_glGetActiveAttribARB( programObj, index, maxLength, length, size, type, name ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveSubroutineName( GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, char* name ) { void (*func_glGetActiveSubroutineName)( GLuint, GLenum, GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetActiveSubroutineName]; TRACE("(%d, %d, %d, %d, %p, %p)\n", program, shadertype, index, bufsize, length, name ); - ENTER_GL(); func_glGetActiveSubroutineName( program, shadertype, index, bufsize, length, name ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveSubroutineUniformName( GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, char* name ) { void (*func_glGetActiveSubroutineUniformName)( GLuint, GLenum, GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetActiveSubroutineUniformName]; TRACE("(%d, %d, %d, %d, %p, %p)\n", program, shadertype, index, bufsize, length, name ); - ENTER_GL(); func_glGetActiveSubroutineUniformName( program, shadertype, index, bufsize, length, name ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveSubroutineUniformiv( GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint* values ) { void (*func_glGetActiveSubroutineUniformiv)( GLuint, GLenum, GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetActiveSubroutineUniformiv]; TRACE("(%d, %d, %d, %d, %p)\n", program, shadertype, index, pname, values ); - ENTER_GL(); func_glGetActiveSubroutineUniformiv( program, shadertype, index, pname, values ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveUniform( GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, char* name ) { void (*func_glGetActiveUniform)( GLuint, GLuint, GLsizei, GLsizei*, GLint*, GLenum*, char* ) = extension_funcs[EXT_glGetActiveUniform]; TRACE("(%d, %d, %d, %p, %p, %p, %p)\n", program, index, bufSize, length, size, type, name ); - ENTER_GL(); func_glGetActiveUniform( program, index, bufSize, length, size, type, name ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveUniformARB( unsigned int programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, char* name ) { void (*func_glGetActiveUniformARB)( unsigned int, GLuint, GLsizei, GLsizei*, GLint*, GLenum*, char* ) = extension_funcs[EXT_glGetActiveUniformARB]; TRACE("(%d, %d, %d, %p, %p, %p, %p)\n", programObj, index, maxLength, length, size, type, name ); - ENTER_GL(); func_glGetActiveUniformARB( programObj, index, maxLength, length, size, type, name ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveUniformBlockName( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, char* uniformBlockName ) { void (*func_glGetActiveUniformBlockName)( GLuint, GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetActiveUniformBlockName]; TRACE("(%d, %d, %d, %p, %p)\n", program, uniformBlockIndex, bufSize, length, uniformBlockName ); - ENTER_GL(); func_glGetActiveUniformBlockName( program, uniformBlockIndex, bufSize, length, uniformBlockName ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveUniformBlockiv( GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params ) { void (*func_glGetActiveUniformBlockiv)( GLuint, GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetActiveUniformBlockiv]; TRACE("(%d, %d, %d, %p)\n", program, uniformBlockIndex, pname, params ); - ENTER_GL(); func_glGetActiveUniformBlockiv( program, uniformBlockIndex, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveUniformName( GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, char* uniformName ) { void (*func_glGetActiveUniformName)( GLuint, GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetActiveUniformName]; TRACE("(%d, %d, %d, %p, %p)\n", program, uniformIndex, bufSize, length, uniformName ); - ENTER_GL(); func_glGetActiveUniformName( program, uniformIndex, bufSize, length, uniformName ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveUniformsiv( GLuint program, GLsizei uniformCount, GLuint* uniformIndices, GLenum pname, GLint* params ) { void (*func_glGetActiveUniformsiv)( GLuint, GLsizei, GLuint*, GLenum, GLint* ) = extension_funcs[EXT_glGetActiveUniformsiv]; TRACE("(%d, %d, %p, %d, %p)\n", program, uniformCount, uniformIndices, pname, params ); - ENTER_GL(); func_glGetActiveUniformsiv( program, uniformCount, uniformIndices, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetActiveVaryingNV( GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, char* name ) { void (*func_glGetActiveVaryingNV)( GLuint, GLuint, GLsizei, GLsizei*, GLsizei*, GLenum*, char* ) = extension_funcs[EXT_glGetActiveVaryingNV]; TRACE("(%d, %d, %d, %p, %p, %p, %p)\n", program, index, bufSize, length, size, type, name ); - ENTER_GL(); func_glGetActiveVaryingNV( program, index, bufSize, length, size, type, name ); - LEAVE_GL(); } static void WINAPI wine_glGetArrayObjectfvATI( GLenum array, GLenum pname, GLfloat* params ) { void (*func_glGetArrayObjectfvATI)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetArrayObjectfvATI]; TRACE("(%d, %d, %p)\n", array, pname, params ); - ENTER_GL(); func_glGetArrayObjectfvATI( array, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetArrayObjectivATI( GLenum array, GLenum pname, GLint* params ) { void (*func_glGetArrayObjectivATI)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetArrayObjectivATI]; TRACE("(%d, %d, %p)\n", array, pname, params ); - ENTER_GL(); func_glGetArrayObjectivATI( array, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetAttachedObjectsARB( unsigned int containerObj, GLsizei maxCount, GLsizei* count, unsigned int* obj ) { void (*func_glGetAttachedObjectsARB)( unsigned int, GLsizei, GLsizei*, unsigned int* ) = extension_funcs[EXT_glGetAttachedObjectsARB]; TRACE("(%d, %d, %p, %p)\n", containerObj, maxCount, count, obj ); - ENTER_GL(); func_glGetAttachedObjectsARB( containerObj, maxCount, count, obj ); - LEAVE_GL(); } static void WINAPI wine_glGetAttachedShaders( GLuint program, GLsizei maxCount, GLsizei* count, GLuint* obj ) { void (*func_glGetAttachedShaders)( GLuint, GLsizei, GLsizei*, GLuint* ) = extension_funcs[EXT_glGetAttachedShaders]; TRACE("(%d, %d, %p, %p)\n", program, maxCount, count, obj ); - ENTER_GL(); func_glGetAttachedShaders( program, maxCount, count, obj ); - LEAVE_GL(); } static GLint WINAPI wine_glGetAttribLocation( GLuint program, char* name ) { - GLint ret_value; GLint (*func_glGetAttribLocation)( GLuint, char* ) = extension_funcs[EXT_glGetAttribLocation]; TRACE("(%d, %p)\n", program, name ); - ENTER_GL(); - ret_value = func_glGetAttribLocation( program, name ); - LEAVE_GL(); - return ret_value; + return func_glGetAttribLocation( program, name ); } static GLint WINAPI wine_glGetAttribLocationARB( unsigned int programObj, char* name ) { - GLint ret_value; GLint (*func_glGetAttribLocationARB)( unsigned int, char* ) = extension_funcs[EXT_glGetAttribLocationARB]; TRACE("(%d, %p)\n", programObj, name ); - ENTER_GL(); - ret_value = func_glGetAttribLocationARB( programObj, name ); - LEAVE_GL(); - return ret_value; + return func_glGetAttribLocationARB( programObj, name ); } static void WINAPI wine_glGetBooleanIndexedvEXT( GLenum target, GLuint index, GLboolean* data ) { void (*func_glGetBooleanIndexedvEXT)( GLenum, GLuint, GLboolean* ) = extension_funcs[EXT_glGetBooleanIndexedvEXT]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetBooleanIndexedvEXT( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetBooleani_v( GLenum target, GLuint index, GLboolean* data ) { void (*func_glGetBooleani_v)( GLenum, GLuint, GLboolean* ) = extension_funcs[EXT_glGetBooleani_v]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetBooleani_v( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetBufferParameteri64v( GLenum target, GLenum pname, INT64* params ) { void (*func_glGetBufferParameteri64v)( GLenum, GLenum, INT64* ) = extension_funcs[EXT_glGetBufferParameteri64v]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetBufferParameteri64v( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetBufferParameteriv( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetBufferParameteriv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetBufferParameteriv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetBufferParameteriv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetBufferParameterivARB( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetBufferParameterivARB)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetBufferParameterivARB]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetBufferParameterivARB( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetBufferParameterui64vNV( GLenum target, GLenum pname, UINT64* params ) { void (*func_glGetBufferParameterui64vNV)( GLenum, GLenum, UINT64* ) = extension_funcs[EXT_glGetBufferParameterui64vNV]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetBufferParameterui64vNV( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetBufferPointerv( GLenum target, GLenum pname, GLvoid** params ) { void (*func_glGetBufferPointerv)( GLenum, GLenum, GLvoid** ) = extension_funcs[EXT_glGetBufferPointerv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetBufferPointerv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetBufferPointervARB( GLenum target, GLenum pname, GLvoid** params ) { void (*func_glGetBufferPointervARB)( GLenum, GLenum, GLvoid** ) = extension_funcs[EXT_glGetBufferPointervARB]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetBufferPointervARB( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetBufferSubData( GLenum target, INT_PTR offset, INT_PTR size, GLvoid* data ) { void (*func_glGetBufferSubData)( GLenum, INT_PTR, INT_PTR, GLvoid* ) = extension_funcs[EXT_glGetBufferSubData]; TRACE("(%d, %ld, %ld, %p)\n", target, offset, size, data ); - ENTER_GL(); func_glGetBufferSubData( target, offset, size, data ); - LEAVE_GL(); } static void WINAPI wine_glGetBufferSubDataARB( GLenum target, INT_PTR offset, INT_PTR size, GLvoid* data ) { void (*func_glGetBufferSubDataARB)( GLenum, INT_PTR, INT_PTR, GLvoid* ) = extension_funcs[EXT_glGetBufferSubDataARB]; TRACE("(%d, %ld, %ld, %p)\n", target, offset, size, data ); - ENTER_GL(); func_glGetBufferSubDataARB( target, offset, size, data ); - LEAVE_GL(); } static void WINAPI wine_glGetColorTable( GLenum target, GLenum format, GLenum type, GLvoid* table ) { void (*func_glGetColorTable)( GLenum, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetColorTable]; TRACE("(%d, %d, %d, %p)\n", target, format, type, table ); - ENTER_GL(); func_glGetColorTable( target, format, type, table ); - LEAVE_GL(); } static void WINAPI wine_glGetColorTableEXT( GLenum target, GLenum format, GLenum type, GLvoid* data ) { void (*func_glGetColorTableEXT)( GLenum, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetColorTableEXT]; TRACE("(%d, %d, %d, %p)\n", target, format, type, data ); - ENTER_GL(); func_glGetColorTableEXT( target, format, type, data ); - LEAVE_GL(); } static void WINAPI wine_glGetColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetColorTableParameterfv)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetColorTableParameterfv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetColorTableParameterfv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetColorTableParameterfvEXT( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetColorTableParameterfvEXT)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetColorTableParameterfvEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetColorTableParameterfvEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetColorTableParameterfvSGI( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetColorTableParameterfvSGI)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetColorTableParameterfvSGI]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetColorTableParameterfvSGI( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetColorTableParameteriv( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetColorTableParameteriv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetColorTableParameteriv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetColorTableParameteriv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetColorTableParameterivEXT( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetColorTableParameterivEXT)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetColorTableParameterivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetColorTableParameterivEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetColorTableParameterivSGI( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetColorTableParameterivSGI)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetColorTableParameterivSGI]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetColorTableParameterivSGI( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetColorTableSGI( GLenum target, GLenum format, GLenum type, GLvoid* table ) { void (*func_glGetColorTableSGI)( GLenum, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetColorTableSGI]; TRACE("(%d, %d, %d, %p)\n", target, format, type, table ); - ENTER_GL(); func_glGetColorTableSGI( target, format, type, table ); - LEAVE_GL(); } static void WINAPI wine_glGetCombinerInputParameterfvNV( GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat* params ) { void (*func_glGetCombinerInputParameterfvNV)( GLenum, GLenum, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetCombinerInputParameterfvNV]; TRACE("(%d, %d, %d, %d, %p)\n", stage, portion, variable, pname, params ); - ENTER_GL(); func_glGetCombinerInputParameterfvNV( stage, portion, variable, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetCombinerInputParameterivNV( GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint* params ) { void (*func_glGetCombinerInputParameterivNV)( GLenum, GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetCombinerInputParameterivNV]; TRACE("(%d, %d, %d, %d, %p)\n", stage, portion, variable, pname, params ); - ENTER_GL(); func_glGetCombinerInputParameterivNV( stage, portion, variable, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetCombinerOutputParameterfvNV( GLenum stage, GLenum portion, GLenum pname, GLfloat* params ) { void (*func_glGetCombinerOutputParameterfvNV)( GLenum, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetCombinerOutputParameterfvNV]; TRACE("(%d, %d, %d, %p)\n", stage, portion, pname, params ); - ENTER_GL(); func_glGetCombinerOutputParameterfvNV( stage, portion, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetCombinerOutputParameterivNV( GLenum stage, GLenum portion, GLenum pname, GLint* params ) { void (*func_glGetCombinerOutputParameterivNV)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetCombinerOutputParameterivNV]; TRACE("(%d, %d, %d, %p)\n", stage, portion, pname, params ); - ENTER_GL(); func_glGetCombinerOutputParameterivNV( stage, portion, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetCombinerStageParameterfvNV( GLenum stage, GLenum pname, GLfloat* params ) { void (*func_glGetCombinerStageParameterfvNV)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetCombinerStageParameterfvNV]; TRACE("(%d, %d, %p)\n", stage, pname, params ); - ENTER_GL(); func_glGetCombinerStageParameterfvNV( stage, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetCompressedMultiTexImageEXT( GLenum texunit, GLenum target, GLint lod, GLvoid* img ) { void (*func_glGetCompressedMultiTexImageEXT)( GLenum, GLenum, GLint, GLvoid* ) = extension_funcs[EXT_glGetCompressedMultiTexImageEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, lod, img ); - ENTER_GL(); func_glGetCompressedMultiTexImageEXT( texunit, target, lod, img ); - LEAVE_GL(); } static void WINAPI wine_glGetCompressedTexImage( GLenum target, GLint level, GLvoid* img ) { void (*func_glGetCompressedTexImage)( GLenum, GLint, GLvoid* ) = extension_funcs[EXT_glGetCompressedTexImage]; TRACE("(%d, %d, %p)\n", target, level, img ); - ENTER_GL(); func_glGetCompressedTexImage( target, level, img ); - LEAVE_GL(); } static void WINAPI wine_glGetCompressedTexImageARB( GLenum target, GLint level, GLvoid* img ) { void (*func_glGetCompressedTexImageARB)( GLenum, GLint, GLvoid* ) = extension_funcs[EXT_glGetCompressedTexImageARB]; TRACE("(%d, %d, %p)\n", target, level, img ); - ENTER_GL(); func_glGetCompressedTexImageARB( target, level, img ); - LEAVE_GL(); } static void WINAPI wine_glGetCompressedTextureImageEXT( GLuint texture, GLenum target, GLint lod, GLvoid* img ) { void (*func_glGetCompressedTextureImageEXT)( GLuint, GLenum, GLint, GLvoid* ) = extension_funcs[EXT_glGetCompressedTextureImageEXT]; TRACE("(%d, %d, %d, %p)\n", texture, target, lod, img ); - ENTER_GL(); func_glGetCompressedTextureImageEXT( texture, target, lod, img ); - LEAVE_GL(); } static void WINAPI wine_glGetConvolutionFilter( GLenum target, GLenum format, GLenum type, GLvoid* image ) { void (*func_glGetConvolutionFilter)( GLenum, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetConvolutionFilter]; TRACE("(%d, %d, %d, %p)\n", target, format, type, image ); - ENTER_GL(); func_glGetConvolutionFilter( target, format, type, image ); - LEAVE_GL(); } static void WINAPI wine_glGetConvolutionFilterEXT( GLenum target, GLenum format, GLenum type, GLvoid* image ) { void (*func_glGetConvolutionFilterEXT)( GLenum, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetConvolutionFilterEXT]; TRACE("(%d, %d, %d, %p)\n", target, format, type, image ); - ENTER_GL(); func_glGetConvolutionFilterEXT( target, format, type, image ); - LEAVE_GL(); } static void WINAPI wine_glGetConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetConvolutionParameterfv)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetConvolutionParameterfv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetConvolutionParameterfv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetConvolutionParameterfvEXT( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetConvolutionParameterfvEXT)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetConvolutionParameterfvEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetConvolutionParameterfvEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetConvolutionParameteriv( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetConvolutionParameteriv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetConvolutionParameteriv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetConvolutionParameteriv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetConvolutionParameterivEXT( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetConvolutionParameterivEXT)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetConvolutionParameterivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetConvolutionParameterivEXT( target, pname, params ); - LEAVE_GL(); } static GLuint WINAPI wine_glGetDebugMessageLogAMD( GLuint count, GLsizei bufsize, GLenum* categories, GLuint* severities, GLuint* ids, GLsizei* lengths, char* message ) { - GLuint ret_value; GLuint (*func_glGetDebugMessageLogAMD)( GLuint, GLsizei, GLenum*, GLuint*, GLuint*, GLsizei*, char* ) = extension_funcs[EXT_glGetDebugMessageLogAMD]; TRACE("(%d, %d, %p, %p, %p, %p, %p)\n", count, bufsize, categories, severities, ids, lengths, message ); - ENTER_GL(); - ret_value = func_glGetDebugMessageLogAMD( count, bufsize, categories, severities, ids, lengths, message ); - LEAVE_GL(); - return ret_value; + return func_glGetDebugMessageLogAMD( count, bufsize, categories, severities, ids, lengths, message ); } static GLuint WINAPI wine_glGetDebugMessageLogARB( GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, char* messageLog ) { - GLuint ret_value; GLuint (*func_glGetDebugMessageLogARB)( GLuint, GLsizei, GLenum*, GLenum*, GLuint*, GLenum*, GLsizei*, char* ) = extension_funcs[EXT_glGetDebugMessageLogARB]; TRACE("(%d, %d, %p, %p, %p, %p, %p, %p)\n", count, bufsize, sources, types, ids, severities, lengths, messageLog ); - ENTER_GL(); - ret_value = func_glGetDebugMessageLogARB( count, bufsize, sources, types, ids, severities, lengths, messageLog ); - LEAVE_GL(); - return ret_value; + return func_glGetDebugMessageLogARB( count, bufsize, sources, types, ids, severities, lengths, messageLog ); } static void WINAPI wine_glGetDetailTexFuncSGIS( GLenum target, GLfloat* points ) { void (*func_glGetDetailTexFuncSGIS)( GLenum, GLfloat* ) = extension_funcs[EXT_glGetDetailTexFuncSGIS]; TRACE("(%d, %p)\n", target, points ); - ENTER_GL(); func_glGetDetailTexFuncSGIS( target, points ); - LEAVE_GL(); } static void WINAPI wine_glGetDoubleIndexedvEXT( GLenum target, GLuint index, GLdouble* data ) { void (*func_glGetDoubleIndexedvEXT)( GLenum, GLuint, GLdouble* ) = extension_funcs[EXT_glGetDoubleIndexedvEXT]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetDoubleIndexedvEXT( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetDoublei_v( GLenum target, GLuint index, GLdouble* data ) { void (*func_glGetDoublei_v)( GLenum, GLuint, GLdouble* ) = extension_funcs[EXT_glGetDoublei_v]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetDoublei_v( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetFenceivNV( GLuint fence, GLenum pname, GLint* params ) { void (*func_glGetFenceivNV)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetFenceivNV]; TRACE("(%d, %d, %p)\n", fence, pname, params ); - ENTER_GL(); func_glGetFenceivNV( fence, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetFinalCombinerInputParameterfvNV( GLenum variable, GLenum pname, GLfloat* params ) { void (*func_glGetFinalCombinerInputParameterfvNV)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetFinalCombinerInputParameterfvNV]; TRACE("(%d, %d, %p)\n", variable, pname, params ); - ENTER_GL(); func_glGetFinalCombinerInputParameterfvNV( variable, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetFinalCombinerInputParameterivNV( GLenum variable, GLenum pname, GLint* params ) { void (*func_glGetFinalCombinerInputParameterivNV)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetFinalCombinerInputParameterivNV]; TRACE("(%d, %d, %p)\n", variable, pname, params ); - ENTER_GL(); func_glGetFinalCombinerInputParameterivNV( variable, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetFloatIndexedvEXT( GLenum target, GLuint index, GLfloat* data ) { void (*func_glGetFloatIndexedvEXT)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glGetFloatIndexedvEXT]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetFloatIndexedvEXT( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetFloati_v( GLenum target, GLuint index, GLfloat* data ) { void (*func_glGetFloati_v)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glGetFloati_v]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetFloati_v( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetFogFuncSGIS( GLfloat* points ) { void (*func_glGetFogFuncSGIS)( GLfloat* ) = extension_funcs[EXT_glGetFogFuncSGIS]; TRACE("(%p)\n", points ); - ENTER_GL(); func_glGetFogFuncSGIS( points ); - LEAVE_GL(); } static GLint WINAPI wine_glGetFragDataIndex( GLuint program, char* name ) { - GLint ret_value; GLint (*func_glGetFragDataIndex)( GLuint, char* ) = extension_funcs[EXT_glGetFragDataIndex]; TRACE("(%d, %p)\n", program, name ); - ENTER_GL(); - ret_value = func_glGetFragDataIndex( program, name ); - LEAVE_GL(); - return ret_value; + return func_glGetFragDataIndex( program, name ); } static GLint WINAPI wine_glGetFragDataLocation( GLuint program, char* name ) { - GLint ret_value; GLint (*func_glGetFragDataLocation)( GLuint, char* ) = extension_funcs[EXT_glGetFragDataLocation]; TRACE("(%d, %p)\n", program, name ); - ENTER_GL(); - ret_value = func_glGetFragDataLocation( program, name ); - LEAVE_GL(); - return ret_value; + return func_glGetFragDataLocation( program, name ); } static GLint WINAPI wine_glGetFragDataLocationEXT( GLuint program, char* name ) { - GLint ret_value; GLint (*func_glGetFragDataLocationEXT)( GLuint, char* ) = extension_funcs[EXT_glGetFragDataLocationEXT]; TRACE("(%d, %p)\n", program, name ); - ENTER_GL(); - ret_value = func_glGetFragDataLocationEXT( program, name ); - LEAVE_GL(); - return ret_value; + return func_glGetFragDataLocationEXT( program, name ); } static void WINAPI wine_glGetFragmentLightfvSGIX( GLenum light, GLenum pname, GLfloat* params ) { void (*func_glGetFragmentLightfvSGIX)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetFragmentLightfvSGIX]; TRACE("(%d, %d, %p)\n", light, pname, params ); - ENTER_GL(); func_glGetFragmentLightfvSGIX( light, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetFragmentLightivSGIX( GLenum light, GLenum pname, GLint* params ) { void (*func_glGetFragmentLightivSGIX)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetFragmentLightivSGIX]; TRACE("(%d, %d, %p)\n", light, pname, params ); - ENTER_GL(); func_glGetFragmentLightivSGIX( light, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetFragmentMaterialfvSGIX( GLenum face, GLenum pname, GLfloat* params ) { void (*func_glGetFragmentMaterialfvSGIX)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetFragmentMaterialfvSGIX]; TRACE("(%d, %d, %p)\n", face, pname, params ); - ENTER_GL(); func_glGetFragmentMaterialfvSGIX( face, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetFragmentMaterialivSGIX( GLenum face, GLenum pname, GLint* params ) { void (*func_glGetFragmentMaterialivSGIX)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetFragmentMaterialivSGIX]; TRACE("(%d, %d, %p)\n", face, pname, params ); - ENTER_GL(); func_glGetFragmentMaterialivSGIX( face, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetFramebufferAttachmentParameteriv( GLenum target, GLenum attachment, GLenum pname, GLint* params ) { void (*func_glGetFramebufferAttachmentParameteriv)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetFramebufferAttachmentParameteriv]; TRACE("(%d, %d, %d, %p)\n", target, attachment, pname, params ); - ENTER_GL(); func_glGetFramebufferAttachmentParameteriv( target, attachment, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetFramebufferAttachmentParameterivEXT( GLenum target, GLenum attachment, GLenum pname, GLint* params ) { void (*func_glGetFramebufferAttachmentParameterivEXT)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetFramebufferAttachmentParameterivEXT]; TRACE("(%d, %d, %d, %p)\n", target, attachment, pname, params ); - ENTER_GL(); func_glGetFramebufferAttachmentParameterivEXT( target, attachment, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetFramebufferParameterivEXT( GLuint framebuffer, GLenum pname, GLint* params ) { void (*func_glGetFramebufferParameterivEXT)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetFramebufferParameterivEXT]; TRACE("(%d, %d, %p)\n", framebuffer, pname, params ); - ENTER_GL(); func_glGetFramebufferParameterivEXT( framebuffer, pname, params ); - LEAVE_GL(); } static GLenum WINAPI wine_glGetGraphicsResetStatusARB( void ) { - GLenum ret_value; GLenum (*func_glGetGraphicsResetStatusARB)( void ) = extension_funcs[EXT_glGetGraphicsResetStatusARB]; TRACE("()\n"); - ENTER_GL(); - ret_value = func_glGetGraphicsResetStatusARB( ); - LEAVE_GL(); - return ret_value; + return func_glGetGraphicsResetStatusARB( ); } static unsigned int WINAPI wine_glGetHandleARB( GLenum pname ) { - unsigned int ret_value; unsigned int (*func_glGetHandleARB)( GLenum ) = extension_funcs[EXT_glGetHandleARB]; TRACE("(%d)\n", pname ); - ENTER_GL(); - ret_value = func_glGetHandleARB( pname ); - LEAVE_GL(); - return ret_value; + return func_glGetHandleARB( pname ); } static void WINAPI wine_glGetHistogram( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) { void (*func_glGetHistogram)( GLenum, GLboolean, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetHistogram]; TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values ); - ENTER_GL(); func_glGetHistogram( target, reset, format, type, values ); - LEAVE_GL(); } static void WINAPI wine_glGetHistogramEXT( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) { void (*func_glGetHistogramEXT)( GLenum, GLboolean, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetHistogramEXT]; TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values ); - ENTER_GL(); func_glGetHistogramEXT( target, reset, format, type, values ); - LEAVE_GL(); } static void WINAPI wine_glGetHistogramParameterfv( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetHistogramParameterfv)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetHistogramParameterfv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetHistogramParameterfv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetHistogramParameterfvEXT( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetHistogramParameterfvEXT)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetHistogramParameterfvEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetHistogramParameterfvEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetHistogramParameteriv( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetHistogramParameteriv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetHistogramParameteriv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetHistogramParameteriv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetHistogramParameterivEXT( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetHistogramParameterivEXT)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetHistogramParameterivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetHistogramParameterivEXT( target, pname, params ); - LEAVE_GL(); } static UINT64 WINAPI wine_glGetImageHandleNV( GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format ) { - UINT64 ret_value; UINT64 (*func_glGetImageHandleNV)( GLuint, GLint, GLboolean, GLint, GLenum ) = extension_funcs[EXT_glGetImageHandleNV]; TRACE("(%d, %d, %d, %d, %d)\n", texture, level, layered, layer, format ); - ENTER_GL(); - ret_value = func_glGetImageHandleNV( texture, level, layered, layer, format ); - LEAVE_GL(); - return ret_value; + return func_glGetImageHandleNV( texture, level, layered, layer, format ); } static void WINAPI wine_glGetImageTransformParameterfvHP( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetImageTransformParameterfvHP)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetImageTransformParameterfvHP]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetImageTransformParameterfvHP( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetImageTransformParameterivHP( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetImageTransformParameterivHP)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetImageTransformParameterivHP]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetImageTransformParameterivHP( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetInfoLogARB( unsigned int obj, GLsizei maxLength, GLsizei* length, char* infoLog ) { void (*func_glGetInfoLogARB)( unsigned int, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetInfoLogARB]; TRACE("(%d, %d, %p, %p)\n", obj, maxLength, length, infoLog ); - ENTER_GL(); func_glGetInfoLogARB( obj, maxLength, length, infoLog ); - LEAVE_GL(); } static GLint WINAPI wine_glGetInstrumentsSGIX( void ) { - GLint ret_value; GLint (*func_glGetInstrumentsSGIX)( void ) = extension_funcs[EXT_glGetInstrumentsSGIX]; TRACE("()\n"); - ENTER_GL(); - ret_value = func_glGetInstrumentsSGIX( ); - LEAVE_GL(); - return ret_value; + return func_glGetInstrumentsSGIX( ); } static void WINAPI wine_glGetInteger64i_v( GLenum target, GLuint index, INT64* data ) { void (*func_glGetInteger64i_v)( GLenum, GLuint, INT64* ) = extension_funcs[EXT_glGetInteger64i_v]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetInteger64i_v( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetInteger64v( GLenum pname, INT64* params ) { void (*func_glGetInteger64v)( GLenum, INT64* ) = extension_funcs[EXT_glGetInteger64v]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glGetInteger64v( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetIntegerIndexedvEXT( GLenum target, GLuint index, GLint* data ) { void (*func_glGetIntegerIndexedvEXT)( GLenum, GLuint, GLint* ) = extension_funcs[EXT_glGetIntegerIndexedvEXT]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetIntegerIndexedvEXT( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetIntegeri_v( GLenum target, GLuint index, GLint* data ) { void (*func_glGetIntegeri_v)( GLenum, GLuint, GLint* ) = extension_funcs[EXT_glGetIntegeri_v]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetIntegeri_v( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetIntegerui64i_vNV( GLenum value, GLuint index, UINT64* result ) { void (*func_glGetIntegerui64i_vNV)( GLenum, GLuint, UINT64* ) = extension_funcs[EXT_glGetIntegerui64i_vNV]; TRACE("(%d, %d, %p)\n", value, index, result ); - ENTER_GL(); func_glGetIntegerui64i_vNV( value, index, result ); - LEAVE_GL(); } static void WINAPI wine_glGetIntegerui64vNV( GLenum value, UINT64* result ) { void (*func_glGetIntegerui64vNV)( GLenum, UINT64* ) = extension_funcs[EXT_glGetIntegerui64vNV]; TRACE("(%d, %p)\n", value, result ); - ENTER_GL(); func_glGetIntegerui64vNV( value, result ); - LEAVE_GL(); } static void WINAPI wine_glGetInternalformativ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params ) { void (*func_glGetInternalformativ)( GLenum, GLenum, GLenum, GLsizei, GLint* ) = extension_funcs[EXT_glGetInternalformativ]; TRACE("(%d, %d, %d, %d, %p)\n", target, internalformat, pname, bufSize, params ); - ENTER_GL(); func_glGetInternalformativ( target, internalformat, pname, bufSize, params ); - LEAVE_GL(); } static void WINAPI wine_glGetInvariantBooleanvEXT( GLuint id, GLenum value, GLboolean* data ) { void (*func_glGetInvariantBooleanvEXT)( GLuint, GLenum, GLboolean* ) = extension_funcs[EXT_glGetInvariantBooleanvEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetInvariantBooleanvEXT( id, value, data ); - LEAVE_GL(); } static void WINAPI wine_glGetInvariantFloatvEXT( GLuint id, GLenum value, GLfloat* data ) { void (*func_glGetInvariantFloatvEXT)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetInvariantFloatvEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetInvariantFloatvEXT( id, value, data ); - LEAVE_GL(); } static void WINAPI wine_glGetInvariantIntegervEXT( GLuint id, GLenum value, GLint* data ) { void (*func_glGetInvariantIntegervEXT)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetInvariantIntegervEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetInvariantIntegervEXT( id, value, data ); - LEAVE_GL(); } static void WINAPI wine_glGetListParameterfvSGIX( GLuint list, GLenum pname, GLfloat* params ) { void (*func_glGetListParameterfvSGIX)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetListParameterfvSGIX]; TRACE("(%d, %d, %p)\n", list, pname, params ); - ENTER_GL(); func_glGetListParameterfvSGIX( list, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetListParameterivSGIX( GLuint list, GLenum pname, GLint* params ) { void (*func_glGetListParameterivSGIX)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetListParameterivSGIX]; TRACE("(%d, %d, %p)\n", list, pname, params ); - ENTER_GL(); func_glGetListParameterivSGIX( list, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetLocalConstantBooleanvEXT( GLuint id, GLenum value, GLboolean* data ) { void (*func_glGetLocalConstantBooleanvEXT)( GLuint, GLenum, GLboolean* ) = extension_funcs[EXT_glGetLocalConstantBooleanvEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetLocalConstantBooleanvEXT( id, value, data ); - LEAVE_GL(); } static void WINAPI wine_glGetLocalConstantFloatvEXT( GLuint id, GLenum value, GLfloat* data ) { void (*func_glGetLocalConstantFloatvEXT)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetLocalConstantFloatvEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetLocalConstantFloatvEXT( id, value, data ); - LEAVE_GL(); } static void WINAPI wine_glGetLocalConstantIntegervEXT( GLuint id, GLenum value, GLint* data ) { void (*func_glGetLocalConstantIntegervEXT)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetLocalConstantIntegervEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetLocalConstantIntegervEXT( id, value, data ); - LEAVE_GL(); } static void WINAPI wine_glGetMapAttribParameterfvNV( GLenum target, GLuint index, GLenum pname, GLfloat* params ) { void (*func_glGetMapAttribParameterfvNV)( GLenum, GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetMapAttribParameterfvNV]; TRACE("(%d, %d, %d, %p)\n", target, index, pname, params ); - ENTER_GL(); func_glGetMapAttribParameterfvNV( target, index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMapAttribParameterivNV( GLenum target, GLuint index, GLenum pname, GLint* params ) { void (*func_glGetMapAttribParameterivNV)( GLenum, GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetMapAttribParameterivNV]; TRACE("(%d, %d, %d, %p)\n", target, index, pname, params ); - ENTER_GL(); func_glGetMapAttribParameterivNV( target, index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMapControlPointsNV( GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid* points ) { void (*func_glGetMapControlPointsNV)( GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid* ) = extension_funcs[EXT_glGetMapControlPointsNV]; TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, index, type, ustride, vstride, packed, points ); - ENTER_GL(); func_glGetMapControlPointsNV( target, index, type, ustride, vstride, packed, points ); - LEAVE_GL(); } static void WINAPI wine_glGetMapParameterfvNV( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetMapParameterfvNV)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetMapParameterfvNV]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetMapParameterfvNV( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMapParameterivNV( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetMapParameterivNV)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetMapParameterivNV]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetMapParameterivNV( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMinmax( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) { void (*func_glGetMinmax)( GLenum, GLboolean, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetMinmax]; TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values ); - ENTER_GL(); func_glGetMinmax( target, reset, format, type, values ); - LEAVE_GL(); } static void WINAPI wine_glGetMinmaxEXT( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) { void (*func_glGetMinmaxEXT)( GLenum, GLboolean, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetMinmaxEXT]; TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values ); - ENTER_GL(); func_glGetMinmaxEXT( target, reset, format, type, values ); - LEAVE_GL(); } static void WINAPI wine_glGetMinmaxParameterfv( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetMinmaxParameterfv)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetMinmaxParameterfv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetMinmaxParameterfv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMinmaxParameterfvEXT( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetMinmaxParameterfvEXT)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetMinmaxParameterfvEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetMinmaxParameterfvEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMinmaxParameteriv( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetMinmaxParameteriv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetMinmaxParameteriv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetMinmaxParameteriv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMinmaxParameterivEXT( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetMinmaxParameterivEXT)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetMinmaxParameterivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetMinmaxParameterivEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexEnvfvEXT( GLenum texunit, GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetMultiTexEnvfvEXT)( GLenum, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetMultiTexEnvfvEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glGetMultiTexEnvfvEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexEnvivEXT( GLenum texunit, GLenum target, GLenum pname, GLint* params ) { void (*func_glGetMultiTexEnvivEXT)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetMultiTexEnvivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glGetMultiTexEnvivEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexGendvEXT( GLenum texunit, GLenum coord, GLenum pname, GLdouble* params ) { void (*func_glGetMultiTexGendvEXT)( GLenum, GLenum, GLenum, GLdouble* ) = extension_funcs[EXT_glGetMultiTexGendvEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, coord, pname, params ); - ENTER_GL(); func_glGetMultiTexGendvEXT( texunit, coord, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexGenfvEXT( GLenum texunit, GLenum coord, GLenum pname, GLfloat* params ) { void (*func_glGetMultiTexGenfvEXT)( GLenum, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetMultiTexGenfvEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, coord, pname, params ); - ENTER_GL(); func_glGetMultiTexGenfvEXT( texunit, coord, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexGenivEXT( GLenum texunit, GLenum coord, GLenum pname, GLint* params ) { void (*func_glGetMultiTexGenivEXT)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetMultiTexGenivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, coord, pname, params ); - ENTER_GL(); func_glGetMultiTexGenivEXT( texunit, coord, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexImageEXT( GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glGetMultiTexImageEXT)( GLenum, GLenum, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetMultiTexImageEXT]; TRACE("(%d, %d, %d, %d, %d, %p)\n", texunit, target, level, format, type, pixels ); - ENTER_GL(); func_glGetMultiTexImageEXT( texunit, target, level, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexLevelParameterfvEXT( GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat* params ) { void (*func_glGetMultiTexLevelParameterfvEXT)( GLenum, GLenum, GLint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetMultiTexLevelParameterfvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", texunit, target, level, pname, params ); - ENTER_GL(); func_glGetMultiTexLevelParameterfvEXT( texunit, target, level, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexLevelParameterivEXT( GLenum texunit, GLenum target, GLint level, GLenum pname, GLint* params ) { void (*func_glGetMultiTexLevelParameterivEXT)( GLenum, GLenum, GLint, GLenum, GLint* ) = extension_funcs[EXT_glGetMultiTexLevelParameterivEXT]; TRACE("(%d, %d, %d, %d, %p)\n", texunit, target, level, pname, params ); - ENTER_GL(); func_glGetMultiTexLevelParameterivEXT( texunit, target, level, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexParameterIivEXT( GLenum texunit, GLenum target, GLenum pname, GLint* params ) { void (*func_glGetMultiTexParameterIivEXT)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetMultiTexParameterIivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glGetMultiTexParameterIivEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexParameterIuivEXT( GLenum texunit, GLenum target, GLenum pname, GLuint* params ) { void (*func_glGetMultiTexParameterIuivEXT)( GLenum, GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glGetMultiTexParameterIuivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glGetMultiTexParameterIuivEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexParameterfvEXT( GLenum texunit, GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetMultiTexParameterfvEXT)( GLenum, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetMultiTexParameterfvEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glGetMultiTexParameterfvEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultiTexParameterivEXT( GLenum texunit, GLenum target, GLenum pname, GLint* params ) { void (*func_glGetMultiTexParameterivEXT)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetMultiTexParameterivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glGetMultiTexParameterivEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetMultisamplefv( GLenum pname, GLuint index, GLfloat* val ) { void (*func_glGetMultisamplefv)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glGetMultisamplefv]; TRACE("(%d, %d, %p)\n", pname, index, val ); - ENTER_GL(); func_glGetMultisamplefv( pname, index, val ); - LEAVE_GL(); } static void WINAPI wine_glGetMultisamplefvNV( GLenum pname, GLuint index, GLfloat* val ) { void (*func_glGetMultisamplefvNV)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glGetMultisamplefvNV]; TRACE("(%d, %d, %p)\n", pname, index, val ); - ENTER_GL(); func_glGetMultisamplefvNV( pname, index, val ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedBufferParameterivEXT( GLuint buffer, GLenum pname, GLint* params ) { void (*func_glGetNamedBufferParameterivEXT)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetNamedBufferParameterivEXT]; TRACE("(%d, %d, %p)\n", buffer, pname, params ); - ENTER_GL(); func_glGetNamedBufferParameterivEXT( buffer, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedBufferParameterui64vNV( GLuint buffer, GLenum pname, UINT64* params ) { void (*func_glGetNamedBufferParameterui64vNV)( GLuint, GLenum, UINT64* ) = extension_funcs[EXT_glGetNamedBufferParameterui64vNV]; TRACE("(%d, %d, %p)\n", buffer, pname, params ); - ENTER_GL(); func_glGetNamedBufferParameterui64vNV( buffer, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedBufferPointervEXT( GLuint buffer, GLenum pname, GLvoid** params ) { void (*func_glGetNamedBufferPointervEXT)( GLuint, GLenum, GLvoid** ) = extension_funcs[EXT_glGetNamedBufferPointervEXT]; TRACE("(%d, %d, %p)\n", buffer, pname, params ); - ENTER_GL(); func_glGetNamedBufferPointervEXT( buffer, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedBufferSubDataEXT( GLuint buffer, INT_PTR offset, INT_PTR size, GLvoid* data ) { void (*func_glGetNamedBufferSubDataEXT)( GLuint, INT_PTR, INT_PTR, GLvoid* ) = extension_funcs[EXT_glGetNamedBufferSubDataEXT]; TRACE("(%d, %ld, %ld, %p)\n", buffer, offset, size, data ); - ENTER_GL(); func_glGetNamedBufferSubDataEXT( buffer, offset, size, data ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedFramebufferAttachmentParameterivEXT( GLuint framebuffer, GLenum attachment, GLenum pname, GLint* params ) { void (*func_glGetNamedFramebufferAttachmentParameterivEXT)( GLuint, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetNamedFramebufferAttachmentParameterivEXT]; TRACE("(%d, %d, %d, %p)\n", framebuffer, attachment, pname, params ); - ENTER_GL(); func_glGetNamedFramebufferAttachmentParameterivEXT( framebuffer, attachment, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedProgramLocalParameterIivEXT( GLuint program, GLenum target, GLuint index, GLint* params ) { void (*func_glGetNamedProgramLocalParameterIivEXT)( GLuint, GLenum, GLuint, GLint* ) = extension_funcs[EXT_glGetNamedProgramLocalParameterIivEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, index, params ); - ENTER_GL(); func_glGetNamedProgramLocalParameterIivEXT( program, target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedProgramLocalParameterIuivEXT( GLuint program, GLenum target, GLuint index, GLuint* params ) { void (*func_glGetNamedProgramLocalParameterIuivEXT)( GLuint, GLenum, GLuint, GLuint* ) = extension_funcs[EXT_glGetNamedProgramLocalParameterIuivEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, index, params ); - ENTER_GL(); func_glGetNamedProgramLocalParameterIuivEXT( program, target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedProgramLocalParameterdvEXT( GLuint program, GLenum target, GLuint index, GLdouble* params ) { void (*func_glGetNamedProgramLocalParameterdvEXT)( GLuint, GLenum, GLuint, GLdouble* ) = extension_funcs[EXT_glGetNamedProgramLocalParameterdvEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, index, params ); - ENTER_GL(); func_glGetNamedProgramLocalParameterdvEXT( program, target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedProgramLocalParameterfvEXT( GLuint program, GLenum target, GLuint index, GLfloat* params ) { void (*func_glGetNamedProgramLocalParameterfvEXT)( GLuint, GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glGetNamedProgramLocalParameterfvEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, index, params ); - ENTER_GL(); func_glGetNamedProgramLocalParameterfvEXT( program, target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedProgramStringEXT( GLuint program, GLenum target, GLenum pname, GLvoid* string ) { void (*func_glGetNamedProgramStringEXT)( GLuint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetNamedProgramStringEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, pname, string ); - ENTER_GL(); func_glGetNamedProgramStringEXT( program, target, pname, string ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedProgramivEXT( GLuint program, GLenum target, GLenum pname, GLint* params ) { void (*func_glGetNamedProgramivEXT)( GLuint, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetNamedProgramivEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, pname, params ); - ENTER_GL(); func_glGetNamedProgramivEXT( program, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedRenderbufferParameterivEXT( GLuint renderbuffer, GLenum pname, GLint* params ) { void (*func_glGetNamedRenderbufferParameterivEXT)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetNamedRenderbufferParameterivEXT]; TRACE("(%d, %d, %p)\n", renderbuffer, pname, params ); - ENTER_GL(); func_glGetNamedRenderbufferParameterivEXT( renderbuffer, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedStringARB( GLint namelen, char* name, GLsizei bufSize, GLint* stringlen, char* string ) { void (*func_glGetNamedStringARB)( GLint, char*, GLsizei, GLint*, char* ) = extension_funcs[EXT_glGetNamedStringARB]; TRACE("(%d, %p, %d, %p, %p)\n", namelen, name, bufSize, stringlen, string ); - ENTER_GL(); func_glGetNamedStringARB( namelen, name, bufSize, stringlen, string ); - LEAVE_GL(); } static void WINAPI wine_glGetNamedStringivARB( GLint namelen, char* name, GLenum pname, GLint* params ) { void (*func_glGetNamedStringivARB)( GLint, char*, GLenum, GLint* ) = extension_funcs[EXT_glGetNamedStringivARB]; TRACE("(%d, %p, %d, %p)\n", namelen, name, pname, params ); - ENTER_GL(); func_glGetNamedStringivARB( namelen, name, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetObjectBufferfvATI( GLuint buffer, GLenum pname, GLfloat* params ) { void (*func_glGetObjectBufferfvATI)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetObjectBufferfvATI]; TRACE("(%d, %d, %p)\n", buffer, pname, params ); - ENTER_GL(); func_glGetObjectBufferfvATI( buffer, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetObjectBufferivATI( GLuint buffer, GLenum pname, GLint* params ) { void (*func_glGetObjectBufferivATI)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetObjectBufferivATI]; TRACE("(%d, %d, %p)\n", buffer, pname, params ); - ENTER_GL(); func_glGetObjectBufferivATI( buffer, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetObjectParameterfvARB( unsigned int obj, GLenum pname, GLfloat* params ) { void (*func_glGetObjectParameterfvARB)( unsigned int, GLenum, GLfloat* ) = extension_funcs[EXT_glGetObjectParameterfvARB]; TRACE("(%d, %d, %p)\n", obj, pname, params ); - ENTER_GL(); func_glGetObjectParameterfvARB( obj, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetObjectParameterivAPPLE( GLenum objectType, GLuint name, GLenum pname, GLint* params ) { void (*func_glGetObjectParameterivAPPLE)( GLenum, GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetObjectParameterivAPPLE]; TRACE("(%d, %d, %d, %p)\n", objectType, name, pname, params ); - ENTER_GL(); func_glGetObjectParameterivAPPLE( objectType, name, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetObjectParameterivARB( unsigned int obj, GLenum pname, GLint* params ) { void (*func_glGetObjectParameterivARB)( unsigned int, GLenum, GLint* ) = extension_funcs[EXT_glGetObjectParameterivARB]; TRACE("(%d, %d, %p)\n", obj, pname, params ); - ENTER_GL(); func_glGetObjectParameterivARB( obj, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetOcclusionQueryivNV( GLuint id, GLenum pname, GLint* params ) { void (*func_glGetOcclusionQueryivNV)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetOcclusionQueryivNV]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetOcclusionQueryivNV( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetOcclusionQueryuivNV( GLuint id, GLenum pname, GLuint* params ) { void (*func_glGetOcclusionQueryuivNV)( GLuint, GLenum, GLuint* ) = extension_funcs[EXT_glGetOcclusionQueryuivNV]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetOcclusionQueryuivNV( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetPathColorGenfvNV( GLenum color, GLenum pname, GLfloat* value ) { void (*func_glGetPathColorGenfvNV)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetPathColorGenfvNV]; TRACE("(%d, %d, %p)\n", color, pname, value ); - ENTER_GL(); func_glGetPathColorGenfvNV( color, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glGetPathColorGenivNV( GLenum color, GLenum pname, GLint* value ) { void (*func_glGetPathColorGenivNV)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetPathColorGenivNV]; TRACE("(%d, %d, %p)\n", color, pname, value ); - ENTER_GL(); func_glGetPathColorGenivNV( color, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glGetPathCommandsNV( GLuint path, GLubyte* commands ) { void (*func_glGetPathCommandsNV)( GLuint, GLubyte* ) = extension_funcs[EXT_glGetPathCommandsNV]; TRACE("(%d, %p)\n", path, commands ); - ENTER_GL(); func_glGetPathCommandsNV( path, commands ); - LEAVE_GL(); } static void WINAPI wine_glGetPathCoordsNV( GLuint path, GLfloat* coords ) { void (*func_glGetPathCoordsNV)( GLuint, GLfloat* ) = extension_funcs[EXT_glGetPathCoordsNV]; TRACE("(%d, %p)\n", path, coords ); - ENTER_GL(); func_glGetPathCoordsNV( path, coords ); - LEAVE_GL(); } static void WINAPI wine_glGetPathDashArrayNV( GLuint path, GLfloat* dashArray ) { void (*func_glGetPathDashArrayNV)( GLuint, GLfloat* ) = extension_funcs[EXT_glGetPathDashArrayNV]; TRACE("(%d, %p)\n", path, dashArray ); - ENTER_GL(); func_glGetPathDashArrayNV( path, dashArray ); - LEAVE_GL(); } static GLfloat WINAPI wine_glGetPathLengthNV( GLuint path, GLsizei startSegment, GLsizei numSegments ) { - GLfloat ret_value; GLfloat (*func_glGetPathLengthNV)( GLuint, GLsizei, GLsizei ) = extension_funcs[EXT_glGetPathLengthNV]; TRACE("(%d, %d, %d)\n", path, startSegment, numSegments ); - ENTER_GL(); - ret_value = func_glGetPathLengthNV( path, startSegment, numSegments ); - LEAVE_GL(); - return ret_value; + return func_glGetPathLengthNV( path, startSegment, numSegments ); } static void WINAPI wine_glGetPathMetricRangeNV( GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat* metrics ) { void (*func_glGetPathMetricRangeNV)( GLbitfield, GLuint, GLsizei, GLsizei, GLfloat* ) = extension_funcs[EXT_glGetPathMetricRangeNV]; TRACE("(%d, %d, %d, %d, %p)\n", metricQueryMask, firstPathName, numPaths, stride, metrics ); - ENTER_GL(); func_glGetPathMetricRangeNV( metricQueryMask, firstPathName, numPaths, stride, metrics ); - LEAVE_GL(); } static void WINAPI wine_glGetPathMetricsNV( GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, GLvoid* paths, GLuint pathBase, GLsizei stride, GLfloat* metrics ) { void (*func_glGetPathMetricsNV)( GLbitfield, GLsizei, GLenum, GLvoid*, GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glGetPathMetricsNV]; TRACE("(%d, %d, %d, %p, %d, %d, %p)\n", metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics ); - ENTER_GL(); func_glGetPathMetricsNV( metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics ); - LEAVE_GL(); } static void WINAPI wine_glGetPathParameterfvNV( GLuint path, GLenum pname, GLfloat* value ) { void (*func_glGetPathParameterfvNV)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetPathParameterfvNV]; TRACE("(%d, %d, %p)\n", path, pname, value ); - ENTER_GL(); func_glGetPathParameterfvNV( path, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glGetPathParameterivNV( GLuint path, GLenum pname, GLint* value ) { void (*func_glGetPathParameterivNV)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetPathParameterivNV]; TRACE("(%d, %d, %p)\n", path, pname, value ); - ENTER_GL(); func_glGetPathParameterivNV( path, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glGetPathSpacingNV( GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, GLvoid* paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat* returnedSpacing ) { void (*func_glGetPathSpacingNV)( GLenum, GLsizei, GLenum, GLvoid*, GLuint, GLfloat, GLfloat, GLenum, GLfloat* ) = extension_funcs[EXT_glGetPathSpacingNV]; TRACE("(%d, %d, %d, %p, %d, %f, %f, %d, %p)\n", pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing ); - ENTER_GL(); func_glGetPathSpacingNV( pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing ); - LEAVE_GL(); } static void WINAPI wine_glGetPathTexGenfvNV( GLenum texCoordSet, GLenum pname, GLfloat* value ) { void (*func_glGetPathTexGenfvNV)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetPathTexGenfvNV]; TRACE("(%d, %d, %p)\n", texCoordSet, pname, value ); - ENTER_GL(); func_glGetPathTexGenfvNV( texCoordSet, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glGetPathTexGenivNV( GLenum texCoordSet, GLenum pname, GLint* value ) { void (*func_glGetPathTexGenivNV)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetPathTexGenivNV]; TRACE("(%d, %d, %p)\n", texCoordSet, pname, value ); - ENTER_GL(); func_glGetPathTexGenivNV( texCoordSet, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glGetPerfMonitorCounterDataAMD( GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint* bytesWritten ) { void (*func_glGetPerfMonitorCounterDataAMD)( GLuint, GLenum, GLsizei, GLuint*, GLint* ) = extension_funcs[EXT_glGetPerfMonitorCounterDataAMD]; TRACE("(%d, %d, %d, %p, %p)\n", monitor, pname, dataSize, data, bytesWritten ); - ENTER_GL(); func_glGetPerfMonitorCounterDataAMD( monitor, pname, dataSize, data, bytesWritten ); - LEAVE_GL(); } static void WINAPI wine_glGetPerfMonitorCounterInfoAMD( GLuint group, GLuint counter, GLenum pname, GLvoid* data ) { void (*func_glGetPerfMonitorCounterInfoAMD)( GLuint, GLuint, GLenum, GLvoid* ) = extension_funcs[EXT_glGetPerfMonitorCounterInfoAMD]; TRACE("(%d, %d, %d, %p)\n", group, counter, pname, data ); - ENTER_GL(); func_glGetPerfMonitorCounterInfoAMD( group, counter, pname, data ); - LEAVE_GL(); } static void WINAPI wine_glGetPerfMonitorCounterStringAMD( GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, char* counterString ) { void (*func_glGetPerfMonitorCounterStringAMD)( GLuint, GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetPerfMonitorCounterStringAMD]; TRACE("(%d, %d, %d, %p, %p)\n", group, counter, bufSize, length, counterString ); - ENTER_GL(); func_glGetPerfMonitorCounterStringAMD( group, counter, bufSize, length, counterString ); - LEAVE_GL(); } static void WINAPI wine_glGetPerfMonitorCountersAMD( GLuint group, GLint* numCounters, GLint* maxActiveCounters, GLsizei counterSize, GLuint* counters ) { void (*func_glGetPerfMonitorCountersAMD)( GLuint, GLint*, GLint*, GLsizei, GLuint* ) = extension_funcs[EXT_glGetPerfMonitorCountersAMD]; TRACE("(%d, %p, %p, %d, %p)\n", group, numCounters, maxActiveCounters, counterSize, counters ); - ENTER_GL(); func_glGetPerfMonitorCountersAMD( group, numCounters, maxActiveCounters, counterSize, counters ); - LEAVE_GL(); } static void WINAPI wine_glGetPerfMonitorGroupStringAMD( GLuint group, GLsizei bufSize, GLsizei* length, char* groupString ) { void (*func_glGetPerfMonitorGroupStringAMD)( GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetPerfMonitorGroupStringAMD]; TRACE("(%d, %d, %p, %p)\n", group, bufSize, length, groupString ); - ENTER_GL(); func_glGetPerfMonitorGroupStringAMD( group, bufSize, length, groupString ); - LEAVE_GL(); } static void WINAPI wine_glGetPerfMonitorGroupsAMD( GLint* numGroups, GLsizei groupsSize, GLuint* groups ) { void (*func_glGetPerfMonitorGroupsAMD)( GLint*, GLsizei, GLuint* ) = extension_funcs[EXT_glGetPerfMonitorGroupsAMD]; TRACE("(%p, %d, %p)\n", numGroups, groupsSize, groups ); - ENTER_GL(); func_glGetPerfMonitorGroupsAMD( numGroups, groupsSize, groups ); - LEAVE_GL(); } static void WINAPI wine_glGetPixelTexGenParameterfvSGIS( GLenum pname, GLfloat* params ) { void (*func_glGetPixelTexGenParameterfvSGIS)( GLenum, GLfloat* ) = extension_funcs[EXT_glGetPixelTexGenParameterfvSGIS]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glGetPixelTexGenParameterfvSGIS( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetPixelTexGenParameterivSGIS( GLenum pname, GLint* params ) { void (*func_glGetPixelTexGenParameterivSGIS)( GLenum, GLint* ) = extension_funcs[EXT_glGetPixelTexGenParameterivSGIS]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glGetPixelTexGenParameterivSGIS( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetPointerIndexedvEXT( GLenum target, GLuint index, GLvoid** data ) { void (*func_glGetPointerIndexedvEXT)( GLenum, GLuint, GLvoid** ) = extension_funcs[EXT_glGetPointerIndexedvEXT]; TRACE("(%d, %d, %p)\n", target, index, data ); - ENTER_GL(); func_glGetPointerIndexedvEXT( target, index, data ); - LEAVE_GL(); } static void WINAPI wine_glGetPointervEXT( GLenum pname, GLvoid** params ) { void (*func_glGetPointervEXT)( GLenum, GLvoid** ) = extension_funcs[EXT_glGetPointervEXT]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glGetPointervEXT( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramBinary( GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary ) { void (*func_glGetProgramBinary)( GLuint, GLsizei, GLsizei*, GLenum*, GLvoid* ) = extension_funcs[EXT_glGetProgramBinary]; TRACE("(%d, %d, %p, %p, %p)\n", program, bufSize, length, binaryFormat, binary ); - ENTER_GL(); func_glGetProgramBinary( program, bufSize, length, binaryFormat, binary ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramEnvParameterIivNV( GLenum target, GLuint index, GLint* params ) { void (*func_glGetProgramEnvParameterIivNV)( GLenum, GLuint, GLint* ) = extension_funcs[EXT_glGetProgramEnvParameterIivNV]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glGetProgramEnvParameterIivNV( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramEnvParameterIuivNV( GLenum target, GLuint index, GLuint* params ) { void (*func_glGetProgramEnvParameterIuivNV)( GLenum, GLuint, GLuint* ) = extension_funcs[EXT_glGetProgramEnvParameterIuivNV]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glGetProgramEnvParameterIuivNV( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramEnvParameterdvARB( GLenum target, GLuint index, GLdouble* params ) { void (*func_glGetProgramEnvParameterdvARB)( GLenum, GLuint, GLdouble* ) = extension_funcs[EXT_glGetProgramEnvParameterdvARB]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glGetProgramEnvParameterdvARB( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramEnvParameterfvARB( GLenum target, GLuint index, GLfloat* params ) { void (*func_glGetProgramEnvParameterfvARB)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glGetProgramEnvParameterfvARB]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glGetProgramEnvParameterfvARB( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramInfoLog( GLuint program, GLsizei bufSize, GLsizei* length, char* infoLog ) { void (*func_glGetProgramInfoLog)( GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetProgramInfoLog]; TRACE("(%d, %d, %p, %p)\n", program, bufSize, length, infoLog ); - ENTER_GL(); func_glGetProgramInfoLog( program, bufSize, length, infoLog ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramLocalParameterIivNV( GLenum target, GLuint index, GLint* params ) { void (*func_glGetProgramLocalParameterIivNV)( GLenum, GLuint, GLint* ) = extension_funcs[EXT_glGetProgramLocalParameterIivNV]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glGetProgramLocalParameterIivNV( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramLocalParameterIuivNV( GLenum target, GLuint index, GLuint* params ) { void (*func_glGetProgramLocalParameterIuivNV)( GLenum, GLuint, GLuint* ) = extension_funcs[EXT_glGetProgramLocalParameterIuivNV]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glGetProgramLocalParameterIuivNV( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramLocalParameterdvARB( GLenum target, GLuint index, GLdouble* params ) { void (*func_glGetProgramLocalParameterdvARB)( GLenum, GLuint, GLdouble* ) = extension_funcs[EXT_glGetProgramLocalParameterdvARB]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glGetProgramLocalParameterdvARB( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramLocalParameterfvARB( GLenum target, GLuint index, GLfloat* params ) { void (*func_glGetProgramLocalParameterfvARB)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glGetProgramLocalParameterfvARB]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glGetProgramLocalParameterfvARB( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramNamedParameterdvNV( GLuint id, GLsizei len, GLubyte* name, GLdouble* params ) { void (*func_glGetProgramNamedParameterdvNV)( GLuint, GLsizei, GLubyte*, GLdouble* ) = extension_funcs[EXT_glGetProgramNamedParameterdvNV]; TRACE("(%d, %d, %p, %p)\n", id, len, name, params ); - ENTER_GL(); func_glGetProgramNamedParameterdvNV( id, len, name, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramNamedParameterfvNV( GLuint id, GLsizei len, GLubyte* name, GLfloat* params ) { void (*func_glGetProgramNamedParameterfvNV)( GLuint, GLsizei, GLubyte*, GLfloat* ) = extension_funcs[EXT_glGetProgramNamedParameterfvNV]; TRACE("(%d, %d, %p, %p)\n", id, len, name, params ); - ENTER_GL(); func_glGetProgramNamedParameterfvNV( id, len, name, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramParameterdvNV( GLenum target, GLuint index, GLenum pname, GLdouble* params ) { void (*func_glGetProgramParameterdvNV)( GLenum, GLuint, GLenum, GLdouble* ) = extension_funcs[EXT_glGetProgramParameterdvNV]; TRACE("(%d, %d, %d, %p)\n", target, index, pname, params ); - ENTER_GL(); func_glGetProgramParameterdvNV( target, index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramParameterfvNV( GLenum target, GLuint index, GLenum pname, GLfloat* params ) { void (*func_glGetProgramParameterfvNV)( GLenum, GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetProgramParameterfvNV]; TRACE("(%d, %d, %d, %p)\n", target, index, pname, params ); - ENTER_GL(); func_glGetProgramParameterfvNV( target, index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramPipelineInfoLog( GLuint pipeline, GLsizei bufSize, GLsizei* length, char* infoLog ) { void (*func_glGetProgramPipelineInfoLog)( GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetProgramPipelineInfoLog]; TRACE("(%d, %d, %p, %p)\n", pipeline, bufSize, length, infoLog ); - ENTER_GL(); func_glGetProgramPipelineInfoLog( pipeline, bufSize, length, infoLog ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramPipelineiv( GLuint pipeline, GLenum pname, GLint* params ) { void (*func_glGetProgramPipelineiv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetProgramPipelineiv]; TRACE("(%d, %d, %p)\n", pipeline, pname, params ); - ENTER_GL(); func_glGetProgramPipelineiv( pipeline, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramStageiv( GLuint program, GLenum shadertype, GLenum pname, GLint* values ) { void (*func_glGetProgramStageiv)( GLuint, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetProgramStageiv]; TRACE("(%d, %d, %d, %p)\n", program, shadertype, pname, values ); - ENTER_GL(); func_glGetProgramStageiv( program, shadertype, pname, values ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramStringARB( GLenum target, GLenum pname, GLvoid* string ) { void (*func_glGetProgramStringARB)( GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetProgramStringARB]; TRACE("(%d, %d, %p)\n", target, pname, string ); - ENTER_GL(); func_glGetProgramStringARB( target, pname, string ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramStringNV( GLuint id, GLenum pname, GLubyte* program ) { void (*func_glGetProgramStringNV)( GLuint, GLenum, GLubyte* ) = extension_funcs[EXT_glGetProgramStringNV]; TRACE("(%d, %d, %p)\n", id, pname, program ); - ENTER_GL(); func_glGetProgramStringNV( id, pname, program ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramSubroutineParameteruivNV( GLenum target, GLuint index, GLuint* param ) { void (*func_glGetProgramSubroutineParameteruivNV)( GLenum, GLuint, GLuint* ) = extension_funcs[EXT_glGetProgramSubroutineParameteruivNV]; TRACE("(%d, %d, %p)\n", target, index, param ); - ENTER_GL(); func_glGetProgramSubroutineParameteruivNV( target, index, param ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramiv( GLuint program, GLenum pname, GLint* params ) { void (*func_glGetProgramiv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetProgramiv]; TRACE("(%d, %d, %p)\n", program, pname, params ); - ENTER_GL(); func_glGetProgramiv( program, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramivARB( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetProgramivARB)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetProgramivARB]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetProgramivARB( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetProgramivNV( GLuint id, GLenum pname, GLint* params ) { void (*func_glGetProgramivNV)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetProgramivNV]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetProgramivNV( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryIndexediv( GLenum target, GLuint index, GLenum pname, GLint* params ) { void (*func_glGetQueryIndexediv)( GLenum, GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetQueryIndexediv]; TRACE("(%d, %d, %d, %p)\n", target, index, pname, params ); - ENTER_GL(); func_glGetQueryIndexediv( target, index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryObjecti64v( GLuint id, GLenum pname, INT64* params ) { void (*func_glGetQueryObjecti64v)( GLuint, GLenum, INT64* ) = extension_funcs[EXT_glGetQueryObjecti64v]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetQueryObjecti64v( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryObjecti64vEXT( GLuint id, GLenum pname, INT64* params ) { void (*func_glGetQueryObjecti64vEXT)( GLuint, GLenum, INT64* ) = extension_funcs[EXT_glGetQueryObjecti64vEXT]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetQueryObjecti64vEXT( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryObjectiv( GLuint id, GLenum pname, GLint* params ) { void (*func_glGetQueryObjectiv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetQueryObjectiv]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetQueryObjectiv( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryObjectivARB( GLuint id, GLenum pname, GLint* params ) { void (*func_glGetQueryObjectivARB)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetQueryObjectivARB]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetQueryObjectivARB( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryObjectui64v( GLuint id, GLenum pname, UINT64* params ) { void (*func_glGetQueryObjectui64v)( GLuint, GLenum, UINT64* ) = extension_funcs[EXT_glGetQueryObjectui64v]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetQueryObjectui64v( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryObjectui64vEXT( GLuint id, GLenum pname, UINT64* params ) { void (*func_glGetQueryObjectui64vEXT)( GLuint, GLenum, UINT64* ) = extension_funcs[EXT_glGetQueryObjectui64vEXT]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetQueryObjectui64vEXT( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryObjectuiv( GLuint id, GLenum pname, GLuint* params ) { void (*func_glGetQueryObjectuiv)( GLuint, GLenum, GLuint* ) = extension_funcs[EXT_glGetQueryObjectuiv]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetQueryObjectuiv( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryObjectuivARB( GLuint id, GLenum pname, GLuint* params ) { void (*func_glGetQueryObjectuivARB)( GLuint, GLenum, GLuint* ) = extension_funcs[EXT_glGetQueryObjectuivARB]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetQueryObjectuivARB( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryiv( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetQueryiv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetQueryiv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetQueryiv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetQueryivARB( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetQueryivARB)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetQueryivARB]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetQueryivARB( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetRenderbufferParameteriv( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetRenderbufferParameteriv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetRenderbufferParameteriv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetRenderbufferParameteriv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetRenderbufferParameterivEXT( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetRenderbufferParameterivEXT)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetRenderbufferParameterivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetRenderbufferParameterivEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetSamplerParameterIiv( GLuint sampler, GLenum pname, GLint* params ) { void (*func_glGetSamplerParameterIiv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetSamplerParameterIiv]; TRACE("(%d, %d, %p)\n", sampler, pname, params ); - ENTER_GL(); func_glGetSamplerParameterIiv( sampler, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetSamplerParameterIuiv( GLuint sampler, GLenum pname, GLuint* params ) { void (*func_glGetSamplerParameterIuiv)( GLuint, GLenum, GLuint* ) = extension_funcs[EXT_glGetSamplerParameterIuiv]; TRACE("(%d, %d, %p)\n", sampler, pname, params ); - ENTER_GL(); func_glGetSamplerParameterIuiv( sampler, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetSamplerParameterfv( GLuint sampler, GLenum pname, GLfloat* params ) { void (*func_glGetSamplerParameterfv)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetSamplerParameterfv]; TRACE("(%d, %d, %p)\n", sampler, pname, params ); - ENTER_GL(); func_glGetSamplerParameterfv( sampler, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetSamplerParameteriv( GLuint sampler, GLenum pname, GLint* params ) { void (*func_glGetSamplerParameteriv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetSamplerParameteriv]; TRACE("(%d, %d, %p)\n", sampler, pname, params ); - ENTER_GL(); func_glGetSamplerParameteriv( sampler, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetSeparableFilter( GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span ) { void (*func_glGetSeparableFilter)( GLenum, GLenum, GLenum, GLvoid*, GLvoid*, GLvoid* ) = extension_funcs[EXT_glGetSeparableFilter]; TRACE("(%d, %d, %d, %p, %p, %p)\n", target, format, type, row, column, span ); - ENTER_GL(); func_glGetSeparableFilter( target, format, type, row, column, span ); - LEAVE_GL(); } static void WINAPI wine_glGetSeparableFilterEXT( GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span ) { void (*func_glGetSeparableFilterEXT)( GLenum, GLenum, GLenum, GLvoid*, GLvoid*, GLvoid* ) = extension_funcs[EXT_glGetSeparableFilterEXT]; TRACE("(%d, %d, %d, %p, %p, %p)\n", target, format, type, row, column, span ); - ENTER_GL(); func_glGetSeparableFilterEXT( target, format, type, row, column, span ); - LEAVE_GL(); } static void WINAPI wine_glGetShaderInfoLog( GLuint shader, GLsizei bufSize, GLsizei* length, char* infoLog ) { void (*func_glGetShaderInfoLog)( GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetShaderInfoLog]; TRACE("(%d, %d, %p, %p)\n", shader, bufSize, length, infoLog ); - ENTER_GL(); func_glGetShaderInfoLog( shader, bufSize, length, infoLog ); - LEAVE_GL(); } static void WINAPI wine_glGetShaderPrecisionFormat( GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision ) { void (*func_glGetShaderPrecisionFormat)( GLenum, GLenum, GLint*, GLint* ) = extension_funcs[EXT_glGetShaderPrecisionFormat]; TRACE("(%d, %d, %p, %p)\n", shadertype, precisiontype, range, precision ); - ENTER_GL(); func_glGetShaderPrecisionFormat( shadertype, precisiontype, range, precision ); - LEAVE_GL(); } static void WINAPI wine_glGetShaderSource( GLuint shader, GLsizei bufSize, GLsizei* length, char* source ) { void (*func_glGetShaderSource)( GLuint, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetShaderSource]; TRACE("(%d, %d, %p, %p)\n", shader, bufSize, length, source ); - ENTER_GL(); func_glGetShaderSource( shader, bufSize, length, source ); - LEAVE_GL(); } static void WINAPI wine_glGetShaderSourceARB( unsigned int obj, GLsizei maxLength, GLsizei* length, char* source ) { void (*func_glGetShaderSourceARB)( unsigned int, GLsizei, GLsizei*, char* ) = extension_funcs[EXT_glGetShaderSourceARB]; TRACE("(%d, %d, %p, %p)\n", obj, maxLength, length, source ); - ENTER_GL(); func_glGetShaderSourceARB( obj, maxLength, length, source ); - LEAVE_GL(); } static void WINAPI wine_glGetShaderiv( GLuint shader, GLenum pname, GLint* params ) { void (*func_glGetShaderiv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetShaderiv]; TRACE("(%d, %d, %p)\n", shader, pname, params ); - ENTER_GL(); func_glGetShaderiv( shader, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetSharpenTexFuncSGIS( GLenum target, GLfloat* points ) { void (*func_glGetSharpenTexFuncSGIS)( GLenum, GLfloat* ) = extension_funcs[EXT_glGetSharpenTexFuncSGIS]; TRACE("(%d, %p)\n", target, points ); - ENTER_GL(); func_glGetSharpenTexFuncSGIS( target, points ); - LEAVE_GL(); } static const GLubyte * WINAPI wine_glGetStringi( GLenum name, GLuint index ) { - const GLubyte * ret_value; const GLubyte * (*func_glGetStringi)( GLenum, GLuint ) = extension_funcs[EXT_glGetStringi]; TRACE("(%d, %d)\n", name, index ); - ENTER_GL(); - ret_value = func_glGetStringi( name, index ); - LEAVE_GL(); - return ret_value; + return func_glGetStringi( name, index ); } static GLuint WINAPI wine_glGetSubroutineIndex( GLuint program, GLenum shadertype, char* name ) { - GLuint ret_value; GLuint (*func_glGetSubroutineIndex)( GLuint, GLenum, char* ) = extension_funcs[EXT_glGetSubroutineIndex]; TRACE("(%d, %d, %p)\n", program, shadertype, name ); - ENTER_GL(); - ret_value = func_glGetSubroutineIndex( program, shadertype, name ); - LEAVE_GL(); - return ret_value; + return func_glGetSubroutineIndex( program, shadertype, name ); } static GLint WINAPI wine_glGetSubroutineUniformLocation( GLuint program, GLenum shadertype, char* name ) { - GLint ret_value; GLint (*func_glGetSubroutineUniformLocation)( GLuint, GLenum, char* ) = extension_funcs[EXT_glGetSubroutineUniformLocation]; TRACE("(%d, %d, %p)\n", program, shadertype, name ); - ENTER_GL(); - ret_value = func_glGetSubroutineUniformLocation( program, shadertype, name ); - LEAVE_GL(); - return ret_value; + return func_glGetSubroutineUniformLocation( program, shadertype, name ); } static void WINAPI wine_glGetSynciv( GLvoid* sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values ) { void (*func_glGetSynciv)( GLvoid*, GLenum, GLsizei, GLsizei*, GLint* ) = extension_funcs[EXT_glGetSynciv]; TRACE("(%p, %d, %d, %p, %p)\n", sync, pname, bufSize, length, values ); - ENTER_GL(); func_glGetSynciv( sync, pname, bufSize, length, values ); - LEAVE_GL(); } static void WINAPI wine_glGetTexBumpParameterfvATI( GLenum pname, GLfloat* param ) { void (*func_glGetTexBumpParameterfvATI)( GLenum, GLfloat* ) = extension_funcs[EXT_glGetTexBumpParameterfvATI]; TRACE("(%d, %p)\n", pname, param ); - ENTER_GL(); func_glGetTexBumpParameterfvATI( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glGetTexBumpParameterivATI( GLenum pname, GLint* param ) { void (*func_glGetTexBumpParameterivATI)( GLenum, GLint* ) = extension_funcs[EXT_glGetTexBumpParameterivATI]; TRACE("(%d, %p)\n", pname, param ); - ENTER_GL(); func_glGetTexBumpParameterivATI( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glGetTexFilterFuncSGIS( GLenum target, GLenum filter, GLfloat* weights ) { void (*func_glGetTexFilterFuncSGIS)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetTexFilterFuncSGIS]; TRACE("(%d, %d, %p)\n", target, filter, weights ); - ENTER_GL(); func_glGetTexFilterFuncSGIS( target, filter, weights ); - LEAVE_GL(); } static void WINAPI wine_glGetTexParameterIiv( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetTexParameterIiv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetTexParameterIiv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetTexParameterIiv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTexParameterIivEXT( GLenum target, GLenum pname, GLint* params ) { void (*func_glGetTexParameterIivEXT)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetTexParameterIivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetTexParameterIivEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTexParameterIuiv( GLenum target, GLenum pname, GLuint* params ) { void (*func_glGetTexParameterIuiv)( GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glGetTexParameterIuiv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetTexParameterIuiv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTexParameterIuivEXT( GLenum target, GLenum pname, GLuint* params ) { void (*func_glGetTexParameterIuivEXT)( GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glGetTexParameterIuivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetTexParameterIuivEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTexParameterPointervAPPLE( GLenum target, GLenum pname, GLvoid** params ) { void (*func_glGetTexParameterPointervAPPLE)( GLenum, GLenum, GLvoid** ) = extension_funcs[EXT_glGetTexParameterPointervAPPLE]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glGetTexParameterPointervAPPLE( target, pname, params ); - LEAVE_GL(); } static UINT64 WINAPI wine_glGetTextureHandleNV( GLuint texture ) { - UINT64 ret_value; UINT64 (*func_glGetTextureHandleNV)( GLuint ) = extension_funcs[EXT_glGetTextureHandleNV]; TRACE("(%d)\n", texture ); - ENTER_GL(); - ret_value = func_glGetTextureHandleNV( texture ); - LEAVE_GL(); - return ret_value; + return func_glGetTextureHandleNV( texture ); } static void WINAPI wine_glGetTextureImageEXT( GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glGetTextureImageEXT)( GLuint, GLenum, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glGetTextureImageEXT]; TRACE("(%d, %d, %d, %d, %d, %p)\n", texture, target, level, format, type, pixels ); - ENTER_GL(); func_glGetTextureImageEXT( texture, target, level, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glGetTextureLevelParameterfvEXT( GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat* params ) { void (*func_glGetTextureLevelParameterfvEXT)( GLuint, GLenum, GLint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetTextureLevelParameterfvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", texture, target, level, pname, params ); - ENTER_GL(); func_glGetTextureLevelParameterfvEXT( texture, target, level, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTextureLevelParameterivEXT( GLuint texture, GLenum target, GLint level, GLenum pname, GLint* params ) { void (*func_glGetTextureLevelParameterivEXT)( GLuint, GLenum, GLint, GLenum, GLint* ) = extension_funcs[EXT_glGetTextureLevelParameterivEXT]; TRACE("(%d, %d, %d, %d, %p)\n", texture, target, level, pname, params ); - ENTER_GL(); func_glGetTextureLevelParameterivEXT( texture, target, level, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTextureParameterIivEXT( GLuint texture, GLenum target, GLenum pname, GLint* params ) { void (*func_glGetTextureParameterIivEXT)( GLuint, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetTextureParameterIivEXT]; TRACE("(%d, %d, %d, %p)\n", texture, target, pname, params ); - ENTER_GL(); func_glGetTextureParameterIivEXT( texture, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTextureParameterIuivEXT( GLuint texture, GLenum target, GLenum pname, GLuint* params ) { void (*func_glGetTextureParameterIuivEXT)( GLuint, GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glGetTextureParameterIuivEXT]; TRACE("(%d, %d, %d, %p)\n", texture, target, pname, params ); - ENTER_GL(); func_glGetTextureParameterIuivEXT( texture, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTextureParameterfvEXT( GLuint texture, GLenum target, GLenum pname, GLfloat* params ) { void (*func_glGetTextureParameterfvEXT)( GLuint, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glGetTextureParameterfvEXT]; TRACE("(%d, %d, %d, %p)\n", texture, target, pname, params ); - ENTER_GL(); func_glGetTextureParameterfvEXT( texture, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTextureParameterivEXT( GLuint texture, GLenum target, GLenum pname, GLint* params ) { void (*func_glGetTextureParameterivEXT)( GLuint, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glGetTextureParameterivEXT]; TRACE("(%d, %d, %d, %p)\n", texture, target, pname, params ); - ENTER_GL(); func_glGetTextureParameterivEXT( texture, target, pname, params ); - LEAVE_GL(); } static UINT64 WINAPI wine_glGetTextureSamplerHandleNV( GLuint texture, GLuint sampler ) { - UINT64 ret_value; UINT64 (*func_glGetTextureSamplerHandleNV)( GLuint, GLuint ) = extension_funcs[EXT_glGetTextureSamplerHandleNV]; TRACE("(%d, %d)\n", texture, sampler ); - ENTER_GL(); - ret_value = func_glGetTextureSamplerHandleNV( texture, sampler ); - LEAVE_GL(); - return ret_value; + return func_glGetTextureSamplerHandleNV( texture, sampler ); } static void WINAPI wine_glGetTrackMatrixivNV( GLenum target, GLuint address, GLenum pname, GLint* params ) { void (*func_glGetTrackMatrixivNV)( GLenum, GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetTrackMatrixivNV]; TRACE("(%d, %d, %d, %p)\n", target, address, pname, params ); - ENTER_GL(); func_glGetTrackMatrixivNV( target, address, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetTransformFeedbackVarying( GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, char* name ) { void (*func_glGetTransformFeedbackVarying)( GLuint, GLuint, GLsizei, GLsizei*, GLsizei*, GLenum*, char* ) = extension_funcs[EXT_glGetTransformFeedbackVarying]; TRACE("(%d, %d, %d, %p, %p, %p, %p)\n", program, index, bufSize, length, size, type, name ); - ENTER_GL(); func_glGetTransformFeedbackVarying( program, index, bufSize, length, size, type, name ); - LEAVE_GL(); } static void WINAPI wine_glGetTransformFeedbackVaryingEXT( GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, char* name ) { void (*func_glGetTransformFeedbackVaryingEXT)( GLuint, GLuint, GLsizei, GLsizei*, GLsizei*, GLenum*, char* ) = extension_funcs[EXT_glGetTransformFeedbackVaryingEXT]; TRACE("(%d, %d, %d, %p, %p, %p, %p)\n", program, index, bufSize, length, size, type, name ); - ENTER_GL(); func_glGetTransformFeedbackVaryingEXT( program, index, bufSize, length, size, type, name ); - LEAVE_GL(); } static void WINAPI wine_glGetTransformFeedbackVaryingNV( GLuint program, GLuint index, GLint* location ) { void (*func_glGetTransformFeedbackVaryingNV)( GLuint, GLuint, GLint* ) = extension_funcs[EXT_glGetTransformFeedbackVaryingNV]; TRACE("(%d, %d, %p)\n", program, index, location ); - ENTER_GL(); func_glGetTransformFeedbackVaryingNV( program, index, location ); - LEAVE_GL(); } static GLuint WINAPI wine_glGetUniformBlockIndex( GLuint program, char* uniformBlockName ) { - GLuint ret_value; GLuint (*func_glGetUniformBlockIndex)( GLuint, char* ) = extension_funcs[EXT_glGetUniformBlockIndex]; TRACE("(%d, %p)\n", program, uniformBlockName ); - ENTER_GL(); - ret_value = func_glGetUniformBlockIndex( program, uniformBlockName ); - LEAVE_GL(); - return ret_value; + return func_glGetUniformBlockIndex( program, uniformBlockName ); } static GLint WINAPI wine_glGetUniformBufferSizeEXT( GLuint program, GLint location ) { - GLint ret_value; GLint (*func_glGetUniformBufferSizeEXT)( GLuint, GLint ) = extension_funcs[EXT_glGetUniformBufferSizeEXT]; TRACE("(%d, %d)\n", program, location ); - ENTER_GL(); - ret_value = func_glGetUniformBufferSizeEXT( program, location ); - LEAVE_GL(); - return ret_value; + return func_glGetUniformBufferSizeEXT( program, location ); } static void WINAPI wine_glGetUniformIndices( GLuint program, GLsizei uniformCount, char* const* uniformNames, GLuint* uniformIndices ) { void (*func_glGetUniformIndices)( GLuint, GLsizei, char* const*, GLuint* ) = extension_funcs[EXT_glGetUniformIndices]; TRACE("(%d, %d, %p, %p)\n", program, uniformCount, uniformNames, uniformIndices ); - ENTER_GL(); func_glGetUniformIndices( program, uniformCount, uniformNames, uniformIndices ); - LEAVE_GL(); } static GLint WINAPI wine_glGetUniformLocation( GLuint program, char* name ) { - GLint ret_value; GLint (*func_glGetUniformLocation)( GLuint, char* ) = extension_funcs[EXT_glGetUniformLocation]; TRACE("(%d, %p)\n", program, name ); - ENTER_GL(); - ret_value = func_glGetUniformLocation( program, name ); - LEAVE_GL(); - return ret_value; + return func_glGetUniformLocation( program, name ); } static GLint WINAPI wine_glGetUniformLocationARB( unsigned int programObj, char* name ) { - GLint ret_value; GLint (*func_glGetUniformLocationARB)( unsigned int, char* ) = extension_funcs[EXT_glGetUniformLocationARB]; TRACE("(%d, %p)\n", programObj, name ); - ENTER_GL(); - ret_value = func_glGetUniformLocationARB( programObj, name ); - LEAVE_GL(); - return ret_value; + return func_glGetUniformLocationARB( programObj, name ); } static INT_PTR WINAPI wine_glGetUniformOffsetEXT( GLuint program, GLint location ) { - INT_PTR ret_value; INT_PTR (*func_glGetUniformOffsetEXT)( GLuint, GLint ) = extension_funcs[EXT_glGetUniformOffsetEXT]; TRACE("(%d, %d)\n", program, location ); - ENTER_GL(); - ret_value = func_glGetUniformOffsetEXT( program, location ); - LEAVE_GL(); - return ret_value; + return func_glGetUniformOffsetEXT( program, location ); } static void WINAPI wine_glGetUniformSubroutineuiv( GLenum shadertype, GLint location, GLuint* params ) { void (*func_glGetUniformSubroutineuiv)( GLenum, GLint, GLuint* ) = extension_funcs[EXT_glGetUniformSubroutineuiv]; TRACE("(%d, %d, %p)\n", shadertype, location, params ); - ENTER_GL(); func_glGetUniformSubroutineuiv( shadertype, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetUniformdv( GLuint program, GLint location, GLdouble* params ) { void (*func_glGetUniformdv)( GLuint, GLint, GLdouble* ) = extension_funcs[EXT_glGetUniformdv]; TRACE("(%d, %d, %p)\n", program, location, params ); - ENTER_GL(); func_glGetUniformdv( program, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetUniformfv( GLuint program, GLint location, GLfloat* params ) { void (*func_glGetUniformfv)( GLuint, GLint, GLfloat* ) = extension_funcs[EXT_glGetUniformfv]; TRACE("(%d, %d, %p)\n", program, location, params ); - ENTER_GL(); func_glGetUniformfv( program, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetUniformfvARB( unsigned int programObj, GLint location, GLfloat* params ) { void (*func_glGetUniformfvARB)( unsigned int, GLint, GLfloat* ) = extension_funcs[EXT_glGetUniformfvARB]; TRACE("(%d, %d, %p)\n", programObj, location, params ); - ENTER_GL(); func_glGetUniformfvARB( programObj, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetUniformi64vNV( GLuint program, GLint location, INT64* params ) { void (*func_glGetUniformi64vNV)( GLuint, GLint, INT64* ) = extension_funcs[EXT_glGetUniformi64vNV]; TRACE("(%d, %d, %p)\n", program, location, params ); - ENTER_GL(); func_glGetUniformi64vNV( program, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetUniformiv( GLuint program, GLint location, GLint* params ) { void (*func_glGetUniformiv)( GLuint, GLint, GLint* ) = extension_funcs[EXT_glGetUniformiv]; TRACE("(%d, %d, %p)\n", program, location, params ); - ENTER_GL(); func_glGetUniformiv( program, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetUniformivARB( unsigned int programObj, GLint location, GLint* params ) { void (*func_glGetUniformivARB)( unsigned int, GLint, GLint* ) = extension_funcs[EXT_glGetUniformivARB]; TRACE("(%d, %d, %p)\n", programObj, location, params ); - ENTER_GL(); func_glGetUniformivARB( programObj, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetUniformui64vNV( GLuint program, GLint location, UINT64* params ) { void (*func_glGetUniformui64vNV)( GLuint, GLint, UINT64* ) = extension_funcs[EXT_glGetUniformui64vNV]; TRACE("(%d, %d, %p)\n", program, location, params ); - ENTER_GL(); func_glGetUniformui64vNV( program, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetUniformuiv( GLuint program, GLint location, GLuint* params ) { void (*func_glGetUniformuiv)( GLuint, GLint, GLuint* ) = extension_funcs[EXT_glGetUniformuiv]; TRACE("(%d, %d, %p)\n", program, location, params ); - ENTER_GL(); func_glGetUniformuiv( program, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetUniformuivEXT( GLuint program, GLint location, GLuint* params ) { void (*func_glGetUniformuivEXT)( GLuint, GLint, GLuint* ) = extension_funcs[EXT_glGetUniformuivEXT]; TRACE("(%d, %d, %p)\n", program, location, params ); - ENTER_GL(); func_glGetUniformuivEXT( program, location, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVariantArrayObjectfvATI( GLuint id, GLenum pname, GLfloat* params ) { void (*func_glGetVariantArrayObjectfvATI)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetVariantArrayObjectfvATI]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetVariantArrayObjectfvATI( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVariantArrayObjectivATI( GLuint id, GLenum pname, GLint* params ) { void (*func_glGetVariantArrayObjectivATI)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVariantArrayObjectivATI]; TRACE("(%d, %d, %p)\n", id, pname, params ); - ENTER_GL(); func_glGetVariantArrayObjectivATI( id, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVariantBooleanvEXT( GLuint id, GLenum value, GLboolean* data ) { void (*func_glGetVariantBooleanvEXT)( GLuint, GLenum, GLboolean* ) = extension_funcs[EXT_glGetVariantBooleanvEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetVariantBooleanvEXT( id, value, data ); - LEAVE_GL(); } static void WINAPI wine_glGetVariantFloatvEXT( GLuint id, GLenum value, GLfloat* data ) { void (*func_glGetVariantFloatvEXT)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetVariantFloatvEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetVariantFloatvEXT( id, value, data ); - LEAVE_GL(); } static void WINAPI wine_glGetVariantIntegervEXT( GLuint id, GLenum value, GLint* data ) { void (*func_glGetVariantIntegervEXT)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVariantIntegervEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetVariantIntegervEXT( id, value, data ); - LEAVE_GL(); } static void WINAPI wine_glGetVariantPointervEXT( GLuint id, GLenum value, GLvoid** data ) { void (*func_glGetVariantPointervEXT)( GLuint, GLenum, GLvoid** ) = extension_funcs[EXT_glGetVariantPointervEXT]; TRACE("(%d, %d, %p)\n", id, value, data ); - ENTER_GL(); func_glGetVariantPointervEXT( id, value, data ); - LEAVE_GL(); } static GLint WINAPI wine_glGetVaryingLocationNV( GLuint program, char* name ) { - GLint ret_value; GLint (*func_glGetVaryingLocationNV)( GLuint, char* ) = extension_funcs[EXT_glGetVaryingLocationNV]; TRACE("(%d, %p)\n", program, name ); - ENTER_GL(); - ret_value = func_glGetVaryingLocationNV( program, name ); - LEAVE_GL(); - return ret_value; + return func_glGetVaryingLocationNV( program, name ); } static void WINAPI wine_glGetVertexAttribArrayObjectfvATI( GLuint index, GLenum pname, GLfloat* params ) { void (*func_glGetVertexAttribArrayObjectfvATI)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetVertexAttribArrayObjectfvATI]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribArrayObjectfvATI( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribArrayObjectivATI( GLuint index, GLenum pname, GLint* params ) { void (*func_glGetVertexAttribArrayObjectivATI)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVertexAttribArrayObjectivATI]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribArrayObjectivATI( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribIiv( GLuint index, GLenum pname, GLint* params ) { void (*func_glGetVertexAttribIiv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVertexAttribIiv]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribIiv( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribIivEXT( GLuint index, GLenum pname, GLint* params ) { void (*func_glGetVertexAttribIivEXT)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVertexAttribIivEXT]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribIivEXT( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribIuiv( GLuint index, GLenum pname, GLuint* params ) { void (*func_glGetVertexAttribIuiv)( GLuint, GLenum, GLuint* ) = extension_funcs[EXT_glGetVertexAttribIuiv]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribIuiv( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribIuivEXT( GLuint index, GLenum pname, GLuint* params ) { void (*func_glGetVertexAttribIuivEXT)( GLuint, GLenum, GLuint* ) = extension_funcs[EXT_glGetVertexAttribIuivEXT]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribIuivEXT( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribLdv( GLuint index, GLenum pname, GLdouble* params ) { void (*func_glGetVertexAttribLdv)( GLuint, GLenum, GLdouble* ) = extension_funcs[EXT_glGetVertexAttribLdv]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribLdv( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribLdvEXT( GLuint index, GLenum pname, GLdouble* params ) { void (*func_glGetVertexAttribLdvEXT)( GLuint, GLenum, GLdouble* ) = extension_funcs[EXT_glGetVertexAttribLdvEXT]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribLdvEXT( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribLi64vNV( GLuint index, GLenum pname, INT64* params ) { void (*func_glGetVertexAttribLi64vNV)( GLuint, GLenum, INT64* ) = extension_funcs[EXT_glGetVertexAttribLi64vNV]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribLi64vNV( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribLui64vNV( GLuint index, GLenum pname, UINT64* params ) { void (*func_glGetVertexAttribLui64vNV)( GLuint, GLenum, UINT64* ) = extension_funcs[EXT_glGetVertexAttribLui64vNV]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribLui64vNV( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribPointerv( GLuint index, GLenum pname, GLvoid** pointer ) { void (*func_glGetVertexAttribPointerv)( GLuint, GLenum, GLvoid** ) = extension_funcs[EXT_glGetVertexAttribPointerv]; TRACE("(%d, %d, %p)\n", index, pname, pointer ); - ENTER_GL(); func_glGetVertexAttribPointerv( index, pname, pointer ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribPointervARB( GLuint index, GLenum pname, GLvoid** pointer ) { void (*func_glGetVertexAttribPointervARB)( GLuint, GLenum, GLvoid** ) = extension_funcs[EXT_glGetVertexAttribPointervARB]; TRACE("(%d, %d, %p)\n", index, pname, pointer ); - ENTER_GL(); func_glGetVertexAttribPointervARB( index, pname, pointer ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribPointervNV( GLuint index, GLenum pname, GLvoid** pointer ) { void (*func_glGetVertexAttribPointervNV)( GLuint, GLenum, GLvoid** ) = extension_funcs[EXT_glGetVertexAttribPointervNV]; TRACE("(%d, %d, %p)\n", index, pname, pointer ); - ENTER_GL(); func_glGetVertexAttribPointervNV( index, pname, pointer ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribdv( GLuint index, GLenum pname, GLdouble* params ) { void (*func_glGetVertexAttribdv)( GLuint, GLenum, GLdouble* ) = extension_funcs[EXT_glGetVertexAttribdv]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribdv( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribdvARB( GLuint index, GLenum pname, GLdouble* params ) { void (*func_glGetVertexAttribdvARB)( GLuint, GLenum, GLdouble* ) = extension_funcs[EXT_glGetVertexAttribdvARB]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribdvARB( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribdvNV( GLuint index, GLenum pname, GLdouble* params ) { void (*func_glGetVertexAttribdvNV)( GLuint, GLenum, GLdouble* ) = extension_funcs[EXT_glGetVertexAttribdvNV]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribdvNV( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribfv( GLuint index, GLenum pname, GLfloat* params ) { void (*func_glGetVertexAttribfv)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetVertexAttribfv]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribfv( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribfvARB( GLuint index, GLenum pname, GLfloat* params ) { void (*func_glGetVertexAttribfvARB)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetVertexAttribfvARB]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribfvARB( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribfvNV( GLuint index, GLenum pname, GLfloat* params ) { void (*func_glGetVertexAttribfvNV)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetVertexAttribfvNV]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribfvNV( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribiv( GLuint index, GLenum pname, GLint* params ) { void (*func_glGetVertexAttribiv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVertexAttribiv]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribiv( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribivARB( GLuint index, GLenum pname, GLint* params ) { void (*func_glGetVertexAttribivARB)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVertexAttribivARB]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribivARB( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVertexAttribivNV( GLuint index, GLenum pname, GLint* params ) { void (*func_glGetVertexAttribivNV)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVertexAttribivNV]; TRACE("(%d, %d, %p)\n", index, pname, params ); - ENTER_GL(); func_glGetVertexAttribivNV( index, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVideoCaptureStreamdvNV( GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble* params ) { void (*func_glGetVideoCaptureStreamdvNV)( GLuint, GLuint, GLenum, GLdouble* ) = extension_funcs[EXT_glGetVideoCaptureStreamdvNV]; TRACE("(%d, %d, %d, %p)\n", video_capture_slot, stream, pname, params ); - ENTER_GL(); func_glGetVideoCaptureStreamdvNV( video_capture_slot, stream, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVideoCaptureStreamfvNV( GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat* params ) { void (*func_glGetVideoCaptureStreamfvNV)( GLuint, GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glGetVideoCaptureStreamfvNV]; TRACE("(%d, %d, %d, %p)\n", video_capture_slot, stream, pname, params ); - ENTER_GL(); func_glGetVideoCaptureStreamfvNV( video_capture_slot, stream, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVideoCaptureStreamivNV( GLuint video_capture_slot, GLuint stream, GLenum pname, GLint* params ) { void (*func_glGetVideoCaptureStreamivNV)( GLuint, GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVideoCaptureStreamivNV]; TRACE("(%d, %d, %d, %p)\n", video_capture_slot, stream, pname, params ); - ENTER_GL(); func_glGetVideoCaptureStreamivNV( video_capture_slot, stream, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVideoCaptureivNV( GLuint video_capture_slot, GLenum pname, GLint* params ) { void (*func_glGetVideoCaptureivNV)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVideoCaptureivNV]; TRACE("(%d, %d, %p)\n", video_capture_slot, pname, params ); - ENTER_GL(); func_glGetVideoCaptureivNV( video_capture_slot, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVideoi64vNV( GLuint video_slot, GLenum pname, INT64* params ) { void (*func_glGetVideoi64vNV)( GLuint, GLenum, INT64* ) = extension_funcs[EXT_glGetVideoi64vNV]; TRACE("(%d, %d, %p)\n", video_slot, pname, params ); - ENTER_GL(); func_glGetVideoi64vNV( video_slot, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVideoivNV( GLuint video_slot, GLenum pname, GLint* params ) { void (*func_glGetVideoivNV)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glGetVideoivNV]; TRACE("(%d, %d, %p)\n", video_slot, pname, params ); - ENTER_GL(); func_glGetVideoivNV( video_slot, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVideoui64vNV( GLuint video_slot, GLenum pname, UINT64* params ) { void (*func_glGetVideoui64vNV)( GLuint, GLenum, UINT64* ) = extension_funcs[EXT_glGetVideoui64vNV]; TRACE("(%d, %d, %p)\n", video_slot, pname, params ); - ENTER_GL(); func_glGetVideoui64vNV( video_slot, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetVideouivNV( GLuint video_slot, GLenum pname, GLuint* params ) { void (*func_glGetVideouivNV)( GLuint, GLenum, GLuint* ) = extension_funcs[EXT_glGetVideouivNV]; TRACE("(%d, %d, %p)\n", video_slot, pname, params ); - ENTER_GL(); func_glGetVideouivNV( video_slot, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glGetnColorTableARB( GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid* table ) { void (*func_glGetnColorTableARB)( GLenum, GLenum, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glGetnColorTableARB]; TRACE("(%d, %d, %d, %d, %p)\n", target, format, type, bufSize, table ); - ENTER_GL(); func_glGetnColorTableARB( target, format, type, bufSize, table ); - LEAVE_GL(); } static void WINAPI wine_glGetnCompressedTexImageARB( GLenum target, GLint lod, GLsizei bufSize, GLvoid* img ) { void (*func_glGetnCompressedTexImageARB)( GLenum, GLint, GLsizei, GLvoid* ) = extension_funcs[EXT_glGetnCompressedTexImageARB]; TRACE("(%d, %d, %d, %p)\n", target, lod, bufSize, img ); - ENTER_GL(); func_glGetnCompressedTexImageARB( target, lod, bufSize, img ); - LEAVE_GL(); } static void WINAPI wine_glGetnConvolutionFilterARB( GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid* image ) { void (*func_glGetnConvolutionFilterARB)( GLenum, GLenum, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glGetnConvolutionFilterARB]; TRACE("(%d, %d, %d, %d, %p)\n", target, format, type, bufSize, image ); - ENTER_GL(); func_glGetnConvolutionFilterARB( target, format, type, bufSize, image ); - LEAVE_GL(); } static void WINAPI wine_glGetnHistogramARB( GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid* values ) { void (*func_glGetnHistogramARB)( GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glGetnHistogramARB]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, reset, format, type, bufSize, values ); - ENTER_GL(); func_glGetnHistogramARB( target, reset, format, type, bufSize, values ); - LEAVE_GL(); } static void WINAPI wine_glGetnMapdvARB( GLenum target, GLenum query, GLsizei bufSize, GLdouble* v ) { void (*func_glGetnMapdvARB)( GLenum, GLenum, GLsizei, GLdouble* ) = extension_funcs[EXT_glGetnMapdvARB]; TRACE("(%d, %d, %d, %p)\n", target, query, bufSize, v ); - ENTER_GL(); func_glGetnMapdvARB( target, query, bufSize, v ); - LEAVE_GL(); } static void WINAPI wine_glGetnMapfvARB( GLenum target, GLenum query, GLsizei bufSize, GLfloat* v ) { void (*func_glGetnMapfvARB)( GLenum, GLenum, GLsizei, GLfloat* ) = extension_funcs[EXT_glGetnMapfvARB]; TRACE("(%d, %d, %d, %p)\n", target, query, bufSize, v ); - ENTER_GL(); func_glGetnMapfvARB( target, query, bufSize, v ); - LEAVE_GL(); } static void WINAPI wine_glGetnMapivARB( GLenum target, GLenum query, GLsizei bufSize, GLint* v ) { void (*func_glGetnMapivARB)( GLenum, GLenum, GLsizei, GLint* ) = extension_funcs[EXT_glGetnMapivARB]; TRACE("(%d, %d, %d, %p)\n", target, query, bufSize, v ); - ENTER_GL(); func_glGetnMapivARB( target, query, bufSize, v ); - LEAVE_GL(); } static void WINAPI wine_glGetnMinmaxARB( GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid* values ) { void (*func_glGetnMinmaxARB)( GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glGetnMinmaxARB]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, reset, format, type, bufSize, values ); - ENTER_GL(); func_glGetnMinmaxARB( target, reset, format, type, bufSize, values ); - LEAVE_GL(); } static void WINAPI wine_glGetnPixelMapfvARB( GLenum map, GLsizei bufSize, GLfloat* values ) { void (*func_glGetnPixelMapfvARB)( GLenum, GLsizei, GLfloat* ) = extension_funcs[EXT_glGetnPixelMapfvARB]; TRACE("(%d, %d, %p)\n", map, bufSize, values ); - ENTER_GL(); func_glGetnPixelMapfvARB( map, bufSize, values ); - LEAVE_GL(); } static void WINAPI wine_glGetnPixelMapuivARB( GLenum map, GLsizei bufSize, GLuint* values ) { void (*func_glGetnPixelMapuivARB)( GLenum, GLsizei, GLuint* ) = extension_funcs[EXT_glGetnPixelMapuivARB]; TRACE("(%d, %d, %p)\n", map, bufSize, values ); - ENTER_GL(); func_glGetnPixelMapuivARB( map, bufSize, values ); - LEAVE_GL(); } static void WINAPI wine_glGetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort* values ) { void (*func_glGetnPixelMapusvARB)( GLenum, GLsizei, GLushort* ) = extension_funcs[EXT_glGetnPixelMapusvARB]; TRACE("(%d, %d, %p)\n", map, bufSize, values ); - ENTER_GL(); func_glGetnPixelMapusvARB( map, bufSize, values ); - LEAVE_GL(); } static void WINAPI wine_glGetnPolygonStippleARB( GLsizei bufSize, GLubyte* pattern ) { void (*func_glGetnPolygonStippleARB)( GLsizei, GLubyte* ) = extension_funcs[EXT_glGetnPolygonStippleARB]; TRACE("(%d, %p)\n", bufSize, pattern ); - ENTER_GL(); func_glGetnPolygonStippleARB( bufSize, pattern ); - LEAVE_GL(); } static void WINAPI wine_glGetnSeparableFilterARB( GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid* row, GLsizei columnBufSize, GLvoid* column, GLvoid* span ) { void (*func_glGetnSeparableFilterARB)( GLenum, GLenum, GLenum, GLsizei, GLvoid*, GLsizei, GLvoid*, GLvoid* ) = extension_funcs[EXT_glGetnSeparableFilterARB]; TRACE("(%d, %d, %d, %d, %p, %d, %p, %p)\n", target, format, type, rowBufSize, row, columnBufSize, column, span ); - ENTER_GL(); func_glGetnSeparableFilterARB( target, format, type, rowBufSize, row, columnBufSize, column, span ); - LEAVE_GL(); } static void WINAPI wine_glGetnTexImageARB( GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid* img ) { void (*func_glGetnTexImageARB)( GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glGetnTexImageARB]; TRACE("(%d, %d, %d, %d, %d, %p)\n", target, level, format, type, bufSize, img ); - ENTER_GL(); func_glGetnTexImageARB( target, level, format, type, bufSize, img ); - LEAVE_GL(); } static void WINAPI wine_glGetnUniformdvARB( GLuint program, GLint location, GLsizei bufSize, GLdouble* params ) { void (*func_glGetnUniformdvARB)( GLuint, GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glGetnUniformdvARB]; TRACE("(%d, %d, %d, %p)\n", program, location, bufSize, params ); - ENTER_GL(); func_glGetnUniformdvARB( program, location, bufSize, params ); - LEAVE_GL(); } static void WINAPI wine_glGetnUniformfvARB( GLuint program, GLint location, GLsizei bufSize, GLfloat* params ) { void (*func_glGetnUniformfvARB)( GLuint, GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glGetnUniformfvARB]; TRACE("(%d, %d, %d, %p)\n", program, location, bufSize, params ); - ENTER_GL(); func_glGetnUniformfvARB( program, location, bufSize, params ); - LEAVE_GL(); } static void WINAPI wine_glGetnUniformivARB( GLuint program, GLint location, GLsizei bufSize, GLint* params ) { void (*func_glGetnUniformivARB)( GLuint, GLint, GLsizei, GLint* ) = extension_funcs[EXT_glGetnUniformivARB]; TRACE("(%d, %d, %d, %p)\n", program, location, bufSize, params ); - ENTER_GL(); func_glGetnUniformivARB( program, location, bufSize, params ); - LEAVE_GL(); } static void WINAPI wine_glGetnUniformuivARB( GLuint program, GLint location, GLsizei bufSize, GLuint* params ) { void (*func_glGetnUniformuivARB)( GLuint, GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glGetnUniformuivARB]; TRACE("(%d, %d, %d, %p)\n", program, location, bufSize, params ); - ENTER_GL(); func_glGetnUniformuivARB( program, location, bufSize, params ); - LEAVE_GL(); } static void WINAPI wine_glGlobalAlphaFactorbSUN( GLbyte factor ) { void (*func_glGlobalAlphaFactorbSUN)( GLbyte ) = extension_funcs[EXT_glGlobalAlphaFactorbSUN]; TRACE("(%d)\n", factor ); - ENTER_GL(); func_glGlobalAlphaFactorbSUN( factor ); - LEAVE_GL(); } static void WINAPI wine_glGlobalAlphaFactordSUN( GLdouble factor ) { void (*func_glGlobalAlphaFactordSUN)( GLdouble ) = extension_funcs[EXT_glGlobalAlphaFactordSUN]; TRACE("(%f)\n", factor ); - ENTER_GL(); func_glGlobalAlphaFactordSUN( factor ); - LEAVE_GL(); } static void WINAPI wine_glGlobalAlphaFactorfSUN( GLfloat factor ) { void (*func_glGlobalAlphaFactorfSUN)( GLfloat ) = extension_funcs[EXT_glGlobalAlphaFactorfSUN]; TRACE("(%f)\n", factor ); - ENTER_GL(); func_glGlobalAlphaFactorfSUN( factor ); - LEAVE_GL(); } static void WINAPI wine_glGlobalAlphaFactoriSUN( GLint factor ) { void (*func_glGlobalAlphaFactoriSUN)( GLint ) = extension_funcs[EXT_glGlobalAlphaFactoriSUN]; TRACE("(%d)\n", factor ); - ENTER_GL(); func_glGlobalAlphaFactoriSUN( factor ); - LEAVE_GL(); } static void WINAPI wine_glGlobalAlphaFactorsSUN( GLshort factor ) { void (*func_glGlobalAlphaFactorsSUN)( GLshort ) = extension_funcs[EXT_glGlobalAlphaFactorsSUN]; TRACE("(%d)\n", factor ); - ENTER_GL(); func_glGlobalAlphaFactorsSUN( factor ); - LEAVE_GL(); } static void WINAPI wine_glGlobalAlphaFactorubSUN( GLubyte factor ) { void (*func_glGlobalAlphaFactorubSUN)( GLubyte ) = extension_funcs[EXT_glGlobalAlphaFactorubSUN]; TRACE("(%d)\n", factor ); - ENTER_GL(); func_glGlobalAlphaFactorubSUN( factor ); - LEAVE_GL(); } static void WINAPI wine_glGlobalAlphaFactoruiSUN( GLuint factor ) { void (*func_glGlobalAlphaFactoruiSUN)( GLuint ) = extension_funcs[EXT_glGlobalAlphaFactoruiSUN]; TRACE("(%d)\n", factor ); - ENTER_GL(); func_glGlobalAlphaFactoruiSUN( factor ); - LEAVE_GL(); } static void WINAPI wine_glGlobalAlphaFactorusSUN( GLushort factor ) { void (*func_glGlobalAlphaFactorusSUN)( GLushort ) = extension_funcs[EXT_glGlobalAlphaFactorusSUN]; TRACE("(%d)\n", factor ); - ENTER_GL(); func_glGlobalAlphaFactorusSUN( factor ); - LEAVE_GL(); } static void WINAPI wine_glHintPGI( GLenum target, GLint mode ) { void (*func_glHintPGI)( GLenum, GLint ) = extension_funcs[EXT_glHintPGI]; TRACE("(%d, %d)\n", target, mode ); - ENTER_GL(); func_glHintPGI( target, mode ); - LEAVE_GL(); } static void WINAPI wine_glHistogram( GLenum target, GLsizei width, GLenum internalformat, GLboolean sink ) { void (*func_glHistogram)( GLenum, GLsizei, GLenum, GLboolean ) = extension_funcs[EXT_glHistogram]; TRACE("(%d, %d, %d, %d)\n", target, width, internalformat, sink ); - ENTER_GL(); func_glHistogram( target, width, internalformat, sink ); - LEAVE_GL(); } static void WINAPI wine_glHistogramEXT( GLenum target, GLsizei width, GLenum internalformat, GLboolean sink ) { void (*func_glHistogramEXT)( GLenum, GLsizei, GLenum, GLboolean ) = extension_funcs[EXT_glHistogramEXT]; TRACE("(%d, %d, %d, %d)\n", target, width, internalformat, sink ); - ENTER_GL(); func_glHistogramEXT( target, width, internalformat, sink ); - LEAVE_GL(); } static void WINAPI wine_glIglooInterfaceSGIX( GLenum pname, GLvoid* params ) { void (*func_glIglooInterfaceSGIX)( GLenum, GLvoid* ) = extension_funcs[EXT_glIglooInterfaceSGIX]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glIglooInterfaceSGIX( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glImageTransformParameterfHP( GLenum target, GLenum pname, GLfloat param ) { void (*func_glImageTransformParameterfHP)( GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glImageTransformParameterfHP]; TRACE("(%d, %d, %f)\n", target, pname, param ); - ENTER_GL(); func_glImageTransformParameterfHP( target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glImageTransformParameterfvHP( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glImageTransformParameterfvHP)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glImageTransformParameterfvHP]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glImageTransformParameterfvHP( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glImageTransformParameteriHP( GLenum target, GLenum pname, GLint param ) { void (*func_glImageTransformParameteriHP)( GLenum, GLenum, GLint ) = extension_funcs[EXT_glImageTransformParameteriHP]; TRACE("(%d, %d, %d)\n", target, pname, param ); - ENTER_GL(); func_glImageTransformParameteriHP( target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glImageTransformParameterivHP( GLenum target, GLenum pname, GLint* params ) { void (*func_glImageTransformParameterivHP)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glImageTransformParameterivHP]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glImageTransformParameterivHP( target, pname, params ); - LEAVE_GL(); } static GLvoid* WINAPI wine_glImportSyncEXT( GLenum external_sync_type, INT_PTR external_sync, GLbitfield flags ) { - GLvoid* ret_value; GLvoid* (*func_glImportSyncEXT)( GLenum, INT_PTR, GLbitfield ) = extension_funcs[EXT_glImportSyncEXT]; TRACE("(%d, %ld, %d)\n", external_sync_type, external_sync, flags ); - ENTER_GL(); - ret_value = func_glImportSyncEXT( external_sync_type, external_sync, flags ); - LEAVE_GL(); - return ret_value; + return func_glImportSyncEXT( external_sync_type, external_sync, flags ); } static void WINAPI wine_glIndexFormatNV( GLenum type, GLsizei stride ) { void (*func_glIndexFormatNV)( GLenum, GLsizei ) = extension_funcs[EXT_glIndexFormatNV]; TRACE("(%d, %d)\n", type, stride ); - ENTER_GL(); func_glIndexFormatNV( type, stride ); - LEAVE_GL(); } static void WINAPI wine_glIndexFuncEXT( GLenum func, GLclampf ref ) { void (*func_glIndexFuncEXT)( GLenum, GLclampf ) = extension_funcs[EXT_glIndexFuncEXT]; TRACE("(%d, %f)\n", func, ref ); - ENTER_GL(); func_glIndexFuncEXT( func, ref ); - LEAVE_GL(); } static void WINAPI wine_glIndexMaterialEXT( GLenum face, GLenum mode ) { void (*func_glIndexMaterialEXT)( GLenum, GLenum ) = extension_funcs[EXT_glIndexMaterialEXT]; TRACE("(%d, %d)\n", face, mode ); - ENTER_GL(); func_glIndexMaterialEXT( face, mode ); - LEAVE_GL(); } static void WINAPI wine_glIndexPointerEXT( GLenum type, GLsizei stride, GLsizei count, GLvoid* pointer ) { void (*func_glIndexPointerEXT)( GLenum, GLsizei, GLsizei, GLvoid* ) = extension_funcs[EXT_glIndexPointerEXT]; TRACE("(%d, %d, %d, %p)\n", type, stride, count, pointer ); - ENTER_GL(); func_glIndexPointerEXT( type, stride, count, pointer ); - LEAVE_GL(); } static void WINAPI wine_glIndexPointerListIBM( GLenum type, GLint stride, GLvoid** pointer, GLint ptrstride ) { void (*func_glIndexPointerListIBM)( GLenum, GLint, GLvoid**, GLint ) = extension_funcs[EXT_glIndexPointerListIBM]; TRACE("(%d, %d, %p, %d)\n", type, stride, pointer, ptrstride ); - ENTER_GL(); func_glIndexPointerListIBM( type, stride, pointer, ptrstride ); - LEAVE_GL(); } static void WINAPI wine_glInsertComponentEXT( GLuint res, GLuint src, GLuint num ) { void (*func_glInsertComponentEXT)( GLuint, GLuint, GLuint ) = extension_funcs[EXT_glInsertComponentEXT]; TRACE("(%d, %d, %d)\n", res, src, num ); - ENTER_GL(); func_glInsertComponentEXT( res, src, num ); - LEAVE_GL(); } static void WINAPI wine_glInstrumentsBufferSGIX( GLsizei size, GLint* buffer ) { void (*func_glInstrumentsBufferSGIX)( GLsizei, GLint* ) = extension_funcs[EXT_glInstrumentsBufferSGIX]; TRACE("(%d, %p)\n", size, buffer ); - ENTER_GL(); func_glInstrumentsBufferSGIX( size, buffer ); - LEAVE_GL(); } static void WINAPI wine_glInterpolatePathsNV( GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight ) { void (*func_glInterpolatePathsNV)( GLuint, GLuint, GLuint, GLfloat ) = extension_funcs[EXT_glInterpolatePathsNV]; TRACE("(%d, %d, %d, %f)\n", resultPath, pathA, pathB, weight ); - ENTER_GL(); func_glInterpolatePathsNV( resultPath, pathA, pathB, weight ); - LEAVE_GL(); } static GLboolean WINAPI wine_glIsAsyncMarkerSGIX( GLuint marker ) { - GLboolean ret_value; GLboolean (*func_glIsAsyncMarkerSGIX)( GLuint ) = extension_funcs[EXT_glIsAsyncMarkerSGIX]; TRACE("(%d)\n", marker ); - ENTER_GL(); - ret_value = func_glIsAsyncMarkerSGIX( marker ); - LEAVE_GL(); - return ret_value; + return func_glIsAsyncMarkerSGIX( marker ); } static GLboolean WINAPI wine_glIsBuffer( GLuint buffer ) { - GLboolean ret_value; GLboolean (*func_glIsBuffer)( GLuint ) = extension_funcs[EXT_glIsBuffer]; TRACE("(%d)\n", buffer ); - ENTER_GL(); - ret_value = func_glIsBuffer( buffer ); - LEAVE_GL(); - return ret_value; + return func_glIsBuffer( buffer ); } static GLboolean WINAPI wine_glIsBufferARB( GLuint buffer ) { - GLboolean ret_value; GLboolean (*func_glIsBufferARB)( GLuint ) = extension_funcs[EXT_glIsBufferARB]; TRACE("(%d)\n", buffer ); - ENTER_GL(); - ret_value = func_glIsBufferARB( buffer ); - LEAVE_GL(); - return ret_value; + return func_glIsBufferARB( buffer ); } static GLboolean WINAPI wine_glIsBufferResidentNV( GLenum target ) { - GLboolean ret_value; GLboolean (*func_glIsBufferResidentNV)( GLenum ) = extension_funcs[EXT_glIsBufferResidentNV]; TRACE("(%d)\n", target ); - ENTER_GL(); - ret_value = func_glIsBufferResidentNV( target ); - LEAVE_GL(); - return ret_value; + return func_glIsBufferResidentNV( target ); } static GLboolean WINAPI wine_glIsEnabledIndexedEXT( GLenum target, GLuint index ) { - GLboolean ret_value; GLboolean (*func_glIsEnabledIndexedEXT)( GLenum, GLuint ) = extension_funcs[EXT_glIsEnabledIndexedEXT]; TRACE("(%d, %d)\n", target, index ); - ENTER_GL(); - ret_value = func_glIsEnabledIndexedEXT( target, index ); - LEAVE_GL(); - return ret_value; + return func_glIsEnabledIndexedEXT( target, index ); } static GLboolean WINAPI wine_glIsEnabledi( GLenum target, GLuint index ) { - GLboolean ret_value; GLboolean (*func_glIsEnabledi)( GLenum, GLuint ) = extension_funcs[EXT_glIsEnabledi]; TRACE("(%d, %d)\n", target, index ); - ENTER_GL(); - ret_value = func_glIsEnabledi( target, index ); - LEAVE_GL(); - return ret_value; + return func_glIsEnabledi( target, index ); } static GLboolean WINAPI wine_glIsFenceAPPLE( GLuint fence ) { - GLboolean ret_value; GLboolean (*func_glIsFenceAPPLE)( GLuint ) = extension_funcs[EXT_glIsFenceAPPLE]; TRACE("(%d)\n", fence ); - ENTER_GL(); - ret_value = func_glIsFenceAPPLE( fence ); - LEAVE_GL(); - return ret_value; + return func_glIsFenceAPPLE( fence ); } static GLboolean WINAPI wine_glIsFenceNV( GLuint fence ) { - GLboolean ret_value; GLboolean (*func_glIsFenceNV)( GLuint ) = extension_funcs[EXT_glIsFenceNV]; TRACE("(%d)\n", fence ); - ENTER_GL(); - ret_value = func_glIsFenceNV( fence ); - LEAVE_GL(); - return ret_value; + return func_glIsFenceNV( fence ); } static GLboolean WINAPI wine_glIsFramebuffer( GLuint framebuffer ) { - GLboolean ret_value; GLboolean (*func_glIsFramebuffer)( GLuint ) = extension_funcs[EXT_glIsFramebuffer]; TRACE("(%d)\n", framebuffer ); - ENTER_GL(); - ret_value = func_glIsFramebuffer( framebuffer ); - LEAVE_GL(); - return ret_value; + return func_glIsFramebuffer( framebuffer ); } static GLboolean WINAPI wine_glIsFramebufferEXT( GLuint framebuffer ) { - GLboolean ret_value; GLboolean (*func_glIsFramebufferEXT)( GLuint ) = extension_funcs[EXT_glIsFramebufferEXT]; TRACE("(%d)\n", framebuffer ); - ENTER_GL(); - ret_value = func_glIsFramebufferEXT( framebuffer ); - LEAVE_GL(); - return ret_value; + return func_glIsFramebufferEXT( framebuffer ); } static GLboolean WINAPI wine_glIsImageHandleResidentNV( UINT64 handle ) { - GLboolean ret_value; GLboolean (*func_glIsImageHandleResidentNV)( UINT64 ) = extension_funcs[EXT_glIsImageHandleResidentNV]; TRACE("(%s)\n", wine_dbgstr_longlong(handle) ); - ENTER_GL(); - ret_value = func_glIsImageHandleResidentNV( handle ); - LEAVE_GL(); - return ret_value; + return func_glIsImageHandleResidentNV( handle ); } static GLboolean WINAPI wine_glIsNameAMD( GLenum identifier, GLuint name ) { - GLboolean ret_value; GLboolean (*func_glIsNameAMD)( GLenum, GLuint ) = extension_funcs[EXT_glIsNameAMD]; TRACE("(%d, %d)\n", identifier, name ); - ENTER_GL(); - ret_value = func_glIsNameAMD( identifier, name ); - LEAVE_GL(); - return ret_value; + return func_glIsNameAMD( identifier, name ); } static GLboolean WINAPI wine_glIsNamedBufferResidentNV( GLuint buffer ) { - GLboolean ret_value; GLboolean (*func_glIsNamedBufferResidentNV)( GLuint ) = extension_funcs[EXT_glIsNamedBufferResidentNV]; TRACE("(%d)\n", buffer ); - ENTER_GL(); - ret_value = func_glIsNamedBufferResidentNV( buffer ); - LEAVE_GL(); - return ret_value; + return func_glIsNamedBufferResidentNV( buffer ); } static GLboolean WINAPI wine_glIsNamedStringARB( GLint namelen, char* name ) { - GLboolean ret_value; GLboolean (*func_glIsNamedStringARB)( GLint, char* ) = extension_funcs[EXT_glIsNamedStringARB]; TRACE("(%d, %p)\n", namelen, name ); - ENTER_GL(); - ret_value = func_glIsNamedStringARB( namelen, name ); - LEAVE_GL(); - return ret_value; + return func_glIsNamedStringARB( namelen, name ); } static GLboolean WINAPI wine_glIsObjectBufferATI( GLuint buffer ) { - GLboolean ret_value; GLboolean (*func_glIsObjectBufferATI)( GLuint ) = extension_funcs[EXT_glIsObjectBufferATI]; TRACE("(%d)\n", buffer ); - ENTER_GL(); - ret_value = func_glIsObjectBufferATI( buffer ); - LEAVE_GL(); - return ret_value; + return func_glIsObjectBufferATI( buffer ); } static GLboolean WINAPI wine_glIsOcclusionQueryNV( GLuint id ) { - GLboolean ret_value; GLboolean (*func_glIsOcclusionQueryNV)( GLuint ) = extension_funcs[EXT_glIsOcclusionQueryNV]; TRACE("(%d)\n", id ); - ENTER_GL(); - ret_value = func_glIsOcclusionQueryNV( id ); - LEAVE_GL(); - return ret_value; + return func_glIsOcclusionQueryNV( id ); } static GLboolean WINAPI wine_glIsPathNV( GLuint path ) { - GLboolean ret_value; GLboolean (*func_glIsPathNV)( GLuint ) = extension_funcs[EXT_glIsPathNV]; TRACE("(%d)\n", path ); - ENTER_GL(); - ret_value = func_glIsPathNV( path ); - LEAVE_GL(); - return ret_value; + return func_glIsPathNV( path ); } static GLboolean WINAPI wine_glIsPointInFillPathNV( GLuint path, GLuint mask, GLfloat x, GLfloat y ) { - GLboolean ret_value; GLboolean (*func_glIsPointInFillPathNV)( GLuint, GLuint, GLfloat, GLfloat ) = extension_funcs[EXT_glIsPointInFillPathNV]; TRACE("(%d, %d, %f, %f)\n", path, mask, x, y ); - ENTER_GL(); - ret_value = func_glIsPointInFillPathNV( path, mask, x, y ); - LEAVE_GL(); - return ret_value; + return func_glIsPointInFillPathNV( path, mask, x, y ); } static GLboolean WINAPI wine_glIsPointInStrokePathNV( GLuint path, GLfloat x, GLfloat y ) { - GLboolean ret_value; GLboolean (*func_glIsPointInStrokePathNV)( GLuint, GLfloat, GLfloat ) = extension_funcs[EXT_glIsPointInStrokePathNV]; TRACE("(%d, %f, %f)\n", path, x, y ); - ENTER_GL(); - ret_value = func_glIsPointInStrokePathNV( path, x, y ); - LEAVE_GL(); - return ret_value; + return func_glIsPointInStrokePathNV( path, x, y ); } static GLboolean WINAPI wine_glIsProgram( GLuint program ) { - GLboolean ret_value; GLboolean (*func_glIsProgram)( GLuint ) = extension_funcs[EXT_glIsProgram]; TRACE("(%d)\n", program ); - ENTER_GL(); - ret_value = func_glIsProgram( program ); - LEAVE_GL(); - return ret_value; + return func_glIsProgram( program ); } static GLboolean WINAPI wine_glIsProgramARB( GLuint program ) { - GLboolean ret_value; GLboolean (*func_glIsProgramARB)( GLuint ) = extension_funcs[EXT_glIsProgramARB]; TRACE("(%d)\n", program ); - ENTER_GL(); - ret_value = func_glIsProgramARB( program ); - LEAVE_GL(); - return ret_value; + return func_glIsProgramARB( program ); } static GLboolean WINAPI wine_glIsProgramNV( GLuint id ) { - GLboolean ret_value; GLboolean (*func_glIsProgramNV)( GLuint ) = extension_funcs[EXT_glIsProgramNV]; TRACE("(%d)\n", id ); - ENTER_GL(); - ret_value = func_glIsProgramNV( id ); - LEAVE_GL(); - return ret_value; + return func_glIsProgramNV( id ); } static GLboolean WINAPI wine_glIsProgramPipeline( GLuint pipeline ) { - GLboolean ret_value; GLboolean (*func_glIsProgramPipeline)( GLuint ) = extension_funcs[EXT_glIsProgramPipeline]; TRACE("(%d)\n", pipeline ); - ENTER_GL(); - ret_value = func_glIsProgramPipeline( pipeline ); - LEAVE_GL(); - return ret_value; + return func_glIsProgramPipeline( pipeline ); } static GLboolean WINAPI wine_glIsQuery( GLuint id ) { - GLboolean ret_value; GLboolean (*func_glIsQuery)( GLuint ) = extension_funcs[EXT_glIsQuery]; TRACE("(%d)\n", id ); - ENTER_GL(); - ret_value = func_glIsQuery( id ); - LEAVE_GL(); - return ret_value; + return func_glIsQuery( id ); } static GLboolean WINAPI wine_glIsQueryARB( GLuint id ) { - GLboolean ret_value; GLboolean (*func_glIsQueryARB)( GLuint ) = extension_funcs[EXT_glIsQueryARB]; TRACE("(%d)\n", id ); - ENTER_GL(); - ret_value = func_glIsQueryARB( id ); - LEAVE_GL(); - return ret_value; + return func_glIsQueryARB( id ); } static GLboolean WINAPI wine_glIsRenderbuffer( GLuint renderbuffer ) { - GLboolean ret_value; GLboolean (*func_glIsRenderbuffer)( GLuint ) = extension_funcs[EXT_glIsRenderbuffer]; TRACE("(%d)\n", renderbuffer ); - ENTER_GL(); - ret_value = func_glIsRenderbuffer( renderbuffer ); - LEAVE_GL(); - return ret_value; + return func_glIsRenderbuffer( renderbuffer ); } static GLboolean WINAPI wine_glIsRenderbufferEXT( GLuint renderbuffer ) { - GLboolean ret_value; GLboolean (*func_glIsRenderbufferEXT)( GLuint ) = extension_funcs[EXT_glIsRenderbufferEXT]; TRACE("(%d)\n", renderbuffer ); - ENTER_GL(); - ret_value = func_glIsRenderbufferEXT( renderbuffer ); - LEAVE_GL(); - return ret_value; + return func_glIsRenderbufferEXT( renderbuffer ); } static GLboolean WINAPI wine_glIsSampler( GLuint sampler ) { - GLboolean ret_value; GLboolean (*func_glIsSampler)( GLuint ) = extension_funcs[EXT_glIsSampler]; TRACE("(%d)\n", sampler ); - ENTER_GL(); - ret_value = func_glIsSampler( sampler ); - LEAVE_GL(); - return ret_value; + return func_glIsSampler( sampler ); } static GLboolean WINAPI wine_glIsShader( GLuint shader ) { - GLboolean ret_value; GLboolean (*func_glIsShader)( GLuint ) = extension_funcs[EXT_glIsShader]; TRACE("(%d)\n", shader ); - ENTER_GL(); - ret_value = func_glIsShader( shader ); - LEAVE_GL(); - return ret_value; + return func_glIsShader( shader ); } static GLboolean WINAPI wine_glIsSync( GLvoid* sync ) { - GLboolean ret_value; GLboolean (*func_glIsSync)( GLvoid* ) = extension_funcs[EXT_glIsSync]; TRACE("(%p)\n", sync ); - ENTER_GL(); - ret_value = func_glIsSync( sync ); - LEAVE_GL(); - return ret_value; + return func_glIsSync( sync ); } static GLboolean WINAPI wine_glIsTextureEXT( GLuint texture ) { - GLboolean ret_value; GLboolean (*func_glIsTextureEXT)( GLuint ) = extension_funcs[EXT_glIsTextureEXT]; TRACE("(%d)\n", texture ); - ENTER_GL(); - ret_value = func_glIsTextureEXT( texture ); - LEAVE_GL(); - return ret_value; + return func_glIsTextureEXT( texture ); } static GLboolean WINAPI wine_glIsTextureHandleResidentNV( UINT64 handle ) { - GLboolean ret_value; GLboolean (*func_glIsTextureHandleResidentNV)( UINT64 ) = extension_funcs[EXT_glIsTextureHandleResidentNV]; TRACE("(%s)\n", wine_dbgstr_longlong(handle) ); - ENTER_GL(); - ret_value = func_glIsTextureHandleResidentNV( handle ); - LEAVE_GL(); - return ret_value; + return func_glIsTextureHandleResidentNV( handle ); } static GLboolean WINAPI wine_glIsTransformFeedback( GLuint id ) { - GLboolean ret_value; GLboolean (*func_glIsTransformFeedback)( GLuint ) = extension_funcs[EXT_glIsTransformFeedback]; TRACE("(%d)\n", id ); - ENTER_GL(); - ret_value = func_glIsTransformFeedback( id ); - LEAVE_GL(); - return ret_value; + return func_glIsTransformFeedback( id ); } static GLboolean WINAPI wine_glIsTransformFeedbackNV( GLuint id ) { - GLboolean ret_value; GLboolean (*func_glIsTransformFeedbackNV)( GLuint ) = extension_funcs[EXT_glIsTransformFeedbackNV]; TRACE("(%d)\n", id ); - ENTER_GL(); - ret_value = func_glIsTransformFeedbackNV( id ); - LEAVE_GL(); - return ret_value; + return func_glIsTransformFeedbackNV( id ); } static GLboolean WINAPI wine_glIsVariantEnabledEXT( GLuint id, GLenum cap ) { - GLboolean ret_value; GLboolean (*func_glIsVariantEnabledEXT)( GLuint, GLenum ) = extension_funcs[EXT_glIsVariantEnabledEXT]; TRACE("(%d, %d)\n", id, cap ); - ENTER_GL(); - ret_value = func_glIsVariantEnabledEXT( id, cap ); - LEAVE_GL(); - return ret_value; + return func_glIsVariantEnabledEXT( id, cap ); } static GLboolean WINAPI wine_glIsVertexArray( GLuint array ) { - GLboolean ret_value; GLboolean (*func_glIsVertexArray)( GLuint ) = extension_funcs[EXT_glIsVertexArray]; TRACE("(%d)\n", array ); - ENTER_GL(); - ret_value = func_glIsVertexArray( array ); - LEAVE_GL(); - return ret_value; + return func_glIsVertexArray( array ); } static GLboolean WINAPI wine_glIsVertexArrayAPPLE( GLuint array ) { - GLboolean ret_value; GLboolean (*func_glIsVertexArrayAPPLE)( GLuint ) = extension_funcs[EXT_glIsVertexArrayAPPLE]; TRACE("(%d)\n", array ); - ENTER_GL(); - ret_value = func_glIsVertexArrayAPPLE( array ); - LEAVE_GL(); - return ret_value; + return func_glIsVertexArrayAPPLE( array ); } static GLboolean WINAPI wine_glIsVertexAttribEnabledAPPLE( GLuint index, GLenum pname ) { - GLboolean ret_value; GLboolean (*func_glIsVertexAttribEnabledAPPLE)( GLuint, GLenum ) = extension_funcs[EXT_glIsVertexAttribEnabledAPPLE]; TRACE("(%d, %d)\n", index, pname ); - ENTER_GL(); - ret_value = func_glIsVertexAttribEnabledAPPLE( index, pname ); - LEAVE_GL(); - return ret_value; + return func_glIsVertexAttribEnabledAPPLE( index, pname ); } static void WINAPI wine_glLightEnviSGIX( GLenum pname, GLint param ) { void (*func_glLightEnviSGIX)( GLenum, GLint ) = extension_funcs[EXT_glLightEnviSGIX]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glLightEnviSGIX( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glLinkProgram( GLuint program ) { void (*func_glLinkProgram)( GLuint ) = extension_funcs[EXT_glLinkProgram]; TRACE("(%d)\n", program ); - ENTER_GL(); func_glLinkProgram( program ); - LEAVE_GL(); } static void WINAPI wine_glLinkProgramARB( unsigned int programObj ) { void (*func_glLinkProgramARB)( unsigned int ) = extension_funcs[EXT_glLinkProgramARB]; TRACE("(%d)\n", programObj ); - ENTER_GL(); func_glLinkProgramARB( programObj ); - LEAVE_GL(); } static void WINAPI wine_glListParameterfSGIX( GLuint list, GLenum pname, GLfloat param ) { void (*func_glListParameterfSGIX)( GLuint, GLenum, GLfloat ) = extension_funcs[EXT_glListParameterfSGIX]; TRACE("(%d, %d, %f)\n", list, pname, param ); - ENTER_GL(); func_glListParameterfSGIX( list, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glListParameterfvSGIX( GLuint list, GLenum pname, GLfloat* params ) { void (*func_glListParameterfvSGIX)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glListParameterfvSGIX]; TRACE("(%d, %d, %p)\n", list, pname, params ); - ENTER_GL(); func_glListParameterfvSGIX( list, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glListParameteriSGIX( GLuint list, GLenum pname, GLint param ) { void (*func_glListParameteriSGIX)( GLuint, GLenum, GLint ) = extension_funcs[EXT_glListParameteriSGIX]; TRACE("(%d, %d, %d)\n", list, pname, param ); - ENTER_GL(); func_glListParameteriSGIX( list, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glListParameterivSGIX( GLuint list, GLenum pname, GLint* params ) { void (*func_glListParameterivSGIX)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glListParameterivSGIX]; TRACE("(%d, %d, %p)\n", list, pname, params ); - ENTER_GL(); func_glListParameterivSGIX( list, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glLoadIdentityDeformationMapSGIX( GLbitfield mask ) { void (*func_glLoadIdentityDeformationMapSGIX)( GLbitfield ) = extension_funcs[EXT_glLoadIdentityDeformationMapSGIX]; TRACE("(%d)\n", mask ); - ENTER_GL(); func_glLoadIdentityDeformationMapSGIX( mask ); - LEAVE_GL(); } static void WINAPI wine_glLoadProgramNV( GLenum target, GLuint id, GLsizei len, GLubyte* program ) { void (*func_glLoadProgramNV)( GLenum, GLuint, GLsizei, GLubyte* ) = extension_funcs[EXT_glLoadProgramNV]; TRACE("(%d, %d, %d, %p)\n", target, id, len, program ); - ENTER_GL(); func_glLoadProgramNV( target, id, len, program ); - LEAVE_GL(); } static void WINAPI wine_glLoadTransposeMatrixd( GLdouble* m ) { void (*func_glLoadTransposeMatrixd)( GLdouble* ) = extension_funcs[EXT_glLoadTransposeMatrixd]; TRACE("(%p)\n", m ); - ENTER_GL(); func_glLoadTransposeMatrixd( m ); - LEAVE_GL(); } static void WINAPI wine_glLoadTransposeMatrixdARB( GLdouble* m ) { void (*func_glLoadTransposeMatrixdARB)( GLdouble* ) = extension_funcs[EXT_glLoadTransposeMatrixdARB]; TRACE("(%p)\n", m ); - ENTER_GL(); func_glLoadTransposeMatrixdARB( m ); - LEAVE_GL(); } static void WINAPI wine_glLoadTransposeMatrixf( GLfloat* m ) { void (*func_glLoadTransposeMatrixf)( GLfloat* ) = extension_funcs[EXT_glLoadTransposeMatrixf]; TRACE("(%p)\n", m ); - ENTER_GL(); func_glLoadTransposeMatrixf( m ); - LEAVE_GL(); } static void WINAPI wine_glLoadTransposeMatrixfARB( GLfloat* m ) { void (*func_glLoadTransposeMatrixfARB)( GLfloat* ) = extension_funcs[EXT_glLoadTransposeMatrixfARB]; TRACE("(%p)\n", m ); - ENTER_GL(); func_glLoadTransposeMatrixfARB( m ); - LEAVE_GL(); } static void WINAPI wine_glLockArraysEXT( GLint first, GLsizei count ) { void (*func_glLockArraysEXT)( GLint, GLsizei ) = extension_funcs[EXT_glLockArraysEXT]; TRACE("(%d, %d)\n", first, count ); - ENTER_GL(); func_glLockArraysEXT( first, count ); - LEAVE_GL(); } static void WINAPI wine_glMTexCoord2fSGIS( GLenum target, GLfloat s, GLfloat t ) { void (*func_glMTexCoord2fSGIS)( GLenum, GLfloat, GLfloat ) = extension_funcs[EXT_glMTexCoord2fSGIS]; TRACE("(%d, %f, %f)\n", target, s, t ); - ENTER_GL(); func_glMTexCoord2fSGIS( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMTexCoord2fvSGIS( GLenum target, GLfloat * v ) { void (*func_glMTexCoord2fvSGIS)( GLenum, GLfloat * ) = extension_funcs[EXT_glMTexCoord2fvSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMTexCoord2fvSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMakeBufferNonResidentNV( GLenum target ) { void (*func_glMakeBufferNonResidentNV)( GLenum ) = extension_funcs[EXT_glMakeBufferNonResidentNV]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glMakeBufferNonResidentNV( target ); - LEAVE_GL(); } static void WINAPI wine_glMakeBufferResidentNV( GLenum target, GLenum access ) { void (*func_glMakeBufferResidentNV)( GLenum, GLenum ) = extension_funcs[EXT_glMakeBufferResidentNV]; TRACE("(%d, %d)\n", target, access ); - ENTER_GL(); func_glMakeBufferResidentNV( target, access ); - LEAVE_GL(); } static void WINAPI wine_glMakeImageHandleNonResidentNV( UINT64 handle ) { void (*func_glMakeImageHandleNonResidentNV)( UINT64 ) = extension_funcs[EXT_glMakeImageHandleNonResidentNV]; TRACE("(%s)\n", wine_dbgstr_longlong(handle) ); - ENTER_GL(); func_glMakeImageHandleNonResidentNV( handle ); - LEAVE_GL(); } static void WINAPI wine_glMakeImageHandleResidentNV( UINT64 handle, GLenum access ) { void (*func_glMakeImageHandleResidentNV)( UINT64, GLenum ) = extension_funcs[EXT_glMakeImageHandleResidentNV]; TRACE("(%s, %d)\n", wine_dbgstr_longlong(handle), access ); - ENTER_GL(); func_glMakeImageHandleResidentNV( handle, access ); - LEAVE_GL(); } static void WINAPI wine_glMakeNamedBufferNonResidentNV( GLuint buffer ) { void (*func_glMakeNamedBufferNonResidentNV)( GLuint ) = extension_funcs[EXT_glMakeNamedBufferNonResidentNV]; TRACE("(%d)\n", buffer ); - ENTER_GL(); func_glMakeNamedBufferNonResidentNV( buffer ); - LEAVE_GL(); } static void WINAPI wine_glMakeNamedBufferResidentNV( GLuint buffer, GLenum access ) { void (*func_glMakeNamedBufferResidentNV)( GLuint, GLenum ) = extension_funcs[EXT_glMakeNamedBufferResidentNV]; TRACE("(%d, %d)\n", buffer, access ); - ENTER_GL(); func_glMakeNamedBufferResidentNV( buffer, access ); - LEAVE_GL(); } static void WINAPI wine_glMakeTextureHandleNonResidentNV( UINT64 handle ) { void (*func_glMakeTextureHandleNonResidentNV)( UINT64 ) = extension_funcs[EXT_glMakeTextureHandleNonResidentNV]; TRACE("(%s)\n", wine_dbgstr_longlong(handle) ); - ENTER_GL(); func_glMakeTextureHandleNonResidentNV( handle ); - LEAVE_GL(); } static void WINAPI wine_glMakeTextureHandleResidentNV( UINT64 handle ) { void (*func_glMakeTextureHandleResidentNV)( UINT64 ) = extension_funcs[EXT_glMakeTextureHandleResidentNV]; TRACE("(%s)\n", wine_dbgstr_longlong(handle) ); - ENTER_GL(); func_glMakeTextureHandleResidentNV( handle ); - LEAVE_GL(); } static GLvoid* WINAPI wine_glMapBuffer( GLenum target, GLenum access ) { - GLvoid* ret_value; GLvoid* (*func_glMapBuffer)( GLenum, GLenum ) = extension_funcs[EXT_glMapBuffer]; TRACE("(%d, %d)\n", target, access ); - ENTER_GL(); - ret_value = func_glMapBuffer( target, access ); - LEAVE_GL(); - return ret_value; + return func_glMapBuffer( target, access ); } static GLvoid* WINAPI wine_glMapBufferARB( GLenum target, GLenum access ) { - GLvoid* ret_value; GLvoid* (*func_glMapBufferARB)( GLenum, GLenum ) = extension_funcs[EXT_glMapBufferARB]; TRACE("(%d, %d)\n", target, access ); - ENTER_GL(); - ret_value = func_glMapBufferARB( target, access ); - LEAVE_GL(); - return ret_value; + return func_glMapBufferARB( target, access ); } static GLvoid* WINAPI wine_glMapBufferRange( GLenum target, INT_PTR offset, INT_PTR length, GLbitfield access ) { - GLvoid* ret_value; GLvoid* (*func_glMapBufferRange)( GLenum, INT_PTR, INT_PTR, GLbitfield ) = extension_funcs[EXT_glMapBufferRange]; TRACE("(%d, %ld, %ld, %d)\n", target, offset, length, access ); - ENTER_GL(); - ret_value = func_glMapBufferRange( target, offset, length, access ); - LEAVE_GL(); - return ret_value; + return func_glMapBufferRange( target, offset, length, access ); } static void WINAPI wine_glMapControlPointsNV( GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, GLvoid* points ) { void (*func_glMapControlPointsNV)( GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, GLvoid* ) = extension_funcs[EXT_glMapControlPointsNV]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, index, type, ustride, vstride, uorder, vorder, packed, points ); - ENTER_GL(); func_glMapControlPointsNV( target, index, type, ustride, vstride, uorder, vorder, packed, points ); - LEAVE_GL(); } static GLvoid* WINAPI wine_glMapNamedBufferEXT( GLuint buffer, GLenum access ) { - GLvoid* ret_value; GLvoid* (*func_glMapNamedBufferEXT)( GLuint, GLenum ) = extension_funcs[EXT_glMapNamedBufferEXT]; TRACE("(%d, %d)\n", buffer, access ); - ENTER_GL(); - ret_value = func_glMapNamedBufferEXT( buffer, access ); - LEAVE_GL(); - return ret_value; + return func_glMapNamedBufferEXT( buffer, access ); } static GLvoid* WINAPI wine_glMapNamedBufferRangeEXT( GLuint buffer, INT_PTR offset, INT_PTR length, GLbitfield access ) { - GLvoid* ret_value; GLvoid* (*func_glMapNamedBufferRangeEXT)( GLuint, INT_PTR, INT_PTR, GLbitfield ) = extension_funcs[EXT_glMapNamedBufferRangeEXT]; TRACE("(%d, %ld, %ld, %d)\n", buffer, offset, length, access ); - ENTER_GL(); - ret_value = func_glMapNamedBufferRangeEXT( buffer, offset, length, access ); - LEAVE_GL(); - return ret_value; + return func_glMapNamedBufferRangeEXT( buffer, offset, length, access ); } static GLvoid* WINAPI wine_glMapObjectBufferATI( GLuint buffer ) { - GLvoid* ret_value; GLvoid* (*func_glMapObjectBufferATI)( GLuint ) = extension_funcs[EXT_glMapObjectBufferATI]; TRACE("(%d)\n", buffer ); - ENTER_GL(); - ret_value = func_glMapObjectBufferATI( buffer ); - LEAVE_GL(); - return ret_value; + return func_glMapObjectBufferATI( buffer ); } static void WINAPI wine_glMapParameterfvNV( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glMapParameterfvNV)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glMapParameterfvNV]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glMapParameterfvNV( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMapParameterivNV( GLenum target, GLenum pname, GLint* params ) { void (*func_glMapParameterivNV)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glMapParameterivNV]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glMapParameterivNV( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMapVertexAttrib1dAPPLE( GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble* points ) { void (*func_glMapVertexAttrib1dAPPLE)( GLuint, GLuint, GLdouble, GLdouble, GLint, GLint, GLdouble* ) = extension_funcs[EXT_glMapVertexAttrib1dAPPLE]; TRACE("(%d, %d, %f, %f, %d, %d, %p)\n", index, size, u1, u2, stride, order, points ); - ENTER_GL(); func_glMapVertexAttrib1dAPPLE( index, size, u1, u2, stride, order, points ); - LEAVE_GL(); } static void WINAPI wine_glMapVertexAttrib1fAPPLE( GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat* points ) { void (*func_glMapVertexAttrib1fAPPLE)( GLuint, GLuint, GLfloat, GLfloat, GLint, GLint, GLfloat* ) = extension_funcs[EXT_glMapVertexAttrib1fAPPLE]; TRACE("(%d, %d, %f, %f, %d, %d, %p)\n", index, size, u1, u2, stride, order, points ); - ENTER_GL(); func_glMapVertexAttrib1fAPPLE( index, size, u1, u2, stride, order, points ); - LEAVE_GL(); } static void WINAPI wine_glMapVertexAttrib2dAPPLE( GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble* points ) { void (*func_glMapVertexAttrib2dAPPLE)( GLuint, GLuint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble* ) = extension_funcs[EXT_glMapVertexAttrib2dAPPLE]; TRACE("(%d, %d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points ); - ENTER_GL(); func_glMapVertexAttrib2dAPPLE( index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points ); - LEAVE_GL(); } static void WINAPI wine_glMapVertexAttrib2fAPPLE( GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat* points ) { void (*func_glMapVertexAttrib2fAPPLE)( GLuint, GLuint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat* ) = extension_funcs[EXT_glMapVertexAttrib2fAPPLE]; TRACE("(%d, %d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points ); - ENTER_GL(); func_glMapVertexAttrib2fAPPLE( index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points ); - LEAVE_GL(); } static void WINAPI wine_glMatrixFrustumEXT( GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) { void (*func_glMatrixFrustumEXT)( GLenum, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMatrixFrustumEXT]; TRACE("(%d, %f, %f, %f, %f, %f, %f)\n", mode, left, right, bottom, top, zNear, zFar ); - ENTER_GL(); func_glMatrixFrustumEXT( mode, left, right, bottom, top, zNear, zFar ); - LEAVE_GL(); } static void WINAPI wine_glMatrixIndexPointerARB( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glMatrixIndexPointerARB)( GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glMatrixIndexPointerARB]; TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer ); - ENTER_GL(); func_glMatrixIndexPointerARB( size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glMatrixIndexubvARB( GLint size, GLubyte* indices ) { void (*func_glMatrixIndexubvARB)( GLint, GLubyte* ) = extension_funcs[EXT_glMatrixIndexubvARB]; TRACE("(%d, %p)\n", size, indices ); - ENTER_GL(); func_glMatrixIndexubvARB( size, indices ); - LEAVE_GL(); } static void WINAPI wine_glMatrixIndexuivARB( GLint size, GLuint* indices ) { void (*func_glMatrixIndexuivARB)( GLint, GLuint* ) = extension_funcs[EXT_glMatrixIndexuivARB]; TRACE("(%d, %p)\n", size, indices ); - ENTER_GL(); func_glMatrixIndexuivARB( size, indices ); - LEAVE_GL(); } static void WINAPI wine_glMatrixIndexusvARB( GLint size, GLushort* indices ) { void (*func_glMatrixIndexusvARB)( GLint, GLushort* ) = extension_funcs[EXT_glMatrixIndexusvARB]; TRACE("(%d, %p)\n", size, indices ); - ENTER_GL(); func_glMatrixIndexusvARB( size, indices ); - LEAVE_GL(); } static void WINAPI wine_glMatrixLoadIdentityEXT( GLenum mode ) { void (*func_glMatrixLoadIdentityEXT)( GLenum ) = extension_funcs[EXT_glMatrixLoadIdentityEXT]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glMatrixLoadIdentityEXT( mode ); - LEAVE_GL(); } static void WINAPI wine_glMatrixLoadTransposedEXT( GLenum mode, GLdouble* m ) { void (*func_glMatrixLoadTransposedEXT)( GLenum, GLdouble* ) = extension_funcs[EXT_glMatrixLoadTransposedEXT]; TRACE("(%d, %p)\n", mode, m ); - ENTER_GL(); func_glMatrixLoadTransposedEXT( mode, m ); - LEAVE_GL(); } static void WINAPI wine_glMatrixLoadTransposefEXT( GLenum mode, GLfloat* m ) { void (*func_glMatrixLoadTransposefEXT)( GLenum, GLfloat* ) = extension_funcs[EXT_glMatrixLoadTransposefEXT]; TRACE("(%d, %p)\n", mode, m ); - ENTER_GL(); func_glMatrixLoadTransposefEXT( mode, m ); - LEAVE_GL(); } static void WINAPI wine_glMatrixLoaddEXT( GLenum mode, GLdouble* m ) { void (*func_glMatrixLoaddEXT)( GLenum, GLdouble* ) = extension_funcs[EXT_glMatrixLoaddEXT]; TRACE("(%d, %p)\n", mode, m ); - ENTER_GL(); func_glMatrixLoaddEXT( mode, m ); - LEAVE_GL(); } static void WINAPI wine_glMatrixLoadfEXT( GLenum mode, GLfloat* m ) { void (*func_glMatrixLoadfEXT)( GLenum, GLfloat* ) = extension_funcs[EXT_glMatrixLoadfEXT]; TRACE("(%d, %p)\n", mode, m ); - ENTER_GL(); func_glMatrixLoadfEXT( mode, m ); - LEAVE_GL(); } static void WINAPI wine_glMatrixMultTransposedEXT( GLenum mode, GLdouble* m ) { void (*func_glMatrixMultTransposedEXT)( GLenum, GLdouble* ) = extension_funcs[EXT_glMatrixMultTransposedEXT]; TRACE("(%d, %p)\n", mode, m ); - ENTER_GL(); func_glMatrixMultTransposedEXT( mode, m ); - LEAVE_GL(); } static void WINAPI wine_glMatrixMultTransposefEXT( GLenum mode, GLfloat* m ) { void (*func_glMatrixMultTransposefEXT)( GLenum, GLfloat* ) = extension_funcs[EXT_glMatrixMultTransposefEXT]; TRACE("(%d, %p)\n", mode, m ); - ENTER_GL(); func_glMatrixMultTransposefEXT( mode, m ); - LEAVE_GL(); } static void WINAPI wine_glMatrixMultdEXT( GLenum mode, GLdouble* m ) { void (*func_glMatrixMultdEXT)( GLenum, GLdouble* ) = extension_funcs[EXT_glMatrixMultdEXT]; TRACE("(%d, %p)\n", mode, m ); - ENTER_GL(); func_glMatrixMultdEXT( mode, m ); - LEAVE_GL(); } static void WINAPI wine_glMatrixMultfEXT( GLenum mode, GLfloat* m ) { void (*func_glMatrixMultfEXT)( GLenum, GLfloat* ) = extension_funcs[EXT_glMatrixMultfEXT]; TRACE("(%d, %p)\n", mode, m ); - ENTER_GL(); func_glMatrixMultfEXT( mode, m ); - LEAVE_GL(); } static void WINAPI wine_glMatrixOrthoEXT( GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) { void (*func_glMatrixOrthoEXT)( GLenum, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMatrixOrthoEXT]; TRACE("(%d, %f, %f, %f, %f, %f, %f)\n", mode, left, right, bottom, top, zNear, zFar ); - ENTER_GL(); func_glMatrixOrthoEXT( mode, left, right, bottom, top, zNear, zFar ); - LEAVE_GL(); } static void WINAPI wine_glMatrixPopEXT( GLenum mode ) { void (*func_glMatrixPopEXT)( GLenum ) = extension_funcs[EXT_glMatrixPopEXT]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glMatrixPopEXT( mode ); - LEAVE_GL(); } static void WINAPI wine_glMatrixPushEXT( GLenum mode ) { void (*func_glMatrixPushEXT)( GLenum ) = extension_funcs[EXT_glMatrixPushEXT]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glMatrixPushEXT( mode ); - LEAVE_GL(); } static void WINAPI wine_glMatrixRotatedEXT( GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glMatrixRotatedEXT)( GLenum, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMatrixRotatedEXT]; TRACE("(%d, %f, %f, %f, %f)\n", mode, angle, x, y, z ); - ENTER_GL(); func_glMatrixRotatedEXT( mode, angle, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glMatrixRotatefEXT( GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glMatrixRotatefEXT)( GLenum, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glMatrixRotatefEXT]; TRACE("(%d, %f, %f, %f, %f)\n", mode, angle, x, y, z ); - ENTER_GL(); func_glMatrixRotatefEXT( mode, angle, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glMatrixScaledEXT( GLenum mode, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glMatrixScaledEXT)( GLenum, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMatrixScaledEXT]; TRACE("(%d, %f, %f, %f)\n", mode, x, y, z ); - ENTER_GL(); func_glMatrixScaledEXT( mode, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glMatrixScalefEXT( GLenum mode, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glMatrixScalefEXT)( GLenum, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glMatrixScalefEXT]; TRACE("(%d, %f, %f, %f)\n", mode, x, y, z ); - ENTER_GL(); func_glMatrixScalefEXT( mode, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glMatrixTranslatedEXT( GLenum mode, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glMatrixTranslatedEXT)( GLenum, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMatrixTranslatedEXT]; TRACE("(%d, %f, %f, %f)\n", mode, x, y, z ); - ENTER_GL(); func_glMatrixTranslatedEXT( mode, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glMatrixTranslatefEXT( GLenum mode, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glMatrixTranslatefEXT)( GLenum, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glMatrixTranslatefEXT]; TRACE("(%d, %f, %f, %f)\n", mode, x, y, z ); - ENTER_GL(); func_glMatrixTranslatefEXT( mode, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glMemoryBarrier( GLbitfield barriers ) { void (*func_glMemoryBarrier)( GLbitfield ) = extension_funcs[EXT_glMemoryBarrier]; TRACE("(%d)\n", barriers ); - ENTER_GL(); func_glMemoryBarrier( barriers ); - LEAVE_GL(); } static void WINAPI wine_glMemoryBarrierEXT( GLbitfield barriers ) { void (*func_glMemoryBarrierEXT)( GLbitfield ) = extension_funcs[EXT_glMemoryBarrierEXT]; TRACE("(%d)\n", barriers ); - ENTER_GL(); func_glMemoryBarrierEXT( barriers ); - LEAVE_GL(); } static void WINAPI wine_glMinSampleShading( GLfloat value ) { void (*func_glMinSampleShading)( GLfloat ) = extension_funcs[EXT_glMinSampleShading]; TRACE("(%f)\n", value ); - ENTER_GL(); func_glMinSampleShading( value ); - LEAVE_GL(); } static void WINAPI wine_glMinSampleShadingARB( GLfloat value ) { void (*func_glMinSampleShadingARB)( GLfloat ) = extension_funcs[EXT_glMinSampleShadingARB]; TRACE("(%f)\n", value ); - ENTER_GL(); func_glMinSampleShadingARB( value ); - LEAVE_GL(); } static void WINAPI wine_glMinmax( GLenum target, GLenum internalformat, GLboolean sink ) { void (*func_glMinmax)( GLenum, GLenum, GLboolean ) = extension_funcs[EXT_glMinmax]; TRACE("(%d, %d, %d)\n", target, internalformat, sink ); - ENTER_GL(); func_glMinmax( target, internalformat, sink ); - LEAVE_GL(); } static void WINAPI wine_glMinmaxEXT( GLenum target, GLenum internalformat, GLboolean sink ) { void (*func_glMinmaxEXT)( GLenum, GLenum, GLboolean ) = extension_funcs[EXT_glMinmaxEXT]; TRACE("(%d, %d, %d)\n", target, internalformat, sink ); - ENTER_GL(); func_glMinmaxEXT( target, internalformat, sink ); - LEAVE_GL(); } static void WINAPI wine_glMultTransposeMatrixd( GLdouble* m ) { void (*func_glMultTransposeMatrixd)( GLdouble* ) = extension_funcs[EXT_glMultTransposeMatrixd]; TRACE("(%p)\n", m ); - ENTER_GL(); func_glMultTransposeMatrixd( m ); - LEAVE_GL(); } static void WINAPI wine_glMultTransposeMatrixdARB( GLdouble* m ) { void (*func_glMultTransposeMatrixdARB)( GLdouble* ) = extension_funcs[EXT_glMultTransposeMatrixdARB]; TRACE("(%p)\n", m ); - ENTER_GL(); func_glMultTransposeMatrixdARB( m ); - LEAVE_GL(); } static void WINAPI wine_glMultTransposeMatrixf( GLfloat* m ) { void (*func_glMultTransposeMatrixf)( GLfloat* ) = extension_funcs[EXT_glMultTransposeMatrixf]; TRACE("(%p)\n", m ); - ENTER_GL(); func_glMultTransposeMatrixf( m ); - LEAVE_GL(); } static void WINAPI wine_glMultTransposeMatrixfARB( GLfloat* m ) { void (*func_glMultTransposeMatrixfARB)( GLfloat* ) = extension_funcs[EXT_glMultTransposeMatrixfARB]; TRACE("(%p)\n", m ); - ENTER_GL(); func_glMultTransposeMatrixfARB( m ); - LEAVE_GL(); } static void WINAPI wine_glMultiDrawArrays( GLenum mode, GLint* first, GLsizei* count, GLsizei primcount ) { void (*func_glMultiDrawArrays)( GLenum, GLint*, GLsizei*, GLsizei ) = extension_funcs[EXT_glMultiDrawArrays]; TRACE("(%d, %p, %p, %d)\n", mode, first, count, primcount ); - ENTER_GL(); func_glMultiDrawArrays( mode, first, count, primcount ); - LEAVE_GL(); } static void WINAPI wine_glMultiDrawArraysEXT( GLenum mode, GLint* first, GLsizei* count, GLsizei primcount ) { void (*func_glMultiDrawArraysEXT)( GLenum, GLint*, GLsizei*, GLsizei ) = extension_funcs[EXT_glMultiDrawArraysEXT]; TRACE("(%d, %p, %p, %d)\n", mode, first, count, primcount ); - ENTER_GL(); func_glMultiDrawArraysEXT( mode, first, count, primcount ); - LEAVE_GL(); } static void WINAPI wine_glMultiDrawArraysIndirectAMD( GLenum mode, GLvoid* indirect, GLsizei primcount, GLsizei stride ) { void (*func_glMultiDrawArraysIndirectAMD)( GLenum, GLvoid*, GLsizei, GLsizei ) = extension_funcs[EXT_glMultiDrawArraysIndirectAMD]; TRACE("(%d, %p, %d, %d)\n", mode, indirect, primcount, stride ); - ENTER_GL(); func_glMultiDrawArraysIndirectAMD( mode, indirect, primcount, stride ); - LEAVE_GL(); } static void WINAPI wine_glMultiDrawElementArrayAPPLE( GLenum mode, GLint* first, GLsizei* count, GLsizei primcount ) { void (*func_glMultiDrawElementArrayAPPLE)( GLenum, GLint*, GLsizei*, GLsizei ) = extension_funcs[EXT_glMultiDrawElementArrayAPPLE]; TRACE("(%d, %p, %p, %d)\n", mode, first, count, primcount ); - ENTER_GL(); func_glMultiDrawElementArrayAPPLE( mode, first, count, primcount ); - LEAVE_GL(); } static void WINAPI wine_glMultiDrawElements( GLenum mode, GLsizei* count, GLenum type, GLvoid* const* indices, GLsizei primcount ) { void (*func_glMultiDrawElements)( GLenum, GLsizei*, GLenum, GLvoid* const*, GLsizei ) = extension_funcs[EXT_glMultiDrawElements]; TRACE("(%d, %p, %d, %p, %d)\n", mode, count, type, indices, primcount ); - ENTER_GL(); func_glMultiDrawElements( mode, count, type, indices, primcount ); - LEAVE_GL(); } static void WINAPI wine_glMultiDrawElementsBaseVertex( GLenum mode, GLsizei* count, GLenum type, GLvoid* const* indices, GLsizei primcount, GLint* basevertex ) { void (*func_glMultiDrawElementsBaseVertex)( GLenum, GLsizei*, GLenum, GLvoid* const*, GLsizei, GLint* ) = extension_funcs[EXT_glMultiDrawElementsBaseVertex]; TRACE("(%d, %p, %d, %p, %d, %p)\n", mode, count, type, indices, primcount, basevertex ); - ENTER_GL(); func_glMultiDrawElementsBaseVertex( mode, count, type, indices, primcount, basevertex ); - LEAVE_GL(); } static void WINAPI wine_glMultiDrawElementsEXT( GLenum mode, GLsizei* count, GLenum type, GLvoid** indices, GLsizei primcount ) { void (*func_glMultiDrawElementsEXT)( GLenum, GLsizei*, GLenum, GLvoid**, GLsizei ) = extension_funcs[EXT_glMultiDrawElementsEXT]; TRACE("(%d, %p, %d, %p, %d)\n", mode, count, type, indices, primcount ); - ENTER_GL(); func_glMultiDrawElementsEXT( mode, count, type, indices, primcount ); - LEAVE_GL(); } static void WINAPI wine_glMultiDrawElementsIndirectAMD( GLenum mode, GLenum type, GLvoid* indirect, GLsizei primcount, GLsizei stride ) { void (*func_glMultiDrawElementsIndirectAMD)( GLenum, GLenum, GLvoid*, GLsizei, GLsizei ) = extension_funcs[EXT_glMultiDrawElementsIndirectAMD]; TRACE("(%d, %d, %p, %d, %d)\n", mode, type, indirect, primcount, stride ); - ENTER_GL(); func_glMultiDrawElementsIndirectAMD( mode, type, indirect, primcount, stride ); - LEAVE_GL(); } static void WINAPI wine_glMultiDrawRangeElementArrayAPPLE( GLenum mode, GLuint start, GLuint end, GLint* first, GLsizei* count, GLsizei primcount ) { void (*func_glMultiDrawRangeElementArrayAPPLE)( GLenum, GLuint, GLuint, GLint*, GLsizei*, GLsizei ) = extension_funcs[EXT_glMultiDrawRangeElementArrayAPPLE]; TRACE("(%d, %d, %d, %p, %p, %d)\n", mode, start, end, first, count, primcount ); - ENTER_GL(); func_glMultiDrawRangeElementArrayAPPLE( mode, start, end, first, count, primcount ); - LEAVE_GL(); } static void WINAPI wine_glMultiModeDrawArraysIBM( GLenum* mode, GLint* first, GLsizei* count, GLsizei primcount, GLint modestride ) { void (*func_glMultiModeDrawArraysIBM)( GLenum*, GLint*, GLsizei*, GLsizei, GLint ) = extension_funcs[EXT_glMultiModeDrawArraysIBM]; TRACE("(%p, %p, %p, %d, %d)\n", mode, first, count, primcount, modestride ); - ENTER_GL(); func_glMultiModeDrawArraysIBM( mode, first, count, primcount, modestride ); - LEAVE_GL(); } static void WINAPI wine_glMultiModeDrawElementsIBM( GLenum* mode, GLsizei* count, GLenum type, GLvoid* const* indices, GLsizei primcount, GLint modestride ) { void (*func_glMultiModeDrawElementsIBM)( GLenum*, GLsizei*, GLenum, GLvoid* const*, GLsizei, GLint ) = extension_funcs[EXT_glMultiModeDrawElementsIBM]; TRACE("(%p, %p, %d, %p, %d, %d)\n", mode, count, type, indices, primcount, modestride ); - ENTER_GL(); func_glMultiModeDrawElementsIBM( mode, count, type, indices, primcount, modestride ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexBufferEXT( GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer ) { void (*func_glMultiTexBufferEXT)( GLenum, GLenum, GLenum, GLuint ) = extension_funcs[EXT_glMultiTexBufferEXT]; TRACE("(%d, %d, %d, %d)\n", texunit, target, internalformat, buffer ); - ENTER_GL(); func_glMultiTexBufferEXT( texunit, target, internalformat, buffer ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1d( GLenum target, GLdouble s ) { void (*func_glMultiTexCoord1d)( GLenum, GLdouble ) = extension_funcs[EXT_glMultiTexCoord1d]; TRACE("(%d, %f)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1d( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1dARB( GLenum target, GLdouble s ) { void (*func_glMultiTexCoord1dARB)( GLenum, GLdouble ) = extension_funcs[EXT_glMultiTexCoord1dARB]; TRACE("(%d, %f)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1dARB( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1dSGIS( GLenum target, GLdouble s ) { void (*func_glMultiTexCoord1dSGIS)( GLenum, GLdouble ) = extension_funcs[EXT_glMultiTexCoord1dSGIS]; TRACE("(%d, %f)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1dSGIS( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1dv( GLenum target, GLdouble* v ) { void (*func_glMultiTexCoord1dv)( GLenum, GLdouble* ) = extension_funcs[EXT_glMultiTexCoord1dv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1dv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1dvARB( GLenum target, GLdouble* v ) { void (*func_glMultiTexCoord1dvARB)( GLenum, GLdouble* ) = extension_funcs[EXT_glMultiTexCoord1dvARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1dvARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1dvSGIS( GLenum target, GLdouble * v ) { void (*func_glMultiTexCoord1dvSGIS)( GLenum, GLdouble * ) = extension_funcs[EXT_glMultiTexCoord1dvSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1dvSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1f( GLenum target, GLfloat s ) { void (*func_glMultiTexCoord1f)( GLenum, GLfloat ) = extension_funcs[EXT_glMultiTexCoord1f]; TRACE("(%d, %f)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1f( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1fARB( GLenum target, GLfloat s ) { void (*func_glMultiTexCoord1fARB)( GLenum, GLfloat ) = extension_funcs[EXT_glMultiTexCoord1fARB]; TRACE("(%d, %f)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1fARB( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1fSGIS( GLenum target, GLfloat s ) { void (*func_glMultiTexCoord1fSGIS)( GLenum, GLfloat ) = extension_funcs[EXT_glMultiTexCoord1fSGIS]; TRACE("(%d, %f)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1fSGIS( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1fv( GLenum target, GLfloat* v ) { void (*func_glMultiTexCoord1fv)( GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexCoord1fv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1fv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1fvARB( GLenum target, GLfloat* v ) { void (*func_glMultiTexCoord1fvARB)( GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexCoord1fvARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1fvARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1fvSGIS( GLenum target, const GLfloat * v ) { void (*func_glMultiTexCoord1fvSGIS)( GLenum, const GLfloat * ) = extension_funcs[EXT_glMultiTexCoord1fvSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1fvSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1hNV( GLenum target, unsigned short s ) { void (*func_glMultiTexCoord1hNV)( GLenum, unsigned short ) = extension_funcs[EXT_glMultiTexCoord1hNV]; TRACE("(%d, %d)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1hNV( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1hvNV( GLenum target, unsigned short* v ) { void (*func_glMultiTexCoord1hvNV)( GLenum, unsigned short* ) = extension_funcs[EXT_glMultiTexCoord1hvNV]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1hvNV( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1i( GLenum target, GLint s ) { void (*func_glMultiTexCoord1i)( GLenum, GLint ) = extension_funcs[EXT_glMultiTexCoord1i]; TRACE("(%d, %d)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1i( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1iARB( GLenum target, GLint s ) { void (*func_glMultiTexCoord1iARB)( GLenum, GLint ) = extension_funcs[EXT_glMultiTexCoord1iARB]; TRACE("(%d, %d)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1iARB( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1iSGIS( GLenum target, GLint s ) { void (*func_glMultiTexCoord1iSGIS)( GLenum, GLint ) = extension_funcs[EXT_glMultiTexCoord1iSGIS]; TRACE("(%d, %d)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1iSGIS( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1iv( GLenum target, GLint* v ) { void (*func_glMultiTexCoord1iv)( GLenum, GLint* ) = extension_funcs[EXT_glMultiTexCoord1iv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1iv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1ivARB( GLenum target, GLint* v ) { void (*func_glMultiTexCoord1ivARB)( GLenum, GLint* ) = extension_funcs[EXT_glMultiTexCoord1ivARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1ivARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1ivSGIS( GLenum target, GLint * v ) { void (*func_glMultiTexCoord1ivSGIS)( GLenum, GLint * ) = extension_funcs[EXT_glMultiTexCoord1ivSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1ivSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1s( GLenum target, GLshort s ) { void (*func_glMultiTexCoord1s)( GLenum, GLshort ) = extension_funcs[EXT_glMultiTexCoord1s]; TRACE("(%d, %d)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1s( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1sARB( GLenum target, GLshort s ) { void (*func_glMultiTexCoord1sARB)( GLenum, GLshort ) = extension_funcs[EXT_glMultiTexCoord1sARB]; TRACE("(%d, %d)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1sARB( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1sSGIS( GLenum target, GLshort s ) { void (*func_glMultiTexCoord1sSGIS)( GLenum, GLshort ) = extension_funcs[EXT_glMultiTexCoord1sSGIS]; TRACE("(%d, %d)\n", target, s ); - ENTER_GL(); func_glMultiTexCoord1sSGIS( target, s ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1sv( GLenum target, GLshort* v ) { void (*func_glMultiTexCoord1sv)( GLenum, GLshort* ) = extension_funcs[EXT_glMultiTexCoord1sv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1sv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1svARB( GLenum target, GLshort* v ) { void (*func_glMultiTexCoord1svARB)( GLenum, GLshort* ) = extension_funcs[EXT_glMultiTexCoord1svARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1svARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord1svSGIS( GLenum target, GLshort * v ) { void (*func_glMultiTexCoord1svSGIS)( GLenum, GLshort * ) = extension_funcs[EXT_glMultiTexCoord1svSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord1svSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t ) { void (*func_glMultiTexCoord2d)( GLenum, GLdouble, GLdouble ) = extension_funcs[EXT_glMultiTexCoord2d]; TRACE("(%d, %f, %f)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2d( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2dARB( GLenum target, GLdouble s, GLdouble t ) { void (*func_glMultiTexCoord2dARB)( GLenum, GLdouble, GLdouble ) = extension_funcs[EXT_glMultiTexCoord2dARB]; TRACE("(%d, %f, %f)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2dARB( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2dSGIS( GLenum target, GLdouble s, GLdouble t ) { void (*func_glMultiTexCoord2dSGIS)( GLenum, GLdouble, GLdouble ) = extension_funcs[EXT_glMultiTexCoord2dSGIS]; TRACE("(%d, %f, %f)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2dSGIS( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2dv( GLenum target, GLdouble* v ) { void (*func_glMultiTexCoord2dv)( GLenum, GLdouble* ) = extension_funcs[EXT_glMultiTexCoord2dv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2dv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2dvARB( GLenum target, GLdouble* v ) { void (*func_glMultiTexCoord2dvARB)( GLenum, GLdouble* ) = extension_funcs[EXT_glMultiTexCoord2dvARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2dvARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2dvSGIS( GLenum target, GLdouble * v ) { void (*func_glMultiTexCoord2dvSGIS)( GLenum, GLdouble * ) = extension_funcs[EXT_glMultiTexCoord2dvSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2dvSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ) { void (*func_glMultiTexCoord2f)( GLenum, GLfloat, GLfloat ) = extension_funcs[EXT_glMultiTexCoord2f]; TRACE("(%d, %f, %f)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2f( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2fARB( GLenum target, GLfloat s, GLfloat t ) { void (*func_glMultiTexCoord2fARB)( GLenum, GLfloat, GLfloat ) = extension_funcs[EXT_glMultiTexCoord2fARB]; TRACE("(%d, %f, %f)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2fARB( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2fSGIS( GLenum target, GLfloat s, GLfloat t ) { void (*func_glMultiTexCoord2fSGIS)( GLenum, GLfloat, GLfloat ) = extension_funcs[EXT_glMultiTexCoord2fSGIS]; TRACE("(%d, %f, %f)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2fSGIS( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2fv( GLenum target, GLfloat* v ) { void (*func_glMultiTexCoord2fv)( GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexCoord2fv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2fv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2fvARB( GLenum target, GLfloat* v ) { void (*func_glMultiTexCoord2fvARB)( GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexCoord2fvARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2fvARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2fvSGIS( GLenum target, GLfloat * v ) { void (*func_glMultiTexCoord2fvSGIS)( GLenum, GLfloat * ) = extension_funcs[EXT_glMultiTexCoord2fvSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2fvSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2hNV( GLenum target, unsigned short s, unsigned short t ) { void (*func_glMultiTexCoord2hNV)( GLenum, unsigned short, unsigned short ) = extension_funcs[EXT_glMultiTexCoord2hNV]; TRACE("(%d, %d, %d)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2hNV( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2hvNV( GLenum target, unsigned short* v ) { void (*func_glMultiTexCoord2hvNV)( GLenum, unsigned short* ) = extension_funcs[EXT_glMultiTexCoord2hvNV]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2hvNV( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2i( GLenum target, GLint s, GLint t ) { void (*func_glMultiTexCoord2i)( GLenum, GLint, GLint ) = extension_funcs[EXT_glMultiTexCoord2i]; TRACE("(%d, %d, %d)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2i( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2iARB( GLenum target, GLint s, GLint t ) { void (*func_glMultiTexCoord2iARB)( GLenum, GLint, GLint ) = extension_funcs[EXT_glMultiTexCoord2iARB]; TRACE("(%d, %d, %d)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2iARB( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2iSGIS( GLenum target, GLint s, GLint t ) { void (*func_glMultiTexCoord2iSGIS)( GLenum, GLint, GLint ) = extension_funcs[EXT_glMultiTexCoord2iSGIS]; TRACE("(%d, %d, %d)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2iSGIS( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2iv( GLenum target, GLint* v ) { void (*func_glMultiTexCoord2iv)( GLenum, GLint* ) = extension_funcs[EXT_glMultiTexCoord2iv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2iv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2ivARB( GLenum target, GLint* v ) { void (*func_glMultiTexCoord2ivARB)( GLenum, GLint* ) = extension_funcs[EXT_glMultiTexCoord2ivARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2ivARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2ivSGIS( GLenum target, GLint * v ) { void (*func_glMultiTexCoord2ivSGIS)( GLenum, GLint * ) = extension_funcs[EXT_glMultiTexCoord2ivSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2ivSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2s( GLenum target, GLshort s, GLshort t ) { void (*func_glMultiTexCoord2s)( GLenum, GLshort, GLshort ) = extension_funcs[EXT_glMultiTexCoord2s]; TRACE("(%d, %d, %d)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2s( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2sARB( GLenum target, GLshort s, GLshort t ) { void (*func_glMultiTexCoord2sARB)( GLenum, GLshort, GLshort ) = extension_funcs[EXT_glMultiTexCoord2sARB]; TRACE("(%d, %d, %d)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2sARB( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2sSGIS( GLenum target, GLshort s, GLshort t ) { void (*func_glMultiTexCoord2sSGIS)( GLenum, GLshort, GLshort ) = extension_funcs[EXT_glMultiTexCoord2sSGIS]; TRACE("(%d, %d, %d)\n", target, s, t ); - ENTER_GL(); func_glMultiTexCoord2sSGIS( target, s, t ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2sv( GLenum target, GLshort* v ) { void (*func_glMultiTexCoord2sv)( GLenum, GLshort* ) = extension_funcs[EXT_glMultiTexCoord2sv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2sv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2svARB( GLenum target, GLshort* v ) { void (*func_glMultiTexCoord2svARB)( GLenum, GLshort* ) = extension_funcs[EXT_glMultiTexCoord2svARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2svARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord2svSGIS( GLenum target, GLshort * v ) { void (*func_glMultiTexCoord2svSGIS)( GLenum, GLshort * ) = extension_funcs[EXT_glMultiTexCoord2svSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord2svSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r ) { void (*func_glMultiTexCoord3d)( GLenum, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMultiTexCoord3d]; TRACE("(%d, %f, %f, %f)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3d( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3dARB( GLenum target, GLdouble s, GLdouble t, GLdouble r ) { void (*func_glMultiTexCoord3dARB)( GLenum, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMultiTexCoord3dARB]; TRACE("(%d, %f, %f, %f)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3dARB( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3dSGIS( GLenum target, GLdouble s, GLdouble t, GLdouble r ) { void (*func_glMultiTexCoord3dSGIS)( GLenum, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMultiTexCoord3dSGIS]; TRACE("(%d, %f, %f, %f)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3dSGIS( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3dv( GLenum target, GLdouble* v ) { void (*func_glMultiTexCoord3dv)( GLenum, GLdouble* ) = extension_funcs[EXT_glMultiTexCoord3dv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3dv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3dvARB( GLenum target, GLdouble* v ) { void (*func_glMultiTexCoord3dvARB)( GLenum, GLdouble* ) = extension_funcs[EXT_glMultiTexCoord3dvARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3dvARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3dvSGIS( GLenum target, GLdouble * v ) { void (*func_glMultiTexCoord3dvSGIS)( GLenum, GLdouble * ) = extension_funcs[EXT_glMultiTexCoord3dvSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3dvSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r ) { void (*func_glMultiTexCoord3f)( GLenum, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glMultiTexCoord3f]; TRACE("(%d, %f, %f, %f)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3f( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3fARB( GLenum target, GLfloat s, GLfloat t, GLfloat r ) { void (*func_glMultiTexCoord3fARB)( GLenum, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glMultiTexCoord3fARB]; TRACE("(%d, %f, %f, %f)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3fARB( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3fSGIS( GLenum target, GLfloat s, GLfloat t, GLfloat r ) { void (*func_glMultiTexCoord3fSGIS)( GLenum, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glMultiTexCoord3fSGIS]; TRACE("(%d, %f, %f, %f)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3fSGIS( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3fv( GLenum target, GLfloat* v ) { void (*func_glMultiTexCoord3fv)( GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexCoord3fv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3fv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3fvARB( GLenum target, GLfloat* v ) { void (*func_glMultiTexCoord3fvARB)( GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexCoord3fvARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3fvARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3fvSGIS( GLenum target, GLfloat * v ) { void (*func_glMultiTexCoord3fvSGIS)( GLenum, GLfloat * ) = extension_funcs[EXT_glMultiTexCoord3fvSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3fvSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3hNV( GLenum target, unsigned short s, unsigned short t, unsigned short r ) { void (*func_glMultiTexCoord3hNV)( GLenum, unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glMultiTexCoord3hNV]; TRACE("(%d, %d, %d, %d)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3hNV( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3hvNV( GLenum target, unsigned short* v ) { void (*func_glMultiTexCoord3hvNV)( GLenum, unsigned short* ) = extension_funcs[EXT_glMultiTexCoord3hvNV]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3hvNV( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r ) { void (*func_glMultiTexCoord3i)( GLenum, GLint, GLint, GLint ) = extension_funcs[EXT_glMultiTexCoord3i]; TRACE("(%d, %d, %d, %d)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3i( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3iARB( GLenum target, GLint s, GLint t, GLint r ) { void (*func_glMultiTexCoord3iARB)( GLenum, GLint, GLint, GLint ) = extension_funcs[EXT_glMultiTexCoord3iARB]; TRACE("(%d, %d, %d, %d)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3iARB( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3iSGIS( GLenum target, GLint s, GLint t, GLint r ) { void (*func_glMultiTexCoord3iSGIS)( GLenum, GLint, GLint, GLint ) = extension_funcs[EXT_glMultiTexCoord3iSGIS]; TRACE("(%d, %d, %d, %d)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3iSGIS( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3iv( GLenum target, GLint* v ) { void (*func_glMultiTexCoord3iv)( GLenum, GLint* ) = extension_funcs[EXT_glMultiTexCoord3iv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3iv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3ivARB( GLenum target, GLint* v ) { void (*func_glMultiTexCoord3ivARB)( GLenum, GLint* ) = extension_funcs[EXT_glMultiTexCoord3ivARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3ivARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3ivSGIS( GLenum target, GLint * v ) { void (*func_glMultiTexCoord3ivSGIS)( GLenum, GLint * ) = extension_funcs[EXT_glMultiTexCoord3ivSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3ivSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r ) { void (*func_glMultiTexCoord3s)( GLenum, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glMultiTexCoord3s]; TRACE("(%d, %d, %d, %d)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3s( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3sARB( GLenum target, GLshort s, GLshort t, GLshort r ) { void (*func_glMultiTexCoord3sARB)( GLenum, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glMultiTexCoord3sARB]; TRACE("(%d, %d, %d, %d)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3sARB( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3sSGIS( GLenum target, GLshort s, GLshort t, GLshort r ) { void (*func_glMultiTexCoord3sSGIS)( GLenum, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glMultiTexCoord3sSGIS]; TRACE("(%d, %d, %d, %d)\n", target, s, t, r ); - ENTER_GL(); func_glMultiTexCoord3sSGIS( target, s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3sv( GLenum target, GLshort* v ) { void (*func_glMultiTexCoord3sv)( GLenum, GLshort* ) = extension_funcs[EXT_glMultiTexCoord3sv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3sv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3svARB( GLenum target, GLshort* v ) { void (*func_glMultiTexCoord3svARB)( GLenum, GLshort* ) = extension_funcs[EXT_glMultiTexCoord3svARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3svARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord3svSGIS( GLenum target, GLshort * v ) { void (*func_glMultiTexCoord3svSGIS)( GLenum, GLshort * ) = extension_funcs[EXT_glMultiTexCoord3svSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord3svSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ) { void (*func_glMultiTexCoord4d)( GLenum, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMultiTexCoord4d]; TRACE("(%d, %f, %f, %f, %f)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4d( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4dARB( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ) { void (*func_glMultiTexCoord4dARB)( GLenum, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMultiTexCoord4dARB]; TRACE("(%d, %f, %f, %f, %f)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4dARB( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4dSGIS( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ) { void (*func_glMultiTexCoord4dSGIS)( GLenum, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glMultiTexCoord4dSGIS]; TRACE("(%d, %f, %f, %f, %f)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4dSGIS( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4dv( GLenum target, GLdouble* v ) { void (*func_glMultiTexCoord4dv)( GLenum, GLdouble* ) = extension_funcs[EXT_glMultiTexCoord4dv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4dv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4dvARB( GLenum target, GLdouble* v ) { void (*func_glMultiTexCoord4dvARB)( GLenum, GLdouble* ) = extension_funcs[EXT_glMultiTexCoord4dvARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4dvARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4dvSGIS( GLenum target, GLdouble * v ) { void (*func_glMultiTexCoord4dvSGIS)( GLenum, GLdouble * ) = extension_funcs[EXT_glMultiTexCoord4dvSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4dvSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ) { void (*func_glMultiTexCoord4f)( GLenum, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glMultiTexCoord4f]; TRACE("(%d, %f, %f, %f, %f)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4f( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4fARB( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ) { void (*func_glMultiTexCoord4fARB)( GLenum, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glMultiTexCoord4fARB]; TRACE("(%d, %f, %f, %f, %f)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4fARB( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4fSGIS( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ) { void (*func_glMultiTexCoord4fSGIS)( GLenum, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glMultiTexCoord4fSGIS]; TRACE("(%d, %f, %f, %f, %f)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4fSGIS( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4fv( GLenum target, GLfloat* v ) { void (*func_glMultiTexCoord4fv)( GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexCoord4fv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4fv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4fvARB( GLenum target, GLfloat* v ) { void (*func_glMultiTexCoord4fvARB)( GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexCoord4fvARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4fvARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4fvSGIS( GLenum target, GLfloat * v ) { void (*func_glMultiTexCoord4fvSGIS)( GLenum, GLfloat * ) = extension_funcs[EXT_glMultiTexCoord4fvSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4fvSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4hNV( GLenum target, unsigned short s, unsigned short t, unsigned short r, unsigned short q ) { void (*func_glMultiTexCoord4hNV)( GLenum, unsigned short, unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glMultiTexCoord4hNV]; TRACE("(%d, %d, %d, %d, %d)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4hNV( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4hvNV( GLenum target, unsigned short* v ) { void (*func_glMultiTexCoord4hvNV)( GLenum, unsigned short* ) = extension_funcs[EXT_glMultiTexCoord4hvNV]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4hvNV( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q ) { void (*func_glMultiTexCoord4i)( GLenum, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glMultiTexCoord4i]; TRACE("(%d, %d, %d, %d, %d)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4i( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4iARB( GLenum target, GLint s, GLint t, GLint r, GLint q ) { void (*func_glMultiTexCoord4iARB)( GLenum, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glMultiTexCoord4iARB]; TRACE("(%d, %d, %d, %d, %d)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4iARB( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4iSGIS( GLenum target, GLint s, GLint t, GLint r, GLint q ) { void (*func_glMultiTexCoord4iSGIS)( GLenum, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glMultiTexCoord4iSGIS]; TRACE("(%d, %d, %d, %d, %d)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4iSGIS( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4iv( GLenum target, GLint* v ) { void (*func_glMultiTexCoord4iv)( GLenum, GLint* ) = extension_funcs[EXT_glMultiTexCoord4iv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4iv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4ivARB( GLenum target, GLint* v ) { void (*func_glMultiTexCoord4ivARB)( GLenum, GLint* ) = extension_funcs[EXT_glMultiTexCoord4ivARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4ivARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4ivSGIS( GLenum target, GLint * v ) { void (*func_glMultiTexCoord4ivSGIS)( GLenum, GLint * ) = extension_funcs[EXT_glMultiTexCoord4ivSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4ivSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ) { void (*func_glMultiTexCoord4s)( GLenum, GLshort, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glMultiTexCoord4s]; TRACE("(%d, %d, %d, %d, %d)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4s( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4sARB( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ) { void (*func_glMultiTexCoord4sARB)( GLenum, GLshort, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glMultiTexCoord4sARB]; TRACE("(%d, %d, %d, %d, %d)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4sARB( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4sSGIS( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ) { void (*func_glMultiTexCoord4sSGIS)( GLenum, GLshort, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glMultiTexCoord4sSGIS]; TRACE("(%d, %d, %d, %d, %d)\n", target, s, t, r, q ); - ENTER_GL(); func_glMultiTexCoord4sSGIS( target, s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4sv( GLenum target, GLshort* v ) { void (*func_glMultiTexCoord4sv)( GLenum, GLshort* ) = extension_funcs[EXT_glMultiTexCoord4sv]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4sv( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4svARB( GLenum target, GLshort* v ) { void (*func_glMultiTexCoord4svARB)( GLenum, GLshort* ) = extension_funcs[EXT_glMultiTexCoord4svARB]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4svARB( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoord4svSGIS( GLenum target, GLshort * v ) { void (*func_glMultiTexCoord4svSGIS)( GLenum, GLshort * ) = extension_funcs[EXT_glMultiTexCoord4svSGIS]; TRACE("(%d, %p)\n", target, v ); - ENTER_GL(); func_glMultiTexCoord4svSGIS( target, v ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordP1ui( GLenum texture, GLenum type, GLuint coords ) { void (*func_glMultiTexCoordP1ui)( GLenum, GLenum, GLuint ) = extension_funcs[EXT_glMultiTexCoordP1ui]; TRACE("(%d, %d, %d)\n", texture, type, coords ); - ENTER_GL(); func_glMultiTexCoordP1ui( texture, type, coords ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordP1uiv( GLenum texture, GLenum type, GLuint* coords ) { void (*func_glMultiTexCoordP1uiv)( GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glMultiTexCoordP1uiv]; TRACE("(%d, %d, %p)\n", texture, type, coords ); - ENTER_GL(); func_glMultiTexCoordP1uiv( texture, type, coords ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordP2ui( GLenum texture, GLenum type, GLuint coords ) { void (*func_glMultiTexCoordP2ui)( GLenum, GLenum, GLuint ) = extension_funcs[EXT_glMultiTexCoordP2ui]; TRACE("(%d, %d, %d)\n", texture, type, coords ); - ENTER_GL(); func_glMultiTexCoordP2ui( texture, type, coords ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordP2uiv( GLenum texture, GLenum type, GLuint* coords ) { void (*func_glMultiTexCoordP2uiv)( GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glMultiTexCoordP2uiv]; TRACE("(%d, %d, %p)\n", texture, type, coords ); - ENTER_GL(); func_glMultiTexCoordP2uiv( texture, type, coords ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordP3ui( GLenum texture, GLenum type, GLuint coords ) { void (*func_glMultiTexCoordP3ui)( GLenum, GLenum, GLuint ) = extension_funcs[EXT_glMultiTexCoordP3ui]; TRACE("(%d, %d, %d)\n", texture, type, coords ); - ENTER_GL(); func_glMultiTexCoordP3ui( texture, type, coords ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordP3uiv( GLenum texture, GLenum type, GLuint* coords ) { void (*func_glMultiTexCoordP3uiv)( GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glMultiTexCoordP3uiv]; TRACE("(%d, %d, %p)\n", texture, type, coords ); - ENTER_GL(); func_glMultiTexCoordP3uiv( texture, type, coords ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordP4ui( GLenum texture, GLenum type, GLuint coords ) { void (*func_glMultiTexCoordP4ui)( GLenum, GLenum, GLuint ) = extension_funcs[EXT_glMultiTexCoordP4ui]; TRACE("(%d, %d, %d)\n", texture, type, coords ); - ENTER_GL(); func_glMultiTexCoordP4ui( texture, type, coords ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordP4uiv( GLenum texture, GLenum type, GLuint* coords ) { void (*func_glMultiTexCoordP4uiv)( GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glMultiTexCoordP4uiv]; TRACE("(%d, %d, %p)\n", texture, type, coords ); - ENTER_GL(); func_glMultiTexCoordP4uiv( texture, type, coords ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordPointerEXT( GLenum texunit, GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glMultiTexCoordPointerEXT)( GLenum, GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glMultiTexCoordPointerEXT]; TRACE("(%d, %d, %d, %d, %p)\n", texunit, size, type, stride, pointer ); - ENTER_GL(); func_glMultiTexCoordPointerEXT( texunit, size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexCoordPointerSGIS( GLenum target, GLint size, GLenum type, GLsizei stride, GLvoid * pointer ) { void (*func_glMultiTexCoordPointerSGIS)( GLenum, GLint, GLenum, GLsizei, GLvoid * ) = extension_funcs[EXT_glMultiTexCoordPointerSGIS]; TRACE("(%d, %d, %d, %d, %p)\n", target, size, type, stride, pointer ); - ENTER_GL(); func_glMultiTexCoordPointerSGIS( target, size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexEnvfEXT( GLenum texunit, GLenum target, GLenum pname, GLfloat param ) { void (*func_glMultiTexEnvfEXT)( GLenum, GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glMultiTexEnvfEXT]; TRACE("(%d, %d, %d, %f)\n", texunit, target, pname, param ); - ENTER_GL(); func_glMultiTexEnvfEXT( texunit, target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexEnvfvEXT( GLenum texunit, GLenum target, GLenum pname, GLfloat* params ) { void (*func_glMultiTexEnvfvEXT)( GLenum, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexEnvfvEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glMultiTexEnvfvEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexEnviEXT( GLenum texunit, GLenum target, GLenum pname, GLint param ) { void (*func_glMultiTexEnviEXT)( GLenum, GLenum, GLenum, GLint ) = extension_funcs[EXT_glMultiTexEnviEXT]; TRACE("(%d, %d, %d, %d)\n", texunit, target, pname, param ); - ENTER_GL(); func_glMultiTexEnviEXT( texunit, target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexEnvivEXT( GLenum texunit, GLenum target, GLenum pname, GLint* params ) { void (*func_glMultiTexEnvivEXT)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glMultiTexEnvivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glMultiTexEnvivEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexGendEXT( GLenum texunit, GLenum coord, GLenum pname, GLdouble param ) { void (*func_glMultiTexGendEXT)( GLenum, GLenum, GLenum, GLdouble ) = extension_funcs[EXT_glMultiTexGendEXT]; TRACE("(%d, %d, %d, %f)\n", texunit, coord, pname, param ); - ENTER_GL(); func_glMultiTexGendEXT( texunit, coord, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexGendvEXT( GLenum texunit, GLenum coord, GLenum pname, GLdouble* params ) { void (*func_glMultiTexGendvEXT)( GLenum, GLenum, GLenum, GLdouble* ) = extension_funcs[EXT_glMultiTexGendvEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, coord, pname, params ); - ENTER_GL(); func_glMultiTexGendvEXT( texunit, coord, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexGenfEXT( GLenum texunit, GLenum coord, GLenum pname, GLfloat param ) { void (*func_glMultiTexGenfEXT)( GLenum, GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glMultiTexGenfEXT]; TRACE("(%d, %d, %d, %f)\n", texunit, coord, pname, param ); - ENTER_GL(); func_glMultiTexGenfEXT( texunit, coord, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexGenfvEXT( GLenum texunit, GLenum coord, GLenum pname, GLfloat* params ) { void (*func_glMultiTexGenfvEXT)( GLenum, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexGenfvEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, coord, pname, params ); - ENTER_GL(); func_glMultiTexGenfvEXT( texunit, coord, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexGeniEXT( GLenum texunit, GLenum coord, GLenum pname, GLint param ) { void (*func_glMultiTexGeniEXT)( GLenum, GLenum, GLenum, GLint ) = extension_funcs[EXT_glMultiTexGeniEXT]; TRACE("(%d, %d, %d, %d)\n", texunit, coord, pname, param ); - ENTER_GL(); func_glMultiTexGeniEXT( texunit, coord, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexGenivEXT( GLenum texunit, GLenum coord, GLenum pname, GLint* params ) { void (*func_glMultiTexGenivEXT)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glMultiTexGenivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, coord, pname, params ); - ENTER_GL(); func_glMultiTexGenivEXT( texunit, coord, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexImage1DEXT( GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glMultiTexImage1DEXT)( GLenum, GLenum, GLint, GLenum, GLsizei, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glMultiTexImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, internalformat, width, border, format, type, pixels ); - ENTER_GL(); func_glMultiTexImage1DEXT( texunit, target, level, internalformat, width, border, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexImage2DEXT( GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glMultiTexImage2DEXT)( GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glMultiTexImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, internalformat, width, height, border, format, type, pixels ); - ENTER_GL(); func_glMultiTexImage2DEXT( texunit, target, level, internalformat, width, height, border, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexImage3DEXT( GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glMultiTexImage3DEXT)( GLenum, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glMultiTexImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, internalformat, width, height, depth, border, format, type, pixels ); - ENTER_GL(); func_glMultiTexImage3DEXT( texunit, target, level, internalformat, width, height, depth, border, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexParameterIivEXT( GLenum texunit, GLenum target, GLenum pname, GLint* params ) { void (*func_glMultiTexParameterIivEXT)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glMultiTexParameterIivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glMultiTexParameterIivEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexParameterIuivEXT( GLenum texunit, GLenum target, GLenum pname, GLuint* params ) { void (*func_glMultiTexParameterIuivEXT)( GLenum, GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glMultiTexParameterIuivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glMultiTexParameterIuivEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexParameterfEXT( GLenum texunit, GLenum target, GLenum pname, GLfloat param ) { void (*func_glMultiTexParameterfEXT)( GLenum, GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glMultiTexParameterfEXT]; TRACE("(%d, %d, %d, %f)\n", texunit, target, pname, param ); - ENTER_GL(); func_glMultiTexParameterfEXT( texunit, target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexParameterfvEXT( GLenum texunit, GLenum target, GLenum pname, GLfloat* params ) { void (*func_glMultiTexParameterfvEXT)( GLenum, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glMultiTexParameterfvEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glMultiTexParameterfvEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexParameteriEXT( GLenum texunit, GLenum target, GLenum pname, GLint param ) { void (*func_glMultiTexParameteriEXT)( GLenum, GLenum, GLenum, GLint ) = extension_funcs[EXT_glMultiTexParameteriEXT]; TRACE("(%d, %d, %d, %d)\n", texunit, target, pname, param ); - ENTER_GL(); func_glMultiTexParameteriEXT( texunit, target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexParameterivEXT( GLenum texunit, GLenum target, GLenum pname, GLint* params ) { void (*func_glMultiTexParameterivEXT)( GLenum, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glMultiTexParameterivEXT]; TRACE("(%d, %d, %d, %p)\n", texunit, target, pname, params ); - ENTER_GL(); func_glMultiTexParameterivEXT( texunit, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexRenderbufferEXT( GLenum texunit, GLenum target, GLuint renderbuffer ) { void (*func_glMultiTexRenderbufferEXT)( GLenum, GLenum, GLuint ) = extension_funcs[EXT_glMultiTexRenderbufferEXT]; TRACE("(%d, %d, %d)\n", texunit, target, renderbuffer ); - ENTER_GL(); func_glMultiTexRenderbufferEXT( texunit, target, renderbuffer ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexSubImage1DEXT( GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glMultiTexSubImage1DEXT)( GLenum, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glMultiTexSubImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, xoffset, width, format, type, pixels ); - ENTER_GL(); func_glMultiTexSubImage1DEXT( texunit, target, level, xoffset, width, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexSubImage2DEXT( GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glMultiTexSubImage2DEXT)( GLenum, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glMultiTexSubImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, xoffset, yoffset, width, height, format, type, pixels ); - ENTER_GL(); func_glMultiTexSubImage2DEXT( texunit, target, level, xoffset, yoffset, width, height, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glMultiTexSubImage3DEXT( GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glMultiTexSubImage3DEXT)( GLenum, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glMultiTexSubImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels ); - ENTER_GL(); func_glMultiTexSubImage3DEXT( texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glNamedBufferDataEXT( GLuint buffer, INT_PTR size, GLvoid* data, GLenum usage ) { void (*func_glNamedBufferDataEXT)( GLuint, INT_PTR, GLvoid*, GLenum ) = extension_funcs[EXT_glNamedBufferDataEXT]; TRACE("(%d, %ld, %p, %d)\n", buffer, size, data, usage ); - ENTER_GL(); func_glNamedBufferDataEXT( buffer, size, data, usage ); - LEAVE_GL(); } static void WINAPI wine_glNamedBufferSubDataEXT( GLuint buffer, INT_PTR offset, INT_PTR size, GLvoid* data ) { void (*func_glNamedBufferSubDataEXT)( GLuint, INT_PTR, INT_PTR, GLvoid* ) = extension_funcs[EXT_glNamedBufferSubDataEXT]; TRACE("(%d, %ld, %ld, %p)\n", buffer, offset, size, data ); - ENTER_GL(); func_glNamedBufferSubDataEXT( buffer, offset, size, data ); - LEAVE_GL(); } static void WINAPI wine_glNamedCopyBufferSubDataEXT( GLuint readBuffer, GLuint writeBuffer, INT_PTR readOffset, INT_PTR writeOffset, INT_PTR size ) { void (*func_glNamedCopyBufferSubDataEXT)( GLuint, GLuint, INT_PTR, INT_PTR, INT_PTR ) = extension_funcs[EXT_glNamedCopyBufferSubDataEXT]; TRACE("(%d, %d, %ld, %ld, %ld)\n", readBuffer, writeBuffer, readOffset, writeOffset, size ); - ENTER_GL(); func_glNamedCopyBufferSubDataEXT( readBuffer, writeBuffer, readOffset, writeOffset, size ); - LEAVE_GL(); } static void WINAPI wine_glNamedFramebufferRenderbufferEXT( GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) { void (*func_glNamedFramebufferRenderbufferEXT)( GLuint, GLenum, GLenum, GLuint ) = extension_funcs[EXT_glNamedFramebufferRenderbufferEXT]; TRACE("(%d, %d, %d, %d)\n", framebuffer, attachment, renderbuffertarget, renderbuffer ); - ENTER_GL(); func_glNamedFramebufferRenderbufferEXT( framebuffer, attachment, renderbuffertarget, renderbuffer ); - LEAVE_GL(); } static void WINAPI wine_glNamedFramebufferTexture1DEXT( GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) { void (*func_glNamedFramebufferTexture1DEXT)( GLuint, GLenum, GLenum, GLuint, GLint ) = extension_funcs[EXT_glNamedFramebufferTexture1DEXT]; TRACE("(%d, %d, %d, %d, %d)\n", framebuffer, attachment, textarget, texture, level ); - ENTER_GL(); func_glNamedFramebufferTexture1DEXT( framebuffer, attachment, textarget, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glNamedFramebufferTexture2DEXT( GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) { void (*func_glNamedFramebufferTexture2DEXT)( GLuint, GLenum, GLenum, GLuint, GLint ) = extension_funcs[EXT_glNamedFramebufferTexture2DEXT]; TRACE("(%d, %d, %d, %d, %d)\n", framebuffer, attachment, textarget, texture, level ); - ENTER_GL(); func_glNamedFramebufferTexture2DEXT( framebuffer, attachment, textarget, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glNamedFramebufferTexture3DEXT( GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset ) { void (*func_glNamedFramebufferTexture3DEXT)( GLuint, GLenum, GLenum, GLuint, GLint, GLint ) = extension_funcs[EXT_glNamedFramebufferTexture3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", framebuffer, attachment, textarget, texture, level, zoffset ); - ENTER_GL(); func_glNamedFramebufferTexture3DEXT( framebuffer, attachment, textarget, texture, level, zoffset ); - LEAVE_GL(); } static void WINAPI wine_glNamedFramebufferTextureEXT( GLuint framebuffer, GLenum attachment, GLuint texture, GLint level ) { void (*func_glNamedFramebufferTextureEXT)( GLuint, GLenum, GLuint, GLint ) = extension_funcs[EXT_glNamedFramebufferTextureEXT]; TRACE("(%d, %d, %d, %d)\n", framebuffer, attachment, texture, level ); - ENTER_GL(); func_glNamedFramebufferTextureEXT( framebuffer, attachment, texture, level ); - LEAVE_GL(); } static void WINAPI wine_glNamedFramebufferTextureFaceEXT( GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face ) { void (*func_glNamedFramebufferTextureFaceEXT)( GLuint, GLenum, GLuint, GLint, GLenum ) = extension_funcs[EXT_glNamedFramebufferTextureFaceEXT]; TRACE("(%d, %d, %d, %d, %d)\n", framebuffer, attachment, texture, level, face ); - ENTER_GL(); func_glNamedFramebufferTextureFaceEXT( framebuffer, attachment, texture, level, face ); - LEAVE_GL(); } static void WINAPI wine_glNamedFramebufferTextureLayerEXT( GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer ) { void (*func_glNamedFramebufferTextureLayerEXT)( GLuint, GLenum, GLuint, GLint, GLint ) = extension_funcs[EXT_glNamedFramebufferTextureLayerEXT]; TRACE("(%d, %d, %d, %d, %d)\n", framebuffer, attachment, texture, level, layer ); - ENTER_GL(); func_glNamedFramebufferTextureLayerEXT( framebuffer, attachment, texture, level, layer ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParameter4dEXT( GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glNamedProgramLocalParameter4dEXT)( GLuint, GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glNamedProgramLocalParameter4dEXT]; TRACE("(%d, %d, %d, %f, %f, %f, %f)\n", program, target, index, x, y, z, w ); - ENTER_GL(); func_glNamedProgramLocalParameter4dEXT( program, target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParameter4dvEXT( GLuint program, GLenum target, GLuint index, GLdouble* params ) { void (*func_glNamedProgramLocalParameter4dvEXT)( GLuint, GLenum, GLuint, GLdouble* ) = extension_funcs[EXT_glNamedProgramLocalParameter4dvEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, index, params ); - ENTER_GL(); func_glNamedProgramLocalParameter4dvEXT( program, target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParameter4fEXT( GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glNamedProgramLocalParameter4fEXT)( GLuint, GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glNamedProgramLocalParameter4fEXT]; TRACE("(%d, %d, %d, %f, %f, %f, %f)\n", program, target, index, x, y, z, w ); - ENTER_GL(); func_glNamedProgramLocalParameter4fEXT( program, target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParameter4fvEXT( GLuint program, GLenum target, GLuint index, GLfloat* params ) { void (*func_glNamedProgramLocalParameter4fvEXT)( GLuint, GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glNamedProgramLocalParameter4fvEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, index, params ); - ENTER_GL(); func_glNamedProgramLocalParameter4fvEXT( program, target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParameterI4iEXT( GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w ) { void (*func_glNamedProgramLocalParameterI4iEXT)( GLuint, GLenum, GLuint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glNamedProgramLocalParameterI4iEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", program, target, index, x, y, z, w ); - ENTER_GL(); func_glNamedProgramLocalParameterI4iEXT( program, target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParameterI4ivEXT( GLuint program, GLenum target, GLuint index, GLint* params ) { void (*func_glNamedProgramLocalParameterI4ivEXT)( GLuint, GLenum, GLuint, GLint* ) = extension_funcs[EXT_glNamedProgramLocalParameterI4ivEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, index, params ); - ENTER_GL(); func_glNamedProgramLocalParameterI4ivEXT( program, target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParameterI4uiEXT( GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w ) { void (*func_glNamedProgramLocalParameterI4uiEXT)( GLuint, GLenum, GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glNamedProgramLocalParameterI4uiEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", program, target, index, x, y, z, w ); - ENTER_GL(); func_glNamedProgramLocalParameterI4uiEXT( program, target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParameterI4uivEXT( GLuint program, GLenum target, GLuint index, GLuint* params ) { void (*func_glNamedProgramLocalParameterI4uivEXT)( GLuint, GLenum, GLuint, GLuint* ) = extension_funcs[EXT_glNamedProgramLocalParameterI4uivEXT]; TRACE("(%d, %d, %d, %p)\n", program, target, index, params ); - ENTER_GL(); func_glNamedProgramLocalParameterI4uivEXT( program, target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParameters4fvEXT( GLuint program, GLenum target, GLuint index, GLsizei count, GLfloat* params ) { void (*func_glNamedProgramLocalParameters4fvEXT)( GLuint, GLenum, GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glNamedProgramLocalParameters4fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, target, index, count, params ); - ENTER_GL(); func_glNamedProgramLocalParameters4fvEXT( program, target, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParametersI4ivEXT( GLuint program, GLenum target, GLuint index, GLsizei count, GLint* params ) { void (*func_glNamedProgramLocalParametersI4ivEXT)( GLuint, GLenum, GLuint, GLsizei, GLint* ) = extension_funcs[EXT_glNamedProgramLocalParametersI4ivEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, target, index, count, params ); - ENTER_GL(); func_glNamedProgramLocalParametersI4ivEXT( program, target, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramLocalParametersI4uivEXT( GLuint program, GLenum target, GLuint index, GLsizei count, GLuint* params ) { void (*func_glNamedProgramLocalParametersI4uivEXT)( GLuint, GLenum, GLuint, GLsizei, GLuint* ) = extension_funcs[EXT_glNamedProgramLocalParametersI4uivEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, target, index, count, params ); - ENTER_GL(); func_glNamedProgramLocalParametersI4uivEXT( program, target, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glNamedProgramStringEXT( GLuint program, GLenum target, GLenum format, GLsizei len, GLvoid* string ) { void (*func_glNamedProgramStringEXT)( GLuint, GLenum, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glNamedProgramStringEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, target, format, len, string ); - ENTER_GL(); func_glNamedProgramStringEXT( program, target, format, len, string ); - LEAVE_GL(); } static void WINAPI wine_glNamedRenderbufferStorageEXT( GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glNamedRenderbufferStorageEXT)( GLuint, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glNamedRenderbufferStorageEXT]; TRACE("(%d, %d, %d, %d)\n", renderbuffer, internalformat, width, height ); - ENTER_GL(); func_glNamedRenderbufferStorageEXT( renderbuffer, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glNamedRenderbufferStorageMultisampleCoverageEXT( GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glNamedRenderbufferStorageMultisampleCoverageEXT)( GLuint, GLsizei, GLsizei, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glNamedRenderbufferStorageMultisampleCoverageEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", renderbuffer, coverageSamples, colorSamples, internalformat, width, height ); - ENTER_GL(); func_glNamedRenderbufferStorageMultisampleCoverageEXT( renderbuffer, coverageSamples, colorSamples, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glNamedRenderbufferStorageMultisampleEXT( GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glNamedRenderbufferStorageMultisampleEXT)( GLuint, GLsizei, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glNamedRenderbufferStorageMultisampleEXT]; TRACE("(%d, %d, %d, %d, %d)\n", renderbuffer, samples, internalformat, width, height ); - ENTER_GL(); func_glNamedRenderbufferStorageMultisampleEXT( renderbuffer, samples, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glNamedStringARB( GLenum type, GLint namelen, char* name, GLint stringlen, char* string ) { void (*func_glNamedStringARB)( GLenum, GLint, char*, GLint, char* ) = extension_funcs[EXT_glNamedStringARB]; TRACE("(%d, %d, %p, %d, %p)\n", type, namelen, name, stringlen, string ); - ENTER_GL(); func_glNamedStringARB( type, namelen, name, stringlen, string ); - LEAVE_GL(); } static GLuint WINAPI wine_glNewBufferRegion( GLenum type ) { - GLuint ret_value; GLuint (*func_glNewBufferRegion)( GLenum ) = extension_funcs[EXT_glNewBufferRegion]; TRACE("(%d)\n", type ); - ENTER_GL(); - ret_value = func_glNewBufferRegion( type ); - LEAVE_GL(); - return ret_value; + return func_glNewBufferRegion( type ); } static GLuint WINAPI wine_glNewObjectBufferATI( GLsizei size, GLvoid* pointer, GLenum usage ) { - GLuint ret_value; GLuint (*func_glNewObjectBufferATI)( GLsizei, GLvoid*, GLenum ) = extension_funcs[EXT_glNewObjectBufferATI]; TRACE("(%d, %p, %d)\n", size, pointer, usage ); - ENTER_GL(); - ret_value = func_glNewObjectBufferATI( size, pointer, usage ); - LEAVE_GL(); - return ret_value; + return func_glNewObjectBufferATI( size, pointer, usage ); } static void WINAPI wine_glNormal3fVertex3fSUN( GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glNormal3fVertex3fSUN)( GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glNormal3fVertex3fSUN]; TRACE("(%f, %f, %f, %f, %f, %f)\n", nx, ny, nz, x, y, z ); - ENTER_GL(); func_glNormal3fVertex3fSUN( nx, ny, nz, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glNormal3fVertex3fvSUN( GLfloat* n, GLfloat* v ) { void (*func_glNormal3fVertex3fvSUN)( GLfloat*, GLfloat* ) = extension_funcs[EXT_glNormal3fVertex3fvSUN]; TRACE("(%p, %p)\n", n, v ); - ENTER_GL(); func_glNormal3fVertex3fvSUN( n, v ); - LEAVE_GL(); } static void WINAPI wine_glNormal3hNV( unsigned short nx, unsigned short ny, unsigned short nz ) { void (*func_glNormal3hNV)( unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glNormal3hNV]; TRACE("(%d, %d, %d)\n", nx, ny, nz ); - ENTER_GL(); func_glNormal3hNV( nx, ny, nz ); - LEAVE_GL(); } static void WINAPI wine_glNormal3hvNV( unsigned short* v ) { void (*func_glNormal3hvNV)( unsigned short* ) = extension_funcs[EXT_glNormal3hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glNormal3hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glNormalFormatNV( GLenum type, GLsizei stride ) { void (*func_glNormalFormatNV)( GLenum, GLsizei ) = extension_funcs[EXT_glNormalFormatNV]; TRACE("(%d, %d)\n", type, stride ); - ENTER_GL(); func_glNormalFormatNV( type, stride ); - LEAVE_GL(); } static void WINAPI wine_glNormalP3ui( GLenum type, GLuint coords ) { void (*func_glNormalP3ui)( GLenum, GLuint ) = extension_funcs[EXT_glNormalP3ui]; TRACE("(%d, %d)\n", type, coords ); - ENTER_GL(); func_glNormalP3ui( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glNormalP3uiv( GLenum type, GLuint* coords ) { void (*func_glNormalP3uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glNormalP3uiv]; TRACE("(%d, %p)\n", type, coords ); - ENTER_GL(); func_glNormalP3uiv( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glNormalPointerEXT( GLenum type, GLsizei stride, GLsizei count, GLvoid* pointer ) { void (*func_glNormalPointerEXT)( GLenum, GLsizei, GLsizei, GLvoid* ) = extension_funcs[EXT_glNormalPointerEXT]; TRACE("(%d, %d, %d, %p)\n", type, stride, count, pointer ); - ENTER_GL(); func_glNormalPointerEXT( type, stride, count, pointer ); - LEAVE_GL(); } static void WINAPI wine_glNormalPointerListIBM( GLenum type, GLint stride, GLvoid** pointer, GLint ptrstride ) { void (*func_glNormalPointerListIBM)( GLenum, GLint, GLvoid**, GLint ) = extension_funcs[EXT_glNormalPointerListIBM]; TRACE("(%d, %d, %p, %d)\n", type, stride, pointer, ptrstride ); - ENTER_GL(); func_glNormalPointerListIBM( type, stride, pointer, ptrstride ); - LEAVE_GL(); } static void WINAPI wine_glNormalPointervINTEL( GLenum type, GLvoid** pointer ) { void (*func_glNormalPointervINTEL)( GLenum, GLvoid** ) = extension_funcs[EXT_glNormalPointervINTEL]; TRACE("(%d, %p)\n", type, pointer ); - ENTER_GL(); func_glNormalPointervINTEL( type, pointer ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3bATI( GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz ) { void (*func_glNormalStream3bATI)( GLenum, GLbyte, GLbyte, GLbyte ) = extension_funcs[EXT_glNormalStream3bATI]; TRACE("(%d, %d, %d, %d)\n", stream, nx, ny, nz ); - ENTER_GL(); func_glNormalStream3bATI( stream, nx, ny, nz ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3bvATI( GLenum stream, GLbyte* coords ) { void (*func_glNormalStream3bvATI)( GLenum, GLbyte* ) = extension_funcs[EXT_glNormalStream3bvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glNormalStream3bvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3dATI( GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz ) { void (*func_glNormalStream3dATI)( GLenum, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glNormalStream3dATI]; TRACE("(%d, %f, %f, %f)\n", stream, nx, ny, nz ); - ENTER_GL(); func_glNormalStream3dATI( stream, nx, ny, nz ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3dvATI( GLenum stream, GLdouble* coords ) { void (*func_glNormalStream3dvATI)( GLenum, GLdouble* ) = extension_funcs[EXT_glNormalStream3dvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glNormalStream3dvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3fATI( GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz ) { void (*func_glNormalStream3fATI)( GLenum, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glNormalStream3fATI]; TRACE("(%d, %f, %f, %f)\n", stream, nx, ny, nz ); - ENTER_GL(); func_glNormalStream3fATI( stream, nx, ny, nz ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3fvATI( GLenum stream, GLfloat* coords ) { void (*func_glNormalStream3fvATI)( GLenum, GLfloat* ) = extension_funcs[EXT_glNormalStream3fvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glNormalStream3fvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3iATI( GLenum stream, GLint nx, GLint ny, GLint nz ) { void (*func_glNormalStream3iATI)( GLenum, GLint, GLint, GLint ) = extension_funcs[EXT_glNormalStream3iATI]; TRACE("(%d, %d, %d, %d)\n", stream, nx, ny, nz ); - ENTER_GL(); func_glNormalStream3iATI( stream, nx, ny, nz ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3ivATI( GLenum stream, GLint* coords ) { void (*func_glNormalStream3ivATI)( GLenum, GLint* ) = extension_funcs[EXT_glNormalStream3ivATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glNormalStream3ivATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3sATI( GLenum stream, GLshort nx, GLshort ny, GLshort nz ) { void (*func_glNormalStream3sATI)( GLenum, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glNormalStream3sATI]; TRACE("(%d, %d, %d, %d)\n", stream, nx, ny, nz ); - ENTER_GL(); func_glNormalStream3sATI( stream, nx, ny, nz ); - LEAVE_GL(); } static void WINAPI wine_glNormalStream3svATI( GLenum stream, GLshort* coords ) { void (*func_glNormalStream3svATI)( GLenum, GLshort* ) = extension_funcs[EXT_glNormalStream3svATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glNormalStream3svATI( stream, coords ); - LEAVE_GL(); } static GLenum WINAPI wine_glObjectPurgeableAPPLE( GLenum objectType, GLuint name, GLenum option ) { - GLenum ret_value; GLenum (*func_glObjectPurgeableAPPLE)( GLenum, GLuint, GLenum ) = extension_funcs[EXT_glObjectPurgeableAPPLE]; TRACE("(%d, %d, %d)\n", objectType, name, option ); - ENTER_GL(); - ret_value = func_glObjectPurgeableAPPLE( objectType, name, option ); - LEAVE_GL(); - return ret_value; + return func_glObjectPurgeableAPPLE( objectType, name, option ); } static GLenum WINAPI wine_glObjectUnpurgeableAPPLE( GLenum objectType, GLuint name, GLenum option ) { - GLenum ret_value; GLenum (*func_glObjectUnpurgeableAPPLE)( GLenum, GLuint, GLenum ) = extension_funcs[EXT_glObjectUnpurgeableAPPLE]; TRACE("(%d, %d, %d)\n", objectType, name, option ); - ENTER_GL(); - ret_value = func_glObjectUnpurgeableAPPLE( objectType, name, option ); - LEAVE_GL(); - return ret_value; + return func_glObjectUnpurgeableAPPLE( objectType, name, option ); } static void WINAPI wine_glPNTrianglesfATI( GLenum pname, GLfloat param ) { void (*func_glPNTrianglesfATI)( GLenum, GLfloat ) = extension_funcs[EXT_glPNTrianglesfATI]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glPNTrianglesfATI( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPNTrianglesiATI( GLenum pname, GLint param ) { void (*func_glPNTrianglesiATI)( GLenum, GLint ) = extension_funcs[EXT_glPNTrianglesiATI]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glPNTrianglesiATI( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPassTexCoordATI( GLuint dst, GLuint coord, GLenum swizzle ) { void (*func_glPassTexCoordATI)( GLuint, GLuint, GLenum ) = extension_funcs[EXT_glPassTexCoordATI]; TRACE("(%d, %d, %d)\n", dst, coord, swizzle ); - ENTER_GL(); func_glPassTexCoordATI( dst, coord, swizzle ); - LEAVE_GL(); } static void WINAPI wine_glPatchParameterfv( GLenum pname, GLfloat* values ) { void (*func_glPatchParameterfv)( GLenum, GLfloat* ) = extension_funcs[EXT_glPatchParameterfv]; TRACE("(%d, %p)\n", pname, values ); - ENTER_GL(); func_glPatchParameterfv( pname, values ); - LEAVE_GL(); } static void WINAPI wine_glPatchParameteri( GLenum pname, GLint value ) { void (*func_glPatchParameteri)( GLenum, GLint ) = extension_funcs[EXT_glPatchParameteri]; TRACE("(%d, %d)\n", pname, value ); - ENTER_GL(); func_glPatchParameteri( pname, value ); - LEAVE_GL(); } static void WINAPI wine_glPathColorGenNV( GLenum color, GLenum genMode, GLenum colorFormat, GLfloat* coeffs ) { void (*func_glPathColorGenNV)( GLenum, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glPathColorGenNV]; TRACE("(%d, %d, %d, %p)\n", color, genMode, colorFormat, coeffs ); - ENTER_GL(); func_glPathColorGenNV( color, genMode, colorFormat, coeffs ); - LEAVE_GL(); } static void WINAPI wine_glPathCommandsNV( GLuint path, GLsizei numCommands, GLubyte* commands, GLsizei numCoords, GLenum coordType, GLvoid* coords ) { void (*func_glPathCommandsNV)( GLuint, GLsizei, GLubyte*, GLsizei, GLenum, GLvoid* ) = extension_funcs[EXT_glPathCommandsNV]; TRACE("(%d, %d, %p, %d, %d, %p)\n", path, numCommands, commands, numCoords, coordType, coords ); - ENTER_GL(); func_glPathCommandsNV( path, numCommands, commands, numCoords, coordType, coords ); - LEAVE_GL(); } static void WINAPI wine_glPathCoordsNV( GLuint path, GLsizei numCoords, GLenum coordType, GLvoid* coords ) { void (*func_glPathCoordsNV)( GLuint, GLsizei, GLenum, GLvoid* ) = extension_funcs[EXT_glPathCoordsNV]; TRACE("(%d, %d, %d, %p)\n", path, numCoords, coordType, coords ); - ENTER_GL(); func_glPathCoordsNV( path, numCoords, coordType, coords ); - LEAVE_GL(); } static void WINAPI wine_glPathCoverDepthFuncNV( GLenum func ) { void (*func_glPathCoverDepthFuncNV)( GLenum ) = extension_funcs[EXT_glPathCoverDepthFuncNV]; TRACE("(%d)\n", func ); - ENTER_GL(); func_glPathCoverDepthFuncNV( func ); - LEAVE_GL(); } static void WINAPI wine_glPathDashArrayNV( GLuint path, GLsizei dashCount, GLfloat* dashArray ) { void (*func_glPathDashArrayNV)( GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glPathDashArrayNV]; TRACE("(%d, %d, %p)\n", path, dashCount, dashArray ); - ENTER_GL(); func_glPathDashArrayNV( path, dashCount, dashArray ); - LEAVE_GL(); } static void WINAPI wine_glPathFogGenNV( GLenum genMode ) { void (*func_glPathFogGenNV)( GLenum ) = extension_funcs[EXT_glPathFogGenNV]; TRACE("(%d)\n", genMode ); - ENTER_GL(); func_glPathFogGenNV( genMode ); - LEAVE_GL(); } static void WINAPI wine_glPathGlyphRangeNV( GLuint firstPathName, GLenum fontTarget, GLvoid* fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale ) { void (*func_glPathGlyphRangeNV)( GLuint, GLenum, GLvoid*, GLbitfield, GLuint, GLsizei, GLenum, GLuint, GLfloat ) = extension_funcs[EXT_glPathGlyphRangeNV]; TRACE("(%d, %d, %p, %d, %d, %d, %d, %d, %f)\n", firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale ); - ENTER_GL(); func_glPathGlyphRangeNV( firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale ); - LEAVE_GL(); } static void WINAPI wine_glPathGlyphsNV( GLuint firstPathName, GLenum fontTarget, GLvoid* fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, GLvoid* charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale ) { void (*func_glPathGlyphsNV)( GLuint, GLenum, GLvoid*, GLbitfield, GLsizei, GLenum, GLvoid*, GLenum, GLuint, GLfloat ) = extension_funcs[EXT_glPathGlyphsNV]; TRACE("(%d, %d, %p, %d, %d, %d, %p, %d, %d, %f)\n", firstPathName, fontTarget, fontName, fontStyle, numGlyphs, type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale ); - ENTER_GL(); func_glPathGlyphsNV( firstPathName, fontTarget, fontName, fontStyle, numGlyphs, type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale ); - LEAVE_GL(); } static void WINAPI wine_glPathParameterfNV( GLuint path, GLenum pname, GLfloat value ) { void (*func_glPathParameterfNV)( GLuint, GLenum, GLfloat ) = extension_funcs[EXT_glPathParameterfNV]; TRACE("(%d, %d, %f)\n", path, pname, value ); - ENTER_GL(); func_glPathParameterfNV( path, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glPathParameterfvNV( GLuint path, GLenum pname, GLfloat* value ) { void (*func_glPathParameterfvNV)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glPathParameterfvNV]; TRACE("(%d, %d, %p)\n", path, pname, value ); - ENTER_GL(); func_glPathParameterfvNV( path, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glPathParameteriNV( GLuint path, GLenum pname, GLint value ) { void (*func_glPathParameteriNV)( GLuint, GLenum, GLint ) = extension_funcs[EXT_glPathParameteriNV]; TRACE("(%d, %d, %d)\n", path, pname, value ); - ENTER_GL(); func_glPathParameteriNV( path, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glPathParameterivNV( GLuint path, GLenum pname, GLint* value ) { void (*func_glPathParameterivNV)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glPathParameterivNV]; TRACE("(%d, %d, %p)\n", path, pname, value ); - ENTER_GL(); func_glPathParameterivNV( path, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glPathStencilDepthOffsetNV( GLfloat factor, GLfloat units ) { void (*func_glPathStencilDepthOffsetNV)( GLfloat, GLfloat ) = extension_funcs[EXT_glPathStencilDepthOffsetNV]; TRACE("(%f, %f)\n", factor, units ); - ENTER_GL(); func_glPathStencilDepthOffsetNV( factor, units ); - LEAVE_GL(); } static void WINAPI wine_glPathStencilFuncNV( GLenum func, GLint ref, GLuint mask ) { void (*func_glPathStencilFuncNV)( GLenum, GLint, GLuint ) = extension_funcs[EXT_glPathStencilFuncNV]; TRACE("(%d, %d, %d)\n", func, ref, mask ); - ENTER_GL(); func_glPathStencilFuncNV( func, ref, mask ); - LEAVE_GL(); } static void WINAPI wine_glPathStringNV( GLuint path, GLenum format, GLsizei length, GLvoid* pathString ) { void (*func_glPathStringNV)( GLuint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glPathStringNV]; TRACE("(%d, %d, %d, %p)\n", path, format, length, pathString ); - ENTER_GL(); func_glPathStringNV( path, format, length, pathString ); - LEAVE_GL(); } static void WINAPI wine_glPathSubCommandsNV( GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, GLubyte* commands, GLsizei numCoords, GLenum coordType, GLvoid* coords ) { void (*func_glPathSubCommandsNV)( GLuint, GLsizei, GLsizei, GLsizei, GLubyte*, GLsizei, GLenum, GLvoid* ) = extension_funcs[EXT_glPathSubCommandsNV]; TRACE("(%d, %d, %d, %d, %p, %d, %d, %p)\n", path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords ); - ENTER_GL(); func_glPathSubCommandsNV( path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords ); - LEAVE_GL(); } static void WINAPI wine_glPathSubCoordsNV( GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, GLvoid* coords ) { void (*func_glPathSubCoordsNV)( GLuint, GLsizei, GLsizei, GLenum, GLvoid* ) = extension_funcs[EXT_glPathSubCoordsNV]; TRACE("(%d, %d, %d, %d, %p)\n", path, coordStart, numCoords, coordType, coords ); - ENTER_GL(); func_glPathSubCoordsNV( path, coordStart, numCoords, coordType, coords ); - LEAVE_GL(); } static void WINAPI wine_glPathTexGenNV( GLenum texCoordSet, GLenum genMode, GLint components, GLfloat* coeffs ) { void (*func_glPathTexGenNV)( GLenum, GLenum, GLint, GLfloat* ) = extension_funcs[EXT_glPathTexGenNV]; TRACE("(%d, %d, %d, %p)\n", texCoordSet, genMode, components, coeffs ); - ENTER_GL(); func_glPathTexGenNV( texCoordSet, genMode, components, coeffs ); - LEAVE_GL(); } static void WINAPI wine_glPauseTransformFeedback( void ) { void (*func_glPauseTransformFeedback)( void ) = extension_funcs[EXT_glPauseTransformFeedback]; TRACE("()\n"); - ENTER_GL(); func_glPauseTransformFeedback( ); - LEAVE_GL(); } static void WINAPI wine_glPauseTransformFeedbackNV( void ) { void (*func_glPauseTransformFeedbackNV)( void ) = extension_funcs[EXT_glPauseTransformFeedbackNV]; TRACE("()\n"); - ENTER_GL(); func_glPauseTransformFeedbackNV( ); - LEAVE_GL(); } static void WINAPI wine_glPixelDataRangeNV( GLenum target, GLsizei length, GLvoid* pointer ) { void (*func_glPixelDataRangeNV)( GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glPixelDataRangeNV]; TRACE("(%d, %d, %p)\n", target, length, pointer ); - ENTER_GL(); func_glPixelDataRangeNV( target, length, pointer ); - LEAVE_GL(); } static void WINAPI wine_glPixelTexGenParameterfSGIS( GLenum pname, GLfloat param ) { void (*func_glPixelTexGenParameterfSGIS)( GLenum, GLfloat ) = extension_funcs[EXT_glPixelTexGenParameterfSGIS]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glPixelTexGenParameterfSGIS( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPixelTexGenParameterfvSGIS( GLenum pname, GLfloat* params ) { void (*func_glPixelTexGenParameterfvSGIS)( GLenum, GLfloat* ) = extension_funcs[EXT_glPixelTexGenParameterfvSGIS]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glPixelTexGenParameterfvSGIS( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glPixelTexGenParameteriSGIS( GLenum pname, GLint param ) { void (*func_glPixelTexGenParameteriSGIS)( GLenum, GLint ) = extension_funcs[EXT_glPixelTexGenParameteriSGIS]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glPixelTexGenParameteriSGIS( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPixelTexGenParameterivSGIS( GLenum pname, GLint* params ) { void (*func_glPixelTexGenParameterivSGIS)( GLenum, GLint* ) = extension_funcs[EXT_glPixelTexGenParameterivSGIS]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glPixelTexGenParameterivSGIS( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glPixelTexGenSGIX( GLenum mode ) { void (*func_glPixelTexGenSGIX)( GLenum ) = extension_funcs[EXT_glPixelTexGenSGIX]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glPixelTexGenSGIX( mode ); - LEAVE_GL(); } static void WINAPI wine_glPixelTransformParameterfEXT( GLenum target, GLenum pname, GLfloat param ) { void (*func_glPixelTransformParameterfEXT)( GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glPixelTransformParameterfEXT]; TRACE("(%d, %d, %f)\n", target, pname, param ); - ENTER_GL(); func_glPixelTransformParameterfEXT( target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPixelTransformParameterfvEXT( GLenum target, GLenum pname, GLfloat* params ) { void (*func_glPixelTransformParameterfvEXT)( GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glPixelTransformParameterfvEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glPixelTransformParameterfvEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glPixelTransformParameteriEXT( GLenum target, GLenum pname, GLint param ) { void (*func_glPixelTransformParameteriEXT)( GLenum, GLenum, GLint ) = extension_funcs[EXT_glPixelTransformParameteriEXT]; TRACE("(%d, %d, %d)\n", target, pname, param ); - ENTER_GL(); func_glPixelTransformParameteriEXT( target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPixelTransformParameterivEXT( GLenum target, GLenum pname, GLint* params ) { void (*func_glPixelTransformParameterivEXT)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glPixelTransformParameterivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glPixelTransformParameterivEXT( target, pname, params ); - LEAVE_GL(); } static GLboolean WINAPI wine_glPointAlongPathNV( GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat* x, GLfloat* y, GLfloat* tangentX, GLfloat* tangentY ) { - GLboolean ret_value; GLboolean (*func_glPointAlongPathNV)( GLuint, GLsizei, GLsizei, GLfloat, GLfloat*, GLfloat*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glPointAlongPathNV]; TRACE("(%d, %d, %d, %f, %p, %p, %p, %p)\n", path, startSegment, numSegments, distance, x, y, tangentX, tangentY ); - ENTER_GL(); - ret_value = func_glPointAlongPathNV( path, startSegment, numSegments, distance, x, y, tangentX, tangentY ); - LEAVE_GL(); - return ret_value; + return func_glPointAlongPathNV( path, startSegment, numSegments, distance, x, y, tangentX, tangentY ); } static void WINAPI wine_glPointParameterf( GLenum pname, GLfloat param ) { void (*func_glPointParameterf)( GLenum, GLfloat ) = extension_funcs[EXT_glPointParameterf]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glPointParameterf( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPointParameterfARB( GLenum pname, GLfloat param ) { void (*func_glPointParameterfARB)( GLenum, GLfloat ) = extension_funcs[EXT_glPointParameterfARB]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glPointParameterfARB( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPointParameterfEXT( GLenum pname, GLfloat param ) { void (*func_glPointParameterfEXT)( GLenum, GLfloat ) = extension_funcs[EXT_glPointParameterfEXT]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glPointParameterfEXT( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPointParameterfSGIS( GLenum pname, GLfloat param ) { void (*func_glPointParameterfSGIS)( GLenum, GLfloat ) = extension_funcs[EXT_glPointParameterfSGIS]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glPointParameterfSGIS( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPointParameterfv( GLenum pname, GLfloat* params ) { void (*func_glPointParameterfv)( GLenum, GLfloat* ) = extension_funcs[EXT_glPointParameterfv]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glPointParameterfv( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glPointParameterfvARB( GLenum pname, GLfloat* params ) { void (*func_glPointParameterfvARB)( GLenum, GLfloat* ) = extension_funcs[EXT_glPointParameterfvARB]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glPointParameterfvARB( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glPointParameterfvEXT( GLenum pname, GLfloat* params ) { void (*func_glPointParameterfvEXT)( GLenum, GLfloat* ) = extension_funcs[EXT_glPointParameterfvEXT]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glPointParameterfvEXT( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glPointParameterfvSGIS( GLenum pname, GLfloat* params ) { void (*func_glPointParameterfvSGIS)( GLenum, GLfloat* ) = extension_funcs[EXT_glPointParameterfvSGIS]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glPointParameterfvSGIS( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glPointParameteri( GLenum pname, GLint param ) { void (*func_glPointParameteri)( GLenum, GLint ) = extension_funcs[EXT_glPointParameteri]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glPointParameteri( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPointParameteriNV( GLenum pname, GLint param ) { void (*func_glPointParameteriNV)( GLenum, GLint ) = extension_funcs[EXT_glPointParameteriNV]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glPointParameteriNV( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glPointParameteriv( GLenum pname, GLint* params ) { void (*func_glPointParameteriv)( GLenum, GLint* ) = extension_funcs[EXT_glPointParameteriv]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glPointParameteriv( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glPointParameterivNV( GLenum pname, GLint* params ) { void (*func_glPointParameterivNV)( GLenum, GLint* ) = extension_funcs[EXT_glPointParameterivNV]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glPointParameterivNV( pname, params ); - LEAVE_GL(); } static GLint WINAPI wine_glPollAsyncSGIX( GLuint* markerp ) { - GLint ret_value; GLint (*func_glPollAsyncSGIX)( GLuint* ) = extension_funcs[EXT_glPollAsyncSGIX]; TRACE("(%p)\n", markerp ); - ENTER_GL(); - ret_value = func_glPollAsyncSGIX( markerp ); - LEAVE_GL(); - return ret_value; + return func_glPollAsyncSGIX( markerp ); } static GLint WINAPI wine_glPollInstrumentsSGIX( GLint* marker_p ) { - GLint ret_value; GLint (*func_glPollInstrumentsSGIX)( GLint* ) = extension_funcs[EXT_glPollInstrumentsSGIX]; TRACE("(%p)\n", marker_p ); - ENTER_GL(); - ret_value = func_glPollInstrumentsSGIX( marker_p ); - LEAVE_GL(); - return ret_value; + return func_glPollInstrumentsSGIX( marker_p ); } static void WINAPI wine_glPolygonOffsetEXT( GLfloat factor, GLfloat bias ) { void (*func_glPolygonOffsetEXT)( GLfloat, GLfloat ) = extension_funcs[EXT_glPolygonOffsetEXT]; TRACE("(%f, %f)\n", factor, bias ); - ENTER_GL(); func_glPolygonOffsetEXT( factor, bias ); - LEAVE_GL(); } static void WINAPI wine_glPresentFrameDualFillNV( GLuint video_slot, UINT64 minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3 ) { void (*func_glPresentFrameDualFillNV)( GLuint, UINT64, GLuint, GLuint, GLenum, GLenum, GLuint, GLenum, GLuint, GLenum, GLuint, GLenum, GLuint ) = extension_funcs[EXT_glPresentFrameDualFillNV]; TRACE("(%d, %s, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", video_slot, wine_dbgstr_longlong(minPresentTime), beginPresentTimeId, presentDurationId, type, target0, fill0, target1, fill1, target2, fill2, target3, fill3 ); - ENTER_GL(); func_glPresentFrameDualFillNV( video_slot, minPresentTime, beginPresentTimeId, presentDurationId, type, target0, fill0, target1, fill1, target2, fill2, target3, fill3 ); - LEAVE_GL(); } static void WINAPI wine_glPresentFrameKeyedNV( GLuint video_slot, UINT64 minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1 ) { void (*func_glPresentFrameKeyedNV)( GLuint, UINT64, GLuint, GLuint, GLenum, GLenum, GLuint, GLuint, GLenum, GLuint, GLuint ) = extension_funcs[EXT_glPresentFrameKeyedNV]; TRACE("(%d, %s, %d, %d, %d, %d, %d, %d, %d, %d, %d)\n", video_slot, wine_dbgstr_longlong(minPresentTime), beginPresentTimeId, presentDurationId, type, target0, fill0, key0, target1, fill1, key1 ); - ENTER_GL(); func_glPresentFrameKeyedNV( video_slot, minPresentTime, beginPresentTimeId, presentDurationId, type, target0, fill0, key0, target1, fill1, key1 ); - LEAVE_GL(); } static void WINAPI wine_glPrimitiveRestartIndex( GLuint index ) { void (*func_glPrimitiveRestartIndex)( GLuint ) = extension_funcs[EXT_glPrimitiveRestartIndex]; TRACE("(%d)\n", index ); - ENTER_GL(); func_glPrimitiveRestartIndex( index ); - LEAVE_GL(); } static void WINAPI wine_glPrimitiveRestartIndexNV( GLuint index ) { void (*func_glPrimitiveRestartIndexNV)( GLuint ) = extension_funcs[EXT_glPrimitiveRestartIndexNV]; TRACE("(%d)\n", index ); - ENTER_GL(); func_glPrimitiveRestartIndexNV( index ); - LEAVE_GL(); } static void WINAPI wine_glPrimitiveRestartNV( void ) { void (*func_glPrimitiveRestartNV)( void ) = extension_funcs[EXT_glPrimitiveRestartNV]; TRACE("()\n"); - ENTER_GL(); func_glPrimitiveRestartNV( ); - LEAVE_GL(); } static void WINAPI wine_glPrioritizeTexturesEXT( GLsizei n, GLuint* textures, GLclampf* priorities ) { void (*func_glPrioritizeTexturesEXT)( GLsizei, GLuint*, GLclampf* ) = extension_funcs[EXT_glPrioritizeTexturesEXT]; TRACE("(%d, %p, %p)\n", n, textures, priorities ); - ENTER_GL(); func_glPrioritizeTexturesEXT( n, textures, priorities ); - LEAVE_GL(); } static void WINAPI wine_glProgramBinary( GLuint program, GLenum binaryFormat, GLvoid* binary, GLsizei length ) { void (*func_glProgramBinary)( GLuint, GLenum, GLvoid*, GLsizei ) = extension_funcs[EXT_glProgramBinary]; TRACE("(%d, %d, %p, %d)\n", program, binaryFormat, binary, length ); - ENTER_GL(); func_glProgramBinary( program, binaryFormat, binary, length ); - LEAVE_GL(); } static void WINAPI wine_glProgramBufferParametersIivNV( GLenum target, GLuint buffer, GLuint index, GLsizei count, GLint* params ) { void (*func_glProgramBufferParametersIivNV)( GLenum, GLuint, GLuint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramBufferParametersIivNV]; TRACE("(%d, %d, %d, %d, %p)\n", target, buffer, index, count, params ); - ENTER_GL(); func_glProgramBufferParametersIivNV( target, buffer, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramBufferParametersIuivNV( GLenum target, GLuint buffer, GLuint index, GLsizei count, GLuint* params ) { void (*func_glProgramBufferParametersIuivNV)( GLenum, GLuint, GLuint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramBufferParametersIuivNV]; TRACE("(%d, %d, %d, %d, %p)\n", target, buffer, index, count, params ); - ENTER_GL(); func_glProgramBufferParametersIuivNV( target, buffer, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramBufferParametersfvNV( GLenum target, GLuint buffer, GLuint index, GLsizei count, GLfloat* params ) { void (*func_glProgramBufferParametersfvNV)( GLenum, GLuint, GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramBufferParametersfvNV]; TRACE("(%d, %d, %d, %d, %p)\n", target, buffer, index, count, params ); - ENTER_GL(); func_glProgramBufferParametersfvNV( target, buffer, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParameter4dARB( GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glProgramEnvParameter4dARB)( GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramEnvParameter4dARB]; TRACE("(%d, %d, %f, %f, %f, %f)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramEnvParameter4dARB( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParameter4dvARB( GLenum target, GLuint index, GLdouble* params ) { void (*func_glProgramEnvParameter4dvARB)( GLenum, GLuint, GLdouble* ) = extension_funcs[EXT_glProgramEnvParameter4dvARB]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glProgramEnvParameter4dvARB( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParameter4fARB( GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glProgramEnvParameter4fARB)( GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramEnvParameter4fARB]; TRACE("(%d, %d, %f, %f, %f, %f)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramEnvParameter4fARB( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParameter4fvARB( GLenum target, GLuint index, GLfloat* params ) { void (*func_glProgramEnvParameter4fvARB)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glProgramEnvParameter4fvARB]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glProgramEnvParameter4fvARB( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParameterI4iNV( GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w ) { void (*func_glProgramEnvParameterI4iNV)( GLenum, GLuint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glProgramEnvParameterI4iNV]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramEnvParameterI4iNV( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParameterI4ivNV( GLenum target, GLuint index, GLint* params ) { void (*func_glProgramEnvParameterI4ivNV)( GLenum, GLuint, GLint* ) = extension_funcs[EXT_glProgramEnvParameterI4ivNV]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glProgramEnvParameterI4ivNV( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParameterI4uiNV( GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w ) { void (*func_glProgramEnvParameterI4uiNV)( GLenum, GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glProgramEnvParameterI4uiNV]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramEnvParameterI4uiNV( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParameterI4uivNV( GLenum target, GLuint index, GLuint* params ) { void (*func_glProgramEnvParameterI4uivNV)( GLenum, GLuint, GLuint* ) = extension_funcs[EXT_glProgramEnvParameterI4uivNV]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glProgramEnvParameterI4uivNV( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParameters4fvEXT( GLenum target, GLuint index, GLsizei count, GLfloat* params ) { void (*func_glProgramEnvParameters4fvEXT)( GLenum, GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramEnvParameters4fvEXT]; TRACE("(%d, %d, %d, %p)\n", target, index, count, params ); - ENTER_GL(); func_glProgramEnvParameters4fvEXT( target, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParametersI4ivNV( GLenum target, GLuint index, GLsizei count, GLint* params ) { void (*func_glProgramEnvParametersI4ivNV)( GLenum, GLuint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramEnvParametersI4ivNV]; TRACE("(%d, %d, %d, %p)\n", target, index, count, params ); - ENTER_GL(); func_glProgramEnvParametersI4ivNV( target, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramEnvParametersI4uivNV( GLenum target, GLuint index, GLsizei count, GLuint* params ) { void (*func_glProgramEnvParametersI4uivNV)( GLenum, GLuint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramEnvParametersI4uivNV]; TRACE("(%d, %d, %d, %p)\n", target, index, count, params ); - ENTER_GL(); func_glProgramEnvParametersI4uivNV( target, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParameter4dARB( GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glProgramLocalParameter4dARB)( GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramLocalParameter4dARB]; TRACE("(%d, %d, %f, %f, %f, %f)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramLocalParameter4dARB( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParameter4dvARB( GLenum target, GLuint index, GLdouble* params ) { void (*func_glProgramLocalParameter4dvARB)( GLenum, GLuint, GLdouble* ) = extension_funcs[EXT_glProgramLocalParameter4dvARB]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glProgramLocalParameter4dvARB( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParameter4fARB( GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glProgramLocalParameter4fARB)( GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramLocalParameter4fARB]; TRACE("(%d, %d, %f, %f, %f, %f)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramLocalParameter4fARB( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParameter4fvARB( GLenum target, GLuint index, GLfloat* params ) { void (*func_glProgramLocalParameter4fvARB)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glProgramLocalParameter4fvARB]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glProgramLocalParameter4fvARB( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParameterI4iNV( GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w ) { void (*func_glProgramLocalParameterI4iNV)( GLenum, GLuint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glProgramLocalParameterI4iNV]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramLocalParameterI4iNV( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParameterI4ivNV( GLenum target, GLuint index, GLint* params ) { void (*func_glProgramLocalParameterI4ivNV)( GLenum, GLuint, GLint* ) = extension_funcs[EXT_glProgramLocalParameterI4ivNV]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glProgramLocalParameterI4ivNV( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParameterI4uiNV( GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w ) { void (*func_glProgramLocalParameterI4uiNV)( GLenum, GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glProgramLocalParameterI4uiNV]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramLocalParameterI4uiNV( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParameterI4uivNV( GLenum target, GLuint index, GLuint* params ) { void (*func_glProgramLocalParameterI4uivNV)( GLenum, GLuint, GLuint* ) = extension_funcs[EXT_glProgramLocalParameterI4uivNV]; TRACE("(%d, %d, %p)\n", target, index, params ); - ENTER_GL(); func_glProgramLocalParameterI4uivNV( target, index, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParameters4fvEXT( GLenum target, GLuint index, GLsizei count, GLfloat* params ) { void (*func_glProgramLocalParameters4fvEXT)( GLenum, GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramLocalParameters4fvEXT]; TRACE("(%d, %d, %d, %p)\n", target, index, count, params ); - ENTER_GL(); func_glProgramLocalParameters4fvEXT( target, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParametersI4ivNV( GLenum target, GLuint index, GLsizei count, GLint* params ) { void (*func_glProgramLocalParametersI4ivNV)( GLenum, GLuint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramLocalParametersI4ivNV]; TRACE("(%d, %d, %d, %p)\n", target, index, count, params ); - ENTER_GL(); func_glProgramLocalParametersI4ivNV( target, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramLocalParametersI4uivNV( GLenum target, GLuint index, GLsizei count, GLuint* params ) { void (*func_glProgramLocalParametersI4uivNV)( GLenum, GLuint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramLocalParametersI4uivNV]; TRACE("(%d, %d, %d, %p)\n", target, index, count, params ); - ENTER_GL(); func_glProgramLocalParametersI4uivNV( target, index, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramNamedParameter4dNV( GLuint id, GLsizei len, GLubyte* name, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glProgramNamedParameter4dNV)( GLuint, GLsizei, GLubyte*, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramNamedParameter4dNV]; TRACE("(%d, %d, %p, %f, %f, %f, %f)\n", id, len, name, x, y, z, w ); - ENTER_GL(); func_glProgramNamedParameter4dNV( id, len, name, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramNamedParameter4dvNV( GLuint id, GLsizei len, GLubyte* name, GLdouble* v ) { void (*func_glProgramNamedParameter4dvNV)( GLuint, GLsizei, GLubyte*, GLdouble* ) = extension_funcs[EXT_glProgramNamedParameter4dvNV]; TRACE("(%d, %d, %p, %p)\n", id, len, name, v ); - ENTER_GL(); func_glProgramNamedParameter4dvNV( id, len, name, v ); - LEAVE_GL(); } static void WINAPI wine_glProgramNamedParameter4fNV( GLuint id, GLsizei len, GLubyte* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glProgramNamedParameter4fNV)( GLuint, GLsizei, GLubyte*, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramNamedParameter4fNV]; TRACE("(%d, %d, %p, %f, %f, %f, %f)\n", id, len, name, x, y, z, w ); - ENTER_GL(); func_glProgramNamedParameter4fNV( id, len, name, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramNamedParameter4fvNV( GLuint id, GLsizei len, GLubyte* name, GLfloat* v ) { void (*func_glProgramNamedParameter4fvNV)( GLuint, GLsizei, GLubyte*, GLfloat* ) = extension_funcs[EXT_glProgramNamedParameter4fvNV]; TRACE("(%d, %d, %p, %p)\n", id, len, name, v ); - ENTER_GL(); func_glProgramNamedParameter4fvNV( id, len, name, v ); - LEAVE_GL(); } static void WINAPI wine_glProgramParameter4dNV( GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glProgramParameter4dNV)( GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramParameter4dNV]; TRACE("(%d, %d, %f, %f, %f, %f)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramParameter4dNV( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramParameter4dvNV( GLenum target, GLuint index, GLdouble* v ) { void (*func_glProgramParameter4dvNV)( GLenum, GLuint, GLdouble* ) = extension_funcs[EXT_glProgramParameter4dvNV]; TRACE("(%d, %d, %p)\n", target, index, v ); - ENTER_GL(); func_glProgramParameter4dvNV( target, index, v ); - LEAVE_GL(); } static void WINAPI wine_glProgramParameter4fNV( GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glProgramParameter4fNV)( GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramParameter4fNV]; TRACE("(%d, %d, %f, %f, %f, %f)\n", target, index, x, y, z, w ); - ENTER_GL(); func_glProgramParameter4fNV( target, index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramParameter4fvNV( GLenum target, GLuint index, GLfloat* v ) { void (*func_glProgramParameter4fvNV)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glProgramParameter4fvNV]; TRACE("(%d, %d, %p)\n", target, index, v ); - ENTER_GL(); func_glProgramParameter4fvNV( target, index, v ); - LEAVE_GL(); } static void WINAPI wine_glProgramParameteri( GLuint program, GLenum pname, GLint value ) { void (*func_glProgramParameteri)( GLuint, GLenum, GLint ) = extension_funcs[EXT_glProgramParameteri]; TRACE("(%d, %d, %d)\n", program, pname, value ); - ENTER_GL(); func_glProgramParameteri( program, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramParameteriARB( GLuint program, GLenum pname, GLint value ) { void (*func_glProgramParameteriARB)( GLuint, GLenum, GLint ) = extension_funcs[EXT_glProgramParameteriARB]; TRACE("(%d, %d, %d)\n", program, pname, value ); - ENTER_GL(); func_glProgramParameteriARB( program, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramParameteriEXT( GLuint program, GLenum pname, GLint value ) { void (*func_glProgramParameteriEXT)( GLuint, GLenum, GLint ) = extension_funcs[EXT_glProgramParameteriEXT]; TRACE("(%d, %d, %d)\n", program, pname, value ); - ENTER_GL(); func_glProgramParameteriEXT( program, pname, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramParameters4dvNV( GLenum target, GLuint index, GLsizei count, GLdouble* v ) { void (*func_glProgramParameters4dvNV)( GLenum, GLuint, GLsizei, GLdouble* ) = extension_funcs[EXT_glProgramParameters4dvNV]; TRACE("(%d, %d, %d, %p)\n", target, index, count, v ); - ENTER_GL(); func_glProgramParameters4dvNV( target, index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glProgramParameters4fvNV( GLenum target, GLuint index, GLsizei count, GLfloat* v ) { void (*func_glProgramParameters4fvNV)( GLenum, GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramParameters4fvNV]; TRACE("(%d, %d, %d, %p)\n", target, index, count, v ); - ENTER_GL(); func_glProgramParameters4fvNV( target, index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glProgramStringARB( GLenum target, GLenum format, GLsizei len, GLvoid* string ) { void (*func_glProgramStringARB)( GLenum, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glProgramStringARB]; TRACE("(%d, %d, %d, %p)\n", target, format, len, string ); - ENTER_GL(); func_glProgramStringARB( target, format, len, string ); - LEAVE_GL(); } static void WINAPI wine_glProgramSubroutineParametersuivNV( GLenum target, GLsizei count, GLuint* params ) { void (*func_glProgramSubroutineParametersuivNV)( GLenum, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramSubroutineParametersuivNV]; TRACE("(%d, %d, %p)\n", target, count, params ); - ENTER_GL(); func_glProgramSubroutineParametersuivNV( target, count, params ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1d( GLuint program, GLint location, GLdouble v0 ) { void (*func_glProgramUniform1d)( GLuint, GLint, GLdouble ) = extension_funcs[EXT_glProgramUniform1d]; TRACE("(%d, %d, %f)\n", program, location, v0 ); - ENTER_GL(); func_glProgramUniform1d( program, location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1dEXT( GLuint program, GLint location, GLdouble x ) { void (*func_glProgramUniform1dEXT)( GLuint, GLint, GLdouble ) = extension_funcs[EXT_glProgramUniform1dEXT]; TRACE("(%d, %d, %f)\n", program, location, x ); - ENTER_GL(); func_glProgramUniform1dEXT( program, location, x ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1dv( GLuint program, GLint location, GLsizei count, GLdouble* value ) { void (*func_glProgramUniform1dv)( GLuint, GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glProgramUniform1dv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1dv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1dvEXT( GLuint program, GLint location, GLsizei count, GLdouble* value ) { void (*func_glProgramUniform1dvEXT)( GLuint, GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glProgramUniform1dvEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1dvEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1f( GLuint program, GLint location, GLfloat v0 ) { void (*func_glProgramUniform1f)( GLuint, GLint, GLfloat ) = extension_funcs[EXT_glProgramUniform1f]; TRACE("(%d, %d, %f)\n", program, location, v0 ); - ENTER_GL(); func_glProgramUniform1f( program, location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1fEXT( GLuint program, GLint location, GLfloat v0 ) { void (*func_glProgramUniform1fEXT)( GLuint, GLint, GLfloat ) = extension_funcs[EXT_glProgramUniform1fEXT]; TRACE("(%d, %d, %f)\n", program, location, v0 ); - ENTER_GL(); func_glProgramUniform1fEXT( program, location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1fv( GLuint program, GLint location, GLsizei count, GLfloat* value ) { void (*func_glProgramUniform1fv)( GLuint, GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramUniform1fv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1fv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1fvEXT( GLuint program, GLint location, GLsizei count, GLfloat* value ) { void (*func_glProgramUniform1fvEXT)( GLuint, GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramUniform1fvEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1fvEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1i( GLuint program, GLint location, GLint v0 ) { void (*func_glProgramUniform1i)( GLuint, GLint, GLint ) = extension_funcs[EXT_glProgramUniform1i]; TRACE("(%d, %d, %d)\n", program, location, v0 ); - ENTER_GL(); func_glProgramUniform1i( program, location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1i64NV( GLuint program, GLint location, INT64 x ) { void (*func_glProgramUniform1i64NV)( GLuint, GLint, INT64 ) = extension_funcs[EXT_glProgramUniform1i64NV]; TRACE("(%d, %d, %s)\n", program, location, wine_dbgstr_longlong(x) ); - ENTER_GL(); func_glProgramUniform1i64NV( program, location, x ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1i64vNV( GLuint program, GLint location, GLsizei count, INT64* value ) { void (*func_glProgramUniform1i64vNV)( GLuint, GLint, GLsizei, INT64* ) = extension_funcs[EXT_glProgramUniform1i64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1i64vNV( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1iEXT( GLuint program, GLint location, GLint v0 ) { void (*func_glProgramUniform1iEXT)( GLuint, GLint, GLint ) = extension_funcs[EXT_glProgramUniform1iEXT]; TRACE("(%d, %d, %d)\n", program, location, v0 ); - ENTER_GL(); func_glProgramUniform1iEXT( program, location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1iv( GLuint program, GLint location, GLsizei count, GLint* value ) { void (*func_glProgramUniform1iv)( GLuint, GLint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramUniform1iv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1iv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1ivEXT( GLuint program, GLint location, GLsizei count, GLint* value ) { void (*func_glProgramUniform1ivEXT)( GLuint, GLint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramUniform1ivEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1ivEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1ui( GLuint program, GLint location, GLuint v0 ) { void (*func_glProgramUniform1ui)( GLuint, GLint, GLuint ) = extension_funcs[EXT_glProgramUniform1ui]; TRACE("(%d, %d, %d)\n", program, location, v0 ); - ENTER_GL(); func_glProgramUniform1ui( program, location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1ui64NV( GLuint program, GLint location, UINT64 x ) { void (*func_glProgramUniform1ui64NV)( GLuint, GLint, UINT64 ) = extension_funcs[EXT_glProgramUniform1ui64NV]; TRACE("(%d, %d, %s)\n", program, location, wine_dbgstr_longlong(x) ); - ENTER_GL(); func_glProgramUniform1ui64NV( program, location, x ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1ui64vNV( GLuint program, GLint location, GLsizei count, UINT64* value ) { void (*func_glProgramUniform1ui64vNV)( GLuint, GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glProgramUniform1ui64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1ui64vNV( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1uiEXT( GLuint program, GLint location, GLuint v0 ) { void (*func_glProgramUniform1uiEXT)( GLuint, GLint, GLuint ) = extension_funcs[EXT_glProgramUniform1uiEXT]; TRACE("(%d, %d, %d)\n", program, location, v0 ); - ENTER_GL(); func_glProgramUniform1uiEXT( program, location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1uiv( GLuint program, GLint location, GLsizei count, GLuint* value ) { void (*func_glProgramUniform1uiv)( GLuint, GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramUniform1uiv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1uiv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform1uivEXT( GLuint program, GLint location, GLsizei count, GLuint* value ) { void (*func_glProgramUniform1uivEXT)( GLuint, GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramUniform1uivEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform1uivEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2d( GLuint program, GLint location, GLdouble v0, GLdouble v1 ) { void (*func_glProgramUniform2d)( GLuint, GLint, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramUniform2d]; TRACE("(%d, %d, %f, %f)\n", program, location, v0, v1 ); - ENTER_GL(); func_glProgramUniform2d( program, location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2dEXT( GLuint program, GLint location, GLdouble x, GLdouble y ) { void (*func_glProgramUniform2dEXT)( GLuint, GLint, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramUniform2dEXT]; TRACE("(%d, %d, %f, %f)\n", program, location, x, y ); - ENTER_GL(); func_glProgramUniform2dEXT( program, location, x, y ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2dv( GLuint program, GLint location, GLsizei count, GLdouble* value ) { void (*func_glProgramUniform2dv)( GLuint, GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glProgramUniform2dv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2dv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2dvEXT( GLuint program, GLint location, GLsizei count, GLdouble* value ) { void (*func_glProgramUniform2dvEXT)( GLuint, GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glProgramUniform2dvEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2dvEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2f( GLuint program, GLint location, GLfloat v0, GLfloat v1 ) { void (*func_glProgramUniform2f)( GLuint, GLint, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramUniform2f]; TRACE("(%d, %d, %f, %f)\n", program, location, v0, v1 ); - ENTER_GL(); func_glProgramUniform2f( program, location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2fEXT( GLuint program, GLint location, GLfloat v0, GLfloat v1 ) { void (*func_glProgramUniform2fEXT)( GLuint, GLint, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramUniform2fEXT]; TRACE("(%d, %d, %f, %f)\n", program, location, v0, v1 ); - ENTER_GL(); func_glProgramUniform2fEXT( program, location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2fv( GLuint program, GLint location, GLsizei count, GLfloat* value ) { void (*func_glProgramUniform2fv)( GLuint, GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramUniform2fv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2fv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2fvEXT( GLuint program, GLint location, GLsizei count, GLfloat* value ) { void (*func_glProgramUniform2fvEXT)( GLuint, GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramUniform2fvEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2fvEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2i( GLuint program, GLint location, GLint v0, GLint v1 ) { void (*func_glProgramUniform2i)( GLuint, GLint, GLint, GLint ) = extension_funcs[EXT_glProgramUniform2i]; TRACE("(%d, %d, %d, %d)\n", program, location, v0, v1 ); - ENTER_GL(); func_glProgramUniform2i( program, location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2i64NV( GLuint program, GLint location, INT64 x, INT64 y ) { void (*func_glProgramUniform2i64NV)( GLuint, GLint, INT64, INT64 ) = extension_funcs[EXT_glProgramUniform2i64NV]; TRACE("(%d, %d, %s, %s)\n", program, location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y) ); - ENTER_GL(); func_glProgramUniform2i64NV( program, location, x, y ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2i64vNV( GLuint program, GLint location, GLsizei count, INT64* value ) { void (*func_glProgramUniform2i64vNV)( GLuint, GLint, GLsizei, INT64* ) = extension_funcs[EXT_glProgramUniform2i64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2i64vNV( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2iEXT( GLuint program, GLint location, GLint v0, GLint v1 ) { void (*func_glProgramUniform2iEXT)( GLuint, GLint, GLint, GLint ) = extension_funcs[EXT_glProgramUniform2iEXT]; TRACE("(%d, %d, %d, %d)\n", program, location, v0, v1 ); - ENTER_GL(); func_glProgramUniform2iEXT( program, location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2iv( GLuint program, GLint location, GLsizei count, GLint* value ) { void (*func_glProgramUniform2iv)( GLuint, GLint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramUniform2iv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2iv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2ivEXT( GLuint program, GLint location, GLsizei count, GLint* value ) { void (*func_glProgramUniform2ivEXT)( GLuint, GLint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramUniform2ivEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2ivEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2ui( GLuint program, GLint location, GLuint v0, GLuint v1 ) { void (*func_glProgramUniform2ui)( GLuint, GLint, GLuint, GLuint ) = extension_funcs[EXT_glProgramUniform2ui]; TRACE("(%d, %d, %d, %d)\n", program, location, v0, v1 ); - ENTER_GL(); func_glProgramUniform2ui( program, location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2ui64NV( GLuint program, GLint location, UINT64 x, UINT64 y ) { void (*func_glProgramUniform2ui64NV)( GLuint, GLint, UINT64, UINT64 ) = extension_funcs[EXT_glProgramUniform2ui64NV]; TRACE("(%d, %d, %s, %s)\n", program, location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y) ); - ENTER_GL(); func_glProgramUniform2ui64NV( program, location, x, y ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2ui64vNV( GLuint program, GLint location, GLsizei count, UINT64* value ) { void (*func_glProgramUniform2ui64vNV)( GLuint, GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glProgramUniform2ui64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2ui64vNV( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2uiEXT( GLuint program, GLint location, GLuint v0, GLuint v1 ) { void (*func_glProgramUniform2uiEXT)( GLuint, GLint, GLuint, GLuint ) = extension_funcs[EXT_glProgramUniform2uiEXT]; TRACE("(%d, %d, %d, %d)\n", program, location, v0, v1 ); - ENTER_GL(); func_glProgramUniform2uiEXT( program, location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2uiv( GLuint program, GLint location, GLsizei count, GLuint* value ) { void (*func_glProgramUniform2uiv)( GLuint, GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramUniform2uiv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2uiv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform2uivEXT( GLuint program, GLint location, GLsizei count, GLuint* value ) { void (*func_glProgramUniform2uivEXT)( GLuint, GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramUniform2uivEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform2uivEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3d( GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2 ) { void (*func_glProgramUniform3d)( GLuint, GLint, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramUniform3d]; TRACE("(%d, %d, %f, %f, %f)\n", program, location, v0, v1, v2 ); - ENTER_GL(); func_glProgramUniform3d( program, location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3dEXT( GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glProgramUniform3dEXT)( GLuint, GLint, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramUniform3dEXT]; TRACE("(%d, %d, %f, %f, %f)\n", program, location, x, y, z ); - ENTER_GL(); func_glProgramUniform3dEXT( program, location, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3dv( GLuint program, GLint location, GLsizei count, GLdouble* value ) { void (*func_glProgramUniform3dv)( GLuint, GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glProgramUniform3dv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3dv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3dvEXT( GLuint program, GLint location, GLsizei count, GLdouble* value ) { void (*func_glProgramUniform3dvEXT)( GLuint, GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glProgramUniform3dvEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3dvEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3f( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2 ) { void (*func_glProgramUniform3f)( GLuint, GLint, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramUniform3f]; TRACE("(%d, %d, %f, %f, %f)\n", program, location, v0, v1, v2 ); - ENTER_GL(); func_glProgramUniform3f( program, location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3fEXT( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2 ) { void (*func_glProgramUniform3fEXT)( GLuint, GLint, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramUniform3fEXT]; TRACE("(%d, %d, %f, %f, %f)\n", program, location, v0, v1, v2 ); - ENTER_GL(); func_glProgramUniform3fEXT( program, location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3fv( GLuint program, GLint location, GLsizei count, GLfloat* value ) { void (*func_glProgramUniform3fv)( GLuint, GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramUniform3fv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3fv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3fvEXT( GLuint program, GLint location, GLsizei count, GLfloat* value ) { void (*func_glProgramUniform3fvEXT)( GLuint, GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramUniform3fvEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3fvEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3i( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 ) { void (*func_glProgramUniform3i)( GLuint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glProgramUniform3i]; TRACE("(%d, %d, %d, %d, %d)\n", program, location, v0, v1, v2 ); - ENTER_GL(); func_glProgramUniform3i( program, location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3i64NV( GLuint program, GLint location, INT64 x, INT64 y, INT64 z ) { void (*func_glProgramUniform3i64NV)( GLuint, GLint, INT64, INT64, INT64 ) = extension_funcs[EXT_glProgramUniform3i64NV]; TRACE("(%d, %d, %s, %s, %s)\n", program, location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z) ); - ENTER_GL(); func_glProgramUniform3i64NV( program, location, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3i64vNV( GLuint program, GLint location, GLsizei count, INT64* value ) { void (*func_glProgramUniform3i64vNV)( GLuint, GLint, GLsizei, INT64* ) = extension_funcs[EXT_glProgramUniform3i64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3i64vNV( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3iEXT( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 ) { void (*func_glProgramUniform3iEXT)( GLuint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glProgramUniform3iEXT]; TRACE("(%d, %d, %d, %d, %d)\n", program, location, v0, v1, v2 ); - ENTER_GL(); func_glProgramUniform3iEXT( program, location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3iv( GLuint program, GLint location, GLsizei count, GLint* value ) { void (*func_glProgramUniform3iv)( GLuint, GLint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramUniform3iv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3iv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3ivEXT( GLuint program, GLint location, GLsizei count, GLint* value ) { void (*func_glProgramUniform3ivEXT)( GLuint, GLint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramUniform3ivEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3ivEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3ui( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2 ) { void (*func_glProgramUniform3ui)( GLuint, GLint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glProgramUniform3ui]; TRACE("(%d, %d, %d, %d, %d)\n", program, location, v0, v1, v2 ); - ENTER_GL(); func_glProgramUniform3ui( program, location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3ui64NV( GLuint program, GLint location, UINT64 x, UINT64 y, UINT64 z ) { void (*func_glProgramUniform3ui64NV)( GLuint, GLint, UINT64, UINT64, UINT64 ) = extension_funcs[EXT_glProgramUniform3ui64NV]; TRACE("(%d, %d, %s, %s, %s)\n", program, location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z) ); - ENTER_GL(); func_glProgramUniform3ui64NV( program, location, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3ui64vNV( GLuint program, GLint location, GLsizei count, UINT64* value ) { void (*func_glProgramUniform3ui64vNV)( GLuint, GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glProgramUniform3ui64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3ui64vNV( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3uiEXT( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2 ) { void (*func_glProgramUniform3uiEXT)( GLuint, GLint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glProgramUniform3uiEXT]; TRACE("(%d, %d, %d, %d, %d)\n", program, location, v0, v1, v2 ); - ENTER_GL(); func_glProgramUniform3uiEXT( program, location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3uiv( GLuint program, GLint location, GLsizei count, GLuint* value ) { void (*func_glProgramUniform3uiv)( GLuint, GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramUniform3uiv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3uiv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform3uivEXT( GLuint program, GLint location, GLsizei count, GLuint* value ) { void (*func_glProgramUniform3uivEXT)( GLuint, GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramUniform3uivEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform3uivEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4d( GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3 ) { void (*func_glProgramUniform4d)( GLuint, GLint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramUniform4d]; TRACE("(%d, %d, %f, %f, %f, %f)\n", program, location, v0, v1, v2, v3 ); - ENTER_GL(); func_glProgramUniform4d( program, location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4dEXT( GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glProgramUniform4dEXT)( GLuint, GLint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glProgramUniform4dEXT]; TRACE("(%d, %d, %f, %f, %f, %f)\n", program, location, x, y, z, w ); - ENTER_GL(); func_glProgramUniform4dEXT( program, location, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4dv( GLuint program, GLint location, GLsizei count, GLdouble* value ) { void (*func_glProgramUniform4dv)( GLuint, GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glProgramUniform4dv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4dv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4dvEXT( GLuint program, GLint location, GLsizei count, GLdouble* value ) { void (*func_glProgramUniform4dvEXT)( GLuint, GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glProgramUniform4dvEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4dvEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4f( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3 ) { void (*func_glProgramUniform4f)( GLuint, GLint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramUniform4f]; TRACE("(%d, %d, %f, %f, %f, %f)\n", program, location, v0, v1, v2, v3 ); - ENTER_GL(); func_glProgramUniform4f( program, location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4fEXT( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3 ) { void (*func_glProgramUniform4fEXT)( GLuint, GLint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glProgramUniform4fEXT]; TRACE("(%d, %d, %f, %f, %f, %f)\n", program, location, v0, v1, v2, v3 ); - ENTER_GL(); func_glProgramUniform4fEXT( program, location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4fv( GLuint program, GLint location, GLsizei count, GLfloat* value ) { void (*func_glProgramUniform4fv)( GLuint, GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramUniform4fv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4fv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4fvEXT( GLuint program, GLint location, GLsizei count, GLfloat* value ) { void (*func_glProgramUniform4fvEXT)( GLuint, GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glProgramUniform4fvEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4fvEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4i( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) { void (*func_glProgramUniform4i)( GLuint, GLint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glProgramUniform4i]; TRACE("(%d, %d, %d, %d, %d, %d)\n", program, location, v0, v1, v2, v3 ); - ENTER_GL(); func_glProgramUniform4i( program, location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4i64NV( GLuint program, GLint location, INT64 x, INT64 y, INT64 z, INT64 w ) { void (*func_glProgramUniform4i64NV)( GLuint, GLint, INT64, INT64, INT64, INT64 ) = extension_funcs[EXT_glProgramUniform4i64NV]; TRACE("(%d, %d, %s, %s, %s, %s)\n", program, location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z), wine_dbgstr_longlong(w) ); - ENTER_GL(); func_glProgramUniform4i64NV( program, location, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4i64vNV( GLuint program, GLint location, GLsizei count, INT64* value ) { void (*func_glProgramUniform4i64vNV)( GLuint, GLint, GLsizei, INT64* ) = extension_funcs[EXT_glProgramUniform4i64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4i64vNV( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4iEXT( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) { void (*func_glProgramUniform4iEXT)( GLuint, GLint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glProgramUniform4iEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", program, location, v0, v1, v2, v3 ); - ENTER_GL(); func_glProgramUniform4iEXT( program, location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4iv( GLuint program, GLint location, GLsizei count, GLint* value ) { void (*func_glProgramUniform4iv)( GLuint, GLint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramUniform4iv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4iv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4ivEXT( GLuint program, GLint location, GLsizei count, GLint* value ) { void (*func_glProgramUniform4ivEXT)( GLuint, GLint, GLsizei, GLint* ) = extension_funcs[EXT_glProgramUniform4ivEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4ivEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4ui( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) { void (*func_glProgramUniform4ui)( GLuint, GLint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glProgramUniform4ui]; TRACE("(%d, %d, %d, %d, %d, %d)\n", program, location, v0, v1, v2, v3 ); - ENTER_GL(); func_glProgramUniform4ui( program, location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4ui64NV( GLuint program, GLint location, UINT64 x, UINT64 y, UINT64 z, UINT64 w ) { void (*func_glProgramUniform4ui64NV)( GLuint, GLint, UINT64, UINT64, UINT64, UINT64 ) = extension_funcs[EXT_glProgramUniform4ui64NV]; TRACE("(%d, %d, %s, %s, %s, %s)\n", program, location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z), wine_dbgstr_longlong(w) ); - ENTER_GL(); func_glProgramUniform4ui64NV( program, location, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4ui64vNV( GLuint program, GLint location, GLsizei count, UINT64* value ) { void (*func_glProgramUniform4ui64vNV)( GLuint, GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glProgramUniform4ui64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4ui64vNV( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4uiEXT( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) { void (*func_glProgramUniform4uiEXT)( GLuint, GLint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glProgramUniform4uiEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", program, location, v0, v1, v2, v3 ); - ENTER_GL(); func_glProgramUniform4uiEXT( program, location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4uiv( GLuint program, GLint location, GLsizei count, GLuint* value ) { void (*func_glProgramUniform4uiv)( GLuint, GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramUniform4uiv]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4uiv( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniform4uivEXT( GLuint program, GLint location, GLsizei count, GLuint* value ) { void (*func_glProgramUniform4uivEXT)( GLuint, GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glProgramUniform4uivEXT]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniform4uivEXT( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformHandleui64NV( GLuint program, GLint location, UINT64 value ) { void (*func_glProgramUniformHandleui64NV)( GLuint, GLint, UINT64 ) = extension_funcs[EXT_glProgramUniformHandleui64NV]; TRACE("(%d, %d, %s)\n", program, location, wine_dbgstr_longlong(value) ); - ENTER_GL(); func_glProgramUniformHandleui64NV( program, location, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformHandleui64vNV( GLuint program, GLint location, GLsizei count, UINT64* values ) { void (*func_glProgramUniformHandleui64vNV)( GLuint, GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glProgramUniformHandleui64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, values ); - ENTER_GL(); func_glProgramUniformHandleui64vNV( program, location, count, values ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2dv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix2dv)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix2dv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2dv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2dvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix2dvEXT)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix2dvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2dvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2fv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix2fv)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix2fv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2fv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2fvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix2fvEXT)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix2fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2fvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2x3dv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix2x3dv)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix2x3dv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2x3dv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2x3dvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix2x3dvEXT)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix2x3dvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2x3dvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2x3fv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix2x3fv)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix2x3fv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2x3fv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2x3fvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix2x3fvEXT)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix2x3fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2x3fvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2x4dv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix2x4dv)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix2x4dv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2x4dv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2x4dvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix2x4dvEXT)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix2x4dvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2x4dvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2x4fv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix2x4fv)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix2x4fv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2x4fv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix2x4fvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix2x4fvEXT)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix2x4fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix2x4fvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3dv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix3dv)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix3dv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3dv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3dvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix3dvEXT)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix3dvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3dvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3fv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix3fv)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix3fv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3fv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3fvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix3fvEXT)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix3fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3fvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3x2dv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix3x2dv)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix3x2dv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3x2dv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3x2dvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix3x2dvEXT)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix3x2dvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3x2dvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3x2fv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix3x2fv)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix3x2fv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3x2fv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3x2fvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix3x2fvEXT)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix3x2fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3x2fvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3x4dv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix3x4dv)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix3x4dv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3x4dv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3x4dvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix3x4dvEXT)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix3x4dvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3x4dvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3x4fv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix3x4fv)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix3x4fv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3x4fv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix3x4fvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix3x4fvEXT)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix3x4fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix3x4fvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4dv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix4dv)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix4dv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4dv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4dvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix4dvEXT)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix4dvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4dvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4fv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix4fv)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix4fv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4fv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4fvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix4fvEXT)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix4fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4fvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4x2dv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix4x2dv)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix4x2dv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4x2dv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4x2dvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix4x2dvEXT)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix4x2dvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4x2dvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4x2fv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix4x2fv)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix4x2fv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4x2fv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4x2fvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix4x2fvEXT)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix4x2fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4x2fvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4x3dv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix4x3dv)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix4x3dv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4x3dv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4x3dvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glProgramUniformMatrix4x3dvEXT)( GLuint, GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glProgramUniformMatrix4x3dvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4x3dvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4x3fv( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix4x3fv)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix4x3fv]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4x3fv( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformMatrix4x3fvEXT( GLuint program, GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glProgramUniformMatrix4x3fvEXT)( GLuint, GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glProgramUniformMatrix4x3fvEXT]; TRACE("(%d, %d, %d, %d, %p)\n", program, location, count, transpose, value ); - ENTER_GL(); func_glProgramUniformMatrix4x3fvEXT( program, location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformui64NV( GLuint program, GLint location, UINT64 value ) { void (*func_glProgramUniformui64NV)( GLuint, GLint, UINT64 ) = extension_funcs[EXT_glProgramUniformui64NV]; TRACE("(%d, %d, %s)\n", program, location, wine_dbgstr_longlong(value) ); - ENTER_GL(); func_glProgramUniformui64NV( program, location, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramUniformui64vNV( GLuint program, GLint location, GLsizei count, UINT64* value ) { void (*func_glProgramUniformui64vNV)( GLuint, GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glProgramUniformui64vNV]; TRACE("(%d, %d, %d, %p)\n", program, location, count, value ); - ENTER_GL(); func_glProgramUniformui64vNV( program, location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glProgramVertexLimitNV( GLenum target, GLint limit ) { void (*func_glProgramVertexLimitNV)( GLenum, GLint ) = extension_funcs[EXT_glProgramVertexLimitNV]; TRACE("(%d, %d)\n", target, limit ); - ENTER_GL(); func_glProgramVertexLimitNV( target, limit ); - LEAVE_GL(); } static void WINAPI wine_glProvokingVertex( GLenum mode ) { void (*func_glProvokingVertex)( GLenum ) = extension_funcs[EXT_glProvokingVertex]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glProvokingVertex( mode ); - LEAVE_GL(); } static void WINAPI wine_glProvokingVertexEXT( GLenum mode ) { void (*func_glProvokingVertexEXT)( GLenum ) = extension_funcs[EXT_glProvokingVertexEXT]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glProvokingVertexEXT( mode ); - LEAVE_GL(); } static void WINAPI wine_glPushClientAttribDefaultEXT( GLbitfield mask ) { void (*func_glPushClientAttribDefaultEXT)( GLbitfield ) = extension_funcs[EXT_glPushClientAttribDefaultEXT]; TRACE("(%d)\n", mask ); - ENTER_GL(); func_glPushClientAttribDefaultEXT( mask ); - LEAVE_GL(); } static void WINAPI wine_glQueryCounter( GLuint id, GLenum target ) { void (*func_glQueryCounter)( GLuint, GLenum ) = extension_funcs[EXT_glQueryCounter]; TRACE("(%d, %d)\n", id, target ); - ENTER_GL(); func_glQueryCounter( id, target ); - LEAVE_GL(); } static void WINAPI wine_glReadBufferRegion( GLenum region, GLint x, GLint y, GLsizei width, GLsizei height ) { void (*func_glReadBufferRegion)( GLenum, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glReadBufferRegion]; TRACE("(%d, %d, %d, %d, %d)\n", region, x, y, width, height ); - ENTER_GL(); func_glReadBufferRegion( region, x, y, width, height ); - LEAVE_GL(); } static void WINAPI wine_glReadInstrumentsSGIX( GLint marker ) { void (*func_glReadInstrumentsSGIX)( GLint ) = extension_funcs[EXT_glReadInstrumentsSGIX]; TRACE("(%d)\n", marker ); - ENTER_GL(); func_glReadInstrumentsSGIX( marker ); - LEAVE_GL(); } static void WINAPI wine_glReadnPixelsARB( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid* data ) { void (*func_glReadnPixelsARB)( GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glReadnPixelsARB]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", x, y, width, height, format, type, bufSize, data ); - ENTER_GL(); func_glReadnPixelsARB( x, y, width, height, format, type, bufSize, data ); - LEAVE_GL(); } static void WINAPI wine_glReferencePlaneSGIX( GLdouble* equation ) { void (*func_glReferencePlaneSGIX)( GLdouble* ) = extension_funcs[EXT_glReferencePlaneSGIX]; TRACE("(%p)\n", equation ); - ENTER_GL(); func_glReferencePlaneSGIX( equation ); - LEAVE_GL(); } static void WINAPI wine_glReleaseShaderCompiler( void ) { void (*func_glReleaseShaderCompiler)( void ) = extension_funcs[EXT_glReleaseShaderCompiler]; TRACE("()\n"); - ENTER_GL(); func_glReleaseShaderCompiler( ); - LEAVE_GL(); } static void WINAPI wine_glRenderbufferStorage( GLenum target, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glRenderbufferStorage)( GLenum, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glRenderbufferStorage]; TRACE("(%d, %d, %d, %d)\n", target, internalformat, width, height ); - ENTER_GL(); func_glRenderbufferStorage( target, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glRenderbufferStorageEXT( GLenum target, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glRenderbufferStorageEXT)( GLenum, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glRenderbufferStorageEXT]; TRACE("(%d, %d, %d, %d)\n", target, internalformat, width, height ); - ENTER_GL(); func_glRenderbufferStorageEXT( target, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glRenderbufferStorageMultisample( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glRenderbufferStorageMultisample)( GLenum, GLsizei, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glRenderbufferStorageMultisample]; TRACE("(%d, %d, %d, %d, %d)\n", target, samples, internalformat, width, height ); - ENTER_GL(); func_glRenderbufferStorageMultisample( target, samples, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glRenderbufferStorageMultisampleCoverageNV( GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glRenderbufferStorageMultisampleCoverageNV)( GLenum, GLsizei, GLsizei, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glRenderbufferStorageMultisampleCoverageNV]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, coverageSamples, colorSamples, internalformat, width, height ); - ENTER_GL(); func_glRenderbufferStorageMultisampleCoverageNV( target, coverageSamples, colorSamples, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glRenderbufferStorageMultisampleEXT( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glRenderbufferStorageMultisampleEXT)( GLenum, GLsizei, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glRenderbufferStorageMultisampleEXT]; TRACE("(%d, %d, %d, %d, %d)\n", target, samples, internalformat, width, height ); - ENTER_GL(); func_glRenderbufferStorageMultisampleEXT( target, samples, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodePointerSUN( GLenum type, GLsizei stride, GLvoid** pointer ) { void (*func_glReplacementCodePointerSUN)( GLenum, GLsizei, GLvoid** ) = extension_funcs[EXT_glReplacementCodePointerSUN]; TRACE("(%d, %d, %p)\n", type, stride, pointer ); - ENTER_GL(); func_glReplacementCodePointerSUN( type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeubSUN( GLubyte code ) { void (*func_glReplacementCodeubSUN)( GLubyte ) = extension_funcs[EXT_glReplacementCodeubSUN]; TRACE("(%d)\n", code ); - ENTER_GL(); func_glReplacementCodeubSUN( code ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeubvSUN( GLubyte* code ) { void (*func_glReplacementCodeubvSUN)( GLubyte* ) = extension_funcs[EXT_glReplacementCodeubvSUN]; TRACE("(%p)\n", code ); - ENTER_GL(); func_glReplacementCodeubvSUN( code ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiColor3fVertex3fSUN( GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glReplacementCodeuiColor3fVertex3fSUN)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glReplacementCodeuiColor3fVertex3fSUN]; TRACE("(%d, %f, %f, %f, %f, %f, %f)\n", rc, r, g, b, x, y, z ); - ENTER_GL(); func_glReplacementCodeuiColor3fVertex3fSUN( rc, r, g, b, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiColor3fVertex3fvSUN( GLuint* rc, GLfloat* c, GLfloat* v ) { void (*func_glReplacementCodeuiColor3fVertex3fvSUN)( GLuint*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glReplacementCodeuiColor3fVertex3fvSUN]; TRACE("(%p, %p, %p)\n", rc, c, v ); - ENTER_GL(); func_glReplacementCodeuiColor3fVertex3fvSUN( rc, c, v ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiColor4fNormal3fVertex3fSUN( GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glReplacementCodeuiColor4fNormal3fVertex3fSUN)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glReplacementCodeuiColor4fNormal3fVertex3fSUN]; TRACE("(%d, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f)\n", rc, r, g, b, a, nx, ny, nz, x, y, z ); - ENTER_GL(); func_glReplacementCodeuiColor4fNormal3fVertex3fSUN( rc, r, g, b, a, nx, ny, nz, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiColor4fNormal3fVertex3fvSUN( GLuint* rc, GLfloat* c, GLfloat* n, GLfloat* v ) { void (*func_glReplacementCodeuiColor4fNormal3fVertex3fvSUN)( GLuint*, GLfloat*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glReplacementCodeuiColor4fNormal3fVertex3fvSUN]; TRACE("(%p, %p, %p, %p)\n", rc, c, n, v ); - ENTER_GL(); func_glReplacementCodeuiColor4fNormal3fVertex3fvSUN( rc, c, n, v ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiColor4ubVertex3fSUN( GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glReplacementCodeuiColor4ubVertex3fSUN)( GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glReplacementCodeuiColor4ubVertex3fSUN]; TRACE("(%d, %d, %d, %d, %d, %f, %f, %f)\n", rc, r, g, b, a, x, y, z ); - ENTER_GL(); func_glReplacementCodeuiColor4ubVertex3fSUN( rc, r, g, b, a, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiColor4ubVertex3fvSUN( GLuint* rc, GLubyte* c, GLfloat* v ) { void (*func_glReplacementCodeuiColor4ubVertex3fvSUN)( GLuint*, GLubyte*, GLfloat* ) = extension_funcs[EXT_glReplacementCodeuiColor4ubVertex3fvSUN]; TRACE("(%p, %p, %p)\n", rc, c, v ); - ENTER_GL(); func_glReplacementCodeuiColor4ubVertex3fvSUN( rc, c, v ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiNormal3fVertex3fSUN( GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glReplacementCodeuiNormal3fVertex3fSUN)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glReplacementCodeuiNormal3fVertex3fSUN]; TRACE("(%d, %f, %f, %f, %f, %f, %f)\n", rc, nx, ny, nz, x, y, z ); - ENTER_GL(); func_glReplacementCodeuiNormal3fVertex3fSUN( rc, nx, ny, nz, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiNormal3fVertex3fvSUN( GLuint* rc, GLfloat* n, GLfloat* v ) { void (*func_glReplacementCodeuiNormal3fVertex3fvSUN)( GLuint*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glReplacementCodeuiNormal3fVertex3fvSUN]; TRACE("(%p, %p, %p)\n", rc, n, v ); - ENTER_GL(); func_glReplacementCodeuiNormal3fVertex3fvSUN( rc, n, v ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiSUN( GLuint code ) { void (*func_glReplacementCodeuiSUN)( GLuint ) = extension_funcs[EXT_glReplacementCodeuiSUN]; TRACE("(%d)\n", code ); - ENTER_GL(); func_glReplacementCodeuiSUN( code ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN( GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN]; TRACE("(%d, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f)\n", rc, s, t, r, g, b, a, nx, ny, nz, x, y, z ); - ENTER_GL(); func_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN( rc, s, t, r, g, b, a, nx, ny, nz, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN( GLuint* rc, GLfloat* tc, GLfloat* c, GLfloat* n, GLfloat* v ) { void (*func_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN)( GLuint*, GLfloat*, GLfloat*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN]; TRACE("(%p, %p, %p, %p, %p)\n", rc, tc, c, n, v ); - ENTER_GL(); func_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN( rc, tc, c, n, v ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN( GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN]; TRACE("(%d, %f, %f, %f, %f, %f, %f, %f, %f)\n", rc, s, t, nx, ny, nz, x, y, z ); - ENTER_GL(); func_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN( rc, s, t, nx, ny, nz, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN( GLuint* rc, GLfloat* tc, GLfloat* n, GLfloat* v ) { void (*func_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN)( GLuint*, GLfloat*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN]; TRACE("(%p, %p, %p, %p)\n", rc, tc, n, v ); - ENTER_GL(); func_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN( rc, tc, n, v ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiTexCoord2fVertex3fSUN( GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glReplacementCodeuiTexCoord2fVertex3fSUN)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glReplacementCodeuiTexCoord2fVertex3fSUN]; TRACE("(%d, %f, %f, %f, %f, %f)\n", rc, s, t, x, y, z ); - ENTER_GL(); func_glReplacementCodeuiTexCoord2fVertex3fSUN( rc, s, t, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiTexCoord2fVertex3fvSUN( GLuint* rc, GLfloat* tc, GLfloat* v ) { void (*func_glReplacementCodeuiTexCoord2fVertex3fvSUN)( GLuint*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glReplacementCodeuiTexCoord2fVertex3fvSUN]; TRACE("(%p, %p, %p)\n", rc, tc, v ); - ENTER_GL(); func_glReplacementCodeuiTexCoord2fVertex3fvSUN( rc, tc, v ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiVertex3fSUN( GLuint rc, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glReplacementCodeuiVertex3fSUN)( GLuint, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glReplacementCodeuiVertex3fSUN]; TRACE("(%d, %f, %f, %f)\n", rc, x, y, z ); - ENTER_GL(); func_glReplacementCodeuiVertex3fSUN( rc, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuiVertex3fvSUN( GLuint* rc, GLfloat* v ) { void (*func_glReplacementCodeuiVertex3fvSUN)( GLuint*, GLfloat* ) = extension_funcs[EXT_glReplacementCodeuiVertex3fvSUN]; TRACE("(%p, %p)\n", rc, v ); - ENTER_GL(); func_glReplacementCodeuiVertex3fvSUN( rc, v ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeuivSUN( GLuint* code ) { void (*func_glReplacementCodeuivSUN)( GLuint* ) = extension_funcs[EXT_glReplacementCodeuivSUN]; TRACE("(%p)\n", code ); - ENTER_GL(); func_glReplacementCodeuivSUN( code ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeusSUN( GLushort code ) { void (*func_glReplacementCodeusSUN)( GLushort ) = extension_funcs[EXT_glReplacementCodeusSUN]; TRACE("(%d)\n", code ); - ENTER_GL(); func_glReplacementCodeusSUN( code ); - LEAVE_GL(); } static void WINAPI wine_glReplacementCodeusvSUN( GLushort* code ) { void (*func_glReplacementCodeusvSUN)( GLushort* ) = extension_funcs[EXT_glReplacementCodeusvSUN]; TRACE("(%p)\n", code ); - ENTER_GL(); func_glReplacementCodeusvSUN( code ); - LEAVE_GL(); } static void WINAPI wine_glRequestResidentProgramsNV( GLsizei n, GLuint* programs ) { void (*func_glRequestResidentProgramsNV)( GLsizei, GLuint* ) = extension_funcs[EXT_glRequestResidentProgramsNV]; TRACE("(%d, %p)\n", n, programs ); - ENTER_GL(); func_glRequestResidentProgramsNV( n, programs ); - LEAVE_GL(); } static void WINAPI wine_glResetHistogram( GLenum target ) { void (*func_glResetHistogram)( GLenum ) = extension_funcs[EXT_glResetHistogram]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glResetHistogram( target ); - LEAVE_GL(); } static void WINAPI wine_glResetHistogramEXT( GLenum target ) { void (*func_glResetHistogramEXT)( GLenum ) = extension_funcs[EXT_glResetHistogramEXT]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glResetHistogramEXT( target ); - LEAVE_GL(); } static void WINAPI wine_glResetMinmax( GLenum target ) { void (*func_glResetMinmax)( GLenum ) = extension_funcs[EXT_glResetMinmax]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glResetMinmax( target ); - LEAVE_GL(); } static void WINAPI wine_glResetMinmaxEXT( GLenum target ) { void (*func_glResetMinmaxEXT)( GLenum ) = extension_funcs[EXT_glResetMinmaxEXT]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glResetMinmaxEXT( target ); - LEAVE_GL(); } static void WINAPI wine_glResizeBuffersMESA( void ) { void (*func_glResizeBuffersMESA)( void ) = extension_funcs[EXT_glResizeBuffersMESA]; TRACE("()\n"); - ENTER_GL(); func_glResizeBuffersMESA( ); - LEAVE_GL(); } static void WINAPI wine_glResumeTransformFeedback( void ) { void (*func_glResumeTransformFeedback)( void ) = extension_funcs[EXT_glResumeTransformFeedback]; TRACE("()\n"); - ENTER_GL(); func_glResumeTransformFeedback( ); - LEAVE_GL(); } static void WINAPI wine_glResumeTransformFeedbackNV( void ) { void (*func_glResumeTransformFeedbackNV)( void ) = extension_funcs[EXT_glResumeTransformFeedbackNV]; TRACE("()\n"); - ENTER_GL(); func_glResumeTransformFeedbackNV( ); - LEAVE_GL(); } static void WINAPI wine_glSampleCoverage( GLfloat value, GLboolean invert ) { void (*func_glSampleCoverage)( GLfloat, GLboolean ) = extension_funcs[EXT_glSampleCoverage]; TRACE("(%f, %d)\n", value, invert ); - ENTER_GL(); func_glSampleCoverage( value, invert ); - LEAVE_GL(); } static void WINAPI wine_glSampleCoverageARB( GLfloat value, GLboolean invert ) { void (*func_glSampleCoverageARB)( GLfloat, GLboolean ) = extension_funcs[EXT_glSampleCoverageARB]; TRACE("(%f, %d)\n", value, invert ); - ENTER_GL(); func_glSampleCoverageARB( value, invert ); - LEAVE_GL(); } static void WINAPI wine_glSampleMapATI( GLuint dst, GLuint interp, GLenum swizzle ) { void (*func_glSampleMapATI)( GLuint, GLuint, GLenum ) = extension_funcs[EXT_glSampleMapATI]; TRACE("(%d, %d, %d)\n", dst, interp, swizzle ); - ENTER_GL(); func_glSampleMapATI( dst, interp, swizzle ); - LEAVE_GL(); } static void WINAPI wine_glSampleMaskEXT( GLclampf value, GLboolean invert ) { void (*func_glSampleMaskEXT)( GLclampf, GLboolean ) = extension_funcs[EXT_glSampleMaskEXT]; TRACE("(%f, %d)\n", value, invert ); - ENTER_GL(); func_glSampleMaskEXT( value, invert ); - LEAVE_GL(); } static void WINAPI wine_glSampleMaskIndexedNV( GLuint index, GLbitfield mask ) { void (*func_glSampleMaskIndexedNV)( GLuint, GLbitfield ) = extension_funcs[EXT_glSampleMaskIndexedNV]; TRACE("(%d, %d)\n", index, mask ); - ENTER_GL(); func_glSampleMaskIndexedNV( index, mask ); - LEAVE_GL(); } static void WINAPI wine_glSampleMaskSGIS( GLclampf value, GLboolean invert ) { void (*func_glSampleMaskSGIS)( GLclampf, GLboolean ) = extension_funcs[EXT_glSampleMaskSGIS]; TRACE("(%f, %d)\n", value, invert ); - ENTER_GL(); func_glSampleMaskSGIS( value, invert ); - LEAVE_GL(); } static void WINAPI wine_glSampleMaski( GLuint index, GLbitfield mask ) { void (*func_glSampleMaski)( GLuint, GLbitfield ) = extension_funcs[EXT_glSampleMaski]; TRACE("(%d, %d)\n", index, mask ); - ENTER_GL(); func_glSampleMaski( index, mask ); - LEAVE_GL(); } static void WINAPI wine_glSamplePatternEXT( GLenum pattern ) { void (*func_glSamplePatternEXT)( GLenum ) = extension_funcs[EXT_glSamplePatternEXT]; TRACE("(%d)\n", pattern ); - ENTER_GL(); func_glSamplePatternEXT( pattern ); - LEAVE_GL(); } static void WINAPI wine_glSamplePatternSGIS( GLenum pattern ) { void (*func_glSamplePatternSGIS)( GLenum ) = extension_funcs[EXT_glSamplePatternSGIS]; TRACE("(%d)\n", pattern ); - ENTER_GL(); func_glSamplePatternSGIS( pattern ); - LEAVE_GL(); } static void WINAPI wine_glSamplerParameterIiv( GLuint sampler, GLenum pname, GLint* param ) { void (*func_glSamplerParameterIiv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glSamplerParameterIiv]; TRACE("(%d, %d, %p)\n", sampler, pname, param ); - ENTER_GL(); func_glSamplerParameterIiv( sampler, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glSamplerParameterIuiv( GLuint sampler, GLenum pname, GLuint* param ) { void (*func_glSamplerParameterIuiv)( GLuint, GLenum, GLuint* ) = extension_funcs[EXT_glSamplerParameterIuiv]; TRACE("(%d, %d, %p)\n", sampler, pname, param ); - ENTER_GL(); func_glSamplerParameterIuiv( sampler, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glSamplerParameterf( GLuint sampler, GLenum pname, GLfloat param ) { void (*func_glSamplerParameterf)( GLuint, GLenum, GLfloat ) = extension_funcs[EXT_glSamplerParameterf]; TRACE("(%d, %d, %f)\n", sampler, pname, param ); - ENTER_GL(); func_glSamplerParameterf( sampler, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glSamplerParameterfv( GLuint sampler, GLenum pname, GLfloat* param ) { void (*func_glSamplerParameterfv)( GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glSamplerParameterfv]; TRACE("(%d, %d, %p)\n", sampler, pname, param ); - ENTER_GL(); func_glSamplerParameterfv( sampler, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glSamplerParameteri( GLuint sampler, GLenum pname, GLint param ) { void (*func_glSamplerParameteri)( GLuint, GLenum, GLint ) = extension_funcs[EXT_glSamplerParameteri]; TRACE("(%d, %d, %d)\n", sampler, pname, param ); - ENTER_GL(); func_glSamplerParameteri( sampler, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glSamplerParameteriv( GLuint sampler, GLenum pname, GLint* param ) { void (*func_glSamplerParameteriv)( GLuint, GLenum, GLint* ) = extension_funcs[EXT_glSamplerParameteriv]; TRACE("(%d, %d, %p)\n", sampler, pname, param ); - ENTER_GL(); func_glSamplerParameteriv( sampler, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glScissorArrayv( GLuint first, GLsizei count, GLint* v ) { void (*func_glScissorArrayv)( GLuint, GLsizei, GLint* ) = extension_funcs[EXT_glScissorArrayv]; TRACE("(%d, %d, %p)\n", first, count, v ); - ENTER_GL(); func_glScissorArrayv( first, count, v ); - LEAVE_GL(); } static void WINAPI wine_glScissorIndexed( GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height ) { void (*func_glScissorIndexed)( GLuint, GLint, GLint, GLsizei, GLsizei ) = extension_funcs[EXT_glScissorIndexed]; TRACE("(%d, %d, %d, %d, %d)\n", index, left, bottom, width, height ); - ENTER_GL(); func_glScissorIndexed( index, left, bottom, width, height ); - LEAVE_GL(); } static void WINAPI wine_glScissorIndexedv( GLuint index, GLint* v ) { void (*func_glScissorIndexedv)( GLuint, GLint* ) = extension_funcs[EXT_glScissorIndexedv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glScissorIndexedv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3b( GLbyte red, GLbyte green, GLbyte blue ) { void (*func_glSecondaryColor3b)( GLbyte, GLbyte, GLbyte ) = extension_funcs[EXT_glSecondaryColor3b]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3b( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3bEXT( GLbyte red, GLbyte green, GLbyte blue ) { void (*func_glSecondaryColor3bEXT)( GLbyte, GLbyte, GLbyte ) = extension_funcs[EXT_glSecondaryColor3bEXT]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3bEXT( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3bv( GLbyte* v ) { void (*func_glSecondaryColor3bv)( GLbyte* ) = extension_funcs[EXT_glSecondaryColor3bv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3bv( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3bvEXT( GLbyte* v ) { void (*func_glSecondaryColor3bvEXT)( GLbyte* ) = extension_funcs[EXT_glSecondaryColor3bvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3bvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3d( GLdouble red, GLdouble green, GLdouble blue ) { void (*func_glSecondaryColor3d)( GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glSecondaryColor3d]; TRACE("(%f, %f, %f)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3d( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3dEXT( GLdouble red, GLdouble green, GLdouble blue ) { void (*func_glSecondaryColor3dEXT)( GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glSecondaryColor3dEXT]; TRACE("(%f, %f, %f)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3dEXT( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3dv( GLdouble* v ) { void (*func_glSecondaryColor3dv)( GLdouble* ) = extension_funcs[EXT_glSecondaryColor3dv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3dv( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3dvEXT( GLdouble* v ) { void (*func_glSecondaryColor3dvEXT)( GLdouble* ) = extension_funcs[EXT_glSecondaryColor3dvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3dvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3f( GLfloat red, GLfloat green, GLfloat blue ) { void (*func_glSecondaryColor3f)( GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glSecondaryColor3f]; TRACE("(%f, %f, %f)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3f( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3fEXT( GLfloat red, GLfloat green, GLfloat blue ) { void (*func_glSecondaryColor3fEXT)( GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glSecondaryColor3fEXT]; TRACE("(%f, %f, %f)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3fEXT( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3fv( GLfloat* v ) { void (*func_glSecondaryColor3fv)( GLfloat* ) = extension_funcs[EXT_glSecondaryColor3fv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3fv( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3fvEXT( GLfloat* v ) { void (*func_glSecondaryColor3fvEXT)( GLfloat* ) = extension_funcs[EXT_glSecondaryColor3fvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3fvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3hNV( unsigned short red, unsigned short green, unsigned short blue ) { void (*func_glSecondaryColor3hNV)( unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glSecondaryColor3hNV]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3hNV( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3hvNV( unsigned short* v ) { void (*func_glSecondaryColor3hvNV)( unsigned short* ) = extension_funcs[EXT_glSecondaryColor3hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3i( GLint red, GLint green, GLint blue ) { void (*func_glSecondaryColor3i)( GLint, GLint, GLint ) = extension_funcs[EXT_glSecondaryColor3i]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3i( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3iEXT( GLint red, GLint green, GLint blue ) { void (*func_glSecondaryColor3iEXT)( GLint, GLint, GLint ) = extension_funcs[EXT_glSecondaryColor3iEXT]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3iEXT( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3iv( GLint* v ) { void (*func_glSecondaryColor3iv)( GLint* ) = extension_funcs[EXT_glSecondaryColor3iv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3iv( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3ivEXT( GLint* v ) { void (*func_glSecondaryColor3ivEXT)( GLint* ) = extension_funcs[EXT_glSecondaryColor3ivEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3ivEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3s( GLshort red, GLshort green, GLshort blue ) { void (*func_glSecondaryColor3s)( GLshort, GLshort, GLshort ) = extension_funcs[EXT_glSecondaryColor3s]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3s( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3sEXT( GLshort red, GLshort green, GLshort blue ) { void (*func_glSecondaryColor3sEXT)( GLshort, GLshort, GLshort ) = extension_funcs[EXT_glSecondaryColor3sEXT]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3sEXT( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3sv( GLshort* v ) { void (*func_glSecondaryColor3sv)( GLshort* ) = extension_funcs[EXT_glSecondaryColor3sv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3sv( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3svEXT( GLshort* v ) { void (*func_glSecondaryColor3svEXT)( GLshort* ) = extension_funcs[EXT_glSecondaryColor3svEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3svEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3ub( GLubyte red, GLubyte green, GLubyte blue ) { void (*func_glSecondaryColor3ub)( GLubyte, GLubyte, GLubyte ) = extension_funcs[EXT_glSecondaryColor3ub]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3ub( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3ubEXT( GLubyte red, GLubyte green, GLubyte blue ) { void (*func_glSecondaryColor3ubEXT)( GLubyte, GLubyte, GLubyte ) = extension_funcs[EXT_glSecondaryColor3ubEXT]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3ubEXT( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3ubv( GLubyte* v ) { void (*func_glSecondaryColor3ubv)( GLubyte* ) = extension_funcs[EXT_glSecondaryColor3ubv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3ubv( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3ubvEXT( GLubyte* v ) { void (*func_glSecondaryColor3ubvEXT)( GLubyte* ) = extension_funcs[EXT_glSecondaryColor3ubvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3ubvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3ui( GLuint red, GLuint green, GLuint blue ) { void (*func_glSecondaryColor3ui)( GLuint, GLuint, GLuint ) = extension_funcs[EXT_glSecondaryColor3ui]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3ui( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3uiEXT( GLuint red, GLuint green, GLuint blue ) { void (*func_glSecondaryColor3uiEXT)( GLuint, GLuint, GLuint ) = extension_funcs[EXT_glSecondaryColor3uiEXT]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3uiEXT( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3uiv( GLuint* v ) { void (*func_glSecondaryColor3uiv)( GLuint* ) = extension_funcs[EXT_glSecondaryColor3uiv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3uiv( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3uivEXT( GLuint* v ) { void (*func_glSecondaryColor3uivEXT)( GLuint* ) = extension_funcs[EXT_glSecondaryColor3uivEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3uivEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3us( GLushort red, GLushort green, GLushort blue ) { void (*func_glSecondaryColor3us)( GLushort, GLushort, GLushort ) = extension_funcs[EXT_glSecondaryColor3us]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3us( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3usEXT( GLushort red, GLushort green, GLushort blue ) { void (*func_glSecondaryColor3usEXT)( GLushort, GLushort, GLushort ) = extension_funcs[EXT_glSecondaryColor3usEXT]; TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); func_glSecondaryColor3usEXT( red, green, blue ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3usv( GLushort* v ) { void (*func_glSecondaryColor3usv)( GLushort* ) = extension_funcs[EXT_glSecondaryColor3usv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3usv( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColor3usvEXT( GLushort* v ) { void (*func_glSecondaryColor3usvEXT)( GLushort* ) = extension_funcs[EXT_glSecondaryColor3usvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glSecondaryColor3usvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColorFormatNV( GLint size, GLenum type, GLsizei stride ) { void (*func_glSecondaryColorFormatNV)( GLint, GLenum, GLsizei ) = extension_funcs[EXT_glSecondaryColorFormatNV]; TRACE("(%d, %d, %d)\n", size, type, stride ); - ENTER_GL(); func_glSecondaryColorFormatNV( size, type, stride ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColorP3ui( GLenum type, GLuint color ) { void (*func_glSecondaryColorP3ui)( GLenum, GLuint ) = extension_funcs[EXT_glSecondaryColorP3ui]; TRACE("(%d, %d)\n", type, color ); - ENTER_GL(); func_glSecondaryColorP3ui( type, color ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColorP3uiv( GLenum type, GLuint* color ) { void (*func_glSecondaryColorP3uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glSecondaryColorP3uiv]; TRACE("(%d, %p)\n", type, color ); - ENTER_GL(); func_glSecondaryColorP3uiv( type, color ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glSecondaryColorPointer)( GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glSecondaryColorPointer]; TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer ); - ENTER_GL(); func_glSecondaryColorPointer( size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColorPointerEXT( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glSecondaryColorPointerEXT)( GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glSecondaryColorPointerEXT]; TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer ); - ENTER_GL(); func_glSecondaryColorPointerEXT( size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glSecondaryColorPointerListIBM( GLint size, GLenum type, GLint stride, GLvoid** pointer, GLint ptrstride ) { void (*func_glSecondaryColorPointerListIBM)( GLint, GLenum, GLint, GLvoid**, GLint ) = extension_funcs[EXT_glSecondaryColorPointerListIBM]; TRACE("(%d, %d, %d, %p, %d)\n", size, type, stride, pointer, ptrstride ); - ENTER_GL(); func_glSecondaryColorPointerListIBM( size, type, stride, pointer, ptrstride ); - LEAVE_GL(); } static void WINAPI wine_glSelectPerfMonitorCountersAMD( GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* counterList ) { void (*func_glSelectPerfMonitorCountersAMD)( GLuint, GLboolean, GLuint, GLint, GLuint* ) = extension_funcs[EXT_glSelectPerfMonitorCountersAMD]; TRACE("(%d, %d, %d, %d, %p)\n", monitor, enable, group, numCounters, counterList ); - ENTER_GL(); func_glSelectPerfMonitorCountersAMD( monitor, enable, group, numCounters, counterList ); - LEAVE_GL(); } static void WINAPI wine_glSelectTextureCoordSetSGIS( GLenum target ) { void (*func_glSelectTextureCoordSetSGIS)( GLenum ) = extension_funcs[EXT_glSelectTextureCoordSetSGIS]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glSelectTextureCoordSetSGIS( target ); - LEAVE_GL(); } static void WINAPI wine_glSelectTextureSGIS( GLenum target ) { void (*func_glSelectTextureSGIS)( GLenum ) = extension_funcs[EXT_glSelectTextureSGIS]; TRACE("(%d)\n", target ); - ENTER_GL(); func_glSelectTextureSGIS( target ); - LEAVE_GL(); } static void WINAPI wine_glSeparableFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* row, GLvoid* column ) { void (*func_glSeparableFilter2D)( GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, GLvoid*, GLvoid* ) = extension_funcs[EXT_glSeparableFilter2D]; TRACE("(%d, %d, %d, %d, %d, %d, %p, %p)\n", target, internalformat, width, height, format, type, row, column ); - ENTER_GL(); func_glSeparableFilter2D( target, internalformat, width, height, format, type, row, column ); - LEAVE_GL(); } static void WINAPI wine_glSeparableFilter2DEXT( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* row, GLvoid* column ) { void (*func_glSeparableFilter2DEXT)( GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, GLvoid*, GLvoid* ) = extension_funcs[EXT_glSeparableFilter2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %p, %p)\n", target, internalformat, width, height, format, type, row, column ); - ENTER_GL(); func_glSeparableFilter2DEXT( target, internalformat, width, height, format, type, row, column ); - LEAVE_GL(); } static void WINAPI wine_glSetFenceAPPLE( GLuint fence ) { void (*func_glSetFenceAPPLE)( GLuint ) = extension_funcs[EXT_glSetFenceAPPLE]; TRACE("(%d)\n", fence ); - ENTER_GL(); func_glSetFenceAPPLE( fence ); - LEAVE_GL(); } static void WINAPI wine_glSetFenceNV( GLuint fence, GLenum condition ) { void (*func_glSetFenceNV)( GLuint, GLenum ) = extension_funcs[EXT_glSetFenceNV]; TRACE("(%d, %d)\n", fence, condition ); - ENTER_GL(); func_glSetFenceNV( fence, condition ); - LEAVE_GL(); } static void WINAPI wine_glSetFragmentShaderConstantATI( GLuint dst, GLfloat* value ) { void (*func_glSetFragmentShaderConstantATI)( GLuint, GLfloat* ) = extension_funcs[EXT_glSetFragmentShaderConstantATI]; TRACE("(%d, %p)\n", dst, value ); - ENTER_GL(); func_glSetFragmentShaderConstantATI( dst, value ); - LEAVE_GL(); } static void WINAPI wine_glSetInvariantEXT( GLuint id, GLenum type, GLvoid* addr ) { void (*func_glSetInvariantEXT)( GLuint, GLenum, GLvoid* ) = extension_funcs[EXT_glSetInvariantEXT]; TRACE("(%d, %d, %p)\n", id, type, addr ); - ENTER_GL(); func_glSetInvariantEXT( id, type, addr ); - LEAVE_GL(); } static void WINAPI wine_glSetLocalConstantEXT( GLuint id, GLenum type, GLvoid* addr ) { void (*func_glSetLocalConstantEXT)( GLuint, GLenum, GLvoid* ) = extension_funcs[EXT_glSetLocalConstantEXT]; TRACE("(%d, %d, %p)\n", id, type, addr ); - ENTER_GL(); func_glSetLocalConstantEXT( id, type, addr ); - LEAVE_GL(); } static void WINAPI wine_glSetMultisamplefvAMD( GLenum pname, GLuint index, GLfloat* val ) { void (*func_glSetMultisamplefvAMD)( GLenum, GLuint, GLfloat* ) = extension_funcs[EXT_glSetMultisamplefvAMD]; TRACE("(%d, %d, %p)\n", pname, index, val ); - ENTER_GL(); func_glSetMultisamplefvAMD( pname, index, val ); - LEAVE_GL(); } static void WINAPI wine_glShaderBinary( GLsizei count, GLuint* shaders, GLenum binaryformat, GLvoid* binary, GLsizei length ) { void (*func_glShaderBinary)( GLsizei, GLuint*, GLenum, GLvoid*, GLsizei ) = extension_funcs[EXT_glShaderBinary]; TRACE("(%d, %p, %d, %p, %d)\n", count, shaders, binaryformat, binary, length ); - ENTER_GL(); func_glShaderBinary( count, shaders, binaryformat, binary, length ); - LEAVE_GL(); } static void WINAPI wine_glShaderOp1EXT( GLenum op, GLuint res, GLuint arg1 ) { void (*func_glShaderOp1EXT)( GLenum, GLuint, GLuint ) = extension_funcs[EXT_glShaderOp1EXT]; TRACE("(%d, %d, %d)\n", op, res, arg1 ); - ENTER_GL(); func_glShaderOp1EXT( op, res, arg1 ); - LEAVE_GL(); } static void WINAPI wine_glShaderOp2EXT( GLenum op, GLuint res, GLuint arg1, GLuint arg2 ) { void (*func_glShaderOp2EXT)( GLenum, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glShaderOp2EXT]; TRACE("(%d, %d, %d, %d)\n", op, res, arg1, arg2 ); - ENTER_GL(); func_glShaderOp2EXT( op, res, arg1, arg2 ); - LEAVE_GL(); } static void WINAPI wine_glShaderOp3EXT( GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3 ) { void (*func_glShaderOp3EXT)( GLenum, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glShaderOp3EXT]; TRACE("(%d, %d, %d, %d, %d)\n", op, res, arg1, arg2, arg3 ); - ENTER_GL(); func_glShaderOp3EXT( op, res, arg1, arg2, arg3 ); - LEAVE_GL(); } static void WINAPI wine_glShaderSource( GLuint shader, GLsizei count, char* const* string, GLint* length ) { void (*func_glShaderSource)( GLuint, GLsizei, char* const*, GLint* ) = extension_funcs[EXT_glShaderSource]; TRACE("(%d, %d, %p, %p)\n", shader, count, string, length ); - ENTER_GL(); func_glShaderSource( shader, count, string, length ); - LEAVE_GL(); } static void WINAPI wine_glShaderSourceARB( unsigned int shaderObj, GLsizei count, char** string, GLint* length ) { void (*func_glShaderSourceARB)( unsigned int, GLsizei, char**, GLint* ) = extension_funcs[EXT_glShaderSourceARB]; TRACE("(%d, %d, %p, %p)\n", shaderObj, count, string, length ); - ENTER_GL(); func_glShaderSourceARB( shaderObj, count, string, length ); - LEAVE_GL(); } static void WINAPI wine_glSharpenTexFuncSGIS( GLenum target, GLsizei n, GLfloat* points ) { void (*func_glSharpenTexFuncSGIS)( GLenum, GLsizei, GLfloat* ) = extension_funcs[EXT_glSharpenTexFuncSGIS]; TRACE("(%d, %d, %p)\n", target, n, points ); - ENTER_GL(); func_glSharpenTexFuncSGIS( target, n, points ); - LEAVE_GL(); } static void WINAPI wine_glSpriteParameterfSGIX( GLenum pname, GLfloat param ) { void (*func_glSpriteParameterfSGIX)( GLenum, GLfloat ) = extension_funcs[EXT_glSpriteParameterfSGIX]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glSpriteParameterfSGIX( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glSpriteParameterfvSGIX( GLenum pname, GLfloat* params ) { void (*func_glSpriteParameterfvSGIX)( GLenum, GLfloat* ) = extension_funcs[EXT_glSpriteParameterfvSGIX]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glSpriteParameterfvSGIX( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glSpriteParameteriSGIX( GLenum pname, GLint param ) { void (*func_glSpriteParameteriSGIX)( GLenum, GLint ) = extension_funcs[EXT_glSpriteParameteriSGIX]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glSpriteParameteriSGIX( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glSpriteParameterivSGIX( GLenum pname, GLint* params ) { void (*func_glSpriteParameterivSGIX)( GLenum, GLint* ) = extension_funcs[EXT_glSpriteParameterivSGIX]; TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); func_glSpriteParameterivSGIX( pname, params ); - LEAVE_GL(); } static void WINAPI wine_glStartInstrumentsSGIX( void ) { void (*func_glStartInstrumentsSGIX)( void ) = extension_funcs[EXT_glStartInstrumentsSGIX]; TRACE("()\n"); - ENTER_GL(); func_glStartInstrumentsSGIX( ); - LEAVE_GL(); } static void WINAPI wine_glStencilClearTagEXT( GLsizei stencilTagBits, GLuint stencilClearTag ) { void (*func_glStencilClearTagEXT)( GLsizei, GLuint ) = extension_funcs[EXT_glStencilClearTagEXT]; TRACE("(%d, %d)\n", stencilTagBits, stencilClearTag ); - ENTER_GL(); func_glStencilClearTagEXT( stencilTagBits, stencilClearTag ); - LEAVE_GL(); } static void WINAPI wine_glStencilFillPathInstancedNV( GLsizei numPaths, GLenum pathNameType, GLvoid* paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, GLfloat* transformValues ) { void (*func_glStencilFillPathInstancedNV)( GLsizei, GLenum, GLvoid*, GLuint, GLenum, GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glStencilFillPathInstancedNV]; TRACE("(%d, %d, %p, %d, %d, %d, %d, %p)\n", numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues ); - ENTER_GL(); func_glStencilFillPathInstancedNV( numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues ); - LEAVE_GL(); } static void WINAPI wine_glStencilFillPathNV( GLuint path, GLenum fillMode, GLuint mask ) { void (*func_glStencilFillPathNV)( GLuint, GLenum, GLuint ) = extension_funcs[EXT_glStencilFillPathNV]; TRACE("(%d, %d, %d)\n", path, fillMode, mask ); - ENTER_GL(); func_glStencilFillPathNV( path, fillMode, mask ); - LEAVE_GL(); } static void WINAPI wine_glStencilFuncSeparate( GLenum face, GLenum func, GLint ref, GLuint mask ) { void (*func_glStencilFuncSeparate)( GLenum, GLenum, GLint, GLuint ) = extension_funcs[EXT_glStencilFuncSeparate]; TRACE("(%d, %d, %d, %d)\n", face, func, ref, mask ); - ENTER_GL(); func_glStencilFuncSeparate( face, func, ref, mask ); - LEAVE_GL(); } static void WINAPI wine_glStencilFuncSeparateATI( GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask ) { void (*func_glStencilFuncSeparateATI)( GLenum, GLenum, GLint, GLuint ) = extension_funcs[EXT_glStencilFuncSeparateATI]; TRACE("(%d, %d, %d, %d)\n", frontfunc, backfunc, ref, mask ); - ENTER_GL(); func_glStencilFuncSeparateATI( frontfunc, backfunc, ref, mask ); - LEAVE_GL(); } static void WINAPI wine_glStencilMaskSeparate( GLenum face, GLuint mask ) { void (*func_glStencilMaskSeparate)( GLenum, GLuint ) = extension_funcs[EXT_glStencilMaskSeparate]; TRACE("(%d, %d)\n", face, mask ); - ENTER_GL(); func_glStencilMaskSeparate( face, mask ); - LEAVE_GL(); } static void WINAPI wine_glStencilOpSeparate( GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass ) { void (*func_glStencilOpSeparate)( GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glStencilOpSeparate]; TRACE("(%d, %d, %d, %d)\n", face, sfail, dpfail, dppass ); - ENTER_GL(); func_glStencilOpSeparate( face, sfail, dpfail, dppass ); - LEAVE_GL(); } static void WINAPI wine_glStencilOpSeparateATI( GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass ) { void (*func_glStencilOpSeparateATI)( GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glStencilOpSeparateATI]; TRACE("(%d, %d, %d, %d)\n", face, sfail, dpfail, dppass ); - ENTER_GL(); func_glStencilOpSeparateATI( face, sfail, dpfail, dppass ); - LEAVE_GL(); } static void WINAPI wine_glStencilOpValueAMD( GLenum face, GLuint value ) { void (*func_glStencilOpValueAMD)( GLenum, GLuint ) = extension_funcs[EXT_glStencilOpValueAMD]; TRACE("(%d, %d)\n", face, value ); - ENTER_GL(); func_glStencilOpValueAMD( face, value ); - LEAVE_GL(); } static void WINAPI wine_glStencilStrokePathInstancedNV( GLsizei numPaths, GLenum pathNameType, GLvoid* paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, GLfloat* transformValues ) { void (*func_glStencilStrokePathInstancedNV)( GLsizei, GLenum, GLvoid*, GLuint, GLint, GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glStencilStrokePathInstancedNV]; TRACE("(%d, %d, %p, %d, %d, %d, %d, %p)\n", numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues ); - ENTER_GL(); func_glStencilStrokePathInstancedNV( numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues ); - LEAVE_GL(); } static void WINAPI wine_glStencilStrokePathNV( GLuint path, GLint reference, GLuint mask ) { void (*func_glStencilStrokePathNV)( GLuint, GLint, GLuint ) = extension_funcs[EXT_glStencilStrokePathNV]; TRACE("(%d, %d, %d)\n", path, reference, mask ); - ENTER_GL(); func_glStencilStrokePathNV( path, reference, mask ); - LEAVE_GL(); } static void WINAPI wine_glStopInstrumentsSGIX( GLint marker ) { void (*func_glStopInstrumentsSGIX)( GLint ) = extension_funcs[EXT_glStopInstrumentsSGIX]; TRACE("(%d)\n", marker ); - ENTER_GL(); func_glStopInstrumentsSGIX( marker ); - LEAVE_GL(); } static void WINAPI wine_glStringMarkerGREMEDY( GLsizei len, GLvoid* string ) { void (*func_glStringMarkerGREMEDY)( GLsizei, GLvoid* ) = extension_funcs[EXT_glStringMarkerGREMEDY]; TRACE("(%d, %p)\n", len, string ); - ENTER_GL(); func_glStringMarkerGREMEDY( len, string ); - LEAVE_GL(); } static void WINAPI wine_glSwizzleEXT( GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW ) { void (*func_glSwizzleEXT)( GLuint, GLuint, GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glSwizzleEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", res, in, outX, outY, outZ, outW ); - ENTER_GL(); func_glSwizzleEXT( res, in, outX, outY, outZ, outW ); - LEAVE_GL(); } static void WINAPI wine_glTagSampleBufferSGIX( void ) { void (*func_glTagSampleBufferSGIX)( void ) = extension_funcs[EXT_glTagSampleBufferSGIX]; TRACE("()\n"); - ENTER_GL(); func_glTagSampleBufferSGIX( ); - LEAVE_GL(); } static void WINAPI wine_glTangent3bEXT( GLbyte tx, GLbyte ty, GLbyte tz ) { void (*func_glTangent3bEXT)( GLbyte, GLbyte, GLbyte ) = extension_funcs[EXT_glTangent3bEXT]; TRACE("(%d, %d, %d)\n", tx, ty, tz ); - ENTER_GL(); func_glTangent3bEXT( tx, ty, tz ); - LEAVE_GL(); } static void WINAPI wine_glTangent3bvEXT( GLbyte* v ) { void (*func_glTangent3bvEXT)( GLbyte* ) = extension_funcs[EXT_glTangent3bvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glTangent3bvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glTangent3dEXT( GLdouble tx, GLdouble ty, GLdouble tz ) { void (*func_glTangent3dEXT)( GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glTangent3dEXT]; TRACE("(%f, %f, %f)\n", tx, ty, tz ); - ENTER_GL(); func_glTangent3dEXT( tx, ty, tz ); - LEAVE_GL(); } static void WINAPI wine_glTangent3dvEXT( GLdouble* v ) { void (*func_glTangent3dvEXT)( GLdouble* ) = extension_funcs[EXT_glTangent3dvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glTangent3dvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glTangent3fEXT( GLfloat tx, GLfloat ty, GLfloat tz ) { void (*func_glTangent3fEXT)( GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glTangent3fEXT]; TRACE("(%f, %f, %f)\n", tx, ty, tz ); - ENTER_GL(); func_glTangent3fEXT( tx, ty, tz ); - LEAVE_GL(); } static void WINAPI wine_glTangent3fvEXT( GLfloat* v ) { void (*func_glTangent3fvEXT)( GLfloat* ) = extension_funcs[EXT_glTangent3fvEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glTangent3fvEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glTangent3iEXT( GLint tx, GLint ty, GLint tz ) { void (*func_glTangent3iEXT)( GLint, GLint, GLint ) = extension_funcs[EXT_glTangent3iEXT]; TRACE("(%d, %d, %d)\n", tx, ty, tz ); - ENTER_GL(); func_glTangent3iEXT( tx, ty, tz ); - LEAVE_GL(); } static void WINAPI wine_glTangent3ivEXT( GLint* v ) { void (*func_glTangent3ivEXT)( GLint* ) = extension_funcs[EXT_glTangent3ivEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glTangent3ivEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glTangent3sEXT( GLshort tx, GLshort ty, GLshort tz ) { void (*func_glTangent3sEXT)( GLshort, GLshort, GLshort ) = extension_funcs[EXT_glTangent3sEXT]; TRACE("(%d, %d, %d)\n", tx, ty, tz ); - ENTER_GL(); func_glTangent3sEXT( tx, ty, tz ); - LEAVE_GL(); } static void WINAPI wine_glTangent3svEXT( GLshort* v ) { void (*func_glTangent3svEXT)( GLshort* ) = extension_funcs[EXT_glTangent3svEXT]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glTangent3svEXT( v ); - LEAVE_GL(); } static void WINAPI wine_glTangentPointerEXT( GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glTangentPointerEXT)( GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glTangentPointerEXT]; TRACE("(%d, %d, %p)\n", type, stride, pointer ); - ENTER_GL(); func_glTangentPointerEXT( type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glTbufferMask3DFX( GLuint mask ) { void (*func_glTbufferMask3DFX)( GLuint ) = extension_funcs[EXT_glTbufferMask3DFX]; TRACE("(%d)\n", mask ); - ENTER_GL(); func_glTbufferMask3DFX( mask ); - LEAVE_GL(); } static void WINAPI wine_glTessellationFactorAMD( GLfloat factor ) { void (*func_glTessellationFactorAMD)( GLfloat ) = extension_funcs[EXT_glTessellationFactorAMD]; TRACE("(%f)\n", factor ); - ENTER_GL(); func_glTessellationFactorAMD( factor ); - LEAVE_GL(); } static void WINAPI wine_glTessellationModeAMD( GLenum mode ) { void (*func_glTessellationModeAMD)( GLenum ) = extension_funcs[EXT_glTessellationModeAMD]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glTessellationModeAMD( mode ); - LEAVE_GL(); } static GLboolean WINAPI wine_glTestFenceAPPLE( GLuint fence ) { - GLboolean ret_value; GLboolean (*func_glTestFenceAPPLE)( GLuint ) = extension_funcs[EXT_glTestFenceAPPLE]; TRACE("(%d)\n", fence ); - ENTER_GL(); - ret_value = func_glTestFenceAPPLE( fence ); - LEAVE_GL(); - return ret_value; + return func_glTestFenceAPPLE( fence ); } static GLboolean WINAPI wine_glTestFenceNV( GLuint fence ) { - GLboolean ret_value; GLboolean (*func_glTestFenceNV)( GLuint ) = extension_funcs[EXT_glTestFenceNV]; TRACE("(%d)\n", fence ); - ENTER_GL(); - ret_value = func_glTestFenceNV( fence ); - LEAVE_GL(); - return ret_value; + return func_glTestFenceNV( fence ); } static GLboolean WINAPI wine_glTestObjectAPPLE( GLenum object, GLuint name ) { - GLboolean ret_value; GLboolean (*func_glTestObjectAPPLE)( GLenum, GLuint ) = extension_funcs[EXT_glTestObjectAPPLE]; TRACE("(%d, %d)\n", object, name ); - ENTER_GL(); - ret_value = func_glTestObjectAPPLE( object, name ); - LEAVE_GL(); - return ret_value; + return func_glTestObjectAPPLE( object, name ); } static void WINAPI wine_glTexBuffer( GLenum target, GLenum internalformat, GLuint buffer ) { void (*func_glTexBuffer)( GLenum, GLenum, GLuint ) = extension_funcs[EXT_glTexBuffer]; TRACE("(%d, %d, %d)\n", target, internalformat, buffer ); - ENTER_GL(); func_glTexBuffer( target, internalformat, buffer ); - LEAVE_GL(); } static void WINAPI wine_glTexBufferARB( GLenum target, GLenum internalformat, GLuint buffer ) { void (*func_glTexBufferARB)( GLenum, GLenum, GLuint ) = extension_funcs[EXT_glTexBufferARB]; TRACE("(%d, %d, %d)\n", target, internalformat, buffer ); - ENTER_GL(); func_glTexBufferARB( target, internalformat, buffer ); - LEAVE_GL(); } static void WINAPI wine_glTexBufferEXT( GLenum target, GLenum internalformat, GLuint buffer ) { void (*func_glTexBufferEXT)( GLenum, GLenum, GLuint ) = extension_funcs[EXT_glTexBufferEXT]; TRACE("(%d, %d, %d)\n", target, internalformat, buffer ); - ENTER_GL(); func_glTexBufferEXT( target, internalformat, buffer ); - LEAVE_GL(); } static void WINAPI wine_glTexBumpParameterfvATI( GLenum pname, GLfloat* param ) { void (*func_glTexBumpParameterfvATI)( GLenum, GLfloat* ) = extension_funcs[EXT_glTexBumpParameterfvATI]; TRACE("(%d, %p)\n", pname, param ); - ENTER_GL(); func_glTexBumpParameterfvATI( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glTexBumpParameterivATI( GLenum pname, GLint* param ) { void (*func_glTexBumpParameterivATI)( GLenum, GLint* ) = extension_funcs[EXT_glTexBumpParameterivATI]; TRACE("(%d, %p)\n", pname, param ); - ENTER_GL(); func_glTexBumpParameterivATI( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord1hNV( unsigned short s ) { void (*func_glTexCoord1hNV)( unsigned short ) = extension_funcs[EXT_glTexCoord1hNV]; TRACE("(%d)\n", s ); - ENTER_GL(); func_glTexCoord1hNV( s ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord1hvNV( unsigned short* v ) { void (*func_glTexCoord1hvNV)( unsigned short* ) = extension_funcs[EXT_glTexCoord1hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glTexCoord1hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fColor3fVertex3fSUN( GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glTexCoord2fColor3fVertex3fSUN)( GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glTexCoord2fColor3fVertex3fSUN]; TRACE("(%f, %f, %f, %f, %f, %f, %f, %f)\n", s, t, r, g, b, x, y, z ); - ENTER_GL(); func_glTexCoord2fColor3fVertex3fSUN( s, t, r, g, b, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fColor3fVertex3fvSUN( GLfloat* tc, GLfloat* c, GLfloat* v ) { void (*func_glTexCoord2fColor3fVertex3fvSUN)( GLfloat*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glTexCoord2fColor3fVertex3fvSUN]; TRACE("(%p, %p, %p)\n", tc, c, v ); - ENTER_GL(); func_glTexCoord2fColor3fVertex3fvSUN( tc, c, v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fColor4fNormal3fVertex3fSUN( GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glTexCoord2fColor4fNormal3fVertex3fSUN)( GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glTexCoord2fColor4fNormal3fVertex3fSUN]; TRACE("(%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f)\n", s, t, r, g, b, a, nx, ny, nz, x, y, z ); - ENTER_GL(); func_glTexCoord2fColor4fNormal3fVertex3fSUN( s, t, r, g, b, a, nx, ny, nz, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fColor4fNormal3fVertex3fvSUN( GLfloat* tc, GLfloat* c, GLfloat* n, GLfloat* v ) { void (*func_glTexCoord2fColor4fNormal3fVertex3fvSUN)( GLfloat*, GLfloat*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glTexCoord2fColor4fNormal3fVertex3fvSUN]; TRACE("(%p, %p, %p, %p)\n", tc, c, n, v ); - ENTER_GL(); func_glTexCoord2fColor4fNormal3fVertex3fvSUN( tc, c, n, v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fColor4ubVertex3fSUN( GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glTexCoord2fColor4ubVertex3fSUN)( GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glTexCoord2fColor4ubVertex3fSUN]; TRACE("(%f, %f, %d, %d, %d, %d, %f, %f, %f)\n", s, t, r, g, b, a, x, y, z ); - ENTER_GL(); func_glTexCoord2fColor4ubVertex3fSUN( s, t, r, g, b, a, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fColor4ubVertex3fvSUN( GLfloat* tc, GLubyte* c, GLfloat* v ) { void (*func_glTexCoord2fColor4ubVertex3fvSUN)( GLfloat*, GLubyte*, GLfloat* ) = extension_funcs[EXT_glTexCoord2fColor4ubVertex3fvSUN]; TRACE("(%p, %p, %p)\n", tc, c, v ); - ENTER_GL(); func_glTexCoord2fColor4ubVertex3fvSUN( tc, c, v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fNormal3fVertex3fSUN( GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glTexCoord2fNormal3fVertex3fSUN)( GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glTexCoord2fNormal3fVertex3fSUN]; TRACE("(%f, %f, %f, %f, %f, %f, %f, %f)\n", s, t, nx, ny, nz, x, y, z ); - ENTER_GL(); func_glTexCoord2fNormal3fVertex3fSUN( s, t, nx, ny, nz, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fNormal3fVertex3fvSUN( GLfloat* tc, GLfloat* n, GLfloat* v ) { void (*func_glTexCoord2fNormal3fVertex3fvSUN)( GLfloat*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glTexCoord2fNormal3fVertex3fvSUN]; TRACE("(%p, %p, %p)\n", tc, n, v ); - ENTER_GL(); func_glTexCoord2fNormal3fVertex3fvSUN( tc, n, v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fVertex3fSUN( GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glTexCoord2fVertex3fSUN)( GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glTexCoord2fVertex3fSUN]; TRACE("(%f, %f, %f, %f, %f)\n", s, t, x, y, z ); - ENTER_GL(); func_glTexCoord2fVertex3fSUN( s, t, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2fVertex3fvSUN( GLfloat* tc, GLfloat* v ) { void (*func_glTexCoord2fVertex3fvSUN)( GLfloat*, GLfloat* ) = extension_funcs[EXT_glTexCoord2fVertex3fvSUN]; TRACE("(%p, %p)\n", tc, v ); - ENTER_GL(); func_glTexCoord2fVertex3fvSUN( tc, v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2hNV( unsigned short s, unsigned short t ) { void (*func_glTexCoord2hNV)( unsigned short, unsigned short ) = extension_funcs[EXT_glTexCoord2hNV]; TRACE("(%d, %d)\n", s, t ); - ENTER_GL(); func_glTexCoord2hNV( s, t ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord2hvNV( unsigned short* v ) { void (*func_glTexCoord2hvNV)( unsigned short* ) = extension_funcs[EXT_glTexCoord2hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glTexCoord2hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord3hNV( unsigned short s, unsigned short t, unsigned short r ) { void (*func_glTexCoord3hNV)( unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glTexCoord3hNV]; TRACE("(%d, %d, %d)\n", s, t, r ); - ENTER_GL(); func_glTexCoord3hNV( s, t, r ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord3hvNV( unsigned short* v ) { void (*func_glTexCoord3hvNV)( unsigned short* ) = extension_funcs[EXT_glTexCoord3hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glTexCoord3hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord4fColor4fNormal3fVertex4fSUN( GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glTexCoord4fColor4fNormal3fVertex4fSUN)( GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glTexCoord4fColor4fNormal3fVertex4fSUN]; TRACE("(%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f)\n", s, t, p, q, r, g, b, a, nx, ny, nz, x, y, z, w ); - ENTER_GL(); func_glTexCoord4fColor4fNormal3fVertex4fSUN( s, t, p, q, r, g, b, a, nx, ny, nz, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord4fColor4fNormal3fVertex4fvSUN( GLfloat* tc, GLfloat* c, GLfloat* n, GLfloat* v ) { void (*func_glTexCoord4fColor4fNormal3fVertex4fvSUN)( GLfloat*, GLfloat*, GLfloat*, GLfloat* ) = extension_funcs[EXT_glTexCoord4fColor4fNormal3fVertex4fvSUN]; TRACE("(%p, %p, %p, %p)\n", tc, c, n, v ); - ENTER_GL(); func_glTexCoord4fColor4fNormal3fVertex4fvSUN( tc, c, n, v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord4fVertex4fSUN( GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glTexCoord4fVertex4fSUN)( GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glTexCoord4fVertex4fSUN]; TRACE("(%f, %f, %f, %f, %f, %f, %f, %f)\n", s, t, p, q, x, y, z, w ); - ENTER_GL(); func_glTexCoord4fVertex4fSUN( s, t, p, q, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord4fVertex4fvSUN( GLfloat* tc, GLfloat* v ) { void (*func_glTexCoord4fVertex4fvSUN)( GLfloat*, GLfloat* ) = extension_funcs[EXT_glTexCoord4fVertex4fvSUN]; TRACE("(%p, %p)\n", tc, v ); - ENTER_GL(); func_glTexCoord4fVertex4fvSUN( tc, v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord4hNV( unsigned short s, unsigned short t, unsigned short r, unsigned short q ) { void (*func_glTexCoord4hNV)( unsigned short, unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glTexCoord4hNV]; TRACE("(%d, %d, %d, %d)\n", s, t, r, q ); - ENTER_GL(); func_glTexCoord4hNV( s, t, r, q ); - LEAVE_GL(); } static void WINAPI wine_glTexCoord4hvNV( unsigned short* v ) { void (*func_glTexCoord4hvNV)( unsigned short* ) = extension_funcs[EXT_glTexCoord4hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glTexCoord4hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordFormatNV( GLint size, GLenum type, GLsizei stride ) { void (*func_glTexCoordFormatNV)( GLint, GLenum, GLsizei ) = extension_funcs[EXT_glTexCoordFormatNV]; TRACE("(%d, %d, %d)\n", size, type, stride ); - ENTER_GL(); func_glTexCoordFormatNV( size, type, stride ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordP1ui( GLenum type, GLuint coords ) { void (*func_glTexCoordP1ui)( GLenum, GLuint ) = extension_funcs[EXT_glTexCoordP1ui]; TRACE("(%d, %d)\n", type, coords ); - ENTER_GL(); func_glTexCoordP1ui( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordP1uiv( GLenum type, GLuint* coords ) { void (*func_glTexCoordP1uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glTexCoordP1uiv]; TRACE("(%d, %p)\n", type, coords ); - ENTER_GL(); func_glTexCoordP1uiv( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordP2ui( GLenum type, GLuint coords ) { void (*func_glTexCoordP2ui)( GLenum, GLuint ) = extension_funcs[EXT_glTexCoordP2ui]; TRACE("(%d, %d)\n", type, coords ); - ENTER_GL(); func_glTexCoordP2ui( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordP2uiv( GLenum type, GLuint* coords ) { void (*func_glTexCoordP2uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glTexCoordP2uiv]; TRACE("(%d, %p)\n", type, coords ); - ENTER_GL(); func_glTexCoordP2uiv( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordP3ui( GLenum type, GLuint coords ) { void (*func_glTexCoordP3ui)( GLenum, GLuint ) = extension_funcs[EXT_glTexCoordP3ui]; TRACE("(%d, %d)\n", type, coords ); - ENTER_GL(); func_glTexCoordP3ui( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordP3uiv( GLenum type, GLuint* coords ) { void (*func_glTexCoordP3uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glTexCoordP3uiv]; TRACE("(%d, %p)\n", type, coords ); - ENTER_GL(); func_glTexCoordP3uiv( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordP4ui( GLenum type, GLuint coords ) { void (*func_glTexCoordP4ui)( GLenum, GLuint ) = extension_funcs[EXT_glTexCoordP4ui]; TRACE("(%d, %d)\n", type, coords ); - ENTER_GL(); func_glTexCoordP4ui( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordP4uiv( GLenum type, GLuint* coords ) { void (*func_glTexCoordP4uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glTexCoordP4uiv]; TRACE("(%d, %p)\n", type, coords ); - ENTER_GL(); func_glTexCoordP4uiv( type, coords ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordPointerEXT( GLint size, GLenum type, GLsizei stride, GLsizei count, GLvoid* pointer ) { void (*func_glTexCoordPointerEXT)( GLint, GLenum, GLsizei, GLsizei, GLvoid* ) = extension_funcs[EXT_glTexCoordPointerEXT]; TRACE("(%d, %d, %d, %d, %p)\n", size, type, stride, count, pointer ); - ENTER_GL(); func_glTexCoordPointerEXT( size, type, stride, count, pointer ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordPointerListIBM( GLint size, GLenum type, GLint stride, GLvoid** pointer, GLint ptrstride ) { void (*func_glTexCoordPointerListIBM)( GLint, GLenum, GLint, GLvoid**, GLint ) = extension_funcs[EXT_glTexCoordPointerListIBM]; TRACE("(%d, %d, %d, %p, %d)\n", size, type, stride, pointer, ptrstride ); - ENTER_GL(); func_glTexCoordPointerListIBM( size, type, stride, pointer, ptrstride ); - LEAVE_GL(); } static void WINAPI wine_glTexCoordPointervINTEL( GLint size, GLenum type, GLvoid** pointer ) { void (*func_glTexCoordPointervINTEL)( GLint, GLenum, GLvoid** ) = extension_funcs[EXT_glTexCoordPointervINTEL]; TRACE("(%d, %d, %p)\n", size, type, pointer ); - ENTER_GL(); func_glTexCoordPointervINTEL( size, type, pointer ); - LEAVE_GL(); } static void WINAPI wine_glTexFilterFuncSGIS( GLenum target, GLenum filter, GLsizei n, GLfloat* weights ) { void (*func_glTexFilterFuncSGIS)( GLenum, GLenum, GLsizei, GLfloat* ) = extension_funcs[EXT_glTexFilterFuncSGIS]; TRACE("(%d, %d, %d, %p)\n", target, filter, n, weights ); - ENTER_GL(); func_glTexFilterFuncSGIS( target, filter, n, weights ); - LEAVE_GL(); } static void WINAPI wine_glTexImage2DMultisample( GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations ) { void (*func_glTexImage2DMultisample)( GLenum, GLsizei, GLint, GLsizei, GLsizei, GLboolean ) = extension_funcs[EXT_glTexImage2DMultisample]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, samples, internalformat, width, height, fixedsamplelocations ); - ENTER_GL(); func_glTexImage2DMultisample( target, samples, internalformat, width, height, fixedsamplelocations ); - LEAVE_GL(); } static void WINAPI wine_glTexImage2DMultisampleCoverageNV( GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations ) { void (*func_glTexImage2DMultisampleCoverageNV)( GLenum, GLsizei, GLsizei, GLint, GLsizei, GLsizei, GLboolean ) = extension_funcs[EXT_glTexImage2DMultisampleCoverageNV]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations ); - ENTER_GL(); func_glTexImage2DMultisampleCoverageNV( target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations ); - LEAVE_GL(); } static void WINAPI wine_glTexImage3D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTexImage3D)( GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTexImage3D]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, depth, border, format, type, pixels ); - ENTER_GL(); func_glTexImage3D( target, level, internalformat, width, height, depth, border, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTexImage3DEXT( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTexImage3DEXT)( GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTexImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, depth, border, format, type, pixels ); - ENTER_GL(); func_glTexImage3DEXT( target, level, internalformat, width, height, depth, border, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTexImage3DMultisample( GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations ) { void (*func_glTexImage3DMultisample)( GLenum, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean ) = extension_funcs[EXT_glTexImage3DMultisample]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", target, samples, internalformat, width, height, depth, fixedsamplelocations ); - ENTER_GL(); func_glTexImage3DMultisample( target, samples, internalformat, width, height, depth, fixedsamplelocations ); - LEAVE_GL(); } static void WINAPI wine_glTexImage3DMultisampleCoverageNV( GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations ) { void (*func_glTexImage3DMultisampleCoverageNV)( GLenum, GLsizei, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean ) = extension_funcs[EXT_glTexImage3DMultisampleCoverageNV]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations ); - ENTER_GL(); func_glTexImage3DMultisampleCoverageNV( target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations ); - LEAVE_GL(); } static void WINAPI wine_glTexImage4DSGIS( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTexImage4DSGIS)( GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTexImage4DSGIS]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, depth, size4d, border, format, type, pixels ); - ENTER_GL(); func_glTexImage4DSGIS( target, level, internalformat, width, height, depth, size4d, border, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTexParameterIiv( GLenum target, GLenum pname, GLint* params ) { void (*func_glTexParameterIiv)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glTexParameterIiv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glTexParameterIiv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glTexParameterIivEXT( GLenum target, GLenum pname, GLint* params ) { void (*func_glTexParameterIivEXT)( GLenum, GLenum, GLint* ) = extension_funcs[EXT_glTexParameterIivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glTexParameterIivEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glTexParameterIuiv( GLenum target, GLenum pname, GLuint* params ) { void (*func_glTexParameterIuiv)( GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glTexParameterIuiv]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glTexParameterIuiv( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glTexParameterIuivEXT( GLenum target, GLenum pname, GLuint* params ) { void (*func_glTexParameterIuivEXT)( GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glTexParameterIuivEXT]; TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); func_glTexParameterIuivEXT( target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glTexRenderbufferNV( GLenum target, GLuint renderbuffer ) { void (*func_glTexRenderbufferNV)( GLenum, GLuint ) = extension_funcs[EXT_glTexRenderbufferNV]; TRACE("(%d, %d)\n", target, renderbuffer ); - ENTER_GL(); func_glTexRenderbufferNV( target, renderbuffer ); - LEAVE_GL(); } static void WINAPI wine_glTexStorage1D( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width ) { void (*func_glTexStorage1D)( GLenum, GLsizei, GLenum, GLsizei ) = extension_funcs[EXT_glTexStorage1D]; TRACE("(%d, %d, %d, %d)\n", target, levels, internalformat, width ); - ENTER_GL(); func_glTexStorage1D( target, levels, internalformat, width ); - LEAVE_GL(); } static void WINAPI wine_glTexStorage2D( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glTexStorage2D)( GLenum, GLsizei, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glTexStorage2D]; TRACE("(%d, %d, %d, %d, %d)\n", target, levels, internalformat, width, height ); - ENTER_GL(); func_glTexStorage2D( target, levels, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glTexStorage3D( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth ) { void (*func_glTexStorage3D)( GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei ) = extension_funcs[EXT_glTexStorage3D]; TRACE("(%d, %d, %d, %d, %d, %d)\n", target, levels, internalformat, width, height, depth ); - ENTER_GL(); func_glTexStorage3D( target, levels, internalformat, width, height, depth ); - LEAVE_GL(); } static void WINAPI wine_glTexSubImage1DEXT( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTexSubImage1DEXT)( GLenum, GLint, GLint, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTexSubImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, type, pixels ); - ENTER_GL(); func_glTexSubImage1DEXT( target, level, xoffset, width, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTexSubImage2DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTexSubImage2DEXT)( GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTexSubImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, width, height, format, type, pixels ); - ENTER_GL(); func_glTexSubImage2DEXT( target, level, xoffset, yoffset, width, height, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTexSubImage3D)( GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTexSubImage3D]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels ); - ENTER_GL(); func_glTexSubImage3D( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTexSubImage3DEXT)( GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTexSubImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels ); - ENTER_GL(); func_glTexSubImage3DEXT( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTexSubImage4DSGIS( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTexSubImage4DSGIS)( GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTexSubImage4DSGIS]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels ); - ENTER_GL(); func_glTexSubImage4DSGIS( target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTextureBarrierNV( void ) { void (*func_glTextureBarrierNV)( void ) = extension_funcs[EXT_glTextureBarrierNV]; TRACE("()\n"); - ENTER_GL(); func_glTextureBarrierNV( ); - LEAVE_GL(); } static void WINAPI wine_glTextureBufferEXT( GLuint texture, GLenum target, GLenum internalformat, GLuint buffer ) { void (*func_glTextureBufferEXT)( GLuint, GLenum, GLenum, GLuint ) = extension_funcs[EXT_glTextureBufferEXT]; TRACE("(%d, %d, %d, %d)\n", texture, target, internalformat, buffer ); - ENTER_GL(); func_glTextureBufferEXT( texture, target, internalformat, buffer ); - LEAVE_GL(); } static void WINAPI wine_glTextureColorMaskSGIS( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) { void (*func_glTextureColorMaskSGIS)( GLboolean, GLboolean, GLboolean, GLboolean ) = extension_funcs[EXT_glTextureColorMaskSGIS]; TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); func_glTextureColorMaskSGIS( red, green, blue, alpha ); - LEAVE_GL(); } static void WINAPI wine_glTextureImage1DEXT( GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTextureImage1DEXT)( GLuint, GLenum, GLint, GLenum, GLsizei, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTextureImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, internalformat, width, border, format, type, pixels ); - ENTER_GL(); func_glTextureImage1DEXT( texture, target, level, internalformat, width, border, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTextureImage2DEXT( GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTextureImage2DEXT)( GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTextureImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, internalformat, width, height, border, format, type, pixels ); - ENTER_GL(); func_glTextureImage2DEXT( texture, target, level, internalformat, width, height, border, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTextureImage2DMultisampleCoverageNV( GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations ) { void (*func_glTextureImage2DMultisampleCoverageNV)( GLuint, GLenum, GLsizei, GLsizei, GLint, GLsizei, GLsizei, GLboolean ) = extension_funcs[EXT_glTextureImage2DMultisampleCoverageNV]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", texture, target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations ); - ENTER_GL(); func_glTextureImage2DMultisampleCoverageNV( texture, target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations ); - LEAVE_GL(); } static void WINAPI wine_glTextureImage2DMultisampleNV( GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations ) { void (*func_glTextureImage2DMultisampleNV)( GLuint, GLenum, GLsizei, GLint, GLsizei, GLsizei, GLboolean ) = extension_funcs[EXT_glTextureImage2DMultisampleNV]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", texture, target, samples, internalFormat, width, height, fixedSampleLocations ); - ENTER_GL(); func_glTextureImage2DMultisampleNV( texture, target, samples, internalFormat, width, height, fixedSampleLocations ); - LEAVE_GL(); } static void WINAPI wine_glTextureImage3DEXT( GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTextureImage3DEXT)( GLuint, GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTextureImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, internalformat, width, height, depth, border, format, type, pixels ); - ENTER_GL(); func_glTextureImage3DEXT( texture, target, level, internalformat, width, height, depth, border, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTextureImage3DMultisampleCoverageNV( GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations ) { void (*func_glTextureImage3DMultisampleCoverageNV)( GLuint, GLenum, GLsizei, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean ) = extension_funcs[EXT_glTextureImage3DMultisampleCoverageNV]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", texture, target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations ); - ENTER_GL(); func_glTextureImage3DMultisampleCoverageNV( texture, target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations ); - LEAVE_GL(); } static void WINAPI wine_glTextureImage3DMultisampleNV( GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations ) { void (*func_glTextureImage3DMultisampleNV)( GLuint, GLenum, GLsizei, GLint, GLsizei, GLsizei, GLsizei, GLboolean ) = extension_funcs[EXT_glTextureImage3DMultisampleNV]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", texture, target, samples, internalFormat, width, height, depth, fixedSampleLocations ); - ENTER_GL(); func_glTextureImage3DMultisampleNV( texture, target, samples, internalFormat, width, height, depth, fixedSampleLocations ); - LEAVE_GL(); } static void WINAPI wine_glTextureLightEXT( GLenum pname ) { void (*func_glTextureLightEXT)( GLenum ) = extension_funcs[EXT_glTextureLightEXT]; TRACE("(%d)\n", pname ); - ENTER_GL(); func_glTextureLightEXT( pname ); - LEAVE_GL(); } static void WINAPI wine_glTextureMaterialEXT( GLenum face, GLenum mode ) { void (*func_glTextureMaterialEXT)( GLenum, GLenum ) = extension_funcs[EXT_glTextureMaterialEXT]; TRACE("(%d, %d)\n", face, mode ); - ENTER_GL(); func_glTextureMaterialEXT( face, mode ); - LEAVE_GL(); } static void WINAPI wine_glTextureNormalEXT( GLenum mode ) { void (*func_glTextureNormalEXT)( GLenum ) = extension_funcs[EXT_glTextureNormalEXT]; TRACE("(%d)\n", mode ); - ENTER_GL(); func_glTextureNormalEXT( mode ); - LEAVE_GL(); } static void WINAPI wine_glTextureParameterIivEXT( GLuint texture, GLenum target, GLenum pname, GLint* params ) { void (*func_glTextureParameterIivEXT)( GLuint, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glTextureParameterIivEXT]; TRACE("(%d, %d, %d, %p)\n", texture, target, pname, params ); - ENTER_GL(); func_glTextureParameterIivEXT( texture, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glTextureParameterIuivEXT( GLuint texture, GLenum target, GLenum pname, GLuint* params ) { void (*func_glTextureParameterIuivEXT)( GLuint, GLenum, GLenum, GLuint* ) = extension_funcs[EXT_glTextureParameterIuivEXT]; TRACE("(%d, %d, %d, %p)\n", texture, target, pname, params ); - ENTER_GL(); func_glTextureParameterIuivEXT( texture, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glTextureParameterfEXT( GLuint texture, GLenum target, GLenum pname, GLfloat param ) { void (*func_glTextureParameterfEXT)( GLuint, GLenum, GLenum, GLfloat ) = extension_funcs[EXT_glTextureParameterfEXT]; TRACE("(%d, %d, %d, %f)\n", texture, target, pname, param ); - ENTER_GL(); func_glTextureParameterfEXT( texture, target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glTextureParameterfvEXT( GLuint texture, GLenum target, GLenum pname, GLfloat* params ) { void (*func_glTextureParameterfvEXT)( GLuint, GLenum, GLenum, GLfloat* ) = extension_funcs[EXT_glTextureParameterfvEXT]; TRACE("(%d, %d, %d, %p)\n", texture, target, pname, params ); - ENTER_GL(); func_glTextureParameterfvEXT( texture, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glTextureParameteriEXT( GLuint texture, GLenum target, GLenum pname, GLint param ) { void (*func_glTextureParameteriEXT)( GLuint, GLenum, GLenum, GLint ) = extension_funcs[EXT_glTextureParameteriEXT]; TRACE("(%d, %d, %d, %d)\n", texture, target, pname, param ); - ENTER_GL(); func_glTextureParameteriEXT( texture, target, pname, param ); - LEAVE_GL(); } static void WINAPI wine_glTextureParameterivEXT( GLuint texture, GLenum target, GLenum pname, GLint* params ) { void (*func_glTextureParameterivEXT)( GLuint, GLenum, GLenum, GLint* ) = extension_funcs[EXT_glTextureParameterivEXT]; TRACE("(%d, %d, %d, %p)\n", texture, target, pname, params ); - ENTER_GL(); func_glTextureParameterivEXT( texture, target, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glTextureRangeAPPLE( GLenum target, GLsizei length, GLvoid* pointer ) { void (*func_glTextureRangeAPPLE)( GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glTextureRangeAPPLE]; TRACE("(%d, %d, %p)\n", target, length, pointer ); - ENTER_GL(); func_glTextureRangeAPPLE( target, length, pointer ); - LEAVE_GL(); } static void WINAPI wine_glTextureRenderbufferEXT( GLuint texture, GLenum target, GLuint renderbuffer ) { void (*func_glTextureRenderbufferEXT)( GLuint, GLenum, GLuint ) = extension_funcs[EXT_glTextureRenderbufferEXT]; TRACE("(%d, %d, %d)\n", texture, target, renderbuffer ); - ENTER_GL(); func_glTextureRenderbufferEXT( texture, target, renderbuffer ); - LEAVE_GL(); } static void WINAPI wine_glTextureStorage1DEXT( GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width ) { void (*func_glTextureStorage1DEXT)( GLuint, GLenum, GLsizei, GLenum, GLsizei ) = extension_funcs[EXT_glTextureStorage1DEXT]; TRACE("(%d, %d, %d, %d, %d)\n", texture, target, levels, internalformat, width ); - ENTER_GL(); func_glTextureStorage1DEXT( texture, target, levels, internalformat, width ); - LEAVE_GL(); } static void WINAPI wine_glTextureStorage2DEXT( GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height ) { void (*func_glTextureStorage2DEXT)( GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei ) = extension_funcs[EXT_glTextureStorage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", texture, target, levels, internalformat, width, height ); - ENTER_GL(); func_glTextureStorage2DEXT( texture, target, levels, internalformat, width, height ); - LEAVE_GL(); } static void WINAPI wine_glTextureStorage3DEXT( GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth ) { void (*func_glTextureStorage3DEXT)( GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei ) = extension_funcs[EXT_glTextureStorage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", texture, target, levels, internalformat, width, height, depth ); - ENTER_GL(); func_glTextureStorage3DEXT( texture, target, levels, internalformat, width, height, depth ); - LEAVE_GL(); } static void WINAPI wine_glTextureSubImage1DEXT( GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTextureSubImage1DEXT)( GLuint, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTextureSubImage1DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, xoffset, width, format, type, pixels ); - ENTER_GL(); func_glTextureSubImage1DEXT( texture, target, level, xoffset, width, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTextureSubImage2DEXT( GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTextureSubImage2DEXT)( GLuint, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTextureSubImage2DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, xoffset, yoffset, width, height, format, type, pixels ); - ENTER_GL(); func_glTextureSubImage2DEXT( texture, target, level, xoffset, yoffset, width, height, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTextureSubImage3DEXT( GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid* pixels ) { void (*func_glTextureSubImage3DEXT)( GLuint, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, GLvoid* ) = extension_funcs[EXT_glTextureSubImage3DEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels ); - ENTER_GL(); func_glTextureSubImage3DEXT( texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels ); - LEAVE_GL(); } static void WINAPI wine_glTrackMatrixNV( GLenum target, GLuint address, GLenum matrix, GLenum transform ) { void (*func_glTrackMatrixNV)( GLenum, GLuint, GLenum, GLenum ) = extension_funcs[EXT_glTrackMatrixNV]; TRACE("(%d, %d, %d, %d)\n", target, address, matrix, transform ); - ENTER_GL(); func_glTrackMatrixNV( target, address, matrix, transform ); - LEAVE_GL(); } static void WINAPI wine_glTransformFeedbackAttribsNV( GLuint count, GLint* attribs, GLenum bufferMode ) { void (*func_glTransformFeedbackAttribsNV)( GLuint, GLint*, GLenum ) = extension_funcs[EXT_glTransformFeedbackAttribsNV]; TRACE("(%d, %p, %d)\n", count, attribs, bufferMode ); - ENTER_GL(); func_glTransformFeedbackAttribsNV( count, attribs, bufferMode ); - LEAVE_GL(); } static void WINAPI wine_glTransformFeedbackStreamAttribsNV( GLsizei count, GLint* attribs, GLsizei nbuffers, GLint* bufstreams, GLenum bufferMode ) { void (*func_glTransformFeedbackStreamAttribsNV)( GLsizei, GLint*, GLsizei, GLint*, GLenum ) = extension_funcs[EXT_glTransformFeedbackStreamAttribsNV]; TRACE("(%d, %p, %d, %p, %d)\n", count, attribs, nbuffers, bufstreams, bufferMode ); - ENTER_GL(); func_glTransformFeedbackStreamAttribsNV( count, attribs, nbuffers, bufstreams, bufferMode ); - LEAVE_GL(); } static void WINAPI wine_glTransformFeedbackVaryings( GLuint program, GLsizei count, char* const* varyings, GLenum bufferMode ) { void (*func_glTransformFeedbackVaryings)( GLuint, GLsizei, char* const*, GLenum ) = extension_funcs[EXT_glTransformFeedbackVaryings]; TRACE("(%d, %d, %p, %d)\n", program, count, varyings, bufferMode ); - ENTER_GL(); func_glTransformFeedbackVaryings( program, count, varyings, bufferMode ); - LEAVE_GL(); } static void WINAPI wine_glTransformFeedbackVaryingsEXT( GLuint program, GLsizei count, char** varyings, GLenum bufferMode ) { void (*func_glTransformFeedbackVaryingsEXT)( GLuint, GLsizei, char**, GLenum ) = extension_funcs[EXT_glTransformFeedbackVaryingsEXT]; TRACE("(%d, %d, %p, %d)\n", program, count, varyings, bufferMode ); - ENTER_GL(); func_glTransformFeedbackVaryingsEXT( program, count, varyings, bufferMode ); - LEAVE_GL(); } static void WINAPI wine_glTransformFeedbackVaryingsNV( GLuint program, GLsizei count, GLint* locations, GLenum bufferMode ) { void (*func_glTransformFeedbackVaryingsNV)( GLuint, GLsizei, GLint*, GLenum ) = extension_funcs[EXT_glTransformFeedbackVaryingsNV]; TRACE("(%d, %d, %p, %d)\n", program, count, locations, bufferMode ); - ENTER_GL(); func_glTransformFeedbackVaryingsNV( program, count, locations, bufferMode ); - LEAVE_GL(); } static void WINAPI wine_glTransformPathNV( GLuint resultPath, GLuint srcPath, GLenum transformType, GLfloat* transformValues ) { void (*func_glTransformPathNV)( GLuint, GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glTransformPathNV]; TRACE("(%d, %d, %d, %p)\n", resultPath, srcPath, transformType, transformValues ); - ENTER_GL(); func_glTransformPathNV( resultPath, srcPath, transformType, transformValues ); - LEAVE_GL(); } static void WINAPI wine_glUniform1d( GLint location, GLdouble x ) { void (*func_glUniform1d)( GLint, GLdouble ) = extension_funcs[EXT_glUniform1d]; TRACE("(%d, %f)\n", location, x ); - ENTER_GL(); func_glUniform1d( location, x ); - LEAVE_GL(); } static void WINAPI wine_glUniform1dv( GLint location, GLsizei count, GLdouble* value ) { void (*func_glUniform1dv)( GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glUniform1dv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform1dv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform1f( GLint location, GLfloat v0 ) { void (*func_glUniform1f)( GLint, GLfloat ) = extension_funcs[EXT_glUniform1f]; TRACE("(%d, %f)\n", location, v0 ); - ENTER_GL(); func_glUniform1f( location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glUniform1fARB( GLint location, GLfloat v0 ) { void (*func_glUniform1fARB)( GLint, GLfloat ) = extension_funcs[EXT_glUniform1fARB]; TRACE("(%d, %f)\n", location, v0 ); - ENTER_GL(); func_glUniform1fARB( location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glUniform1fv( GLint location, GLsizei count, GLfloat* value ) { void (*func_glUniform1fv)( GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glUniform1fv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform1fv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform1fvARB( GLint location, GLsizei count, GLfloat* value ) { void (*func_glUniform1fvARB)( GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glUniform1fvARB]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform1fvARB( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform1i( GLint location, GLint v0 ) { void (*func_glUniform1i)( GLint, GLint ) = extension_funcs[EXT_glUniform1i]; TRACE("(%d, %d)\n", location, v0 ); - ENTER_GL(); func_glUniform1i( location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glUniform1i64NV( GLint location, INT64 x ) { void (*func_glUniform1i64NV)( GLint, INT64 ) = extension_funcs[EXT_glUniform1i64NV]; TRACE("(%d, %s)\n", location, wine_dbgstr_longlong(x) ); - ENTER_GL(); func_glUniform1i64NV( location, x ); - LEAVE_GL(); } static void WINAPI wine_glUniform1i64vNV( GLint location, GLsizei count, INT64* value ) { void (*func_glUniform1i64vNV)( GLint, GLsizei, INT64* ) = extension_funcs[EXT_glUniform1i64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform1i64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform1iARB( GLint location, GLint v0 ) { void (*func_glUniform1iARB)( GLint, GLint ) = extension_funcs[EXT_glUniform1iARB]; TRACE("(%d, %d)\n", location, v0 ); - ENTER_GL(); func_glUniform1iARB( location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glUniform1iv( GLint location, GLsizei count, GLint* value ) { void (*func_glUniform1iv)( GLint, GLsizei, GLint* ) = extension_funcs[EXT_glUniform1iv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform1iv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform1ivARB( GLint location, GLsizei count, GLint* value ) { void (*func_glUniform1ivARB)( GLint, GLsizei, GLint* ) = extension_funcs[EXT_glUniform1ivARB]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform1ivARB( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform1ui( GLint location, GLuint v0 ) { void (*func_glUniform1ui)( GLint, GLuint ) = extension_funcs[EXT_glUniform1ui]; TRACE("(%d, %d)\n", location, v0 ); - ENTER_GL(); func_glUniform1ui( location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glUniform1ui64NV( GLint location, UINT64 x ) { void (*func_glUniform1ui64NV)( GLint, UINT64 ) = extension_funcs[EXT_glUniform1ui64NV]; TRACE("(%d, %s)\n", location, wine_dbgstr_longlong(x) ); - ENTER_GL(); func_glUniform1ui64NV( location, x ); - LEAVE_GL(); } static void WINAPI wine_glUniform1ui64vNV( GLint location, GLsizei count, UINT64* value ) { void (*func_glUniform1ui64vNV)( GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glUniform1ui64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform1ui64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform1uiEXT( GLint location, GLuint v0 ) { void (*func_glUniform1uiEXT)( GLint, GLuint ) = extension_funcs[EXT_glUniform1uiEXT]; TRACE("(%d, %d)\n", location, v0 ); - ENTER_GL(); func_glUniform1uiEXT( location, v0 ); - LEAVE_GL(); } static void WINAPI wine_glUniform1uiv( GLint location, GLsizei count, GLuint* value ) { void (*func_glUniform1uiv)( GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glUniform1uiv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform1uiv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform1uivEXT( GLint location, GLsizei count, GLuint* value ) { void (*func_glUniform1uivEXT)( GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glUniform1uivEXT]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform1uivEXT( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform2d( GLint location, GLdouble x, GLdouble y ) { void (*func_glUniform2d)( GLint, GLdouble, GLdouble ) = extension_funcs[EXT_glUniform2d]; TRACE("(%d, %f, %f)\n", location, x, y ); - ENTER_GL(); func_glUniform2d( location, x, y ); - LEAVE_GL(); } static void WINAPI wine_glUniform2dv( GLint location, GLsizei count, GLdouble* value ) { void (*func_glUniform2dv)( GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glUniform2dv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform2dv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform2f( GLint location, GLfloat v0, GLfloat v1 ) { void (*func_glUniform2f)( GLint, GLfloat, GLfloat ) = extension_funcs[EXT_glUniform2f]; TRACE("(%d, %f, %f)\n", location, v0, v1 ); - ENTER_GL(); func_glUniform2f( location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glUniform2fARB( GLint location, GLfloat v0, GLfloat v1 ) { void (*func_glUniform2fARB)( GLint, GLfloat, GLfloat ) = extension_funcs[EXT_glUniform2fARB]; TRACE("(%d, %f, %f)\n", location, v0, v1 ); - ENTER_GL(); func_glUniform2fARB( location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glUniform2fv( GLint location, GLsizei count, GLfloat* value ) { void (*func_glUniform2fv)( GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glUniform2fv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform2fv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform2fvARB( GLint location, GLsizei count, GLfloat* value ) { void (*func_glUniform2fvARB)( GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glUniform2fvARB]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform2fvARB( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform2i( GLint location, GLint v0, GLint v1 ) { void (*func_glUniform2i)( GLint, GLint, GLint ) = extension_funcs[EXT_glUniform2i]; TRACE("(%d, %d, %d)\n", location, v0, v1 ); - ENTER_GL(); func_glUniform2i( location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glUniform2i64NV( GLint location, INT64 x, INT64 y ) { void (*func_glUniform2i64NV)( GLint, INT64, INT64 ) = extension_funcs[EXT_glUniform2i64NV]; TRACE("(%d, %s, %s)\n", location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y) ); - ENTER_GL(); func_glUniform2i64NV( location, x, y ); - LEAVE_GL(); } static void WINAPI wine_glUniform2i64vNV( GLint location, GLsizei count, INT64* value ) { void (*func_glUniform2i64vNV)( GLint, GLsizei, INT64* ) = extension_funcs[EXT_glUniform2i64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform2i64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform2iARB( GLint location, GLint v0, GLint v1 ) { void (*func_glUniform2iARB)( GLint, GLint, GLint ) = extension_funcs[EXT_glUniform2iARB]; TRACE("(%d, %d, %d)\n", location, v0, v1 ); - ENTER_GL(); func_glUniform2iARB( location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glUniform2iv( GLint location, GLsizei count, GLint* value ) { void (*func_glUniform2iv)( GLint, GLsizei, GLint* ) = extension_funcs[EXT_glUniform2iv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform2iv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform2ivARB( GLint location, GLsizei count, GLint* value ) { void (*func_glUniform2ivARB)( GLint, GLsizei, GLint* ) = extension_funcs[EXT_glUniform2ivARB]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform2ivARB( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform2ui( GLint location, GLuint v0, GLuint v1 ) { void (*func_glUniform2ui)( GLint, GLuint, GLuint ) = extension_funcs[EXT_glUniform2ui]; TRACE("(%d, %d, %d)\n", location, v0, v1 ); - ENTER_GL(); func_glUniform2ui( location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glUniform2ui64NV( GLint location, UINT64 x, UINT64 y ) { void (*func_glUniform2ui64NV)( GLint, UINT64, UINT64 ) = extension_funcs[EXT_glUniform2ui64NV]; TRACE("(%d, %s, %s)\n", location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y) ); - ENTER_GL(); func_glUniform2ui64NV( location, x, y ); - LEAVE_GL(); } static void WINAPI wine_glUniform2ui64vNV( GLint location, GLsizei count, UINT64* value ) { void (*func_glUniform2ui64vNV)( GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glUniform2ui64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform2ui64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform2uiEXT( GLint location, GLuint v0, GLuint v1 ) { void (*func_glUniform2uiEXT)( GLint, GLuint, GLuint ) = extension_funcs[EXT_glUniform2uiEXT]; TRACE("(%d, %d, %d)\n", location, v0, v1 ); - ENTER_GL(); func_glUniform2uiEXT( location, v0, v1 ); - LEAVE_GL(); } static void WINAPI wine_glUniform2uiv( GLint location, GLsizei count, GLuint* value ) { void (*func_glUniform2uiv)( GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glUniform2uiv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform2uiv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform2uivEXT( GLint location, GLsizei count, GLuint* value ) { void (*func_glUniform2uivEXT)( GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glUniform2uivEXT]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform2uivEXT( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform3d( GLint location, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glUniform3d)( GLint, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glUniform3d]; TRACE("(%d, %f, %f, %f)\n", location, x, y, z ); - ENTER_GL(); func_glUniform3d( location, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glUniform3dv( GLint location, GLsizei count, GLdouble* value ) { void (*func_glUniform3dv)( GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glUniform3dv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform3dv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform3f( GLint location, GLfloat v0, GLfloat v1, GLfloat v2 ) { void (*func_glUniform3f)( GLint, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glUniform3f]; TRACE("(%d, %f, %f, %f)\n", location, v0, v1, v2 ); - ENTER_GL(); func_glUniform3f( location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glUniform3fARB( GLint location, GLfloat v0, GLfloat v1, GLfloat v2 ) { void (*func_glUniform3fARB)( GLint, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glUniform3fARB]; TRACE("(%d, %f, %f, %f)\n", location, v0, v1, v2 ); - ENTER_GL(); func_glUniform3fARB( location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glUniform3fv( GLint location, GLsizei count, GLfloat* value ) { void (*func_glUniform3fv)( GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glUniform3fv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform3fv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform3fvARB( GLint location, GLsizei count, GLfloat* value ) { void (*func_glUniform3fvARB)( GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glUniform3fvARB]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform3fvARB( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform3i( GLint location, GLint v0, GLint v1, GLint v2 ) { void (*func_glUniform3i)( GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glUniform3i]; TRACE("(%d, %d, %d, %d)\n", location, v0, v1, v2 ); - ENTER_GL(); func_glUniform3i( location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glUniform3i64NV( GLint location, INT64 x, INT64 y, INT64 z ) { void (*func_glUniform3i64NV)( GLint, INT64, INT64, INT64 ) = extension_funcs[EXT_glUniform3i64NV]; TRACE("(%d, %s, %s, %s)\n", location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z) ); - ENTER_GL(); func_glUniform3i64NV( location, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glUniform3i64vNV( GLint location, GLsizei count, INT64* value ) { void (*func_glUniform3i64vNV)( GLint, GLsizei, INT64* ) = extension_funcs[EXT_glUniform3i64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform3i64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform3iARB( GLint location, GLint v0, GLint v1, GLint v2 ) { void (*func_glUniform3iARB)( GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glUniform3iARB]; TRACE("(%d, %d, %d, %d)\n", location, v0, v1, v2 ); - ENTER_GL(); func_glUniform3iARB( location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glUniform3iv( GLint location, GLsizei count, GLint* value ) { void (*func_glUniform3iv)( GLint, GLsizei, GLint* ) = extension_funcs[EXT_glUniform3iv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform3iv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform3ivARB( GLint location, GLsizei count, GLint* value ) { void (*func_glUniform3ivARB)( GLint, GLsizei, GLint* ) = extension_funcs[EXT_glUniform3ivARB]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform3ivARB( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform3ui( GLint location, GLuint v0, GLuint v1, GLuint v2 ) { void (*func_glUniform3ui)( GLint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glUniform3ui]; TRACE("(%d, %d, %d, %d)\n", location, v0, v1, v2 ); - ENTER_GL(); func_glUniform3ui( location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glUniform3ui64NV( GLint location, UINT64 x, UINT64 y, UINT64 z ) { void (*func_glUniform3ui64NV)( GLint, UINT64, UINT64, UINT64 ) = extension_funcs[EXT_glUniform3ui64NV]; TRACE("(%d, %s, %s, %s)\n", location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z) ); - ENTER_GL(); func_glUniform3ui64NV( location, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glUniform3ui64vNV( GLint location, GLsizei count, UINT64* value ) { void (*func_glUniform3ui64vNV)( GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glUniform3ui64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform3ui64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform3uiEXT( GLint location, GLuint v0, GLuint v1, GLuint v2 ) { void (*func_glUniform3uiEXT)( GLint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glUniform3uiEXT]; TRACE("(%d, %d, %d, %d)\n", location, v0, v1, v2 ); - ENTER_GL(); func_glUniform3uiEXT( location, v0, v1, v2 ); - LEAVE_GL(); } static void WINAPI wine_glUniform3uiv( GLint location, GLsizei count, GLuint* value ) { void (*func_glUniform3uiv)( GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glUniform3uiv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform3uiv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform3uivEXT( GLint location, GLsizei count, GLuint* value ) { void (*func_glUniform3uivEXT)( GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glUniform3uivEXT]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform3uivEXT( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform4d( GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glUniform4d)( GLint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glUniform4d]; TRACE("(%d, %f, %f, %f, %f)\n", location, x, y, z, w ); - ENTER_GL(); func_glUniform4d( location, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glUniform4dv( GLint location, GLsizei count, GLdouble* value ) { void (*func_glUniform4dv)( GLint, GLsizei, GLdouble* ) = extension_funcs[EXT_glUniform4dv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform4dv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform4f( GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3 ) { void (*func_glUniform4f)( GLint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glUniform4f]; TRACE("(%d, %f, %f, %f, %f)\n", location, v0, v1, v2, v3 ); - ENTER_GL(); func_glUniform4f( location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glUniform4fARB( GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3 ) { void (*func_glUniform4fARB)( GLint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glUniform4fARB]; TRACE("(%d, %f, %f, %f, %f)\n", location, v0, v1, v2, v3 ); - ENTER_GL(); func_glUniform4fARB( location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glUniform4fv( GLint location, GLsizei count, GLfloat* value ) { void (*func_glUniform4fv)( GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glUniform4fv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform4fv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform4fvARB( GLint location, GLsizei count, GLfloat* value ) { void (*func_glUniform4fvARB)( GLint, GLsizei, GLfloat* ) = extension_funcs[EXT_glUniform4fvARB]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform4fvARB( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform4i( GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) { void (*func_glUniform4i)( GLint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glUniform4i]; TRACE("(%d, %d, %d, %d, %d)\n", location, v0, v1, v2, v3 ); - ENTER_GL(); func_glUniform4i( location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glUniform4i64NV( GLint location, INT64 x, INT64 y, INT64 z, INT64 w ) { void (*func_glUniform4i64NV)( GLint, INT64, INT64, INT64, INT64 ) = extension_funcs[EXT_glUniform4i64NV]; TRACE("(%d, %s, %s, %s, %s)\n", location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z), wine_dbgstr_longlong(w) ); - ENTER_GL(); func_glUniform4i64NV( location, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glUniform4i64vNV( GLint location, GLsizei count, INT64* value ) { void (*func_glUniform4i64vNV)( GLint, GLsizei, INT64* ) = extension_funcs[EXT_glUniform4i64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform4i64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform4iARB( GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) { void (*func_glUniform4iARB)( GLint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glUniform4iARB]; TRACE("(%d, %d, %d, %d, %d)\n", location, v0, v1, v2, v3 ); - ENTER_GL(); func_glUniform4iARB( location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glUniform4iv( GLint location, GLsizei count, GLint* value ) { void (*func_glUniform4iv)( GLint, GLsizei, GLint* ) = extension_funcs[EXT_glUniform4iv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform4iv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform4ivARB( GLint location, GLsizei count, GLint* value ) { void (*func_glUniform4ivARB)( GLint, GLsizei, GLint* ) = extension_funcs[EXT_glUniform4ivARB]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform4ivARB( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform4ui( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) { void (*func_glUniform4ui)( GLint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glUniform4ui]; TRACE("(%d, %d, %d, %d, %d)\n", location, v0, v1, v2, v3 ); - ENTER_GL(); func_glUniform4ui( location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glUniform4ui64NV( GLint location, UINT64 x, UINT64 y, UINT64 z, UINT64 w ) { void (*func_glUniform4ui64NV)( GLint, UINT64, UINT64, UINT64, UINT64 ) = extension_funcs[EXT_glUniform4ui64NV]; TRACE("(%d, %s, %s, %s, %s)\n", location, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z), wine_dbgstr_longlong(w) ); - ENTER_GL(); func_glUniform4ui64NV( location, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glUniform4ui64vNV( GLint location, GLsizei count, UINT64* value ) { void (*func_glUniform4ui64vNV)( GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glUniform4ui64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform4ui64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform4uiEXT( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) { void (*func_glUniform4uiEXT)( GLint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glUniform4uiEXT]; TRACE("(%d, %d, %d, %d, %d)\n", location, v0, v1, v2, v3 ); - ENTER_GL(); func_glUniform4uiEXT( location, v0, v1, v2, v3 ); - LEAVE_GL(); } static void WINAPI wine_glUniform4uiv( GLint location, GLsizei count, GLuint* value ) { void (*func_glUniform4uiv)( GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glUniform4uiv]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform4uiv( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniform4uivEXT( GLint location, GLsizei count, GLuint* value ) { void (*func_glUniform4uivEXT)( GLint, GLsizei, GLuint* ) = extension_funcs[EXT_glUniform4uivEXT]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniform4uivEXT( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformBlockBinding( GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding ) { void (*func_glUniformBlockBinding)( GLuint, GLuint, GLuint ) = extension_funcs[EXT_glUniformBlockBinding]; TRACE("(%d, %d, %d)\n", program, uniformBlockIndex, uniformBlockBinding ); - ENTER_GL(); func_glUniformBlockBinding( program, uniformBlockIndex, uniformBlockBinding ); - LEAVE_GL(); } static void WINAPI wine_glUniformBufferEXT( GLuint program, GLint location, GLuint buffer ) { void (*func_glUniformBufferEXT)( GLuint, GLint, GLuint ) = extension_funcs[EXT_glUniformBufferEXT]; TRACE("(%d, %d, %d)\n", program, location, buffer ); - ENTER_GL(); func_glUniformBufferEXT( program, location, buffer ); - LEAVE_GL(); } static void WINAPI wine_glUniformHandleui64NV( GLint location, UINT64 value ) { void (*func_glUniformHandleui64NV)( GLint, UINT64 ) = extension_funcs[EXT_glUniformHandleui64NV]; TRACE("(%d, %s)\n", location, wine_dbgstr_longlong(value) ); - ENTER_GL(); func_glUniformHandleui64NV( location, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformHandleui64vNV( GLint location, GLsizei count, UINT64* value ) { void (*func_glUniformHandleui64vNV)( GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glUniformHandleui64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniformHandleui64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix2dv( GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glUniformMatrix2dv)( GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glUniformMatrix2dv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix2dv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix2fv( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix2fv)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix2fv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix2fv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix2fvARB( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix2fvARB)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix2fvARB]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix2fvARB( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix2x3dv( GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glUniformMatrix2x3dv)( GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glUniformMatrix2x3dv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix2x3dv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix2x3fv( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix2x3fv)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix2x3fv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix2x3fv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix2x4dv( GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glUniformMatrix2x4dv)( GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glUniformMatrix2x4dv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix2x4dv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix2x4fv( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix2x4fv)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix2x4fv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix2x4fv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix3dv( GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glUniformMatrix3dv)( GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glUniformMatrix3dv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix3dv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix3fv( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix3fv)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix3fv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix3fv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix3fvARB( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix3fvARB)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix3fvARB]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix3fvARB( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix3x2dv( GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glUniformMatrix3x2dv)( GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glUniformMatrix3x2dv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix3x2dv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix3x2fv( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix3x2fv)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix3x2fv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix3x2fv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix3x4dv( GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glUniformMatrix3x4dv)( GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glUniformMatrix3x4dv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix3x4dv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix3x4fv( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix3x4fv)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix3x4fv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix3x4fv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix4dv( GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glUniformMatrix4dv)( GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glUniformMatrix4dv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix4dv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix4fv( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix4fv)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix4fv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix4fv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix4fvARB( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix4fvARB)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix4fvARB]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix4fvARB( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix4x2dv( GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glUniformMatrix4x2dv)( GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glUniformMatrix4x2dv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix4x2dv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix4x2fv( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix4x2fv)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix4x2fv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix4x2fv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix4x3dv( GLint location, GLsizei count, GLboolean transpose, GLdouble* value ) { void (*func_glUniformMatrix4x3dv)( GLint, GLsizei, GLboolean, GLdouble* ) = extension_funcs[EXT_glUniformMatrix4x3dv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix4x3dv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformMatrix4x3fv( GLint location, GLsizei count, GLboolean transpose, GLfloat* value ) { void (*func_glUniformMatrix4x3fv)( GLint, GLsizei, GLboolean, GLfloat* ) = extension_funcs[EXT_glUniformMatrix4x3fv]; TRACE("(%d, %d, %d, %p)\n", location, count, transpose, value ); - ENTER_GL(); func_glUniformMatrix4x3fv( location, count, transpose, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformSubroutinesuiv( GLenum shadertype, GLsizei count, GLuint* indices ) { void (*func_glUniformSubroutinesuiv)( GLenum, GLsizei, GLuint* ) = extension_funcs[EXT_glUniformSubroutinesuiv]; TRACE("(%d, %d, %p)\n", shadertype, count, indices ); - ENTER_GL(); func_glUniformSubroutinesuiv( shadertype, count, indices ); - LEAVE_GL(); } static void WINAPI wine_glUniformui64NV( GLint location, UINT64 value ) { void (*func_glUniformui64NV)( GLint, UINT64 ) = extension_funcs[EXT_glUniformui64NV]; TRACE("(%d, %s)\n", location, wine_dbgstr_longlong(value) ); - ENTER_GL(); func_glUniformui64NV( location, value ); - LEAVE_GL(); } static void WINAPI wine_glUniformui64vNV( GLint location, GLsizei count, UINT64* value ) { void (*func_glUniformui64vNV)( GLint, GLsizei, UINT64* ) = extension_funcs[EXT_glUniformui64vNV]; TRACE("(%d, %d, %p)\n", location, count, value ); - ENTER_GL(); func_glUniformui64vNV( location, count, value ); - LEAVE_GL(); } static void WINAPI wine_glUnlockArraysEXT( void ) { void (*func_glUnlockArraysEXT)( void ) = extension_funcs[EXT_glUnlockArraysEXT]; TRACE("()\n"); - ENTER_GL(); func_glUnlockArraysEXT( ); - LEAVE_GL(); } static GLboolean WINAPI wine_glUnmapBuffer( GLenum target ) { - GLboolean ret_value; GLboolean (*func_glUnmapBuffer)( GLenum ) = extension_funcs[EXT_glUnmapBuffer]; TRACE("(%d)\n", target ); - ENTER_GL(); - ret_value = func_glUnmapBuffer( target ); - LEAVE_GL(); - return ret_value; + return func_glUnmapBuffer( target ); } static GLboolean WINAPI wine_glUnmapBufferARB( GLenum target ) { - GLboolean ret_value; GLboolean (*func_glUnmapBufferARB)( GLenum ) = extension_funcs[EXT_glUnmapBufferARB]; TRACE("(%d)\n", target ); - ENTER_GL(); - ret_value = func_glUnmapBufferARB( target ); - LEAVE_GL(); - return ret_value; + return func_glUnmapBufferARB( target ); } static GLboolean WINAPI wine_glUnmapNamedBufferEXT( GLuint buffer ) { - GLboolean ret_value; GLboolean (*func_glUnmapNamedBufferEXT)( GLuint ) = extension_funcs[EXT_glUnmapNamedBufferEXT]; TRACE("(%d)\n", buffer ); - ENTER_GL(); - ret_value = func_glUnmapNamedBufferEXT( buffer ); - LEAVE_GL(); - return ret_value; + return func_glUnmapNamedBufferEXT( buffer ); } static void WINAPI wine_glUnmapObjectBufferATI( GLuint buffer ) { void (*func_glUnmapObjectBufferATI)( GLuint ) = extension_funcs[EXT_glUnmapObjectBufferATI]; TRACE("(%d)\n", buffer ); - ENTER_GL(); func_glUnmapObjectBufferATI( buffer ); - LEAVE_GL(); } static void WINAPI wine_glUpdateObjectBufferATI( GLuint buffer, GLuint offset, GLsizei size, GLvoid* pointer, GLenum preserve ) { void (*func_glUpdateObjectBufferATI)( GLuint, GLuint, GLsizei, GLvoid*, GLenum ) = extension_funcs[EXT_glUpdateObjectBufferATI]; TRACE("(%d, %d, %d, %p, %d)\n", buffer, offset, size, pointer, preserve ); - ENTER_GL(); func_glUpdateObjectBufferATI( buffer, offset, size, pointer, preserve ); - LEAVE_GL(); } static void WINAPI wine_glUseProgram( GLuint program ) { void (*func_glUseProgram)( GLuint ) = extension_funcs[EXT_glUseProgram]; TRACE("(%d)\n", program ); - ENTER_GL(); func_glUseProgram( program ); - LEAVE_GL(); } static void WINAPI wine_glUseProgramObjectARB( unsigned int programObj ) { void (*func_glUseProgramObjectARB)( unsigned int ) = extension_funcs[EXT_glUseProgramObjectARB]; TRACE("(%d)\n", programObj ); - ENTER_GL(); func_glUseProgramObjectARB( programObj ); - LEAVE_GL(); } static void WINAPI wine_glUseProgramStages( GLuint pipeline, GLbitfield stages, GLuint program ) { void (*func_glUseProgramStages)( GLuint, GLbitfield, GLuint ) = extension_funcs[EXT_glUseProgramStages]; TRACE("(%d, %d, %d)\n", pipeline, stages, program ); - ENTER_GL(); func_glUseProgramStages( pipeline, stages, program ); - LEAVE_GL(); } static void WINAPI wine_glUseShaderProgramEXT( GLenum type, GLuint program ) { void (*func_glUseShaderProgramEXT)( GLenum, GLuint ) = extension_funcs[EXT_glUseShaderProgramEXT]; TRACE("(%d, %d)\n", type, program ); - ENTER_GL(); func_glUseShaderProgramEXT( type, program ); - LEAVE_GL(); } static void WINAPI wine_glVDPAUFiniNV( void ) { void (*func_glVDPAUFiniNV)( void ) = extension_funcs[EXT_glVDPAUFiniNV]; TRACE("()\n"); - ENTER_GL(); func_glVDPAUFiniNV( ); - LEAVE_GL(); } static void WINAPI wine_glVDPAUGetSurfaceivNV( INT_PTR surface, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values ) { void (*func_glVDPAUGetSurfaceivNV)( INT_PTR, GLenum, GLsizei, GLsizei*, GLint* ) = extension_funcs[EXT_glVDPAUGetSurfaceivNV]; TRACE("(%ld, %d, %d, %p, %p)\n", surface, pname, bufSize, length, values ); - ENTER_GL(); func_glVDPAUGetSurfaceivNV( surface, pname, bufSize, length, values ); - LEAVE_GL(); } static void WINAPI wine_glVDPAUInitNV( GLvoid* vdpDevice, GLvoid* getProcAddress ) { void (*func_glVDPAUInitNV)( GLvoid*, GLvoid* ) = extension_funcs[EXT_glVDPAUInitNV]; TRACE("(%p, %p)\n", vdpDevice, getProcAddress ); - ENTER_GL(); func_glVDPAUInitNV( vdpDevice, getProcAddress ); - LEAVE_GL(); } static void WINAPI wine_glVDPAUIsSurfaceNV( INT_PTR surface ) { void (*func_glVDPAUIsSurfaceNV)( INT_PTR ) = extension_funcs[EXT_glVDPAUIsSurfaceNV]; TRACE("(%ld)\n", surface ); - ENTER_GL(); func_glVDPAUIsSurfaceNV( surface ); - LEAVE_GL(); } static void WINAPI wine_glVDPAUMapSurfacesNV( GLsizei numSurfaces, INT_PTR* surfaces ) { void (*func_glVDPAUMapSurfacesNV)( GLsizei, INT_PTR* ) = extension_funcs[EXT_glVDPAUMapSurfacesNV]; TRACE("(%d, %p)\n", numSurfaces, surfaces ); - ENTER_GL(); func_glVDPAUMapSurfacesNV( numSurfaces, surfaces ); - LEAVE_GL(); } static INT_PTR WINAPI wine_glVDPAURegisterOutputSurfaceNV( GLvoid* vdpSurface, GLenum target, GLsizei numTextureNames, GLuint* textureNames ) { - INT_PTR ret_value; INT_PTR (*func_glVDPAURegisterOutputSurfaceNV)( GLvoid*, GLenum, GLsizei, GLuint* ) = extension_funcs[EXT_glVDPAURegisterOutputSurfaceNV]; TRACE("(%p, %d, %d, %p)\n", vdpSurface, target, numTextureNames, textureNames ); - ENTER_GL(); - ret_value = func_glVDPAURegisterOutputSurfaceNV( vdpSurface, target, numTextureNames, textureNames ); - LEAVE_GL(); - return ret_value; + return func_glVDPAURegisterOutputSurfaceNV( vdpSurface, target, numTextureNames, textureNames ); } static INT_PTR WINAPI wine_glVDPAURegisterVideoSurfaceNV( GLvoid* vdpSurface, GLenum target, GLsizei numTextureNames, GLuint* textureNames ) { - INT_PTR ret_value; INT_PTR (*func_glVDPAURegisterVideoSurfaceNV)( GLvoid*, GLenum, GLsizei, GLuint* ) = extension_funcs[EXT_glVDPAURegisterVideoSurfaceNV]; TRACE("(%p, %d, %d, %p)\n", vdpSurface, target, numTextureNames, textureNames ); - ENTER_GL(); - ret_value = func_glVDPAURegisterVideoSurfaceNV( vdpSurface, target, numTextureNames, textureNames ); - LEAVE_GL(); - return ret_value; + return func_glVDPAURegisterVideoSurfaceNV( vdpSurface, target, numTextureNames, textureNames ); } static void WINAPI wine_glVDPAUSurfaceAccessNV( INT_PTR surface, GLenum access ) { void (*func_glVDPAUSurfaceAccessNV)( INT_PTR, GLenum ) = extension_funcs[EXT_glVDPAUSurfaceAccessNV]; TRACE("(%ld, %d)\n", surface, access ); - ENTER_GL(); func_glVDPAUSurfaceAccessNV( surface, access ); - LEAVE_GL(); } static void WINAPI wine_glVDPAUUnmapSurfacesNV( GLsizei numSurface, INT_PTR* surfaces ) { void (*func_glVDPAUUnmapSurfacesNV)( GLsizei, INT_PTR* ) = extension_funcs[EXT_glVDPAUUnmapSurfacesNV]; TRACE("(%d, %p)\n", numSurface, surfaces ); - ENTER_GL(); func_glVDPAUUnmapSurfacesNV( numSurface, surfaces ); - LEAVE_GL(); } static void WINAPI wine_glVDPAUUnregisterSurfaceNV( INT_PTR surface ) { void (*func_glVDPAUUnregisterSurfaceNV)( INT_PTR ) = extension_funcs[EXT_glVDPAUUnregisterSurfaceNV]; TRACE("(%ld)\n", surface ); - ENTER_GL(); func_glVDPAUUnregisterSurfaceNV( surface ); - LEAVE_GL(); } static void WINAPI wine_glValidateProgram( GLuint program ) { void (*func_glValidateProgram)( GLuint ) = extension_funcs[EXT_glValidateProgram]; TRACE("(%d)\n", program ); - ENTER_GL(); func_glValidateProgram( program ); - LEAVE_GL(); } static void WINAPI wine_glValidateProgramARB( unsigned int programObj ) { void (*func_glValidateProgramARB)( unsigned int ) = extension_funcs[EXT_glValidateProgramARB]; TRACE("(%d)\n", programObj ); - ENTER_GL(); func_glValidateProgramARB( programObj ); - LEAVE_GL(); } static void WINAPI wine_glValidateProgramPipeline( GLuint pipeline ) { void (*func_glValidateProgramPipeline)( GLuint ) = extension_funcs[EXT_glValidateProgramPipeline]; TRACE("(%d)\n", pipeline ); - ENTER_GL(); func_glValidateProgramPipeline( pipeline ); - LEAVE_GL(); } static void WINAPI wine_glVariantArrayObjectATI( GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset ) { void (*func_glVariantArrayObjectATI)( GLuint, GLenum, GLsizei, GLuint, GLuint ) = extension_funcs[EXT_glVariantArrayObjectATI]; TRACE("(%d, %d, %d, %d, %d)\n", id, type, stride, buffer, offset ); - ENTER_GL(); func_glVariantArrayObjectATI( id, type, stride, buffer, offset ); - LEAVE_GL(); } static void WINAPI wine_glVariantPointerEXT( GLuint id, GLenum type, GLuint stride, GLvoid* addr ) { void (*func_glVariantPointerEXT)( GLuint, GLenum, GLuint, GLvoid* ) = extension_funcs[EXT_glVariantPointerEXT]; TRACE("(%d, %d, %d, %p)\n", id, type, stride, addr ); - ENTER_GL(); func_glVariantPointerEXT( id, type, stride, addr ); - LEAVE_GL(); } static void WINAPI wine_glVariantbvEXT( GLuint id, GLbyte* addr ) { void (*func_glVariantbvEXT)( GLuint, GLbyte* ) = extension_funcs[EXT_glVariantbvEXT]; TRACE("(%d, %p)\n", id, addr ); - ENTER_GL(); func_glVariantbvEXT( id, addr ); - LEAVE_GL(); } static void WINAPI wine_glVariantdvEXT( GLuint id, GLdouble* addr ) { void (*func_glVariantdvEXT)( GLuint, GLdouble* ) = extension_funcs[EXT_glVariantdvEXT]; TRACE("(%d, %p)\n", id, addr ); - ENTER_GL(); func_glVariantdvEXT( id, addr ); - LEAVE_GL(); } static void WINAPI wine_glVariantfvEXT( GLuint id, GLfloat* addr ) { void (*func_glVariantfvEXT)( GLuint, GLfloat* ) = extension_funcs[EXT_glVariantfvEXT]; TRACE("(%d, %p)\n", id, addr ); - ENTER_GL(); func_glVariantfvEXT( id, addr ); - LEAVE_GL(); } static void WINAPI wine_glVariantivEXT( GLuint id, GLint* addr ) { void (*func_glVariantivEXT)( GLuint, GLint* ) = extension_funcs[EXT_glVariantivEXT]; TRACE("(%d, %p)\n", id, addr ); - ENTER_GL(); func_glVariantivEXT( id, addr ); - LEAVE_GL(); } static void WINAPI wine_glVariantsvEXT( GLuint id, GLshort* addr ) { void (*func_glVariantsvEXT)( GLuint, GLshort* ) = extension_funcs[EXT_glVariantsvEXT]; TRACE("(%d, %p)\n", id, addr ); - ENTER_GL(); func_glVariantsvEXT( id, addr ); - LEAVE_GL(); } static void WINAPI wine_glVariantubvEXT( GLuint id, GLubyte* addr ) { void (*func_glVariantubvEXT)( GLuint, GLubyte* ) = extension_funcs[EXT_glVariantubvEXT]; TRACE("(%d, %p)\n", id, addr ); - ENTER_GL(); func_glVariantubvEXT( id, addr ); - LEAVE_GL(); } static void WINAPI wine_glVariantuivEXT( GLuint id, GLuint* addr ) { void (*func_glVariantuivEXT)( GLuint, GLuint* ) = extension_funcs[EXT_glVariantuivEXT]; TRACE("(%d, %p)\n", id, addr ); - ENTER_GL(); func_glVariantuivEXT( id, addr ); - LEAVE_GL(); } static void WINAPI wine_glVariantusvEXT( GLuint id, GLushort* addr ) { void (*func_glVariantusvEXT)( GLuint, GLushort* ) = extension_funcs[EXT_glVariantusvEXT]; TRACE("(%d, %p)\n", id, addr ); - ENTER_GL(); func_glVariantusvEXT( id, addr ); - LEAVE_GL(); } static void WINAPI wine_glVertex2hNV( unsigned short x, unsigned short y ) { void (*func_glVertex2hNV)( unsigned short, unsigned short ) = extension_funcs[EXT_glVertex2hNV]; TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); func_glVertex2hNV( x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertex2hvNV( unsigned short* v ) { void (*func_glVertex2hvNV)( unsigned short* ) = extension_funcs[EXT_glVertex2hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glVertex2hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glVertex3hNV( unsigned short x, unsigned short y, unsigned short z ) { void (*func_glVertex3hNV)( unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glVertex3hNV]; TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); func_glVertex3hNV( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertex3hvNV( unsigned short* v ) { void (*func_glVertex3hvNV)( unsigned short* ) = extension_funcs[EXT_glVertex3hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glVertex3hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glVertex4hNV( unsigned short x, unsigned short y, unsigned short z, unsigned short w ) { void (*func_glVertex4hNV)( unsigned short, unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glVertex4hNV]; TRACE("(%d, %d, %d, %d)\n", x, y, z, w ); - ENTER_GL(); func_glVertex4hNV( x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertex4hvNV( unsigned short* v ) { void (*func_glVertex4hvNV)( unsigned short* ) = extension_funcs[EXT_glVertex4hvNV]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glVertex4hvNV( v ); - LEAVE_GL(); } static void WINAPI wine_glVertexArrayParameteriAPPLE( GLenum pname, GLint param ) { void (*func_glVertexArrayParameteriAPPLE)( GLenum, GLint ) = extension_funcs[EXT_glVertexArrayParameteriAPPLE]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glVertexArrayParameteriAPPLE( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glVertexArrayRangeAPPLE( GLsizei length, GLvoid* pointer ) { void (*func_glVertexArrayRangeAPPLE)( GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexArrayRangeAPPLE]; TRACE("(%d, %p)\n", length, pointer ); - ENTER_GL(); func_glVertexArrayRangeAPPLE( length, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexArrayRangeNV( GLsizei length, GLvoid* pointer ) { void (*func_glVertexArrayRangeNV)( GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexArrayRangeNV]; TRACE("(%d, %p)\n", length, pointer ); - ENTER_GL(); func_glVertexArrayRangeNV( length, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexArrayVertexAttribLOffsetEXT( GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, INT_PTR offset ) { void (*func_glVertexArrayVertexAttribLOffsetEXT)( GLuint, GLuint, GLuint, GLint, GLenum, GLsizei, INT_PTR ) = extension_funcs[EXT_glVertexArrayVertexAttribLOffsetEXT]; TRACE("(%d, %d, %d, %d, %d, %d, %ld)\n", vaobj, buffer, index, size, type, stride, offset ); - ENTER_GL(); func_glVertexArrayVertexAttribLOffsetEXT( vaobj, buffer, index, size, type, stride, offset ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1d( GLuint index, GLdouble x ) { void (*func_glVertexAttrib1d)( GLuint, GLdouble ) = extension_funcs[EXT_glVertexAttrib1d]; TRACE("(%d, %f)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1d( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1dARB( GLuint index, GLdouble x ) { void (*func_glVertexAttrib1dARB)( GLuint, GLdouble ) = extension_funcs[EXT_glVertexAttrib1dARB]; TRACE("(%d, %f)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1dARB( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1dNV( GLuint index, GLdouble x ) { void (*func_glVertexAttrib1dNV)( GLuint, GLdouble ) = extension_funcs[EXT_glVertexAttrib1dNV]; TRACE("(%d, %f)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1dNV( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1dv( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib1dv)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib1dv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1dv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1dvARB( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib1dvARB)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib1dvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1dvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1dvNV( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib1dvNV)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib1dvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1dvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1f( GLuint index, GLfloat x ) { void (*func_glVertexAttrib1f)( GLuint, GLfloat ) = extension_funcs[EXT_glVertexAttrib1f]; TRACE("(%d, %f)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1f( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1fARB( GLuint index, GLfloat x ) { void (*func_glVertexAttrib1fARB)( GLuint, GLfloat ) = extension_funcs[EXT_glVertexAttrib1fARB]; TRACE("(%d, %f)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1fARB( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1fNV( GLuint index, GLfloat x ) { void (*func_glVertexAttrib1fNV)( GLuint, GLfloat ) = extension_funcs[EXT_glVertexAttrib1fNV]; TRACE("(%d, %f)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1fNV( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1fv( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib1fv)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib1fv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1fv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1fvARB( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib1fvARB)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib1fvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1fvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1fvNV( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib1fvNV)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib1fvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1fvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1hNV( GLuint index, unsigned short x ) { void (*func_glVertexAttrib1hNV)( GLuint, unsigned short ) = extension_funcs[EXT_glVertexAttrib1hNV]; TRACE("(%d, %d)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1hNV( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1hvNV( GLuint index, unsigned short* v ) { void (*func_glVertexAttrib1hvNV)( GLuint, unsigned short* ) = extension_funcs[EXT_glVertexAttrib1hvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1hvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1s( GLuint index, GLshort x ) { void (*func_glVertexAttrib1s)( GLuint, GLshort ) = extension_funcs[EXT_glVertexAttrib1s]; TRACE("(%d, %d)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1s( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1sARB( GLuint index, GLshort x ) { void (*func_glVertexAttrib1sARB)( GLuint, GLshort ) = extension_funcs[EXT_glVertexAttrib1sARB]; TRACE("(%d, %d)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1sARB( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1sNV( GLuint index, GLshort x ) { void (*func_glVertexAttrib1sNV)( GLuint, GLshort ) = extension_funcs[EXT_glVertexAttrib1sNV]; TRACE("(%d, %d)\n", index, x ); - ENTER_GL(); func_glVertexAttrib1sNV( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1sv( GLuint index, GLshort* v ) { void (*func_glVertexAttrib1sv)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib1sv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1sv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1svARB( GLuint index, GLshort* v ) { void (*func_glVertexAttrib1svARB)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib1svARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1svARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib1svNV( GLuint index, GLshort* v ) { void (*func_glVertexAttrib1svNV)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib1svNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib1svNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2d( GLuint index, GLdouble x, GLdouble y ) { void (*func_glVertexAttrib2d)( GLuint, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttrib2d]; TRACE("(%d, %f, %f)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2d( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2dARB( GLuint index, GLdouble x, GLdouble y ) { void (*func_glVertexAttrib2dARB)( GLuint, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttrib2dARB]; TRACE("(%d, %f, %f)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2dARB( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2dNV( GLuint index, GLdouble x, GLdouble y ) { void (*func_glVertexAttrib2dNV)( GLuint, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttrib2dNV]; TRACE("(%d, %f, %f)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2dNV( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2dv( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib2dv)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib2dv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2dv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2dvARB( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib2dvARB)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib2dvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2dvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2dvNV( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib2dvNV)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib2dvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2dvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2f( GLuint index, GLfloat x, GLfloat y ) { void (*func_glVertexAttrib2f)( GLuint, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexAttrib2f]; TRACE("(%d, %f, %f)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2f( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2fARB( GLuint index, GLfloat x, GLfloat y ) { void (*func_glVertexAttrib2fARB)( GLuint, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexAttrib2fARB]; TRACE("(%d, %f, %f)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2fARB( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2fNV( GLuint index, GLfloat x, GLfloat y ) { void (*func_glVertexAttrib2fNV)( GLuint, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexAttrib2fNV]; TRACE("(%d, %f, %f)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2fNV( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2fv( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib2fv)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib2fv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2fv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2fvARB( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib2fvARB)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib2fvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2fvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2fvNV( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib2fvNV)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib2fvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2fvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2hNV( GLuint index, unsigned short x, unsigned short y ) { void (*func_glVertexAttrib2hNV)( GLuint, unsigned short, unsigned short ) = extension_funcs[EXT_glVertexAttrib2hNV]; TRACE("(%d, %d, %d)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2hNV( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2hvNV( GLuint index, unsigned short* v ) { void (*func_glVertexAttrib2hvNV)( GLuint, unsigned short* ) = extension_funcs[EXT_glVertexAttrib2hvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2hvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2s( GLuint index, GLshort x, GLshort y ) { void (*func_glVertexAttrib2s)( GLuint, GLshort, GLshort ) = extension_funcs[EXT_glVertexAttrib2s]; TRACE("(%d, %d, %d)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2s( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2sARB( GLuint index, GLshort x, GLshort y ) { void (*func_glVertexAttrib2sARB)( GLuint, GLshort, GLshort ) = extension_funcs[EXT_glVertexAttrib2sARB]; TRACE("(%d, %d, %d)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2sARB( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2sNV( GLuint index, GLshort x, GLshort y ) { void (*func_glVertexAttrib2sNV)( GLuint, GLshort, GLshort ) = extension_funcs[EXT_glVertexAttrib2sNV]; TRACE("(%d, %d, %d)\n", index, x, y ); - ENTER_GL(); func_glVertexAttrib2sNV( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2sv( GLuint index, GLshort* v ) { void (*func_glVertexAttrib2sv)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib2sv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2sv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2svARB( GLuint index, GLshort* v ) { void (*func_glVertexAttrib2svARB)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib2svARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2svARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib2svNV( GLuint index, GLshort* v ) { void (*func_glVertexAttrib2svNV)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib2svNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib2svNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3d( GLuint index, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glVertexAttrib3d)( GLuint, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttrib3d]; TRACE("(%d, %f, %f, %f)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3d( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3dARB( GLuint index, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glVertexAttrib3dARB)( GLuint, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttrib3dARB]; TRACE("(%d, %f, %f, %f)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3dARB( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3dNV( GLuint index, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glVertexAttrib3dNV)( GLuint, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttrib3dNV]; TRACE("(%d, %f, %f, %f)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3dNV( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3dv( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib3dv)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib3dv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3dv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3dvARB( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib3dvARB)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib3dvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3dvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3dvNV( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib3dvNV)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib3dvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3dvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3f( GLuint index, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glVertexAttrib3f)( GLuint, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexAttrib3f]; TRACE("(%d, %f, %f, %f)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3f( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3fARB( GLuint index, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glVertexAttrib3fARB)( GLuint, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexAttrib3fARB]; TRACE("(%d, %f, %f, %f)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3fARB( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3fNV( GLuint index, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glVertexAttrib3fNV)( GLuint, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexAttrib3fNV]; TRACE("(%d, %f, %f, %f)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3fNV( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3fv( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib3fv)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib3fv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3fv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3fvARB( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib3fvARB)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib3fvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3fvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3fvNV( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib3fvNV)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib3fvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3fvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3hNV( GLuint index, unsigned short x, unsigned short y, unsigned short z ) { void (*func_glVertexAttrib3hNV)( GLuint, unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glVertexAttrib3hNV]; TRACE("(%d, %d, %d, %d)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3hNV( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3hvNV( GLuint index, unsigned short* v ) { void (*func_glVertexAttrib3hvNV)( GLuint, unsigned short* ) = extension_funcs[EXT_glVertexAttrib3hvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3hvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3s( GLuint index, GLshort x, GLshort y, GLshort z ) { void (*func_glVertexAttrib3s)( GLuint, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glVertexAttrib3s]; TRACE("(%d, %d, %d, %d)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3s( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3sARB( GLuint index, GLshort x, GLshort y, GLshort z ) { void (*func_glVertexAttrib3sARB)( GLuint, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glVertexAttrib3sARB]; TRACE("(%d, %d, %d, %d)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3sARB( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3sNV( GLuint index, GLshort x, GLshort y, GLshort z ) { void (*func_glVertexAttrib3sNV)( GLuint, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glVertexAttrib3sNV]; TRACE("(%d, %d, %d, %d)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttrib3sNV( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3sv( GLuint index, GLshort* v ) { void (*func_glVertexAttrib3sv)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib3sv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3sv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3svARB( GLuint index, GLshort* v ) { void (*func_glVertexAttrib3svARB)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib3svARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3svARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib3svNV( GLuint index, GLshort* v ) { void (*func_glVertexAttrib3svNV)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib3svNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib3svNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4Nbv( GLuint index, GLbyte* v ) { void (*func_glVertexAttrib4Nbv)( GLuint, GLbyte* ) = extension_funcs[EXT_glVertexAttrib4Nbv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4Nbv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4NbvARB( GLuint index, GLbyte* v ) { void (*func_glVertexAttrib4NbvARB)( GLuint, GLbyte* ) = extension_funcs[EXT_glVertexAttrib4NbvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4NbvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4Niv( GLuint index, GLint* v ) { void (*func_glVertexAttrib4Niv)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttrib4Niv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4Niv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4NivARB( GLuint index, GLint* v ) { void (*func_glVertexAttrib4NivARB)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttrib4NivARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4NivARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4Nsv( GLuint index, GLshort* v ) { void (*func_glVertexAttrib4Nsv)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib4Nsv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4Nsv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4NsvARB( GLuint index, GLshort* v ) { void (*func_glVertexAttrib4NsvARB)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib4NsvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4NsvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4Nub( GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w ) { void (*func_glVertexAttrib4Nub)( GLuint, GLubyte, GLubyte, GLubyte, GLubyte ) = extension_funcs[EXT_glVertexAttrib4Nub]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4Nub( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4NubARB( GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w ) { void (*func_glVertexAttrib4NubARB)( GLuint, GLubyte, GLubyte, GLubyte, GLubyte ) = extension_funcs[EXT_glVertexAttrib4NubARB]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4NubARB( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4Nubv( GLuint index, GLubyte* v ) { void (*func_glVertexAttrib4Nubv)( GLuint, GLubyte* ) = extension_funcs[EXT_glVertexAttrib4Nubv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4Nubv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4NubvARB( GLuint index, GLubyte* v ) { void (*func_glVertexAttrib4NubvARB)( GLuint, GLubyte* ) = extension_funcs[EXT_glVertexAttrib4NubvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4NubvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4Nuiv( GLuint index, GLuint* v ) { void (*func_glVertexAttrib4Nuiv)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttrib4Nuiv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4Nuiv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4NuivARB( GLuint index, GLuint* v ) { void (*func_glVertexAttrib4NuivARB)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttrib4NuivARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4NuivARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4Nusv( GLuint index, GLushort* v ) { void (*func_glVertexAttrib4Nusv)( GLuint, GLushort* ) = extension_funcs[EXT_glVertexAttrib4Nusv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4Nusv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4NusvARB( GLuint index, GLushort* v ) { void (*func_glVertexAttrib4NusvARB)( GLuint, GLushort* ) = extension_funcs[EXT_glVertexAttrib4NusvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4NusvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4bv( GLuint index, GLbyte* v ) { void (*func_glVertexAttrib4bv)( GLuint, GLbyte* ) = extension_funcs[EXT_glVertexAttrib4bv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4bv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4bvARB( GLuint index, GLbyte* v ) { void (*func_glVertexAttrib4bvARB)( GLuint, GLbyte* ) = extension_funcs[EXT_glVertexAttrib4bvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4bvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4d( GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glVertexAttrib4d)( GLuint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttrib4d]; TRACE("(%d, %f, %f, %f, %f)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4d( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4dARB( GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glVertexAttrib4dARB)( GLuint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttrib4dARB]; TRACE("(%d, %f, %f, %f, %f)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4dARB( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4dNV( GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glVertexAttrib4dNV)( GLuint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttrib4dNV]; TRACE("(%d, %f, %f, %f, %f)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4dNV( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4dv( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib4dv)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib4dv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4dv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4dvARB( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib4dvARB)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib4dvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4dvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4dvNV( GLuint index, GLdouble* v ) { void (*func_glVertexAttrib4dvNV)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttrib4dvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4dvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4f( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glVertexAttrib4f)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexAttrib4f]; TRACE("(%d, %f, %f, %f, %f)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4f( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4fARB( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glVertexAttrib4fARB)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexAttrib4fARB]; TRACE("(%d, %f, %f, %f, %f)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4fARB( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4fNV( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glVertexAttrib4fNV)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexAttrib4fNV]; TRACE("(%d, %f, %f, %f, %f)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4fNV( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4fv( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib4fv)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib4fv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4fv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4fvARB( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib4fvARB)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib4fvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4fvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4fvNV( GLuint index, GLfloat* v ) { void (*func_glVertexAttrib4fvNV)( GLuint, GLfloat* ) = extension_funcs[EXT_glVertexAttrib4fvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4fvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4hNV( GLuint index, unsigned short x, unsigned short y, unsigned short z, unsigned short w ) { void (*func_glVertexAttrib4hNV)( GLuint, unsigned short, unsigned short, unsigned short, unsigned short ) = extension_funcs[EXT_glVertexAttrib4hNV]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4hNV( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4hvNV( GLuint index, unsigned short* v ) { void (*func_glVertexAttrib4hvNV)( GLuint, unsigned short* ) = extension_funcs[EXT_glVertexAttrib4hvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4hvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4iv( GLuint index, GLint* v ) { void (*func_glVertexAttrib4iv)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttrib4iv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4iv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4ivARB( GLuint index, GLint* v ) { void (*func_glVertexAttrib4ivARB)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttrib4ivARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4ivARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4s( GLuint index, GLshort x, GLshort y, GLshort z, GLshort w ) { void (*func_glVertexAttrib4s)( GLuint, GLshort, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glVertexAttrib4s]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4s( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4sARB( GLuint index, GLshort x, GLshort y, GLshort z, GLshort w ) { void (*func_glVertexAttrib4sARB)( GLuint, GLshort, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glVertexAttrib4sARB]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4sARB( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4sNV( GLuint index, GLshort x, GLshort y, GLshort z, GLshort w ) { void (*func_glVertexAttrib4sNV)( GLuint, GLshort, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glVertexAttrib4sNV]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4sNV( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4sv( GLuint index, GLshort* v ) { void (*func_glVertexAttrib4sv)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib4sv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4sv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4svARB( GLuint index, GLshort* v ) { void (*func_glVertexAttrib4svARB)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib4svARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4svARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4svNV( GLuint index, GLshort* v ) { void (*func_glVertexAttrib4svNV)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttrib4svNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4svNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4ubNV( GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w ) { void (*func_glVertexAttrib4ubNV)( GLuint, GLubyte, GLubyte, GLubyte, GLubyte ) = extension_funcs[EXT_glVertexAttrib4ubNV]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttrib4ubNV( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4ubv( GLuint index, GLubyte* v ) { void (*func_glVertexAttrib4ubv)( GLuint, GLubyte* ) = extension_funcs[EXT_glVertexAttrib4ubv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4ubv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4ubvARB( GLuint index, GLubyte* v ) { void (*func_glVertexAttrib4ubvARB)( GLuint, GLubyte* ) = extension_funcs[EXT_glVertexAttrib4ubvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4ubvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4ubvNV( GLuint index, GLubyte* v ) { void (*func_glVertexAttrib4ubvNV)( GLuint, GLubyte* ) = extension_funcs[EXT_glVertexAttrib4ubvNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4ubvNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4uiv( GLuint index, GLuint* v ) { void (*func_glVertexAttrib4uiv)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttrib4uiv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4uiv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4uivARB( GLuint index, GLuint* v ) { void (*func_glVertexAttrib4uivARB)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttrib4uivARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4uivARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4usv( GLuint index, GLushort* v ) { void (*func_glVertexAttrib4usv)( GLuint, GLushort* ) = extension_funcs[EXT_glVertexAttrib4usv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4usv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttrib4usvARB( GLuint index, GLushort* v ) { void (*func_glVertexAttrib4usvARB)( GLuint, GLushort* ) = extension_funcs[EXT_glVertexAttrib4usvARB]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttrib4usvARB( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribArrayObjectATI( GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset ) { void (*func_glVertexAttribArrayObjectATI)( GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribArrayObjectATI]; TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", index, size, type, normalized, stride, buffer, offset ); - ENTER_GL(); func_glVertexAttribArrayObjectATI( index, size, type, normalized, stride, buffer, offset ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribDivisor( GLuint index, GLuint divisor ) { void (*func_glVertexAttribDivisor)( GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribDivisor]; TRACE("(%d, %d)\n", index, divisor ); - ENTER_GL(); func_glVertexAttribDivisor( index, divisor ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribDivisorARB( GLuint index, GLuint divisor ) { void (*func_glVertexAttribDivisorARB)( GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribDivisorARB]; TRACE("(%d, %d)\n", index, divisor ); - ENTER_GL(); func_glVertexAttribDivisorARB( index, divisor ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribFormatNV( GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride ) { void (*func_glVertexAttribFormatNV)( GLuint, GLint, GLenum, GLboolean, GLsizei ) = extension_funcs[EXT_glVertexAttribFormatNV]; TRACE("(%d, %d, %d, %d, %d)\n", index, size, type, normalized, stride ); - ENTER_GL(); func_glVertexAttribFormatNV( index, size, type, normalized, stride ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI1i( GLuint index, GLint x ) { void (*func_glVertexAttribI1i)( GLuint, GLint ) = extension_funcs[EXT_glVertexAttribI1i]; TRACE("(%d, %d)\n", index, x ); - ENTER_GL(); func_glVertexAttribI1i( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI1iEXT( GLuint index, GLint x ) { void (*func_glVertexAttribI1iEXT)( GLuint, GLint ) = extension_funcs[EXT_glVertexAttribI1iEXT]; TRACE("(%d, %d)\n", index, x ); - ENTER_GL(); func_glVertexAttribI1iEXT( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI1iv( GLuint index, GLint* v ) { void (*func_glVertexAttribI1iv)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttribI1iv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI1iv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI1ivEXT( GLuint index, GLint* v ) { void (*func_glVertexAttribI1ivEXT)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttribI1ivEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI1ivEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI1ui( GLuint index, GLuint x ) { void (*func_glVertexAttribI1ui)( GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribI1ui]; TRACE("(%d, %d)\n", index, x ); - ENTER_GL(); func_glVertexAttribI1ui( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI1uiEXT( GLuint index, GLuint x ) { void (*func_glVertexAttribI1uiEXT)( GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribI1uiEXT]; TRACE("(%d, %d)\n", index, x ); - ENTER_GL(); func_glVertexAttribI1uiEXT( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI1uiv( GLuint index, GLuint* v ) { void (*func_glVertexAttribI1uiv)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttribI1uiv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI1uiv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI1uivEXT( GLuint index, GLuint* v ) { void (*func_glVertexAttribI1uivEXT)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttribI1uivEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI1uivEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI2i( GLuint index, GLint x, GLint y ) { void (*func_glVertexAttribI2i)( GLuint, GLint, GLint ) = extension_funcs[EXT_glVertexAttribI2i]; TRACE("(%d, %d, %d)\n", index, x, y ); - ENTER_GL(); func_glVertexAttribI2i( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI2iEXT( GLuint index, GLint x, GLint y ) { void (*func_glVertexAttribI2iEXT)( GLuint, GLint, GLint ) = extension_funcs[EXT_glVertexAttribI2iEXT]; TRACE("(%d, %d, %d)\n", index, x, y ); - ENTER_GL(); func_glVertexAttribI2iEXT( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI2iv( GLuint index, GLint* v ) { void (*func_glVertexAttribI2iv)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttribI2iv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI2iv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI2ivEXT( GLuint index, GLint* v ) { void (*func_glVertexAttribI2ivEXT)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttribI2ivEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI2ivEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI2ui( GLuint index, GLuint x, GLuint y ) { void (*func_glVertexAttribI2ui)( GLuint, GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribI2ui]; TRACE("(%d, %d, %d)\n", index, x, y ); - ENTER_GL(); func_glVertexAttribI2ui( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI2uiEXT( GLuint index, GLuint x, GLuint y ) { void (*func_glVertexAttribI2uiEXT)( GLuint, GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribI2uiEXT]; TRACE("(%d, %d, %d)\n", index, x, y ); - ENTER_GL(); func_glVertexAttribI2uiEXT( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI2uiv( GLuint index, GLuint* v ) { void (*func_glVertexAttribI2uiv)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttribI2uiv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI2uiv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI2uivEXT( GLuint index, GLuint* v ) { void (*func_glVertexAttribI2uivEXT)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttribI2uivEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI2uivEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI3i( GLuint index, GLint x, GLint y, GLint z ) { void (*func_glVertexAttribI3i)( GLuint, GLint, GLint, GLint ) = extension_funcs[EXT_glVertexAttribI3i]; TRACE("(%d, %d, %d, %d)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttribI3i( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI3iEXT( GLuint index, GLint x, GLint y, GLint z ) { void (*func_glVertexAttribI3iEXT)( GLuint, GLint, GLint, GLint ) = extension_funcs[EXT_glVertexAttribI3iEXT]; TRACE("(%d, %d, %d, %d)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttribI3iEXT( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI3iv( GLuint index, GLint* v ) { void (*func_glVertexAttribI3iv)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttribI3iv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI3iv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI3ivEXT( GLuint index, GLint* v ) { void (*func_glVertexAttribI3ivEXT)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttribI3ivEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI3ivEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI3ui( GLuint index, GLuint x, GLuint y, GLuint z ) { void (*func_glVertexAttribI3ui)( GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribI3ui]; TRACE("(%d, %d, %d, %d)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttribI3ui( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI3uiEXT( GLuint index, GLuint x, GLuint y, GLuint z ) { void (*func_glVertexAttribI3uiEXT)( GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribI3uiEXT]; TRACE("(%d, %d, %d, %d)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttribI3uiEXT( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI3uiv( GLuint index, GLuint* v ) { void (*func_glVertexAttribI3uiv)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttribI3uiv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI3uiv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI3uivEXT( GLuint index, GLuint* v ) { void (*func_glVertexAttribI3uivEXT)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttribI3uivEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI3uivEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4bv( GLuint index, GLbyte* v ) { void (*func_glVertexAttribI4bv)( GLuint, GLbyte* ) = extension_funcs[EXT_glVertexAttribI4bv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4bv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4bvEXT( GLuint index, GLbyte* v ) { void (*func_glVertexAttribI4bvEXT)( GLuint, GLbyte* ) = extension_funcs[EXT_glVertexAttribI4bvEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4bvEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4i( GLuint index, GLint x, GLint y, GLint z, GLint w ) { void (*func_glVertexAttribI4i)( GLuint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glVertexAttribI4i]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttribI4i( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4iEXT( GLuint index, GLint x, GLint y, GLint z, GLint w ) { void (*func_glVertexAttribI4iEXT)( GLuint, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glVertexAttribI4iEXT]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttribI4iEXT( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4iv( GLuint index, GLint* v ) { void (*func_glVertexAttribI4iv)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttribI4iv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4iv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4ivEXT( GLuint index, GLint* v ) { void (*func_glVertexAttribI4ivEXT)( GLuint, GLint* ) = extension_funcs[EXT_glVertexAttribI4ivEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4ivEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4sv( GLuint index, GLshort* v ) { void (*func_glVertexAttribI4sv)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttribI4sv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4sv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4svEXT( GLuint index, GLshort* v ) { void (*func_glVertexAttribI4svEXT)( GLuint, GLshort* ) = extension_funcs[EXT_glVertexAttribI4svEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4svEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4ubv( GLuint index, GLubyte* v ) { void (*func_glVertexAttribI4ubv)( GLuint, GLubyte* ) = extension_funcs[EXT_glVertexAttribI4ubv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4ubv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4ubvEXT( GLuint index, GLubyte* v ) { void (*func_glVertexAttribI4ubvEXT)( GLuint, GLubyte* ) = extension_funcs[EXT_glVertexAttribI4ubvEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4ubvEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4ui( GLuint index, GLuint x, GLuint y, GLuint z, GLuint w ) { void (*func_glVertexAttribI4ui)( GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribI4ui]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttribI4ui( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4uiEXT( GLuint index, GLuint x, GLuint y, GLuint z, GLuint w ) { void (*func_glVertexAttribI4uiEXT)( GLuint, GLuint, GLuint, GLuint, GLuint ) = extension_funcs[EXT_glVertexAttribI4uiEXT]; TRACE("(%d, %d, %d, %d, %d)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttribI4uiEXT( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4uiv( GLuint index, GLuint* v ) { void (*func_glVertexAttribI4uiv)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttribI4uiv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4uiv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4uivEXT( GLuint index, GLuint* v ) { void (*func_glVertexAttribI4uivEXT)( GLuint, GLuint* ) = extension_funcs[EXT_glVertexAttribI4uivEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4uivEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4usv( GLuint index, GLushort* v ) { void (*func_glVertexAttribI4usv)( GLuint, GLushort* ) = extension_funcs[EXT_glVertexAttribI4usv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4usv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribI4usvEXT( GLuint index, GLushort* v ) { void (*func_glVertexAttribI4usvEXT)( GLuint, GLushort* ) = extension_funcs[EXT_glVertexAttribI4usvEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribI4usvEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribIFormatNV( GLuint index, GLint size, GLenum type, GLsizei stride ) { void (*func_glVertexAttribIFormatNV)( GLuint, GLint, GLenum, GLsizei ) = extension_funcs[EXT_glVertexAttribIFormatNV]; TRACE("(%d, %d, %d, %d)\n", index, size, type, stride ); - ENTER_GL(); func_glVertexAttribIFormatNV( index, size, type, stride ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribIPointer( GLuint index, GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glVertexAttribIPointer)( GLuint, GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexAttribIPointer]; TRACE("(%d, %d, %d, %d, %p)\n", index, size, type, stride, pointer ); - ENTER_GL(); func_glVertexAttribIPointer( index, size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribIPointerEXT( GLuint index, GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glVertexAttribIPointerEXT)( GLuint, GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexAttribIPointerEXT]; TRACE("(%d, %d, %d, %d, %p)\n", index, size, type, stride, pointer ); - ENTER_GL(); func_glVertexAttribIPointerEXT( index, size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL1d( GLuint index, GLdouble x ) { void (*func_glVertexAttribL1d)( GLuint, GLdouble ) = extension_funcs[EXT_glVertexAttribL1d]; TRACE("(%d, %f)\n", index, x ); - ENTER_GL(); func_glVertexAttribL1d( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL1dEXT( GLuint index, GLdouble x ) { void (*func_glVertexAttribL1dEXT)( GLuint, GLdouble ) = extension_funcs[EXT_glVertexAttribL1dEXT]; TRACE("(%d, %f)\n", index, x ); - ENTER_GL(); func_glVertexAttribL1dEXT( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL1dv( GLuint index, GLdouble* v ) { void (*func_glVertexAttribL1dv)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttribL1dv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL1dv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL1dvEXT( GLuint index, GLdouble* v ) { void (*func_glVertexAttribL1dvEXT)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttribL1dvEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL1dvEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL1i64NV( GLuint index, INT64 x ) { void (*func_glVertexAttribL1i64NV)( GLuint, INT64 ) = extension_funcs[EXT_glVertexAttribL1i64NV]; TRACE("(%d, %s)\n", index, wine_dbgstr_longlong(x) ); - ENTER_GL(); func_glVertexAttribL1i64NV( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL1i64vNV( GLuint index, INT64* v ) { void (*func_glVertexAttribL1i64vNV)( GLuint, INT64* ) = extension_funcs[EXT_glVertexAttribL1i64vNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL1i64vNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL1ui64NV( GLuint index, UINT64 x ) { void (*func_glVertexAttribL1ui64NV)( GLuint, UINT64 ) = extension_funcs[EXT_glVertexAttribL1ui64NV]; TRACE("(%d, %s)\n", index, wine_dbgstr_longlong(x) ); - ENTER_GL(); func_glVertexAttribL1ui64NV( index, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL1ui64vNV( GLuint index, UINT64* v ) { void (*func_glVertexAttribL1ui64vNV)( GLuint, UINT64* ) = extension_funcs[EXT_glVertexAttribL1ui64vNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL1ui64vNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL2d( GLuint index, GLdouble x, GLdouble y ) { void (*func_glVertexAttribL2d)( GLuint, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttribL2d]; TRACE("(%d, %f, %f)\n", index, x, y ); - ENTER_GL(); func_glVertexAttribL2d( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL2dEXT( GLuint index, GLdouble x, GLdouble y ) { void (*func_glVertexAttribL2dEXT)( GLuint, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttribL2dEXT]; TRACE("(%d, %f, %f)\n", index, x, y ); - ENTER_GL(); func_glVertexAttribL2dEXT( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL2dv( GLuint index, GLdouble* v ) { void (*func_glVertexAttribL2dv)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttribL2dv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL2dv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL2dvEXT( GLuint index, GLdouble* v ) { void (*func_glVertexAttribL2dvEXT)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttribL2dvEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL2dvEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL2i64NV( GLuint index, INT64 x, INT64 y ) { void (*func_glVertexAttribL2i64NV)( GLuint, INT64, INT64 ) = extension_funcs[EXT_glVertexAttribL2i64NV]; TRACE("(%d, %s, %s)\n", index, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y) ); - ENTER_GL(); func_glVertexAttribL2i64NV( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL2i64vNV( GLuint index, INT64* v ) { void (*func_glVertexAttribL2i64vNV)( GLuint, INT64* ) = extension_funcs[EXT_glVertexAttribL2i64vNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL2i64vNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL2ui64NV( GLuint index, UINT64 x, UINT64 y ) { void (*func_glVertexAttribL2ui64NV)( GLuint, UINT64, UINT64 ) = extension_funcs[EXT_glVertexAttribL2ui64NV]; TRACE("(%d, %s, %s)\n", index, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y) ); - ENTER_GL(); func_glVertexAttribL2ui64NV( index, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL2ui64vNV( GLuint index, UINT64* v ) { void (*func_glVertexAttribL2ui64vNV)( GLuint, UINT64* ) = extension_funcs[EXT_glVertexAttribL2ui64vNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL2ui64vNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL3d( GLuint index, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glVertexAttribL3d)( GLuint, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttribL3d]; TRACE("(%d, %f, %f, %f)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttribL3d( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL3dEXT( GLuint index, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glVertexAttribL3dEXT)( GLuint, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttribL3dEXT]; TRACE("(%d, %f, %f, %f)\n", index, x, y, z ); - ENTER_GL(); func_glVertexAttribL3dEXT( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL3dv( GLuint index, GLdouble* v ) { void (*func_glVertexAttribL3dv)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttribL3dv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL3dv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL3dvEXT( GLuint index, GLdouble* v ) { void (*func_glVertexAttribL3dvEXT)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttribL3dvEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL3dvEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL3i64NV( GLuint index, INT64 x, INT64 y, INT64 z ) { void (*func_glVertexAttribL3i64NV)( GLuint, INT64, INT64, INT64 ) = extension_funcs[EXT_glVertexAttribL3i64NV]; TRACE("(%d, %s, %s, %s)\n", index, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z) ); - ENTER_GL(); func_glVertexAttribL3i64NV( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL3i64vNV( GLuint index, INT64* v ) { void (*func_glVertexAttribL3i64vNV)( GLuint, INT64* ) = extension_funcs[EXT_glVertexAttribL3i64vNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL3i64vNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL3ui64NV( GLuint index, UINT64 x, UINT64 y, UINT64 z ) { void (*func_glVertexAttribL3ui64NV)( GLuint, UINT64, UINT64, UINT64 ) = extension_funcs[EXT_glVertexAttribL3ui64NV]; TRACE("(%d, %s, %s, %s)\n", index, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z) ); - ENTER_GL(); func_glVertexAttribL3ui64NV( index, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL3ui64vNV( GLuint index, UINT64* v ) { void (*func_glVertexAttribL3ui64vNV)( GLuint, UINT64* ) = extension_funcs[EXT_glVertexAttribL3ui64vNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL3ui64vNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL4d( GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glVertexAttribL4d)( GLuint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttribL4d]; TRACE("(%d, %f, %f, %f, %f)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttribL4d( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL4dEXT( GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glVertexAttribL4dEXT)( GLuint, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexAttribL4dEXT]; TRACE("(%d, %f, %f, %f, %f)\n", index, x, y, z, w ); - ENTER_GL(); func_glVertexAttribL4dEXT( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL4dv( GLuint index, GLdouble* v ) { void (*func_glVertexAttribL4dv)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttribL4dv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL4dv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL4dvEXT( GLuint index, GLdouble* v ) { void (*func_glVertexAttribL4dvEXT)( GLuint, GLdouble* ) = extension_funcs[EXT_glVertexAttribL4dvEXT]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL4dvEXT( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL4i64NV( GLuint index, INT64 x, INT64 y, INT64 z, INT64 w ) { void (*func_glVertexAttribL4i64NV)( GLuint, INT64, INT64, INT64, INT64 ) = extension_funcs[EXT_glVertexAttribL4i64NV]; TRACE("(%d, %s, %s, %s, %s)\n", index, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z), wine_dbgstr_longlong(w) ); - ENTER_GL(); func_glVertexAttribL4i64NV( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL4i64vNV( GLuint index, INT64* v ) { void (*func_glVertexAttribL4i64vNV)( GLuint, INT64* ) = extension_funcs[EXT_glVertexAttribL4i64vNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL4i64vNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL4ui64NV( GLuint index, UINT64 x, UINT64 y, UINT64 z, UINT64 w ) { void (*func_glVertexAttribL4ui64NV)( GLuint, UINT64, UINT64, UINT64, UINT64 ) = extension_funcs[EXT_glVertexAttribL4ui64NV]; TRACE("(%d, %s, %s, %s, %s)\n", index, wine_dbgstr_longlong(x), wine_dbgstr_longlong(y), wine_dbgstr_longlong(z), wine_dbgstr_longlong(w) ); - ENTER_GL(); func_glVertexAttribL4ui64NV( index, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribL4ui64vNV( GLuint index, UINT64* v ) { void (*func_glVertexAttribL4ui64vNV)( GLuint, UINT64* ) = extension_funcs[EXT_glVertexAttribL4ui64vNV]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glVertexAttribL4ui64vNV( index, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribLFormatNV( GLuint index, GLint size, GLenum type, GLsizei stride ) { void (*func_glVertexAttribLFormatNV)( GLuint, GLint, GLenum, GLsizei ) = extension_funcs[EXT_glVertexAttribLFormatNV]; TRACE("(%d, %d, %d, %d)\n", index, size, type, stride ); - ENTER_GL(); func_glVertexAttribLFormatNV( index, size, type, stride ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribLPointer( GLuint index, GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glVertexAttribLPointer)( GLuint, GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexAttribLPointer]; TRACE("(%d, %d, %d, %d, %p)\n", index, size, type, stride, pointer ); - ENTER_GL(); func_glVertexAttribLPointer( index, size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribLPointerEXT( GLuint index, GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glVertexAttribLPointerEXT)( GLuint, GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexAttribLPointerEXT]; TRACE("(%d, %d, %d, %d, %p)\n", index, size, type, stride, pointer ); - ENTER_GL(); func_glVertexAttribLPointerEXT( index, size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribP1ui( GLuint index, GLenum type, GLboolean normalized, GLuint value ) { void (*func_glVertexAttribP1ui)( GLuint, GLenum, GLboolean, GLuint ) = extension_funcs[EXT_glVertexAttribP1ui]; TRACE("(%d, %d, %d, %d)\n", index, type, normalized, value ); - ENTER_GL(); func_glVertexAttribP1ui( index, type, normalized, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribP1uiv( GLuint index, GLenum type, GLboolean normalized, GLuint* value ) { void (*func_glVertexAttribP1uiv)( GLuint, GLenum, GLboolean, GLuint* ) = extension_funcs[EXT_glVertexAttribP1uiv]; TRACE("(%d, %d, %d, %p)\n", index, type, normalized, value ); - ENTER_GL(); func_glVertexAttribP1uiv( index, type, normalized, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribP2ui( GLuint index, GLenum type, GLboolean normalized, GLuint value ) { void (*func_glVertexAttribP2ui)( GLuint, GLenum, GLboolean, GLuint ) = extension_funcs[EXT_glVertexAttribP2ui]; TRACE("(%d, %d, %d, %d)\n", index, type, normalized, value ); - ENTER_GL(); func_glVertexAttribP2ui( index, type, normalized, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribP2uiv( GLuint index, GLenum type, GLboolean normalized, GLuint* value ) { void (*func_glVertexAttribP2uiv)( GLuint, GLenum, GLboolean, GLuint* ) = extension_funcs[EXT_glVertexAttribP2uiv]; TRACE("(%d, %d, %d, %p)\n", index, type, normalized, value ); - ENTER_GL(); func_glVertexAttribP2uiv( index, type, normalized, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribP3ui( GLuint index, GLenum type, GLboolean normalized, GLuint value ) { void (*func_glVertexAttribP3ui)( GLuint, GLenum, GLboolean, GLuint ) = extension_funcs[EXT_glVertexAttribP3ui]; TRACE("(%d, %d, %d, %d)\n", index, type, normalized, value ); - ENTER_GL(); func_glVertexAttribP3ui( index, type, normalized, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribP3uiv( GLuint index, GLenum type, GLboolean normalized, GLuint* value ) { void (*func_glVertexAttribP3uiv)( GLuint, GLenum, GLboolean, GLuint* ) = extension_funcs[EXT_glVertexAttribP3uiv]; TRACE("(%d, %d, %d, %p)\n", index, type, normalized, value ); - ENTER_GL(); func_glVertexAttribP3uiv( index, type, normalized, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribP4ui( GLuint index, GLenum type, GLboolean normalized, GLuint value ) { void (*func_glVertexAttribP4ui)( GLuint, GLenum, GLboolean, GLuint ) = extension_funcs[EXT_glVertexAttribP4ui]; TRACE("(%d, %d, %d, %d)\n", index, type, normalized, value ); - ENTER_GL(); func_glVertexAttribP4ui( index, type, normalized, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribP4uiv( GLuint index, GLenum type, GLboolean normalized, GLuint* value ) { void (*func_glVertexAttribP4uiv)( GLuint, GLenum, GLboolean, GLuint* ) = extension_funcs[EXT_glVertexAttribP4uiv]; TRACE("(%d, %d, %d, %p)\n", index, type, normalized, value ); - ENTER_GL(); func_glVertexAttribP4uiv( index, type, normalized, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribPointer( GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLvoid* pointer ) { void (*func_glVertexAttribPointer)( GLuint, GLint, GLenum, GLboolean, GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexAttribPointer]; TRACE("(%d, %d, %d, %d, %d, %p)\n", index, size, type, normalized, stride, pointer ); - ENTER_GL(); func_glVertexAttribPointer( index, size, type, normalized, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribPointerARB( GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLvoid* pointer ) { void (*func_glVertexAttribPointerARB)( GLuint, GLint, GLenum, GLboolean, GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexAttribPointerARB]; TRACE("(%d, %d, %d, %d, %d, %p)\n", index, size, type, normalized, stride, pointer ); - ENTER_GL(); func_glVertexAttribPointerARB( index, size, type, normalized, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribPointerNV( GLuint index, GLint fsize, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glVertexAttribPointerNV)( GLuint, GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexAttribPointerNV]; TRACE("(%d, %d, %d, %d, %p)\n", index, fsize, type, stride, pointer ); - ENTER_GL(); func_glVertexAttribPointerNV( index, fsize, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs1dvNV( GLuint index, GLsizei count, GLdouble* v ) { void (*func_glVertexAttribs1dvNV)( GLuint, GLsizei, GLdouble* ) = extension_funcs[EXT_glVertexAttribs1dvNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs1dvNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs1fvNV( GLuint index, GLsizei count, GLfloat* v ) { void (*func_glVertexAttribs1fvNV)( GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glVertexAttribs1fvNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs1fvNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs1hvNV( GLuint index, GLsizei n, unsigned short* v ) { void (*func_glVertexAttribs1hvNV)( GLuint, GLsizei, unsigned short* ) = extension_funcs[EXT_glVertexAttribs1hvNV]; TRACE("(%d, %d, %p)\n", index, n, v ); - ENTER_GL(); func_glVertexAttribs1hvNV( index, n, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs1svNV( GLuint index, GLsizei count, GLshort* v ) { void (*func_glVertexAttribs1svNV)( GLuint, GLsizei, GLshort* ) = extension_funcs[EXT_glVertexAttribs1svNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs1svNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs2dvNV( GLuint index, GLsizei count, GLdouble* v ) { void (*func_glVertexAttribs2dvNV)( GLuint, GLsizei, GLdouble* ) = extension_funcs[EXT_glVertexAttribs2dvNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs2dvNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs2fvNV( GLuint index, GLsizei count, GLfloat* v ) { void (*func_glVertexAttribs2fvNV)( GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glVertexAttribs2fvNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs2fvNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs2hvNV( GLuint index, GLsizei n, unsigned short* v ) { void (*func_glVertexAttribs2hvNV)( GLuint, GLsizei, unsigned short* ) = extension_funcs[EXT_glVertexAttribs2hvNV]; TRACE("(%d, %d, %p)\n", index, n, v ); - ENTER_GL(); func_glVertexAttribs2hvNV( index, n, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs2svNV( GLuint index, GLsizei count, GLshort* v ) { void (*func_glVertexAttribs2svNV)( GLuint, GLsizei, GLshort* ) = extension_funcs[EXT_glVertexAttribs2svNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs2svNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs3dvNV( GLuint index, GLsizei count, GLdouble* v ) { void (*func_glVertexAttribs3dvNV)( GLuint, GLsizei, GLdouble* ) = extension_funcs[EXT_glVertexAttribs3dvNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs3dvNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs3fvNV( GLuint index, GLsizei count, GLfloat* v ) { void (*func_glVertexAttribs3fvNV)( GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glVertexAttribs3fvNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs3fvNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs3hvNV( GLuint index, GLsizei n, unsigned short* v ) { void (*func_glVertexAttribs3hvNV)( GLuint, GLsizei, unsigned short* ) = extension_funcs[EXT_glVertexAttribs3hvNV]; TRACE("(%d, %d, %p)\n", index, n, v ); - ENTER_GL(); func_glVertexAttribs3hvNV( index, n, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs3svNV( GLuint index, GLsizei count, GLshort* v ) { void (*func_glVertexAttribs3svNV)( GLuint, GLsizei, GLshort* ) = extension_funcs[EXT_glVertexAttribs3svNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs3svNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs4dvNV( GLuint index, GLsizei count, GLdouble* v ) { void (*func_glVertexAttribs4dvNV)( GLuint, GLsizei, GLdouble* ) = extension_funcs[EXT_glVertexAttribs4dvNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs4dvNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs4fvNV( GLuint index, GLsizei count, GLfloat* v ) { void (*func_glVertexAttribs4fvNV)( GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glVertexAttribs4fvNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs4fvNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs4hvNV( GLuint index, GLsizei n, unsigned short* v ) { void (*func_glVertexAttribs4hvNV)( GLuint, GLsizei, unsigned short* ) = extension_funcs[EXT_glVertexAttribs4hvNV]; TRACE("(%d, %d, %p)\n", index, n, v ); - ENTER_GL(); func_glVertexAttribs4hvNV( index, n, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs4svNV( GLuint index, GLsizei count, GLshort* v ) { void (*func_glVertexAttribs4svNV)( GLuint, GLsizei, GLshort* ) = extension_funcs[EXT_glVertexAttribs4svNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs4svNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexAttribs4ubvNV( GLuint index, GLsizei count, GLubyte* v ) { void (*func_glVertexAttribs4ubvNV)( GLuint, GLsizei, GLubyte* ) = extension_funcs[EXT_glVertexAttribs4ubvNV]; TRACE("(%d, %d, %p)\n", index, count, v ); - ENTER_GL(); func_glVertexAttribs4ubvNV( index, count, v ); - LEAVE_GL(); } static void WINAPI wine_glVertexBlendARB( GLint count ) { void (*func_glVertexBlendARB)( GLint ) = extension_funcs[EXT_glVertexBlendARB]; TRACE("(%d)\n", count ); - ENTER_GL(); func_glVertexBlendARB( count ); - LEAVE_GL(); } static void WINAPI wine_glVertexBlendEnvfATI( GLenum pname, GLfloat param ) { void (*func_glVertexBlendEnvfATI)( GLenum, GLfloat ) = extension_funcs[EXT_glVertexBlendEnvfATI]; TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); func_glVertexBlendEnvfATI( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glVertexBlendEnviATI( GLenum pname, GLint param ) { void (*func_glVertexBlendEnviATI)( GLenum, GLint ) = extension_funcs[EXT_glVertexBlendEnviATI]; TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); func_glVertexBlendEnviATI( pname, param ); - LEAVE_GL(); } static void WINAPI wine_glVertexFormatNV( GLint size, GLenum type, GLsizei stride ) { void (*func_glVertexFormatNV)( GLint, GLenum, GLsizei ) = extension_funcs[EXT_glVertexFormatNV]; TRACE("(%d, %d, %d)\n", size, type, stride ); - ENTER_GL(); func_glVertexFormatNV( size, type, stride ); - LEAVE_GL(); } static void WINAPI wine_glVertexP2ui( GLenum type, GLuint value ) { void (*func_glVertexP2ui)( GLenum, GLuint ) = extension_funcs[EXT_glVertexP2ui]; TRACE("(%d, %d)\n", type, value ); - ENTER_GL(); func_glVertexP2ui( type, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexP2uiv( GLenum type, GLuint* value ) { void (*func_glVertexP2uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glVertexP2uiv]; TRACE("(%d, %p)\n", type, value ); - ENTER_GL(); func_glVertexP2uiv( type, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexP3ui( GLenum type, GLuint value ) { void (*func_glVertexP3ui)( GLenum, GLuint ) = extension_funcs[EXT_glVertexP3ui]; TRACE("(%d, %d)\n", type, value ); - ENTER_GL(); func_glVertexP3ui( type, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexP3uiv( GLenum type, GLuint* value ) { void (*func_glVertexP3uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glVertexP3uiv]; TRACE("(%d, %p)\n", type, value ); - ENTER_GL(); func_glVertexP3uiv( type, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexP4ui( GLenum type, GLuint value ) { void (*func_glVertexP4ui)( GLenum, GLuint ) = extension_funcs[EXT_glVertexP4ui]; TRACE("(%d, %d)\n", type, value ); - ENTER_GL(); func_glVertexP4ui( type, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexP4uiv( GLenum type, GLuint* value ) { void (*func_glVertexP4uiv)( GLenum, GLuint* ) = extension_funcs[EXT_glVertexP4uiv]; TRACE("(%d, %p)\n", type, value ); - ENTER_GL(); func_glVertexP4uiv( type, value ); - LEAVE_GL(); } static void WINAPI wine_glVertexPointerEXT( GLint size, GLenum type, GLsizei stride, GLsizei count, GLvoid* pointer ) { void (*func_glVertexPointerEXT)( GLint, GLenum, GLsizei, GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexPointerEXT]; TRACE("(%d, %d, %d, %d, %p)\n", size, type, stride, count, pointer ); - ENTER_GL(); func_glVertexPointerEXT( size, type, stride, count, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexPointerListIBM( GLint size, GLenum type, GLint stride, GLvoid** pointer, GLint ptrstride ) { void (*func_glVertexPointerListIBM)( GLint, GLenum, GLint, GLvoid**, GLint ) = extension_funcs[EXT_glVertexPointerListIBM]; TRACE("(%d, %d, %d, %p, %d)\n", size, type, stride, pointer, ptrstride ); - ENTER_GL(); func_glVertexPointerListIBM( size, type, stride, pointer, ptrstride ); - LEAVE_GL(); } static void WINAPI wine_glVertexPointervINTEL( GLint size, GLenum type, GLvoid** pointer ) { void (*func_glVertexPointervINTEL)( GLint, GLenum, GLvoid** ) = extension_funcs[EXT_glVertexPointervINTEL]; TRACE("(%d, %d, %p)\n", size, type, pointer ); - ENTER_GL(); func_glVertexPointervINTEL( size, type, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream1dATI( GLenum stream, GLdouble x ) { void (*func_glVertexStream1dATI)( GLenum, GLdouble ) = extension_funcs[EXT_glVertexStream1dATI]; TRACE("(%d, %f)\n", stream, x ); - ENTER_GL(); func_glVertexStream1dATI( stream, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream1dvATI( GLenum stream, GLdouble* coords ) { void (*func_glVertexStream1dvATI)( GLenum, GLdouble* ) = extension_funcs[EXT_glVertexStream1dvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream1dvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream1fATI( GLenum stream, GLfloat x ) { void (*func_glVertexStream1fATI)( GLenum, GLfloat ) = extension_funcs[EXT_glVertexStream1fATI]; TRACE("(%d, %f)\n", stream, x ); - ENTER_GL(); func_glVertexStream1fATI( stream, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream1fvATI( GLenum stream, GLfloat* coords ) { void (*func_glVertexStream1fvATI)( GLenum, GLfloat* ) = extension_funcs[EXT_glVertexStream1fvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream1fvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream1iATI( GLenum stream, GLint x ) { void (*func_glVertexStream1iATI)( GLenum, GLint ) = extension_funcs[EXT_glVertexStream1iATI]; TRACE("(%d, %d)\n", stream, x ); - ENTER_GL(); func_glVertexStream1iATI( stream, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream1ivATI( GLenum stream, GLint* coords ) { void (*func_glVertexStream1ivATI)( GLenum, GLint* ) = extension_funcs[EXT_glVertexStream1ivATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream1ivATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream1sATI( GLenum stream, GLshort x ) { void (*func_glVertexStream1sATI)( GLenum, GLshort ) = extension_funcs[EXT_glVertexStream1sATI]; TRACE("(%d, %d)\n", stream, x ); - ENTER_GL(); func_glVertexStream1sATI( stream, x ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream1svATI( GLenum stream, GLshort* coords ) { void (*func_glVertexStream1svATI)( GLenum, GLshort* ) = extension_funcs[EXT_glVertexStream1svATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream1svATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream2dATI( GLenum stream, GLdouble x, GLdouble y ) { void (*func_glVertexStream2dATI)( GLenum, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexStream2dATI]; TRACE("(%d, %f, %f)\n", stream, x, y ); - ENTER_GL(); func_glVertexStream2dATI( stream, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream2dvATI( GLenum stream, GLdouble* coords ) { void (*func_glVertexStream2dvATI)( GLenum, GLdouble* ) = extension_funcs[EXT_glVertexStream2dvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream2dvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream2fATI( GLenum stream, GLfloat x, GLfloat y ) { void (*func_glVertexStream2fATI)( GLenum, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexStream2fATI]; TRACE("(%d, %f, %f)\n", stream, x, y ); - ENTER_GL(); func_glVertexStream2fATI( stream, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream2fvATI( GLenum stream, GLfloat* coords ) { void (*func_glVertexStream2fvATI)( GLenum, GLfloat* ) = extension_funcs[EXT_glVertexStream2fvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream2fvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream2iATI( GLenum stream, GLint x, GLint y ) { void (*func_glVertexStream2iATI)( GLenum, GLint, GLint ) = extension_funcs[EXT_glVertexStream2iATI]; TRACE("(%d, %d, %d)\n", stream, x, y ); - ENTER_GL(); func_glVertexStream2iATI( stream, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream2ivATI( GLenum stream, GLint* coords ) { void (*func_glVertexStream2ivATI)( GLenum, GLint* ) = extension_funcs[EXT_glVertexStream2ivATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream2ivATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream2sATI( GLenum stream, GLshort x, GLshort y ) { void (*func_glVertexStream2sATI)( GLenum, GLshort, GLshort ) = extension_funcs[EXT_glVertexStream2sATI]; TRACE("(%d, %d, %d)\n", stream, x, y ); - ENTER_GL(); func_glVertexStream2sATI( stream, x, y ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream2svATI( GLenum stream, GLshort* coords ) { void (*func_glVertexStream2svATI)( GLenum, GLshort* ) = extension_funcs[EXT_glVertexStream2svATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream2svATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream3dATI( GLenum stream, GLdouble x, GLdouble y, GLdouble z ) { void (*func_glVertexStream3dATI)( GLenum, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexStream3dATI]; TRACE("(%d, %f, %f, %f)\n", stream, x, y, z ); - ENTER_GL(); func_glVertexStream3dATI( stream, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream3dvATI( GLenum stream, GLdouble* coords ) { void (*func_glVertexStream3dvATI)( GLenum, GLdouble* ) = extension_funcs[EXT_glVertexStream3dvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream3dvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream3fATI( GLenum stream, GLfloat x, GLfloat y, GLfloat z ) { void (*func_glVertexStream3fATI)( GLenum, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexStream3fATI]; TRACE("(%d, %f, %f, %f)\n", stream, x, y, z ); - ENTER_GL(); func_glVertexStream3fATI( stream, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream3fvATI( GLenum stream, GLfloat* coords ) { void (*func_glVertexStream3fvATI)( GLenum, GLfloat* ) = extension_funcs[EXT_glVertexStream3fvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream3fvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream3iATI( GLenum stream, GLint x, GLint y, GLint z ) { void (*func_glVertexStream3iATI)( GLenum, GLint, GLint, GLint ) = extension_funcs[EXT_glVertexStream3iATI]; TRACE("(%d, %d, %d, %d)\n", stream, x, y, z ); - ENTER_GL(); func_glVertexStream3iATI( stream, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream3ivATI( GLenum stream, GLint* coords ) { void (*func_glVertexStream3ivATI)( GLenum, GLint* ) = extension_funcs[EXT_glVertexStream3ivATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream3ivATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream3sATI( GLenum stream, GLshort x, GLshort y, GLshort z ) { void (*func_glVertexStream3sATI)( GLenum, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glVertexStream3sATI]; TRACE("(%d, %d, %d, %d)\n", stream, x, y, z ); - ENTER_GL(); func_glVertexStream3sATI( stream, x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream3svATI( GLenum stream, GLshort* coords ) { void (*func_glVertexStream3svATI)( GLenum, GLshort* ) = extension_funcs[EXT_glVertexStream3svATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream3svATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream4dATI( GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glVertexStream4dATI)( GLenum, GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glVertexStream4dATI]; TRACE("(%d, %f, %f, %f, %f)\n", stream, x, y, z, w ); - ENTER_GL(); func_glVertexStream4dATI( stream, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream4dvATI( GLenum stream, GLdouble* coords ) { void (*func_glVertexStream4dvATI)( GLenum, GLdouble* ) = extension_funcs[EXT_glVertexStream4dvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream4dvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream4fATI( GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glVertexStream4fATI)( GLenum, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glVertexStream4fATI]; TRACE("(%d, %f, %f, %f, %f)\n", stream, x, y, z, w ); - ENTER_GL(); func_glVertexStream4fATI( stream, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream4fvATI( GLenum stream, GLfloat* coords ) { void (*func_glVertexStream4fvATI)( GLenum, GLfloat* ) = extension_funcs[EXT_glVertexStream4fvATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream4fvATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream4iATI( GLenum stream, GLint x, GLint y, GLint z, GLint w ) { void (*func_glVertexStream4iATI)( GLenum, GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glVertexStream4iATI]; TRACE("(%d, %d, %d, %d, %d)\n", stream, x, y, z, w ); - ENTER_GL(); func_glVertexStream4iATI( stream, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream4ivATI( GLenum stream, GLint* coords ) { void (*func_glVertexStream4ivATI)( GLenum, GLint* ) = extension_funcs[EXT_glVertexStream4ivATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream4ivATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream4sATI( GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w ) { void (*func_glVertexStream4sATI)( GLenum, GLshort, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glVertexStream4sATI]; TRACE("(%d, %d, %d, %d, %d)\n", stream, x, y, z, w ); - ENTER_GL(); func_glVertexStream4sATI( stream, x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glVertexStream4svATI( GLenum stream, GLshort* coords ) { void (*func_glVertexStream4svATI)( GLenum, GLshort* ) = extension_funcs[EXT_glVertexStream4svATI]; TRACE("(%d, %p)\n", stream, coords ); - ENTER_GL(); func_glVertexStream4svATI( stream, coords ); - LEAVE_GL(); } static void WINAPI wine_glVertexWeightPointerEXT( GLsizei size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glVertexWeightPointerEXT)( GLsizei, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glVertexWeightPointerEXT]; TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer ); - ENTER_GL(); func_glVertexWeightPointerEXT( size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glVertexWeightfEXT( GLfloat weight ) { void (*func_glVertexWeightfEXT)( GLfloat ) = extension_funcs[EXT_glVertexWeightfEXT]; TRACE("(%f)\n", weight ); - ENTER_GL(); func_glVertexWeightfEXT( weight ); - LEAVE_GL(); } static void WINAPI wine_glVertexWeightfvEXT( GLfloat* weight ) { void (*func_glVertexWeightfvEXT)( GLfloat* ) = extension_funcs[EXT_glVertexWeightfvEXT]; TRACE("(%p)\n", weight ); - ENTER_GL(); func_glVertexWeightfvEXT( weight ); - LEAVE_GL(); } static void WINAPI wine_glVertexWeighthNV( unsigned short weight ) { void (*func_glVertexWeighthNV)( unsigned short ) = extension_funcs[EXT_glVertexWeighthNV]; TRACE("(%d)\n", weight ); - ENTER_GL(); func_glVertexWeighthNV( weight ); - LEAVE_GL(); } static void WINAPI wine_glVertexWeighthvNV( unsigned short* weight ) { void (*func_glVertexWeighthvNV)( unsigned short* ) = extension_funcs[EXT_glVertexWeighthvNV]; TRACE("(%p)\n", weight ); - ENTER_GL(); func_glVertexWeighthvNV( weight ); - LEAVE_GL(); } static GLenum WINAPI wine_glVideoCaptureNV( GLuint video_capture_slot, GLuint* sequence_num, UINT64* capture_time ) { - GLenum ret_value; GLenum (*func_glVideoCaptureNV)( GLuint, GLuint*, UINT64* ) = extension_funcs[EXT_glVideoCaptureNV]; TRACE("(%d, %p, %p)\n", video_capture_slot, sequence_num, capture_time ); - ENTER_GL(); - ret_value = func_glVideoCaptureNV( video_capture_slot, sequence_num, capture_time ); - LEAVE_GL(); - return ret_value; + return func_glVideoCaptureNV( video_capture_slot, sequence_num, capture_time ); } static void WINAPI wine_glVideoCaptureStreamParameterdvNV( GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble* params ) { void (*func_glVideoCaptureStreamParameterdvNV)( GLuint, GLuint, GLenum, GLdouble* ) = extension_funcs[EXT_glVideoCaptureStreamParameterdvNV]; TRACE("(%d, %d, %d, %p)\n", video_capture_slot, stream, pname, params ); - ENTER_GL(); func_glVideoCaptureStreamParameterdvNV( video_capture_slot, stream, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glVideoCaptureStreamParameterfvNV( GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat* params ) { void (*func_glVideoCaptureStreamParameterfvNV)( GLuint, GLuint, GLenum, GLfloat* ) = extension_funcs[EXT_glVideoCaptureStreamParameterfvNV]; TRACE("(%d, %d, %d, %p)\n", video_capture_slot, stream, pname, params ); - ENTER_GL(); func_glVideoCaptureStreamParameterfvNV( video_capture_slot, stream, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glVideoCaptureStreamParameterivNV( GLuint video_capture_slot, GLuint stream, GLenum pname, GLint* params ) { void (*func_glVideoCaptureStreamParameterivNV)( GLuint, GLuint, GLenum, GLint* ) = extension_funcs[EXT_glVideoCaptureStreamParameterivNV]; TRACE("(%d, %d, %d, %p)\n", video_capture_slot, stream, pname, params ); - ENTER_GL(); func_glVideoCaptureStreamParameterivNV( video_capture_slot, stream, pname, params ); - LEAVE_GL(); } static void WINAPI wine_glViewportArrayv( GLuint first, GLsizei count, GLfloat* v ) { void (*func_glViewportArrayv)( GLuint, GLsizei, GLfloat* ) = extension_funcs[EXT_glViewportArrayv]; TRACE("(%d, %d, %p)\n", first, count, v ); - ENTER_GL(); func_glViewportArrayv( first, count, v ); - LEAVE_GL(); } static void WINAPI wine_glViewportIndexedf( GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h ) { void (*func_glViewportIndexedf)( GLuint, GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glViewportIndexedf]; TRACE("(%d, %f, %f, %f, %f)\n", index, x, y, w, h ); - ENTER_GL(); func_glViewportIndexedf( index, x, y, w, h ); - LEAVE_GL(); } static void WINAPI wine_glViewportIndexedfv( GLuint index, GLfloat* v ) { void (*func_glViewportIndexedfv)( GLuint, GLfloat* ) = extension_funcs[EXT_glViewportIndexedfv]; TRACE("(%d, %p)\n", index, v ); - ENTER_GL(); func_glViewportIndexedfv( index, v ); - LEAVE_GL(); } static void WINAPI wine_glWaitSync( GLvoid* sync, GLbitfield flags, UINT64 timeout ) { void (*func_glWaitSync)( GLvoid*, GLbitfield, UINT64 ) = extension_funcs[EXT_glWaitSync]; TRACE("(%p, %d, %s)\n", sync, flags, wine_dbgstr_longlong(timeout) ); - ENTER_GL(); func_glWaitSync( sync, flags, timeout ); - LEAVE_GL(); } static void WINAPI wine_glWeightPathsNV( GLuint resultPath, GLsizei numPaths, GLuint* paths, GLfloat* weights ) { void (*func_glWeightPathsNV)( GLuint, GLsizei, GLuint*, GLfloat* ) = extension_funcs[EXT_glWeightPathsNV]; TRACE("(%d, %d, %p, %p)\n", resultPath, numPaths, paths, weights ); - ENTER_GL(); func_glWeightPathsNV( resultPath, numPaths, paths, weights ); - LEAVE_GL(); } static void WINAPI wine_glWeightPointerARB( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { void (*func_glWeightPointerARB)( GLint, GLenum, GLsizei, GLvoid* ) = extension_funcs[EXT_glWeightPointerARB]; TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer ); - ENTER_GL(); func_glWeightPointerARB( size, type, stride, pointer ); - LEAVE_GL(); } static void WINAPI wine_glWeightbvARB( GLint size, GLbyte* weights ) { void (*func_glWeightbvARB)( GLint, GLbyte* ) = extension_funcs[EXT_glWeightbvARB]; TRACE("(%d, %p)\n", size, weights ); - ENTER_GL(); func_glWeightbvARB( size, weights ); - LEAVE_GL(); } static void WINAPI wine_glWeightdvARB( GLint size, GLdouble* weights ) { void (*func_glWeightdvARB)( GLint, GLdouble* ) = extension_funcs[EXT_glWeightdvARB]; TRACE("(%d, %p)\n", size, weights ); - ENTER_GL(); func_glWeightdvARB( size, weights ); - LEAVE_GL(); } static void WINAPI wine_glWeightfvARB( GLint size, GLfloat* weights ) { void (*func_glWeightfvARB)( GLint, GLfloat* ) = extension_funcs[EXT_glWeightfvARB]; TRACE("(%d, %p)\n", size, weights ); - ENTER_GL(); func_glWeightfvARB( size, weights ); - LEAVE_GL(); } static void WINAPI wine_glWeightivARB( GLint size, GLint* weights ) { void (*func_glWeightivARB)( GLint, GLint* ) = extension_funcs[EXT_glWeightivARB]; TRACE("(%d, %p)\n", size, weights ); - ENTER_GL(); func_glWeightivARB( size, weights ); - LEAVE_GL(); } static void WINAPI wine_glWeightsvARB( GLint size, GLshort* weights ) { void (*func_glWeightsvARB)( GLint, GLshort* ) = extension_funcs[EXT_glWeightsvARB]; TRACE("(%d, %p)\n", size, weights ); - ENTER_GL(); func_glWeightsvARB( size, weights ); - LEAVE_GL(); } static void WINAPI wine_glWeightubvARB( GLint size, GLubyte* weights ) { void (*func_glWeightubvARB)( GLint, GLubyte* ) = extension_funcs[EXT_glWeightubvARB]; TRACE("(%d, %p)\n", size, weights ); - ENTER_GL(); func_glWeightubvARB( size, weights ); - LEAVE_GL(); } static void WINAPI wine_glWeightuivARB( GLint size, GLuint* weights ) { void (*func_glWeightuivARB)( GLint, GLuint* ) = extension_funcs[EXT_glWeightuivARB]; TRACE("(%d, %p)\n", size, weights ); - ENTER_GL(); func_glWeightuivARB( size, weights ); - LEAVE_GL(); } static void WINAPI wine_glWeightusvARB( GLint size, GLushort* weights ) { void (*func_glWeightusvARB)( GLint, GLushort* ) = extension_funcs[EXT_glWeightusvARB]; TRACE("(%d, %p)\n", size, weights ); - ENTER_GL(); func_glWeightusvARB( size, weights ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2d( GLdouble x, GLdouble y ) { void (*func_glWindowPos2d)( GLdouble, GLdouble ) = extension_funcs[EXT_glWindowPos2d]; TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); func_glWindowPos2d( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2dARB( GLdouble x, GLdouble y ) { void (*func_glWindowPos2dARB)( GLdouble, GLdouble ) = extension_funcs[EXT_glWindowPos2dARB]; TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); func_glWindowPos2dARB( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2dMESA( GLdouble x, GLdouble y ) { void (*func_glWindowPos2dMESA)( GLdouble, GLdouble ) = extension_funcs[EXT_glWindowPos2dMESA]; TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); func_glWindowPos2dMESA( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2dv( GLdouble* v ) { void (*func_glWindowPos2dv)( GLdouble* ) = extension_funcs[EXT_glWindowPos2dv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2dv( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2dvARB( GLdouble* v ) { void (*func_glWindowPos2dvARB)( GLdouble* ) = extension_funcs[EXT_glWindowPos2dvARB]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2dvARB( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2dvMESA( GLdouble* v ) { void (*func_glWindowPos2dvMESA)( GLdouble* ) = extension_funcs[EXT_glWindowPos2dvMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2dvMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2f( GLfloat x, GLfloat y ) { void (*func_glWindowPos2f)( GLfloat, GLfloat ) = extension_funcs[EXT_glWindowPos2f]; TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); func_glWindowPos2f( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2fARB( GLfloat x, GLfloat y ) { void (*func_glWindowPos2fARB)( GLfloat, GLfloat ) = extension_funcs[EXT_glWindowPos2fARB]; TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); func_glWindowPos2fARB( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2fMESA( GLfloat x, GLfloat y ) { void (*func_glWindowPos2fMESA)( GLfloat, GLfloat ) = extension_funcs[EXT_glWindowPos2fMESA]; TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); func_glWindowPos2fMESA( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2fv( GLfloat* v ) { void (*func_glWindowPos2fv)( GLfloat* ) = extension_funcs[EXT_glWindowPos2fv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2fv( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2fvARB( GLfloat* v ) { void (*func_glWindowPos2fvARB)( GLfloat* ) = extension_funcs[EXT_glWindowPos2fvARB]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2fvARB( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2fvMESA( GLfloat* v ) { void (*func_glWindowPos2fvMESA)( GLfloat* ) = extension_funcs[EXT_glWindowPos2fvMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2fvMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2i( GLint x, GLint y ) { void (*func_glWindowPos2i)( GLint, GLint ) = extension_funcs[EXT_glWindowPos2i]; TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); func_glWindowPos2i( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2iARB( GLint x, GLint y ) { void (*func_glWindowPos2iARB)( GLint, GLint ) = extension_funcs[EXT_glWindowPos2iARB]; TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); func_glWindowPos2iARB( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2iMESA( GLint x, GLint y ) { void (*func_glWindowPos2iMESA)( GLint, GLint ) = extension_funcs[EXT_glWindowPos2iMESA]; TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); func_glWindowPos2iMESA( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2iv( GLint* v ) { void (*func_glWindowPos2iv)( GLint* ) = extension_funcs[EXT_glWindowPos2iv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2iv( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2ivARB( GLint* v ) { void (*func_glWindowPos2ivARB)( GLint* ) = extension_funcs[EXT_glWindowPos2ivARB]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2ivARB( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2ivMESA( GLint* v ) { void (*func_glWindowPos2ivMESA)( GLint* ) = extension_funcs[EXT_glWindowPos2ivMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2ivMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2s( GLshort x, GLshort y ) { void (*func_glWindowPos2s)( GLshort, GLshort ) = extension_funcs[EXT_glWindowPos2s]; TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); func_glWindowPos2s( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2sARB( GLshort x, GLshort y ) { void (*func_glWindowPos2sARB)( GLshort, GLshort ) = extension_funcs[EXT_glWindowPos2sARB]; TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); func_glWindowPos2sARB( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2sMESA( GLshort x, GLshort y ) { void (*func_glWindowPos2sMESA)( GLshort, GLshort ) = extension_funcs[EXT_glWindowPos2sMESA]; TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); func_glWindowPos2sMESA( x, y ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2sv( GLshort* v ) { void (*func_glWindowPos2sv)( GLshort* ) = extension_funcs[EXT_glWindowPos2sv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2sv( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2svARB( GLshort* v ) { void (*func_glWindowPos2svARB)( GLshort* ) = extension_funcs[EXT_glWindowPos2svARB]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2svARB( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos2svMESA( GLshort* v ) { void (*func_glWindowPos2svMESA)( GLshort* ) = extension_funcs[EXT_glWindowPos2svMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos2svMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3d( GLdouble x, GLdouble y, GLdouble z ) { void (*func_glWindowPos3d)( GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glWindowPos3d]; TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3d( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3dARB( GLdouble x, GLdouble y, GLdouble z ) { void (*func_glWindowPos3dARB)( GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glWindowPos3dARB]; TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3dARB( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3dMESA( GLdouble x, GLdouble y, GLdouble z ) { void (*func_glWindowPos3dMESA)( GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glWindowPos3dMESA]; TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3dMESA( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3dv( GLdouble* v ) { void (*func_glWindowPos3dv)( GLdouble* ) = extension_funcs[EXT_glWindowPos3dv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3dv( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3dvARB( GLdouble* v ) { void (*func_glWindowPos3dvARB)( GLdouble* ) = extension_funcs[EXT_glWindowPos3dvARB]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3dvARB( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3dvMESA( GLdouble* v ) { void (*func_glWindowPos3dvMESA)( GLdouble* ) = extension_funcs[EXT_glWindowPos3dvMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3dvMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3f( GLfloat x, GLfloat y, GLfloat z ) { void (*func_glWindowPos3f)( GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glWindowPos3f]; TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3f( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3fARB( GLfloat x, GLfloat y, GLfloat z ) { void (*func_glWindowPos3fARB)( GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glWindowPos3fARB]; TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3fARB( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3fMESA( GLfloat x, GLfloat y, GLfloat z ) { void (*func_glWindowPos3fMESA)( GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glWindowPos3fMESA]; TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3fMESA( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3fv( GLfloat* v ) { void (*func_glWindowPos3fv)( GLfloat* ) = extension_funcs[EXT_glWindowPos3fv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3fv( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3fvARB( GLfloat* v ) { void (*func_glWindowPos3fvARB)( GLfloat* ) = extension_funcs[EXT_glWindowPos3fvARB]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3fvARB( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3fvMESA( GLfloat* v ) { void (*func_glWindowPos3fvMESA)( GLfloat* ) = extension_funcs[EXT_glWindowPos3fvMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3fvMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3i( GLint x, GLint y, GLint z ) { void (*func_glWindowPos3i)( GLint, GLint, GLint ) = extension_funcs[EXT_glWindowPos3i]; TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3i( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3iARB( GLint x, GLint y, GLint z ) { void (*func_glWindowPos3iARB)( GLint, GLint, GLint ) = extension_funcs[EXT_glWindowPos3iARB]; TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3iARB( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3iMESA( GLint x, GLint y, GLint z ) { void (*func_glWindowPos3iMESA)( GLint, GLint, GLint ) = extension_funcs[EXT_glWindowPos3iMESA]; TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3iMESA( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3iv( GLint* v ) { void (*func_glWindowPos3iv)( GLint* ) = extension_funcs[EXT_glWindowPos3iv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3iv( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3ivARB( GLint* v ) { void (*func_glWindowPos3ivARB)( GLint* ) = extension_funcs[EXT_glWindowPos3ivARB]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3ivARB( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3ivMESA( GLint* v ) { void (*func_glWindowPos3ivMESA)( GLint* ) = extension_funcs[EXT_glWindowPos3ivMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3ivMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3s( GLshort x, GLshort y, GLshort z ) { void (*func_glWindowPos3s)( GLshort, GLshort, GLshort ) = extension_funcs[EXT_glWindowPos3s]; TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3s( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3sARB( GLshort x, GLshort y, GLshort z ) { void (*func_glWindowPos3sARB)( GLshort, GLshort, GLshort ) = extension_funcs[EXT_glWindowPos3sARB]; TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3sARB( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3sMESA( GLshort x, GLshort y, GLshort z ) { void (*func_glWindowPos3sMESA)( GLshort, GLshort, GLshort ) = extension_funcs[EXT_glWindowPos3sMESA]; TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); func_glWindowPos3sMESA( x, y, z ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3sv( GLshort* v ) { void (*func_glWindowPos3sv)( GLshort* ) = extension_funcs[EXT_glWindowPos3sv]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3sv( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3svARB( GLshort* v ) { void (*func_glWindowPos3svARB)( GLshort* ) = extension_funcs[EXT_glWindowPos3svARB]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3svARB( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos3svMESA( GLshort* v ) { void (*func_glWindowPos3svMESA)( GLshort* ) = extension_funcs[EXT_glWindowPos3svMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos3svMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos4dMESA( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { void (*func_glWindowPos4dMESA)( GLdouble, GLdouble, GLdouble, GLdouble ) = extension_funcs[EXT_glWindowPos4dMESA]; TRACE("(%f, %f, %f, %f)\n", x, y, z, w ); - ENTER_GL(); func_glWindowPos4dMESA( x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos4dvMESA( GLdouble* v ) { void (*func_glWindowPos4dvMESA)( GLdouble* ) = extension_funcs[EXT_glWindowPos4dvMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos4dvMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos4fMESA( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { void (*func_glWindowPos4fMESA)( GLfloat, GLfloat, GLfloat, GLfloat ) = extension_funcs[EXT_glWindowPos4fMESA]; TRACE("(%f, %f, %f, %f)\n", x, y, z, w ); - ENTER_GL(); func_glWindowPos4fMESA( x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos4fvMESA( GLfloat* v ) { void (*func_glWindowPos4fvMESA)( GLfloat* ) = extension_funcs[EXT_glWindowPos4fvMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos4fvMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos4iMESA( GLint x, GLint y, GLint z, GLint w ) { void (*func_glWindowPos4iMESA)( GLint, GLint, GLint, GLint ) = extension_funcs[EXT_glWindowPos4iMESA]; TRACE("(%d, %d, %d, %d)\n", x, y, z, w ); - ENTER_GL(); func_glWindowPos4iMESA( x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos4ivMESA( GLint* v ) { void (*func_glWindowPos4ivMESA)( GLint* ) = extension_funcs[EXT_glWindowPos4ivMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos4ivMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos4sMESA( GLshort x, GLshort y, GLshort z, GLshort w ) { void (*func_glWindowPos4sMESA)( GLshort, GLshort, GLshort, GLshort ) = extension_funcs[EXT_glWindowPos4sMESA]; TRACE("(%d, %d, %d, %d)\n", x, y, z, w ); - ENTER_GL(); func_glWindowPos4sMESA( x, y, z, w ); - LEAVE_GL(); } static void WINAPI wine_glWindowPos4svMESA( GLshort* v ) { void (*func_glWindowPos4svMESA)( GLshort* ) = extension_funcs[EXT_glWindowPos4svMESA]; TRACE("(%p)\n", v ); - ENTER_GL(); func_glWindowPos4svMESA( v ); - LEAVE_GL(); } static void WINAPI wine_glWriteMaskEXT( GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW ) { void (*func_glWriteMaskEXT)( GLuint, GLuint, GLenum, GLenum, GLenum, GLenum ) = extension_funcs[EXT_glWriteMaskEXT]; TRACE("(%d, %d, %d, %d, %d, %d)\n", res, in, outX, outY, outZ, outW ); - ENTER_GL(); func_glWriteMaskEXT( res, in, outX, outY, outZ, outW ); - LEAVE_GL(); } diff --git a/dlls/opengl32/opengl_ext.h b/dlls/opengl32/opengl_ext.h index c7685600a3c..aab3e772f76 100644 --- a/dlls/opengl32/opengl_ext.h +++ b/dlls/opengl32/opengl_ext.h @@ -36,15 +36,6 @@ #define WINAPI __stdcall #define APIENTRY WINAPI -/* X11 locking */ - -extern void (*wine_tsx11_lock_ptr)(void); -extern void (*wine_tsx11_unlock_ptr)(void); - -/* As GLX relies on X, this is needed */ -#define ENTER_GL() wine_tsx11_lock_ptr() -#define LEAVE_GL() wine_tsx11_unlock_ptr() - typedef struct { const char *name; /* name of the extension */ diff --git a/dlls/opengl32/opengl_norm.c b/dlls/opengl32/opengl_norm.c index d9b7b9880cd..bb8515faac6 100644 --- a/dlls/opengl32/opengl_norm.c +++ b/dlls/opengl32/opengl_norm.c @@ -12,9 +12,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(opengl); */ void WINAPI wine_glAccum( GLenum op, GLfloat value ) { TRACE("(%d, %f)\n", op, value ); - ENTER_GL(); glAccum( op, value ); - LEAVE_GL(); } /*********************************************************************** @@ -22,21 +20,15 @@ void WINAPI wine_glAccum( GLenum op, GLfloat value ) { */ void WINAPI wine_glAlphaFunc( GLenum func, GLfloat ref ) { TRACE("(%d, %f)\n", func, ref ); - ENTER_GL(); glAlphaFunc( func, ref ); - LEAVE_GL(); } /*********************************************************************** * glAreTexturesResident (OPENGL32.@) */ GLboolean WINAPI wine_glAreTexturesResident( GLsizei n, GLuint* textures, GLboolean* residences ) { - GLboolean ret_value; TRACE("(%d, %p, %p)\n", n, textures, residences ); - ENTER_GL(); - ret_value = glAreTexturesResident( n, textures, residences ); - LEAVE_GL(); - return ret_value; + return glAreTexturesResident( n, textures, residences ); } /*********************************************************************** @@ -44,9 +36,7 @@ GLboolean WINAPI wine_glAreTexturesResident( GLsizei n, GLuint* textures, GLbool */ void WINAPI wine_glArrayElement( GLint i ) { TRACE("(%d)\n", i ); - ENTER_GL(); glArrayElement( i ); - LEAVE_GL(); } /*********************************************************************** @@ -54,9 +44,7 @@ void WINAPI wine_glArrayElement( GLint i ) { */ void WINAPI wine_glBegin( GLenum mode ) { TRACE("(%d)\n", mode ); - ENTER_GL(); glBegin( mode ); - LEAVE_GL(); } /*********************************************************************** @@ -64,9 +52,7 @@ void WINAPI wine_glBegin( GLenum mode ) { */ void WINAPI wine_glBindTexture( GLenum target, GLuint texture ) { TRACE("(%d, %d)\n", target, texture ); - ENTER_GL(); glBindTexture( target, texture ); - LEAVE_GL(); } /*********************************************************************** @@ -74,9 +60,7 @@ void WINAPI wine_glBindTexture( GLenum target, GLuint texture ) { */ void WINAPI wine_glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte* bitmap ) { TRACE("(%d, %d, %f, %f, %f, %f, %p)\n", width, height, xorig, yorig, xmove, ymove, bitmap ); - ENTER_GL(); glBitmap( width, height, xorig, yorig, xmove, ymove, bitmap ); - LEAVE_GL(); } /*********************************************************************** @@ -84,9 +68,7 @@ void WINAPI wine_glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat */ void WINAPI wine_glBlendFunc( GLenum sfactor, GLenum dfactor ) { TRACE("(%d, %d)\n", sfactor, dfactor ); - ENTER_GL(); glBlendFunc( sfactor, dfactor ); - LEAVE_GL(); } /*********************************************************************** @@ -94,9 +76,7 @@ void WINAPI wine_glBlendFunc( GLenum sfactor, GLenum dfactor ) { */ void WINAPI wine_glCallList( GLuint list ) { TRACE("(%d)\n", list ); - ENTER_GL(); glCallList( list ); - LEAVE_GL(); } /*********************************************************************** @@ -104,9 +84,7 @@ void WINAPI wine_glCallList( GLuint list ) { */ void WINAPI wine_glCallLists( GLsizei n, GLenum type, GLvoid* lists ) { TRACE("(%d, %d, %p)\n", n, type, lists ); - ENTER_GL(); glCallLists( n, type, lists ); - LEAVE_GL(); } /*********************************************************************** @@ -114,9 +92,7 @@ void WINAPI wine_glCallLists( GLsizei n, GLenum type, GLvoid* lists ) { */ void WINAPI wine_glClear( GLbitfield mask ) { TRACE("(%d)\n", mask ); - ENTER_GL(); glClear( mask ); - LEAVE_GL(); } /*********************************************************************** @@ -124,9 +100,7 @@ void WINAPI wine_glClear( GLbitfield mask ) { */ void WINAPI wine_glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) { TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha ); - ENTER_GL(); glClearAccum( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -134,9 +108,7 @@ void WINAPI wine_glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat */ void WINAPI wine_glClearColor( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) { TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha ); - ENTER_GL(); glClearColor( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -144,9 +116,7 @@ void WINAPI wine_glClearColor( GLfloat red, GLfloat green, GLfloat blue, GLfloat */ void WINAPI wine_glClearDepth( GLdouble depth ) { TRACE("(%f)\n", depth ); - ENTER_GL(); glClearDepth( depth ); - LEAVE_GL(); } /*********************************************************************** @@ -154,9 +124,7 @@ void WINAPI wine_glClearDepth( GLdouble depth ) { */ void WINAPI wine_glClearIndex( GLfloat c ) { TRACE("(%f)\n", c ); - ENTER_GL(); glClearIndex( c ); - LEAVE_GL(); } /*********************************************************************** @@ -164,9 +132,7 @@ void WINAPI wine_glClearIndex( GLfloat c ) { */ void WINAPI wine_glClearStencil( GLint s ) { TRACE("(%d)\n", s ); - ENTER_GL(); glClearStencil( s ); - LEAVE_GL(); } /*********************************************************************** @@ -174,9 +140,7 @@ void WINAPI wine_glClearStencil( GLint s ) { */ void WINAPI wine_glClipPlane( GLenum plane, GLdouble* equation ) { TRACE("(%d, %p)\n", plane, equation ); - ENTER_GL(); glClipPlane( plane, equation ); - LEAVE_GL(); } /*********************************************************************** @@ -184,9 +148,7 @@ void WINAPI wine_glClipPlane( GLenum plane, GLdouble* equation ) { */ void WINAPI wine_glColor3b( GLbyte red, GLbyte green, GLbyte blue ) { TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); glColor3b( red, green, blue ); - LEAVE_GL(); } /*********************************************************************** @@ -194,9 +156,7 @@ void WINAPI wine_glColor3b( GLbyte red, GLbyte green, GLbyte blue ) { */ void WINAPI wine_glColor3bv( GLbyte* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor3bv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -204,9 +164,7 @@ void WINAPI wine_glColor3bv( GLbyte* v ) { */ void WINAPI wine_glColor3d( GLdouble red, GLdouble green, GLdouble blue ) { TRACE("(%f, %f, %f)\n", red, green, blue ); - ENTER_GL(); glColor3d( red, green, blue ); - LEAVE_GL(); } /*********************************************************************** @@ -214,9 +172,7 @@ void WINAPI wine_glColor3d( GLdouble red, GLdouble green, GLdouble blue ) { */ void WINAPI wine_glColor3dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor3dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -224,9 +180,7 @@ void WINAPI wine_glColor3dv( GLdouble* v ) { */ void WINAPI wine_glColor3f( GLfloat red, GLfloat green, GLfloat blue ) { TRACE("(%f, %f, %f)\n", red, green, blue ); - ENTER_GL(); glColor3f( red, green, blue ); - LEAVE_GL(); } /*********************************************************************** @@ -234,9 +188,7 @@ void WINAPI wine_glColor3f( GLfloat red, GLfloat green, GLfloat blue ) { */ void WINAPI wine_glColor3fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor3fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -244,9 +196,7 @@ void WINAPI wine_glColor3fv( GLfloat* v ) { */ void WINAPI wine_glColor3i( GLint red, GLint green, GLint blue ) { TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); glColor3i( red, green, blue ); - LEAVE_GL(); } /*********************************************************************** @@ -254,9 +204,7 @@ void WINAPI wine_glColor3i( GLint red, GLint green, GLint blue ) { */ void WINAPI wine_glColor3iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor3iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -264,9 +212,7 @@ void WINAPI wine_glColor3iv( GLint* v ) { */ void WINAPI wine_glColor3s( GLshort red, GLshort green, GLshort blue ) { TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); glColor3s( red, green, blue ); - LEAVE_GL(); } /*********************************************************************** @@ -274,9 +220,7 @@ void WINAPI wine_glColor3s( GLshort red, GLshort green, GLshort blue ) { */ void WINAPI wine_glColor3sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor3sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -284,9 +228,7 @@ void WINAPI wine_glColor3sv( GLshort* v ) { */ void WINAPI wine_glColor3ub( GLubyte red, GLubyte green, GLubyte blue ) { TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); glColor3ub( red, green, blue ); - LEAVE_GL(); } /*********************************************************************** @@ -294,9 +236,7 @@ void WINAPI wine_glColor3ub( GLubyte red, GLubyte green, GLubyte blue ) { */ void WINAPI wine_glColor3ubv( GLubyte* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor3ubv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -304,9 +244,7 @@ void WINAPI wine_glColor3ubv( GLubyte* v ) { */ void WINAPI wine_glColor3ui( GLuint red, GLuint green, GLuint blue ) { TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); glColor3ui( red, green, blue ); - LEAVE_GL(); } /*********************************************************************** @@ -314,9 +252,7 @@ void WINAPI wine_glColor3ui( GLuint red, GLuint green, GLuint blue ) { */ void WINAPI wine_glColor3uiv( GLuint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor3uiv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -324,9 +260,7 @@ void WINAPI wine_glColor3uiv( GLuint* v ) { */ void WINAPI wine_glColor3us( GLushort red, GLushort green, GLushort blue ) { TRACE("(%d, %d, %d)\n", red, green, blue ); - ENTER_GL(); glColor3us( red, green, blue ); - LEAVE_GL(); } /*********************************************************************** @@ -334,9 +268,7 @@ void WINAPI wine_glColor3us( GLushort red, GLushort green, GLushort blue ) { */ void WINAPI wine_glColor3usv( GLushort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor3usv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -344,9 +276,7 @@ void WINAPI wine_glColor3usv( GLushort* v ) { */ void WINAPI wine_glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ) { TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); glColor4b( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -354,9 +284,7 @@ void WINAPI wine_glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha */ void WINAPI wine_glColor4bv( GLbyte* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor4bv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -364,9 +292,7 @@ void WINAPI wine_glColor4bv( GLbyte* v ) { */ void WINAPI wine_glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ) { TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha ); - ENTER_GL(); glColor4d( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -374,9 +300,7 @@ void WINAPI wine_glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdoubl */ void WINAPI wine_glColor4dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor4dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -384,9 +308,7 @@ void WINAPI wine_glColor4dv( GLdouble* v ) { */ void WINAPI wine_glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) { TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha ); - ENTER_GL(); glColor4f( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -394,9 +316,7 @@ void WINAPI wine_glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat al */ void WINAPI wine_glColor4fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor4fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -404,9 +324,7 @@ void WINAPI wine_glColor4fv( GLfloat* v ) { */ void WINAPI wine_glColor4i( GLint red, GLint green, GLint blue, GLint alpha ) { TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); glColor4i( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -414,9 +332,7 @@ void WINAPI wine_glColor4i( GLint red, GLint green, GLint blue, GLint alpha ) { */ void WINAPI wine_glColor4iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor4iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -424,9 +340,7 @@ void WINAPI wine_glColor4iv( GLint* v ) { */ void WINAPI wine_glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ) { TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); glColor4s( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -434,9 +348,7 @@ void WINAPI wine_glColor4s( GLshort red, GLshort green, GLshort blue, GLshort al */ void WINAPI wine_glColor4sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor4sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -444,9 +356,7 @@ void WINAPI wine_glColor4sv( GLshort* v ) { */ void WINAPI wine_glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) { TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); glColor4ub( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -454,9 +364,7 @@ void WINAPI wine_glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte a */ void WINAPI wine_glColor4ubv( GLubyte* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor4ubv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -464,9 +372,7 @@ void WINAPI wine_glColor4ubv( GLubyte* v ) { */ void WINAPI wine_glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ) { TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); glColor4ui( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -474,9 +380,7 @@ void WINAPI wine_glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha */ void WINAPI wine_glColor4uiv( GLuint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor4uiv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -484,9 +388,7 @@ void WINAPI wine_glColor4uiv( GLuint* v ) { */ void WINAPI wine_glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ) { TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); glColor4us( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -494,9 +396,7 @@ void WINAPI wine_glColor4us( GLushort red, GLushort green, GLushort blue, GLusho */ void WINAPI wine_glColor4usv( GLushort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glColor4usv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -504,9 +404,7 @@ void WINAPI wine_glColor4usv( GLushort* v ) { */ void WINAPI wine_glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) { TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha ); - ENTER_GL(); glColorMask( red, green, blue, alpha ); - LEAVE_GL(); } /*********************************************************************** @@ -514,9 +412,7 @@ void WINAPI wine_glColorMask( GLboolean red, GLboolean green, GLboolean blue, GL */ void WINAPI wine_glColorMaterial( GLenum face, GLenum mode ) { TRACE("(%d, %d)\n", face, mode ); - ENTER_GL(); glColorMaterial( face, mode ); - LEAVE_GL(); } /*********************************************************************** @@ -524,9 +420,7 @@ void WINAPI wine_glColorMaterial( GLenum face, GLenum mode ) { */ void WINAPI wine_glColorPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer ); - ENTER_GL(); glColorPointer( size, type, stride, pointer ); - LEAVE_GL(); } /*********************************************************************** @@ -534,9 +428,7 @@ void WINAPI wine_glColorPointer( GLint size, GLenum type, GLsizei stride, GLvoid */ void WINAPI wine_glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type ) { TRACE("(%d, %d, %d, %d, %d)\n", x, y, width, height, type ); - ENTER_GL(); glCopyPixels( x, y, width, height, type ); - LEAVE_GL(); } /*********************************************************************** @@ -544,9 +436,7 @@ void WINAPI wine_glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, */ void WINAPI wine_glCopyTexImage1D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ) { TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, border ); - ENTER_GL(); glCopyTexImage1D( target, level, internalformat, x, y, width, border ); - LEAVE_GL(); } /*********************************************************************** @@ -554,9 +444,7 @@ void WINAPI wine_glCopyTexImage1D( GLenum target, GLint level, GLenum internalfo */ void WINAPI wine_glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) { TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, height, border ); - ENTER_GL(); glCopyTexImage2D( target, level, internalformat, x, y, width, height, border ); - LEAVE_GL(); } /*********************************************************************** @@ -564,9 +452,7 @@ void WINAPI wine_glCopyTexImage2D( GLenum target, GLint level, GLenum internalfo */ void WINAPI wine_glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ) { TRACE("(%d, %d, %d, %d, %d, %d)\n", target, level, xoffset, x, y, width ); - ENTER_GL(); glCopyTexSubImage1D( target, level, xoffset, x, y, width ); - LEAVE_GL(); } /*********************************************************************** @@ -574,9 +460,7 @@ void WINAPI wine_glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, */ void WINAPI wine_glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, x, y, width, height ); - ENTER_GL(); glCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height ); - LEAVE_GL(); } /*********************************************************************** @@ -584,9 +468,7 @@ void WINAPI wine_glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, */ void WINAPI wine_glCullFace( GLenum mode ) { TRACE("(%d)\n", mode ); - ENTER_GL(); glCullFace( mode ); - LEAVE_GL(); } /*********************************************************************** @@ -594,9 +476,7 @@ void WINAPI wine_glCullFace( GLenum mode ) { */ void WINAPI wine_glDeleteLists( GLuint list, GLsizei range ) { TRACE("(%d, %d)\n", list, range ); - ENTER_GL(); glDeleteLists( list, range ); - LEAVE_GL(); } /*********************************************************************** @@ -604,9 +484,7 @@ void WINAPI wine_glDeleteLists( GLuint list, GLsizei range ) { */ void WINAPI wine_glDeleteTextures( GLsizei n, GLuint* textures ) { TRACE("(%d, %p)\n", n, textures ); - ENTER_GL(); glDeleteTextures( n, textures ); - LEAVE_GL(); } /*********************************************************************** @@ -614,9 +492,7 @@ void WINAPI wine_glDeleteTextures( GLsizei n, GLuint* textures ) { */ void WINAPI wine_glDepthFunc( GLenum func ) { TRACE("(%d)\n", func ); - ENTER_GL(); glDepthFunc( func ); - LEAVE_GL(); } /*********************************************************************** @@ -624,9 +500,7 @@ void WINAPI wine_glDepthFunc( GLenum func ) { */ void WINAPI wine_glDepthMask( GLboolean flag ) { TRACE("(%d)\n", flag ); - ENTER_GL(); glDepthMask( flag ); - LEAVE_GL(); } /*********************************************************************** @@ -634,9 +508,7 @@ void WINAPI wine_glDepthMask( GLboolean flag ) { */ void WINAPI wine_glDepthRange( GLdouble nearParam, GLdouble farParam ) { TRACE("(%f, %f)\n", nearParam, farParam ); - ENTER_GL(); glDepthRange( nearParam, farParam ); - LEAVE_GL(); } /*********************************************************************** @@ -644,9 +516,7 @@ void WINAPI wine_glDepthRange( GLdouble nearParam, GLdouble farParam ) { */ void WINAPI wine_glDisable( GLenum cap ) { TRACE("(%d)\n", cap ); - ENTER_GL(); glDisable( cap ); - LEAVE_GL(); } /*********************************************************************** @@ -654,9 +524,7 @@ void WINAPI wine_glDisable( GLenum cap ) { */ void WINAPI wine_glDisableClientState( GLenum array ) { TRACE("(%d)\n", array ); - ENTER_GL(); glDisableClientState( array ); - LEAVE_GL(); } /*********************************************************************** @@ -664,9 +532,7 @@ void WINAPI wine_glDisableClientState( GLenum array ) { */ void WINAPI wine_glDrawArrays( GLenum mode, GLint first, GLsizei count ) { TRACE("(%d, %d, %d)\n", mode, first, count ); - ENTER_GL(); glDrawArrays( mode, first, count ); - LEAVE_GL(); } /*********************************************************************** @@ -674,9 +540,7 @@ void WINAPI wine_glDrawArrays( GLenum mode, GLint first, GLsizei count ) { */ void WINAPI wine_glDrawBuffer( GLenum mode ) { TRACE("(%d)\n", mode ); - ENTER_GL(); glDrawBuffer( mode ); - LEAVE_GL(); } /*********************************************************************** @@ -684,9 +548,7 @@ void WINAPI wine_glDrawBuffer( GLenum mode ) { */ void WINAPI wine_glDrawElements( GLenum mode, GLsizei count, GLenum type, GLvoid* indices ) { TRACE("(%d, %d, %d, %p)\n", mode, count, type, indices ); - ENTER_GL(); glDrawElements( mode, count, type, indices ); - LEAVE_GL(); } /*********************************************************************** @@ -694,9 +556,7 @@ void WINAPI wine_glDrawElements( GLenum mode, GLsizei count, GLenum type, GLvoid */ void WINAPI wine_glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) { TRACE("(%d, %d, %d, %d, %p)\n", width, height, format, type, pixels ); - ENTER_GL(); glDrawPixels( width, height, format, type, pixels ); - LEAVE_GL(); } /*********************************************************************** @@ -704,9 +564,7 @@ void WINAPI wine_glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLe */ void WINAPI wine_glEdgeFlag( GLboolean flag ) { TRACE("(%d)\n", flag ); - ENTER_GL(); glEdgeFlag( flag ); - LEAVE_GL(); } /*********************************************************************** @@ -714,9 +572,7 @@ void WINAPI wine_glEdgeFlag( GLboolean flag ) { */ void WINAPI wine_glEdgeFlagPointer( GLsizei stride, GLvoid* pointer ) { TRACE("(%d, %p)\n", stride, pointer ); - ENTER_GL(); glEdgeFlagPointer( stride, pointer ); - LEAVE_GL(); } /*********************************************************************** @@ -724,9 +580,7 @@ void WINAPI wine_glEdgeFlagPointer( GLsizei stride, GLvoid* pointer ) { */ void WINAPI wine_glEdgeFlagv( GLboolean* flag ) { TRACE("(%p)\n", flag ); - ENTER_GL(); glEdgeFlagv( flag ); - LEAVE_GL(); } /*********************************************************************** @@ -734,9 +588,7 @@ void WINAPI wine_glEdgeFlagv( GLboolean* flag ) { */ void WINAPI wine_glEnable( GLenum cap ) { TRACE("(%d)\n", cap ); - ENTER_GL(); glEnable( cap ); - LEAVE_GL(); } /*********************************************************************** @@ -744,9 +596,7 @@ void WINAPI wine_glEnable( GLenum cap ) { */ void WINAPI wine_glEnableClientState( GLenum array ) { TRACE("(%d)\n", array ); - ENTER_GL(); glEnableClientState( array ); - LEAVE_GL(); } /*********************************************************************** @@ -754,9 +604,7 @@ void WINAPI wine_glEnableClientState( GLenum array ) { */ void WINAPI wine_glEnd( void ) { TRACE("()\n"); - ENTER_GL(); glEnd( ); - LEAVE_GL(); } /*********************************************************************** @@ -764,9 +612,7 @@ void WINAPI wine_glEnd( void ) { */ void WINAPI wine_glEndList( void ) { TRACE("()\n"); - ENTER_GL(); glEndList( ); - LEAVE_GL(); } /*********************************************************************** @@ -774,9 +620,7 @@ void WINAPI wine_glEndList( void ) { */ void WINAPI wine_glEvalCoord1d( GLdouble u ) { TRACE("(%f)\n", u ); - ENTER_GL(); glEvalCoord1d( u ); - LEAVE_GL(); } /*********************************************************************** @@ -784,9 +628,7 @@ void WINAPI wine_glEvalCoord1d( GLdouble u ) { */ void WINAPI wine_glEvalCoord1dv( GLdouble* u ) { TRACE("(%p)\n", u ); - ENTER_GL(); glEvalCoord1dv( u ); - LEAVE_GL(); } /*********************************************************************** @@ -794,9 +636,7 @@ void WINAPI wine_glEvalCoord1dv( GLdouble* u ) { */ void WINAPI wine_glEvalCoord1f( GLfloat u ) { TRACE("(%f)\n", u ); - ENTER_GL(); glEvalCoord1f( u ); - LEAVE_GL(); } /*********************************************************************** @@ -804,9 +644,7 @@ void WINAPI wine_glEvalCoord1f( GLfloat u ) { */ void WINAPI wine_glEvalCoord1fv( GLfloat* u ) { TRACE("(%p)\n", u ); - ENTER_GL(); glEvalCoord1fv( u ); - LEAVE_GL(); } /*********************************************************************** @@ -814,9 +652,7 @@ void WINAPI wine_glEvalCoord1fv( GLfloat* u ) { */ void WINAPI wine_glEvalCoord2d( GLdouble u, GLdouble v ) { TRACE("(%f, %f)\n", u, v ); - ENTER_GL(); glEvalCoord2d( u, v ); - LEAVE_GL(); } /*********************************************************************** @@ -824,9 +660,7 @@ void WINAPI wine_glEvalCoord2d( GLdouble u, GLdouble v ) { */ void WINAPI wine_glEvalCoord2dv( GLdouble* u ) { TRACE("(%p)\n", u ); - ENTER_GL(); glEvalCoord2dv( u ); - LEAVE_GL(); } /*********************************************************************** @@ -834,9 +668,7 @@ void WINAPI wine_glEvalCoord2dv( GLdouble* u ) { */ void WINAPI wine_glEvalCoord2f( GLfloat u, GLfloat v ) { TRACE("(%f, %f)\n", u, v ); - ENTER_GL(); glEvalCoord2f( u, v ); - LEAVE_GL(); } /*********************************************************************** @@ -844,9 +676,7 @@ void WINAPI wine_glEvalCoord2f( GLfloat u, GLfloat v ) { */ void WINAPI wine_glEvalCoord2fv( GLfloat* u ) { TRACE("(%p)\n", u ); - ENTER_GL(); glEvalCoord2fv( u ); - LEAVE_GL(); } /*********************************************************************** @@ -854,9 +684,7 @@ void WINAPI wine_glEvalCoord2fv( GLfloat* u ) { */ void WINAPI wine_glEvalMesh1( GLenum mode, GLint i1, GLint i2 ) { TRACE("(%d, %d, %d)\n", mode, i1, i2 ); - ENTER_GL(); glEvalMesh1( mode, i1, i2 ); - LEAVE_GL(); } /*********************************************************************** @@ -864,9 +692,7 @@ void WINAPI wine_glEvalMesh1( GLenum mode, GLint i1, GLint i2 ) { */ void WINAPI wine_glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ) { TRACE("(%d, %d, %d, %d, %d)\n", mode, i1, i2, j1, j2 ); - ENTER_GL(); glEvalMesh2( mode, i1, i2, j1, j2 ); - LEAVE_GL(); } /*********************************************************************** @@ -874,9 +700,7 @@ void WINAPI wine_glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j */ void WINAPI wine_glEvalPoint1( GLint i ) { TRACE("(%d)\n", i ); - ENTER_GL(); glEvalPoint1( i ); - LEAVE_GL(); } /*********************************************************************** @@ -884,9 +708,7 @@ void WINAPI wine_glEvalPoint1( GLint i ) { */ void WINAPI wine_glEvalPoint2( GLint i, GLint j ) { TRACE("(%d, %d)\n", i, j ); - ENTER_GL(); glEvalPoint2( i, j ); - LEAVE_GL(); } /*********************************************************************** @@ -894,9 +716,7 @@ void WINAPI wine_glEvalPoint2( GLint i, GLint j ) { */ void WINAPI wine_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer ) { TRACE("(%d, %d, %p)\n", size, type, buffer ); - ENTER_GL(); glFeedbackBuffer( size, type, buffer ); - LEAVE_GL(); } /*********************************************************************** @@ -904,9 +724,7 @@ void WINAPI wine_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer ) */ void WINAPI wine_glFogf( GLenum pname, GLfloat param ) { TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); glFogf( pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -914,9 +732,7 @@ void WINAPI wine_glFogf( GLenum pname, GLfloat param ) { */ void WINAPI wine_glFogfv( GLenum pname, GLfloat* params ) { TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); glFogfv( pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -924,9 +740,7 @@ void WINAPI wine_glFogfv( GLenum pname, GLfloat* params ) { */ void WINAPI wine_glFogi( GLenum pname, GLint param ) { TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); glFogi( pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -934,9 +748,7 @@ void WINAPI wine_glFogi( GLenum pname, GLint param ) { */ void WINAPI wine_glFogiv( GLenum pname, GLint* params ) { TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); glFogiv( pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -944,9 +756,7 @@ void WINAPI wine_glFogiv( GLenum pname, GLint* params ) { */ void WINAPI wine_glFrontFace( GLenum mode ) { TRACE("(%d)\n", mode ); - ENTER_GL(); glFrontFace( mode ); - LEAVE_GL(); } /*********************************************************************** @@ -954,21 +764,15 @@ void WINAPI wine_glFrontFace( GLenum mode ) { */ void WINAPI wine_glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) { TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar ); - ENTER_GL(); glFrustum( left, right, bottom, top, zNear, zFar ); - LEAVE_GL(); } /*********************************************************************** * glGenLists (OPENGL32.@) */ GLuint WINAPI wine_glGenLists( GLsizei range ) { - GLuint ret_value; TRACE("(%d)\n", range ); - ENTER_GL(); - ret_value = glGenLists( range ); - LEAVE_GL(); - return ret_value; + return glGenLists( range ); } /*********************************************************************** @@ -976,9 +780,7 @@ GLuint WINAPI wine_glGenLists( GLsizei range ) { */ void WINAPI wine_glGenTextures( GLsizei n, GLuint* textures ) { TRACE("(%d, %p)\n", n, textures ); - ENTER_GL(); glGenTextures( n, textures ); - LEAVE_GL(); } /*********************************************************************** @@ -986,9 +788,7 @@ void WINAPI wine_glGenTextures( GLsizei n, GLuint* textures ) { */ void WINAPI wine_glGetBooleanv( GLenum pname, GLboolean* params ) { TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); glGetBooleanv( pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -996,9 +796,7 @@ void WINAPI wine_glGetBooleanv( GLenum pname, GLboolean* params ) { */ void WINAPI wine_glGetClipPlane( GLenum plane, GLdouble* equation ) { TRACE("(%d, %p)\n", plane, equation ); - ENTER_GL(); glGetClipPlane( plane, equation ); - LEAVE_GL(); } /*********************************************************************** @@ -1006,21 +804,15 @@ void WINAPI wine_glGetClipPlane( GLenum plane, GLdouble* equation ) { */ void WINAPI wine_glGetDoublev( GLenum pname, GLdouble* params ) { TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); glGetDoublev( pname, params ); - LEAVE_GL(); } /*********************************************************************** * glGetError (OPENGL32.@) */ GLenum WINAPI wine_glGetError( void ) { - GLenum ret_value; TRACE("()\n"); - ENTER_GL(); - ret_value = glGetError( ); - LEAVE_GL(); - return ret_value; + return glGetError( ); } /*********************************************************************** @@ -1028,9 +820,7 @@ GLenum WINAPI wine_glGetError( void ) { */ void WINAPI wine_glGetFloatv( GLenum pname, GLfloat* params ) { TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); glGetFloatv( pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1038,9 +828,7 @@ void WINAPI wine_glGetFloatv( GLenum pname, GLfloat* params ) { */ void WINAPI wine_glGetLightfv( GLenum light, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", light, pname, params ); - ENTER_GL(); glGetLightfv( light, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1048,9 +836,7 @@ void WINAPI wine_glGetLightfv( GLenum light, GLenum pname, GLfloat* params ) { */ void WINAPI wine_glGetLightiv( GLenum light, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", light, pname, params ); - ENTER_GL(); glGetLightiv( light, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1058,9 +844,7 @@ void WINAPI wine_glGetLightiv( GLenum light, GLenum pname, GLint* params ) { */ void WINAPI wine_glGetMapdv( GLenum target, GLenum query, GLdouble* v ) { TRACE("(%d, %d, %p)\n", target, query, v ); - ENTER_GL(); glGetMapdv( target, query, v ); - LEAVE_GL(); } /*********************************************************************** @@ -1068,9 +852,7 @@ void WINAPI wine_glGetMapdv( GLenum target, GLenum query, GLdouble* v ) { */ void WINAPI wine_glGetMapfv( GLenum target, GLenum query, GLfloat* v ) { TRACE("(%d, %d, %p)\n", target, query, v ); - ENTER_GL(); glGetMapfv( target, query, v ); - LEAVE_GL(); } /*********************************************************************** @@ -1078,9 +860,7 @@ void WINAPI wine_glGetMapfv( GLenum target, GLenum query, GLfloat* v ) { */ void WINAPI wine_glGetMapiv( GLenum target, GLenum query, GLint* v ) { TRACE("(%d, %d, %p)\n", target, query, v ); - ENTER_GL(); glGetMapiv( target, query, v ); - LEAVE_GL(); } /*********************************************************************** @@ -1088,9 +868,7 @@ void WINAPI wine_glGetMapiv( GLenum target, GLenum query, GLint* v ) { */ void WINAPI wine_glGetMaterialfv( GLenum face, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", face, pname, params ); - ENTER_GL(); glGetMaterialfv( face, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1098,9 +876,7 @@ void WINAPI wine_glGetMaterialfv( GLenum face, GLenum pname, GLfloat* params ) { */ void WINAPI wine_glGetMaterialiv( GLenum face, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", face, pname, params ); - ENTER_GL(); glGetMaterialiv( face, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1108,9 +884,7 @@ void WINAPI wine_glGetMaterialiv( GLenum face, GLenum pname, GLint* params ) { */ void WINAPI wine_glGetPixelMapfv( GLenum map, GLfloat* values ) { TRACE("(%d, %p)\n", map, values ); - ENTER_GL(); glGetPixelMapfv( map, values ); - LEAVE_GL(); } /*********************************************************************** @@ -1118,9 +892,7 @@ void WINAPI wine_glGetPixelMapfv( GLenum map, GLfloat* values ) { */ void WINAPI wine_glGetPixelMapuiv( GLenum map, GLuint* values ) { TRACE("(%d, %p)\n", map, values ); - ENTER_GL(); glGetPixelMapuiv( map, values ); - LEAVE_GL(); } /*********************************************************************** @@ -1128,9 +900,7 @@ void WINAPI wine_glGetPixelMapuiv( GLenum map, GLuint* values ) { */ void WINAPI wine_glGetPixelMapusv( GLenum map, GLushort* values ) { TRACE("(%d, %p)\n", map, values ); - ENTER_GL(); glGetPixelMapusv( map, values ); - LEAVE_GL(); } /*********************************************************************** @@ -1138,9 +908,7 @@ void WINAPI wine_glGetPixelMapusv( GLenum map, GLushort* values ) { */ void WINAPI wine_glGetPointerv( GLenum pname, GLvoid** params ) { TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); glGetPointerv( pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1148,9 +916,7 @@ void WINAPI wine_glGetPointerv( GLenum pname, GLvoid** params ) { */ void WINAPI wine_glGetPolygonStipple( GLubyte* mask ) { TRACE("(%p)\n", mask ); - ENTER_GL(); glGetPolygonStipple( mask ); - LEAVE_GL(); } /*********************************************************************** @@ -1158,9 +924,7 @@ void WINAPI wine_glGetPolygonStipple( GLubyte* mask ) { */ void WINAPI wine_glGetTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); glGetTexEnvfv( target, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1168,9 +932,7 @@ void WINAPI wine_glGetTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) { */ void WINAPI wine_glGetTexEnviv( GLenum target, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); glGetTexEnviv( target, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1178,9 +940,7 @@ void WINAPI wine_glGetTexEnviv( GLenum target, GLenum pname, GLint* params ) { */ void WINAPI wine_glGetTexGendv( GLenum coord, GLenum pname, GLdouble* params ) { TRACE("(%d, %d, %p)\n", coord, pname, params ); - ENTER_GL(); glGetTexGendv( coord, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1188,9 +948,7 @@ void WINAPI wine_glGetTexGendv( GLenum coord, GLenum pname, GLdouble* params ) { */ void WINAPI wine_glGetTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", coord, pname, params ); - ENTER_GL(); glGetTexGenfv( coord, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1198,9 +956,7 @@ void WINAPI wine_glGetTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) { */ void WINAPI wine_glGetTexGeniv( GLenum coord, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", coord, pname, params ); - ENTER_GL(); glGetTexGeniv( coord, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1208,9 +964,7 @@ void WINAPI wine_glGetTexGeniv( GLenum coord, GLenum pname, GLint* params ) { */ void WINAPI wine_glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels ) { TRACE("(%d, %d, %d, %d, %p)\n", target, level, format, type, pixels ); - ENTER_GL(); glGetTexImage( target, level, format, type, pixels ); - LEAVE_GL(); } /*********************************************************************** @@ -1218,9 +972,7 @@ void WINAPI wine_glGetTexImage( GLenum target, GLint level, GLenum format, GLenu */ void WINAPI wine_glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %d, %p)\n", target, level, pname, params ); - ENTER_GL(); glGetTexLevelParameterfv( target, level, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1228,9 +980,7 @@ void WINAPI wine_glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pn */ void WINAPI wine_glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint* params ) { TRACE("(%d, %d, %d, %p)\n", target, level, pname, params ); - ENTER_GL(); glGetTexLevelParameteriv( target, level, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1238,9 +988,7 @@ void WINAPI wine_glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pn */ void WINAPI wine_glGetTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); glGetTexParameterfv( target, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1248,9 +996,7 @@ void WINAPI wine_glGetTexParameterfv( GLenum target, GLenum pname, GLfloat* para */ void WINAPI wine_glGetTexParameteriv( GLenum target, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); glGetTexParameteriv( target, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1258,9 +1004,7 @@ void WINAPI wine_glGetTexParameteriv( GLenum target, GLenum pname, GLint* params */ void WINAPI wine_glHint( GLenum target, GLenum mode ) { TRACE("(%d, %d)\n", target, mode ); - ENTER_GL(); glHint( target, mode ); - LEAVE_GL(); } /*********************************************************************** @@ -1268,9 +1012,7 @@ void WINAPI wine_glHint( GLenum target, GLenum mode ) { */ void WINAPI wine_glIndexMask( GLuint mask ) { TRACE("(%d)\n", mask ); - ENTER_GL(); glIndexMask( mask ); - LEAVE_GL(); } /*********************************************************************** @@ -1278,9 +1020,7 @@ void WINAPI wine_glIndexMask( GLuint mask ) { */ void WINAPI wine_glIndexPointer( GLenum type, GLsizei stride, GLvoid* pointer ) { TRACE("(%d, %d, %p)\n", type, stride, pointer ); - ENTER_GL(); glIndexPointer( type, stride, pointer ); - LEAVE_GL(); } /*********************************************************************** @@ -1288,9 +1028,7 @@ void WINAPI wine_glIndexPointer( GLenum type, GLsizei stride, GLvoid* pointer ) */ void WINAPI wine_glIndexd( GLdouble c ) { TRACE("(%f)\n", c ); - ENTER_GL(); glIndexd( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1298,9 +1036,7 @@ void WINAPI wine_glIndexd( GLdouble c ) { */ void WINAPI wine_glIndexdv( GLdouble* c ) { TRACE("(%p)\n", c ); - ENTER_GL(); glIndexdv( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1308,9 +1044,7 @@ void WINAPI wine_glIndexdv( GLdouble* c ) { */ void WINAPI wine_glIndexf( GLfloat c ) { TRACE("(%f)\n", c ); - ENTER_GL(); glIndexf( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1318,9 +1052,7 @@ void WINAPI wine_glIndexf( GLfloat c ) { */ void WINAPI wine_glIndexfv( GLfloat* c ) { TRACE("(%p)\n", c ); - ENTER_GL(); glIndexfv( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1328,9 +1060,7 @@ void WINAPI wine_glIndexfv( GLfloat* c ) { */ void WINAPI wine_glIndexi( GLint c ) { TRACE("(%d)\n", c ); - ENTER_GL(); glIndexi( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1338,9 +1068,7 @@ void WINAPI wine_glIndexi( GLint c ) { */ void WINAPI wine_glIndexiv( GLint* c ) { TRACE("(%p)\n", c ); - ENTER_GL(); glIndexiv( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1348,9 +1076,7 @@ void WINAPI wine_glIndexiv( GLint* c ) { */ void WINAPI wine_glIndexs( GLshort c ) { TRACE("(%d)\n", c ); - ENTER_GL(); glIndexs( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1358,9 +1084,7 @@ void WINAPI wine_glIndexs( GLshort c ) { */ void WINAPI wine_glIndexsv( GLshort* c ) { TRACE("(%p)\n", c ); - ENTER_GL(); glIndexsv( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1368,9 +1092,7 @@ void WINAPI wine_glIndexsv( GLshort* c ) { */ void WINAPI wine_glIndexub( GLubyte c ) { TRACE("(%d)\n", c ); - ENTER_GL(); glIndexub( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1378,9 +1100,7 @@ void WINAPI wine_glIndexub( GLubyte c ) { */ void WINAPI wine_glIndexubv( GLubyte* c ) { TRACE("(%p)\n", c ); - ENTER_GL(); glIndexubv( c ); - LEAVE_GL(); } /*********************************************************************** @@ -1388,9 +1108,7 @@ void WINAPI wine_glIndexubv( GLubyte* c ) { */ void WINAPI wine_glInitNames( void ) { TRACE("()\n"); - ENTER_GL(); glInitNames( ); - LEAVE_GL(); } /*********************************************************************** @@ -1398,45 +1116,31 @@ void WINAPI wine_glInitNames( void ) { */ void WINAPI wine_glInterleavedArrays( GLenum format, GLsizei stride, GLvoid* pointer ) { TRACE("(%d, %d, %p)\n", format, stride, pointer ); - ENTER_GL(); glInterleavedArrays( format, stride, pointer ); - LEAVE_GL(); } /*********************************************************************** * glIsEnabled (OPENGL32.@) */ GLboolean WINAPI wine_glIsEnabled( GLenum cap ) { - GLboolean ret_value; TRACE("(%d)\n", cap ); - ENTER_GL(); - ret_value = glIsEnabled( cap ); - LEAVE_GL(); - return ret_value; + return glIsEnabled( cap ); } /*********************************************************************** * glIsList (OPENGL32.@) */ GLboolean WINAPI wine_glIsList( GLuint list ) { - GLboolean ret_value; TRACE("(%d)\n", list ); - ENTER_GL(); - ret_value = glIsList( list ); - LEAVE_GL(); - return ret_value; + return glIsList( list ); } /*********************************************************************** * glIsTexture (OPENGL32.@) */ GLboolean WINAPI wine_glIsTexture( GLuint texture ) { - GLboolean ret_value; TRACE("(%d)\n", texture ); - ENTER_GL(); - ret_value = glIsTexture( texture ); - LEAVE_GL(); - return ret_value; + return glIsTexture( texture ); } /*********************************************************************** @@ -1444,9 +1148,7 @@ GLboolean WINAPI wine_glIsTexture( GLuint texture ) { */ void WINAPI wine_glLightModelf( GLenum pname, GLfloat param ) { TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); glLightModelf( pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1454,9 +1156,7 @@ void WINAPI wine_glLightModelf( GLenum pname, GLfloat param ) { */ void WINAPI wine_glLightModelfv( GLenum pname, GLfloat* params ) { TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); glLightModelfv( pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1464,9 +1164,7 @@ void WINAPI wine_glLightModelfv( GLenum pname, GLfloat* params ) { */ void WINAPI wine_glLightModeli( GLenum pname, GLint param ) { TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); glLightModeli( pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1474,9 +1172,7 @@ void WINAPI wine_glLightModeli( GLenum pname, GLint param ) { */ void WINAPI wine_glLightModeliv( GLenum pname, GLint* params ) { TRACE("(%d, %p)\n", pname, params ); - ENTER_GL(); glLightModeliv( pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1484,9 +1180,7 @@ void WINAPI wine_glLightModeliv( GLenum pname, GLint* params ) { */ void WINAPI wine_glLightf( GLenum light, GLenum pname, GLfloat param ) { TRACE("(%d, %d, %f)\n", light, pname, param ); - ENTER_GL(); glLightf( light, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1494,9 +1188,7 @@ void WINAPI wine_glLightf( GLenum light, GLenum pname, GLfloat param ) { */ void WINAPI wine_glLightfv( GLenum light, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", light, pname, params ); - ENTER_GL(); glLightfv( light, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1504,9 +1196,7 @@ void WINAPI wine_glLightfv( GLenum light, GLenum pname, GLfloat* params ) { */ void WINAPI wine_glLighti( GLenum light, GLenum pname, GLint param ) { TRACE("(%d, %d, %d)\n", light, pname, param ); - ENTER_GL(); glLighti( light, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1514,9 +1204,7 @@ void WINAPI wine_glLighti( GLenum light, GLenum pname, GLint param ) { */ void WINAPI wine_glLightiv( GLenum light, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", light, pname, params ); - ENTER_GL(); glLightiv( light, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1524,9 +1212,7 @@ void WINAPI wine_glLightiv( GLenum light, GLenum pname, GLint* params ) { */ void WINAPI wine_glLineStipple( GLint factor, GLushort pattern ) { TRACE("(%d, %d)\n", factor, pattern ); - ENTER_GL(); glLineStipple( factor, pattern ); - LEAVE_GL(); } /*********************************************************************** @@ -1534,9 +1220,7 @@ void WINAPI wine_glLineStipple( GLint factor, GLushort pattern ) { */ void WINAPI wine_glLineWidth( GLfloat width ) { TRACE("(%f)\n", width ); - ENTER_GL(); glLineWidth( width ); - LEAVE_GL(); } /*********************************************************************** @@ -1544,9 +1228,7 @@ void WINAPI wine_glLineWidth( GLfloat width ) { */ void WINAPI wine_glListBase( GLuint base ) { TRACE("(%d)\n", base ); - ENTER_GL(); glListBase( base ); - LEAVE_GL(); } /*********************************************************************** @@ -1554,9 +1236,7 @@ void WINAPI wine_glListBase( GLuint base ) { */ void WINAPI wine_glLoadIdentity( void ) { TRACE("()\n"); - ENTER_GL(); glLoadIdentity( ); - LEAVE_GL(); } /*********************************************************************** @@ -1564,9 +1244,7 @@ void WINAPI wine_glLoadIdentity( void ) { */ void WINAPI wine_glLoadMatrixd( GLdouble* m ) { TRACE("(%p)\n", m ); - ENTER_GL(); glLoadMatrixd( m ); - LEAVE_GL(); } /*********************************************************************** @@ -1574,9 +1252,7 @@ void WINAPI wine_glLoadMatrixd( GLdouble* m ) { */ void WINAPI wine_glLoadMatrixf( GLfloat* m ) { TRACE("(%p)\n", m ); - ENTER_GL(); glLoadMatrixf( m ); - LEAVE_GL(); } /*********************************************************************** @@ -1584,9 +1260,7 @@ void WINAPI wine_glLoadMatrixf( GLfloat* m ) { */ void WINAPI wine_glLoadName( GLuint name ) { TRACE("(%d)\n", name ); - ENTER_GL(); glLoadName( name ); - LEAVE_GL(); } /*********************************************************************** @@ -1594,9 +1268,7 @@ void WINAPI wine_glLoadName( GLuint name ) { */ void WINAPI wine_glLogicOp( GLenum opcode ) { TRACE("(%d)\n", opcode ); - ENTER_GL(); glLogicOp( opcode ); - LEAVE_GL(); } /*********************************************************************** @@ -1604,9 +1276,7 @@ void WINAPI wine_glLogicOp( GLenum opcode ) { */ void WINAPI wine_glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble* points ) { TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points ); - ENTER_GL(); glMap1d( target, u1, u2, stride, order, points ); - LEAVE_GL(); } /*********************************************************************** @@ -1614,9 +1284,7 @@ void WINAPI wine_glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, */ void WINAPI wine_glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat* points ) { TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points ); - ENTER_GL(); glMap1f( target, u1, u2, stride, order, points ); - LEAVE_GL(); } /*********************************************************************** @@ -1624,9 +1292,7 @@ void WINAPI wine_glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, G */ void WINAPI wine_glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble* points ) { TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points ); - ENTER_GL(); glMap2d( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points ); - LEAVE_GL(); } /*********************************************************************** @@ -1634,9 +1300,7 @@ void WINAPI wine_glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride */ void WINAPI wine_glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat* points ) { TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points ); - ENTER_GL(); glMap2f( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points ); - LEAVE_GL(); } /*********************************************************************** @@ -1644,9 +1308,7 @@ void WINAPI wine_glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, */ void WINAPI wine_glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ) { TRACE("(%d, %f, %f)\n", un, u1, u2 ); - ENTER_GL(); glMapGrid1d( un, u1, u2 ); - LEAVE_GL(); } /*********************************************************************** @@ -1654,9 +1316,7 @@ void WINAPI wine_glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ) { */ void WINAPI wine_glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ) { TRACE("(%d, %f, %f)\n", un, u1, u2 ); - ENTER_GL(); glMapGrid1f( un, u1, u2 ); - LEAVE_GL(); } /*********************************************************************** @@ -1664,9 +1324,7 @@ void WINAPI wine_glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ) { */ void WINAPI wine_glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ) { TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 ); - ENTER_GL(); glMapGrid2d( un, u1, u2, vn, v1, v2 ); - LEAVE_GL(); } /*********************************************************************** @@ -1674,9 +1332,7 @@ void WINAPI wine_glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdo */ void WINAPI wine_glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ) { TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 ); - ENTER_GL(); glMapGrid2f( un, u1, u2, vn, v1, v2 ); - LEAVE_GL(); } /*********************************************************************** @@ -1684,9 +1340,7 @@ void WINAPI wine_glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloa */ void WINAPI wine_glMaterialf( GLenum face, GLenum pname, GLfloat param ) { TRACE("(%d, %d, %f)\n", face, pname, param ); - ENTER_GL(); glMaterialf( face, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1694,9 +1348,7 @@ void WINAPI wine_glMaterialf( GLenum face, GLenum pname, GLfloat param ) { */ void WINAPI wine_glMaterialfv( GLenum face, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", face, pname, params ); - ENTER_GL(); glMaterialfv( face, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1704,9 +1356,7 @@ void WINAPI wine_glMaterialfv( GLenum face, GLenum pname, GLfloat* params ) { */ void WINAPI wine_glMateriali( GLenum face, GLenum pname, GLint param ) { TRACE("(%d, %d, %d)\n", face, pname, param ); - ENTER_GL(); glMateriali( face, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1714,9 +1364,7 @@ void WINAPI wine_glMateriali( GLenum face, GLenum pname, GLint param ) { */ void WINAPI wine_glMaterialiv( GLenum face, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", face, pname, params ); - ENTER_GL(); glMaterialiv( face, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -1724,9 +1372,7 @@ void WINAPI wine_glMaterialiv( GLenum face, GLenum pname, GLint* params ) { */ void WINAPI wine_glMatrixMode( GLenum mode ) { TRACE("(%d)\n", mode ); - ENTER_GL(); glMatrixMode( mode ); - LEAVE_GL(); } /*********************************************************************** @@ -1734,9 +1380,7 @@ void WINAPI wine_glMatrixMode( GLenum mode ) { */ void WINAPI wine_glMultMatrixd( GLdouble* m ) { TRACE("(%p)\n", m ); - ENTER_GL(); glMultMatrixd( m ); - LEAVE_GL(); } /*********************************************************************** @@ -1744,9 +1388,7 @@ void WINAPI wine_glMultMatrixd( GLdouble* m ) { */ void WINAPI wine_glMultMatrixf( GLfloat* m ) { TRACE("(%p)\n", m ); - ENTER_GL(); glMultMatrixf( m ); - LEAVE_GL(); } /*********************************************************************** @@ -1754,9 +1396,7 @@ void WINAPI wine_glMultMatrixf( GLfloat* m ) { */ void WINAPI wine_glNewList( GLuint list, GLenum mode ) { TRACE("(%d, %d)\n", list, mode ); - ENTER_GL(); glNewList( list, mode ); - LEAVE_GL(); } /*********************************************************************** @@ -1764,9 +1404,7 @@ void WINAPI wine_glNewList( GLuint list, GLenum mode ) { */ void WINAPI wine_glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ) { TRACE("(%d, %d, %d)\n", nx, ny, nz ); - ENTER_GL(); glNormal3b( nx, ny, nz ); - LEAVE_GL(); } /*********************************************************************** @@ -1774,9 +1412,7 @@ void WINAPI wine_glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ) { */ void WINAPI wine_glNormal3bv( GLbyte* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glNormal3bv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -1784,9 +1420,7 @@ void WINAPI wine_glNormal3bv( GLbyte* v ) { */ void WINAPI wine_glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ) { TRACE("(%f, %f, %f)\n", nx, ny, nz ); - ENTER_GL(); glNormal3d( nx, ny, nz ); - LEAVE_GL(); } /*********************************************************************** @@ -1794,9 +1428,7 @@ void WINAPI wine_glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ) { */ void WINAPI wine_glNormal3dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glNormal3dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -1804,9 +1436,7 @@ void WINAPI wine_glNormal3dv( GLdouble* v ) { */ void WINAPI wine_glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ) { TRACE("(%f, %f, %f)\n", nx, ny, nz ); - ENTER_GL(); glNormal3f( nx, ny, nz ); - LEAVE_GL(); } /*********************************************************************** @@ -1814,9 +1444,7 @@ void WINAPI wine_glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ) { */ void WINAPI wine_glNormal3fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glNormal3fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -1824,9 +1452,7 @@ void WINAPI wine_glNormal3fv( GLfloat* v ) { */ void WINAPI wine_glNormal3i( GLint nx, GLint ny, GLint nz ) { TRACE("(%d, %d, %d)\n", nx, ny, nz ); - ENTER_GL(); glNormal3i( nx, ny, nz ); - LEAVE_GL(); } /*********************************************************************** @@ -1834,9 +1460,7 @@ void WINAPI wine_glNormal3i( GLint nx, GLint ny, GLint nz ) { */ void WINAPI wine_glNormal3iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glNormal3iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -1844,9 +1468,7 @@ void WINAPI wine_glNormal3iv( GLint* v ) { */ void WINAPI wine_glNormal3s( GLshort nx, GLshort ny, GLshort nz ) { TRACE("(%d, %d, %d)\n", nx, ny, nz ); - ENTER_GL(); glNormal3s( nx, ny, nz ); - LEAVE_GL(); } /*********************************************************************** @@ -1854,9 +1476,7 @@ void WINAPI wine_glNormal3s( GLshort nx, GLshort ny, GLshort nz ) { */ void WINAPI wine_glNormal3sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glNormal3sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -1864,9 +1484,7 @@ void WINAPI wine_glNormal3sv( GLshort* v ) { */ void WINAPI wine_glNormalPointer( GLenum type, GLsizei stride, GLvoid* pointer ) { TRACE("(%d, %d, %p)\n", type, stride, pointer ); - ENTER_GL(); glNormalPointer( type, stride, pointer ); - LEAVE_GL(); } /*********************************************************************** @@ -1874,9 +1492,7 @@ void WINAPI wine_glNormalPointer( GLenum type, GLsizei stride, GLvoid* pointer ) */ void WINAPI wine_glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) { TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar ); - ENTER_GL(); glOrtho( left, right, bottom, top, zNear, zFar ); - LEAVE_GL(); } /*********************************************************************** @@ -1884,9 +1500,7 @@ void WINAPI wine_glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdoub */ void WINAPI wine_glPassThrough( GLfloat token ) { TRACE("(%f)\n", token ); - ENTER_GL(); glPassThrough( token ); - LEAVE_GL(); } /*********************************************************************** @@ -1894,9 +1508,7 @@ void WINAPI wine_glPassThrough( GLfloat token ) { */ void WINAPI wine_glPixelMapfv( GLenum map, GLint mapsize, GLfloat* values ) { TRACE("(%d, %d, %p)\n", map, mapsize, values ); - ENTER_GL(); glPixelMapfv( map, mapsize, values ); - LEAVE_GL(); } /*********************************************************************** @@ -1904,9 +1516,7 @@ void WINAPI wine_glPixelMapfv( GLenum map, GLint mapsize, GLfloat* values ) { */ void WINAPI wine_glPixelMapuiv( GLenum map, GLint mapsize, GLuint* values ) { TRACE("(%d, %d, %p)\n", map, mapsize, values ); - ENTER_GL(); glPixelMapuiv( map, mapsize, values ); - LEAVE_GL(); } /*********************************************************************** @@ -1914,9 +1524,7 @@ void WINAPI wine_glPixelMapuiv( GLenum map, GLint mapsize, GLuint* values ) { */ void WINAPI wine_glPixelMapusv( GLenum map, GLint mapsize, GLushort* values ) { TRACE("(%d, %d, %p)\n", map, mapsize, values ); - ENTER_GL(); glPixelMapusv( map, mapsize, values ); - LEAVE_GL(); } /*********************************************************************** @@ -1924,9 +1532,7 @@ void WINAPI wine_glPixelMapusv( GLenum map, GLint mapsize, GLushort* values ) { */ void WINAPI wine_glPixelStoref( GLenum pname, GLfloat param ) { TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); glPixelStoref( pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1934,9 +1540,7 @@ void WINAPI wine_glPixelStoref( GLenum pname, GLfloat param ) { */ void WINAPI wine_glPixelStorei( GLenum pname, GLint param ) { TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); glPixelStorei( pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1944,9 +1548,7 @@ void WINAPI wine_glPixelStorei( GLenum pname, GLint param ) { */ void WINAPI wine_glPixelTransferf( GLenum pname, GLfloat param ) { TRACE("(%d, %f)\n", pname, param ); - ENTER_GL(); glPixelTransferf( pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1954,9 +1556,7 @@ void WINAPI wine_glPixelTransferf( GLenum pname, GLfloat param ) { */ void WINAPI wine_glPixelTransferi( GLenum pname, GLint param ) { TRACE("(%d, %d)\n", pname, param ); - ENTER_GL(); glPixelTransferi( pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -1964,9 +1564,7 @@ void WINAPI wine_glPixelTransferi( GLenum pname, GLint param ) { */ void WINAPI wine_glPixelZoom( GLfloat xfactor, GLfloat yfactor ) { TRACE("(%f, %f)\n", xfactor, yfactor ); - ENTER_GL(); glPixelZoom( xfactor, yfactor ); - LEAVE_GL(); } /*********************************************************************** @@ -1974,9 +1572,7 @@ void WINAPI wine_glPixelZoom( GLfloat xfactor, GLfloat yfactor ) { */ void WINAPI wine_glPointSize( GLfloat size ) { TRACE("(%f)\n", size ); - ENTER_GL(); glPointSize( size ); - LEAVE_GL(); } /*********************************************************************** @@ -1984,9 +1580,7 @@ void WINAPI wine_glPointSize( GLfloat size ) { */ void WINAPI wine_glPolygonMode( GLenum face, GLenum mode ) { TRACE("(%d, %d)\n", face, mode ); - ENTER_GL(); glPolygonMode( face, mode ); - LEAVE_GL(); } /*********************************************************************** @@ -1994,9 +1588,7 @@ void WINAPI wine_glPolygonMode( GLenum face, GLenum mode ) { */ void WINAPI wine_glPolygonOffset( GLfloat factor, GLfloat units ) { TRACE("(%f, %f)\n", factor, units ); - ENTER_GL(); glPolygonOffset( factor, units ); - LEAVE_GL(); } /*********************************************************************** @@ -2004,9 +1596,7 @@ void WINAPI wine_glPolygonOffset( GLfloat factor, GLfloat units ) { */ void WINAPI wine_glPolygonStipple( GLubyte* mask ) { TRACE("(%p)\n", mask ); - ENTER_GL(); glPolygonStipple( mask ); - LEAVE_GL(); } /*********************************************************************** @@ -2014,9 +1604,7 @@ void WINAPI wine_glPolygonStipple( GLubyte* mask ) { */ void WINAPI wine_glPopAttrib( void ) { TRACE("()\n"); - ENTER_GL(); glPopAttrib( ); - LEAVE_GL(); } /*********************************************************************** @@ -2024,9 +1612,7 @@ void WINAPI wine_glPopAttrib( void ) { */ void WINAPI wine_glPopClientAttrib( void ) { TRACE("()\n"); - ENTER_GL(); glPopClientAttrib( ); - LEAVE_GL(); } /*********************************************************************** @@ -2034,9 +1620,7 @@ void WINAPI wine_glPopClientAttrib( void ) { */ void WINAPI wine_glPopMatrix( void ) { TRACE("()\n"); - ENTER_GL(); glPopMatrix( ); - LEAVE_GL(); } /*********************************************************************** @@ -2044,9 +1628,7 @@ void WINAPI wine_glPopMatrix( void ) { */ void WINAPI wine_glPopName( void ) { TRACE("()\n"); - ENTER_GL(); glPopName( ); - LEAVE_GL(); } /*********************************************************************** @@ -2054,9 +1636,7 @@ void WINAPI wine_glPopName( void ) { */ void WINAPI wine_glPrioritizeTextures( GLsizei n, GLuint* textures, GLfloat* priorities ) { TRACE("(%d, %p, %p)\n", n, textures, priorities ); - ENTER_GL(); glPrioritizeTextures( n, textures, priorities ); - LEAVE_GL(); } /*********************************************************************** @@ -2064,9 +1644,7 @@ void WINAPI wine_glPrioritizeTextures( GLsizei n, GLuint* textures, GLfloat* pri */ void WINAPI wine_glPushAttrib( GLbitfield mask ) { TRACE("(%d)\n", mask ); - ENTER_GL(); glPushAttrib( mask ); - LEAVE_GL(); } /*********************************************************************** @@ -2074,9 +1652,7 @@ void WINAPI wine_glPushAttrib( GLbitfield mask ) { */ void WINAPI wine_glPushClientAttrib( GLbitfield mask ) { TRACE("(%d)\n", mask ); - ENTER_GL(); glPushClientAttrib( mask ); - LEAVE_GL(); } /*********************************************************************** @@ -2084,9 +1660,7 @@ void WINAPI wine_glPushClientAttrib( GLbitfield mask ) { */ void WINAPI wine_glPushMatrix( void ) { TRACE("()\n"); - ENTER_GL(); glPushMatrix( ); - LEAVE_GL(); } /*********************************************************************** @@ -2094,9 +1668,7 @@ void WINAPI wine_glPushMatrix( void ) { */ void WINAPI wine_glPushName( GLuint name ) { TRACE("(%d)\n", name ); - ENTER_GL(); glPushName( name ); - LEAVE_GL(); } /*********************************************************************** @@ -2104,9 +1676,7 @@ void WINAPI wine_glPushName( GLuint name ) { */ void WINAPI wine_glRasterPos2d( GLdouble x, GLdouble y ) { TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); glRasterPos2d( x, y ); - LEAVE_GL(); } /*********************************************************************** @@ -2114,9 +1684,7 @@ void WINAPI wine_glRasterPos2d( GLdouble x, GLdouble y ) { */ void WINAPI wine_glRasterPos2dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos2dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2124,9 +1692,7 @@ void WINAPI wine_glRasterPos2dv( GLdouble* v ) { */ void WINAPI wine_glRasterPos2f( GLfloat x, GLfloat y ) { TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); glRasterPos2f( x, y ); - LEAVE_GL(); } /*********************************************************************** @@ -2134,9 +1700,7 @@ void WINAPI wine_glRasterPos2f( GLfloat x, GLfloat y ) { */ void WINAPI wine_glRasterPos2fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos2fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2144,9 +1708,7 @@ void WINAPI wine_glRasterPos2fv( GLfloat* v ) { */ void WINAPI wine_glRasterPos2i( GLint x, GLint y ) { TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); glRasterPos2i( x, y ); - LEAVE_GL(); } /*********************************************************************** @@ -2154,9 +1716,7 @@ void WINAPI wine_glRasterPos2i( GLint x, GLint y ) { */ void WINAPI wine_glRasterPos2iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos2iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2164,9 +1724,7 @@ void WINAPI wine_glRasterPos2iv( GLint* v ) { */ void WINAPI wine_glRasterPos2s( GLshort x, GLshort y ) { TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); glRasterPos2s( x, y ); - LEAVE_GL(); } /*********************************************************************** @@ -2174,9 +1732,7 @@ void WINAPI wine_glRasterPos2s( GLshort x, GLshort y ) { */ void WINAPI wine_glRasterPos2sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos2sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2184,9 +1740,7 @@ void WINAPI wine_glRasterPos2sv( GLshort* v ) { */ void WINAPI wine_glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ) { TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); glRasterPos3d( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -2194,9 +1748,7 @@ void WINAPI wine_glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ) { */ void WINAPI wine_glRasterPos3dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos3dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2204,9 +1756,7 @@ void WINAPI wine_glRasterPos3dv( GLdouble* v ) { */ void WINAPI wine_glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ) { TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); glRasterPos3f( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -2214,9 +1764,7 @@ void WINAPI wine_glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ) { */ void WINAPI wine_glRasterPos3fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos3fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2224,9 +1772,7 @@ void WINAPI wine_glRasterPos3fv( GLfloat* v ) { */ void WINAPI wine_glRasterPos3i( GLint x, GLint y, GLint z ) { TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); glRasterPos3i( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -2234,9 +1780,7 @@ void WINAPI wine_glRasterPos3i( GLint x, GLint y, GLint z ) { */ void WINAPI wine_glRasterPos3iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos3iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2244,9 +1788,7 @@ void WINAPI wine_glRasterPos3iv( GLint* v ) { */ void WINAPI wine_glRasterPos3s( GLshort x, GLshort y, GLshort z ) { TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); glRasterPos3s( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -2254,9 +1796,7 @@ void WINAPI wine_glRasterPos3s( GLshort x, GLshort y, GLshort z ) { */ void WINAPI wine_glRasterPos3sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos3sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2264,9 +1804,7 @@ void WINAPI wine_glRasterPos3sv( GLshort* v ) { */ void WINAPI wine_glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { TRACE("(%f, %f, %f, %f)\n", x, y, z, w ); - ENTER_GL(); glRasterPos4d( x, y, z, w ); - LEAVE_GL(); } /*********************************************************************** @@ -2274,9 +1812,7 @@ void WINAPI wine_glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) */ void WINAPI wine_glRasterPos4dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos4dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2284,9 +1820,7 @@ void WINAPI wine_glRasterPos4dv( GLdouble* v ) { */ void WINAPI wine_glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { TRACE("(%f, %f, %f, %f)\n", x, y, z, w ); - ENTER_GL(); glRasterPos4f( x, y, z, w ); - LEAVE_GL(); } /*********************************************************************** @@ -2294,9 +1828,7 @@ void WINAPI wine_glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { */ void WINAPI wine_glRasterPos4fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos4fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2304,9 +1836,7 @@ void WINAPI wine_glRasterPos4fv( GLfloat* v ) { */ void WINAPI wine_glRasterPos4i( GLint x, GLint y, GLint z, GLint w ) { TRACE("(%d, %d, %d, %d)\n", x, y, z, w ); - ENTER_GL(); glRasterPos4i( x, y, z, w ); - LEAVE_GL(); } /*********************************************************************** @@ -2314,9 +1844,7 @@ void WINAPI wine_glRasterPos4i( GLint x, GLint y, GLint z, GLint w ) { */ void WINAPI wine_glRasterPos4iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos4iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2324,9 +1852,7 @@ void WINAPI wine_glRasterPos4iv( GLint* v ) { */ void WINAPI wine_glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ) { TRACE("(%d, %d, %d, %d)\n", x, y, z, w ); - ENTER_GL(); glRasterPos4s( x, y, z, w ); - LEAVE_GL(); } /*********************************************************************** @@ -2334,9 +1860,7 @@ void WINAPI wine_glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ) { */ void WINAPI wine_glRasterPos4sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glRasterPos4sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2344,9 +1868,7 @@ void WINAPI wine_glRasterPos4sv( GLshort* v ) { */ void WINAPI wine_glReadBuffer( GLenum mode ) { TRACE("(%d)\n", mode ); - ENTER_GL(); glReadBuffer( mode ); - LEAVE_GL(); } /*********************************************************************** @@ -2354,9 +1876,7 @@ void WINAPI wine_glReadBuffer( GLenum mode ) { */ void WINAPI wine_glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) { TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", x, y, width, height, format, type, pixels ); - ENTER_GL(); glReadPixels( x, y, width, height, format, type, pixels ); - LEAVE_GL(); } /*********************************************************************** @@ -2364,9 +1884,7 @@ void WINAPI wine_glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, */ void WINAPI wine_glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ) { TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 ); - ENTER_GL(); glRectd( x1, y1, x2, y2 ); - LEAVE_GL(); } /*********************************************************************** @@ -2374,9 +1892,7 @@ void WINAPI wine_glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ) { */ void WINAPI wine_glRectdv( GLdouble* v1, GLdouble* v2 ) { TRACE("(%p, %p)\n", v1, v2 ); - ENTER_GL(); glRectdv( v1, v2 ); - LEAVE_GL(); } /*********************************************************************** @@ -2384,9 +1900,7 @@ void WINAPI wine_glRectdv( GLdouble* v1, GLdouble* v2 ) { */ void WINAPI wine_glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ) { TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 ); - ENTER_GL(); glRectf( x1, y1, x2, y2 ); - LEAVE_GL(); } /*********************************************************************** @@ -2394,9 +1908,7 @@ void WINAPI wine_glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ) { */ void WINAPI wine_glRectfv( GLfloat* v1, GLfloat* v2 ) { TRACE("(%p, %p)\n", v1, v2 ); - ENTER_GL(); glRectfv( v1, v2 ); - LEAVE_GL(); } /*********************************************************************** @@ -2404,9 +1916,7 @@ void WINAPI wine_glRectfv( GLfloat* v1, GLfloat* v2 ) { */ void WINAPI wine_glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ) { TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 ); - ENTER_GL(); glRecti( x1, y1, x2, y2 ); - LEAVE_GL(); } /*********************************************************************** @@ -2414,9 +1924,7 @@ void WINAPI wine_glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ) { */ void WINAPI wine_glRectiv( GLint* v1, GLint* v2 ) { TRACE("(%p, %p)\n", v1, v2 ); - ENTER_GL(); glRectiv( v1, v2 ); - LEAVE_GL(); } /*********************************************************************** @@ -2424,9 +1932,7 @@ void WINAPI wine_glRectiv( GLint* v1, GLint* v2 ) { */ void WINAPI wine_glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ) { TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 ); - ENTER_GL(); glRects( x1, y1, x2, y2 ); - LEAVE_GL(); } /*********************************************************************** @@ -2434,21 +1940,15 @@ void WINAPI wine_glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ) { */ void WINAPI wine_glRectsv( GLshort* v1, GLshort* v2 ) { TRACE("(%p, %p)\n", v1, v2 ); - ENTER_GL(); glRectsv( v1, v2 ); - LEAVE_GL(); } /*********************************************************************** * glRenderMode (OPENGL32.@) */ GLint WINAPI wine_glRenderMode( GLenum mode ) { - GLint ret_value; TRACE("(%d)\n", mode ); - ENTER_GL(); - ret_value = glRenderMode( mode ); - LEAVE_GL(); - return ret_value; + return glRenderMode( mode ); } /*********************************************************************** @@ -2456,9 +1956,7 @@ GLint WINAPI wine_glRenderMode( GLenum mode ) { */ void WINAPI wine_glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) { TRACE("(%f, %f, %f, %f)\n", angle, x, y, z ); - ENTER_GL(); glRotated( angle, x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -2466,9 +1964,7 @@ void WINAPI wine_glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) */ void WINAPI wine_glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) { TRACE("(%f, %f, %f, %f)\n", angle, x, y, z ); - ENTER_GL(); glRotatef( angle, x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -2476,9 +1972,7 @@ void WINAPI wine_glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) { */ void WINAPI wine_glScaled( GLdouble x, GLdouble y, GLdouble z ) { TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); glScaled( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -2486,9 +1980,7 @@ void WINAPI wine_glScaled( GLdouble x, GLdouble y, GLdouble z ) { */ void WINAPI wine_glScalef( GLfloat x, GLfloat y, GLfloat z ) { TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); glScalef( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -2496,9 +1988,7 @@ void WINAPI wine_glScalef( GLfloat x, GLfloat y, GLfloat z ) { */ void WINAPI wine_glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) { TRACE("(%d, %d, %d, %d)\n", x, y, width, height ); - ENTER_GL(); glScissor( x, y, width, height ); - LEAVE_GL(); } /*********************************************************************** @@ -2506,9 +1996,7 @@ void WINAPI wine_glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) { */ void WINAPI wine_glSelectBuffer( GLsizei size, GLuint* buffer ) { TRACE("(%d, %p)\n", size, buffer ); - ENTER_GL(); glSelectBuffer( size, buffer ); - LEAVE_GL(); } /*********************************************************************** @@ -2516,9 +2004,7 @@ void WINAPI wine_glSelectBuffer( GLsizei size, GLuint* buffer ) { */ void WINAPI wine_glShadeModel( GLenum mode ) { TRACE("(%d)\n", mode ); - ENTER_GL(); glShadeModel( mode ); - LEAVE_GL(); } /*********************************************************************** @@ -2526,9 +2012,7 @@ void WINAPI wine_glShadeModel( GLenum mode ) { */ void WINAPI wine_glStencilFunc( GLenum func, GLint ref, GLuint mask ) { TRACE("(%d, %d, %d)\n", func, ref, mask ); - ENTER_GL(); glStencilFunc( func, ref, mask ); - LEAVE_GL(); } /*********************************************************************** @@ -2536,9 +2020,7 @@ void WINAPI wine_glStencilFunc( GLenum func, GLint ref, GLuint mask ) { */ void WINAPI wine_glStencilMask( GLuint mask ) { TRACE("(%d)\n", mask ); - ENTER_GL(); glStencilMask( mask ); - LEAVE_GL(); } /*********************************************************************** @@ -2546,9 +2028,7 @@ void WINAPI wine_glStencilMask( GLuint mask ) { */ void WINAPI wine_glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ) { TRACE("(%d, %d, %d)\n", fail, zfail, zpass ); - ENTER_GL(); glStencilOp( fail, zfail, zpass ); - LEAVE_GL(); } /*********************************************************************** @@ -2556,9 +2036,7 @@ void WINAPI wine_glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ) { */ void WINAPI wine_glTexCoord1d( GLdouble s ) { TRACE("(%f)\n", s ); - ENTER_GL(); glTexCoord1d( s ); - LEAVE_GL(); } /*********************************************************************** @@ -2566,9 +2044,7 @@ void WINAPI wine_glTexCoord1d( GLdouble s ) { */ void WINAPI wine_glTexCoord1dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord1dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2576,9 +2052,7 @@ void WINAPI wine_glTexCoord1dv( GLdouble* v ) { */ void WINAPI wine_glTexCoord1f( GLfloat s ) { TRACE("(%f)\n", s ); - ENTER_GL(); glTexCoord1f( s ); - LEAVE_GL(); } /*********************************************************************** @@ -2586,9 +2060,7 @@ void WINAPI wine_glTexCoord1f( GLfloat s ) { */ void WINAPI wine_glTexCoord1fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord1fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2596,9 +2068,7 @@ void WINAPI wine_glTexCoord1fv( GLfloat* v ) { */ void WINAPI wine_glTexCoord1i( GLint s ) { TRACE("(%d)\n", s ); - ENTER_GL(); glTexCoord1i( s ); - LEAVE_GL(); } /*********************************************************************** @@ -2606,9 +2076,7 @@ void WINAPI wine_glTexCoord1i( GLint s ) { */ void WINAPI wine_glTexCoord1iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord1iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2616,9 +2084,7 @@ void WINAPI wine_glTexCoord1iv( GLint* v ) { */ void WINAPI wine_glTexCoord1s( GLshort s ) { TRACE("(%d)\n", s ); - ENTER_GL(); glTexCoord1s( s ); - LEAVE_GL(); } /*********************************************************************** @@ -2626,9 +2092,7 @@ void WINAPI wine_glTexCoord1s( GLshort s ) { */ void WINAPI wine_glTexCoord1sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord1sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2636,9 +2100,7 @@ void WINAPI wine_glTexCoord1sv( GLshort* v ) { */ void WINAPI wine_glTexCoord2d( GLdouble s, GLdouble t ) { TRACE("(%f, %f)\n", s, t ); - ENTER_GL(); glTexCoord2d( s, t ); - LEAVE_GL(); } /*********************************************************************** @@ -2646,9 +2108,7 @@ void WINAPI wine_glTexCoord2d( GLdouble s, GLdouble t ) { */ void WINAPI wine_glTexCoord2dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord2dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2656,9 +2116,7 @@ void WINAPI wine_glTexCoord2dv( GLdouble* v ) { */ void WINAPI wine_glTexCoord2f( GLfloat s, GLfloat t ) { TRACE("(%f, %f)\n", s, t ); - ENTER_GL(); glTexCoord2f( s, t ); - LEAVE_GL(); } /*********************************************************************** @@ -2666,9 +2124,7 @@ void WINAPI wine_glTexCoord2f( GLfloat s, GLfloat t ) { */ void WINAPI wine_glTexCoord2fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord2fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2676,9 +2132,7 @@ void WINAPI wine_glTexCoord2fv( GLfloat* v ) { */ void WINAPI wine_glTexCoord2i( GLint s, GLint t ) { TRACE("(%d, %d)\n", s, t ); - ENTER_GL(); glTexCoord2i( s, t ); - LEAVE_GL(); } /*********************************************************************** @@ -2686,9 +2140,7 @@ void WINAPI wine_glTexCoord2i( GLint s, GLint t ) { */ void WINAPI wine_glTexCoord2iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord2iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2696,9 +2148,7 @@ void WINAPI wine_glTexCoord2iv( GLint* v ) { */ void WINAPI wine_glTexCoord2s( GLshort s, GLshort t ) { TRACE("(%d, %d)\n", s, t ); - ENTER_GL(); glTexCoord2s( s, t ); - LEAVE_GL(); } /*********************************************************************** @@ -2706,9 +2156,7 @@ void WINAPI wine_glTexCoord2s( GLshort s, GLshort t ) { */ void WINAPI wine_glTexCoord2sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord2sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2716,9 +2164,7 @@ void WINAPI wine_glTexCoord2sv( GLshort* v ) { */ void WINAPI wine_glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ) { TRACE("(%f, %f, %f)\n", s, t, r ); - ENTER_GL(); glTexCoord3d( s, t, r ); - LEAVE_GL(); } /*********************************************************************** @@ -2726,9 +2172,7 @@ void WINAPI wine_glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ) { */ void WINAPI wine_glTexCoord3dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord3dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2736,9 +2180,7 @@ void WINAPI wine_glTexCoord3dv( GLdouble* v ) { */ void WINAPI wine_glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ) { TRACE("(%f, %f, %f)\n", s, t, r ); - ENTER_GL(); glTexCoord3f( s, t, r ); - LEAVE_GL(); } /*********************************************************************** @@ -2746,9 +2188,7 @@ void WINAPI wine_glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ) { */ void WINAPI wine_glTexCoord3fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord3fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2756,9 +2196,7 @@ void WINAPI wine_glTexCoord3fv( GLfloat* v ) { */ void WINAPI wine_glTexCoord3i( GLint s, GLint t, GLint r ) { TRACE("(%d, %d, %d)\n", s, t, r ); - ENTER_GL(); glTexCoord3i( s, t, r ); - LEAVE_GL(); } /*********************************************************************** @@ -2766,9 +2204,7 @@ void WINAPI wine_glTexCoord3i( GLint s, GLint t, GLint r ) { */ void WINAPI wine_glTexCoord3iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord3iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2776,9 +2212,7 @@ void WINAPI wine_glTexCoord3iv( GLint* v ) { */ void WINAPI wine_glTexCoord3s( GLshort s, GLshort t, GLshort r ) { TRACE("(%d, %d, %d)\n", s, t, r ); - ENTER_GL(); glTexCoord3s( s, t, r ); - LEAVE_GL(); } /*********************************************************************** @@ -2786,9 +2220,7 @@ void WINAPI wine_glTexCoord3s( GLshort s, GLshort t, GLshort r ) { */ void WINAPI wine_glTexCoord3sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord3sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2796,9 +2228,7 @@ void WINAPI wine_glTexCoord3sv( GLshort* v ) { */ void WINAPI wine_glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ) { TRACE("(%f, %f, %f, %f)\n", s, t, r, q ); - ENTER_GL(); glTexCoord4d( s, t, r, q ); - LEAVE_GL(); } /*********************************************************************** @@ -2806,9 +2236,7 @@ void WINAPI wine_glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ) */ void WINAPI wine_glTexCoord4dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord4dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2816,9 +2244,7 @@ void WINAPI wine_glTexCoord4dv( GLdouble* v ) { */ void WINAPI wine_glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ) { TRACE("(%f, %f, %f, %f)\n", s, t, r, q ); - ENTER_GL(); glTexCoord4f( s, t, r, q ); - LEAVE_GL(); } /*********************************************************************** @@ -2826,9 +2252,7 @@ void WINAPI wine_glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ) { */ void WINAPI wine_glTexCoord4fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord4fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2836,9 +2260,7 @@ void WINAPI wine_glTexCoord4fv( GLfloat* v ) { */ void WINAPI wine_glTexCoord4i( GLint s, GLint t, GLint r, GLint q ) { TRACE("(%d, %d, %d, %d)\n", s, t, r, q ); - ENTER_GL(); glTexCoord4i( s, t, r, q ); - LEAVE_GL(); } /*********************************************************************** @@ -2846,9 +2268,7 @@ void WINAPI wine_glTexCoord4i( GLint s, GLint t, GLint r, GLint q ) { */ void WINAPI wine_glTexCoord4iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord4iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2856,9 +2276,7 @@ void WINAPI wine_glTexCoord4iv( GLint* v ) { */ void WINAPI wine_glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ) { TRACE("(%d, %d, %d, %d)\n", s, t, r, q ); - ENTER_GL(); glTexCoord4s( s, t, r, q ); - LEAVE_GL(); } /*********************************************************************** @@ -2866,9 +2284,7 @@ void WINAPI wine_glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ) { */ void WINAPI wine_glTexCoord4sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glTexCoord4sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -2876,9 +2292,7 @@ void WINAPI wine_glTexCoord4sv( GLshort* v ) { */ void WINAPI wine_glTexCoordPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer ); - ENTER_GL(); glTexCoordPointer( size, type, stride, pointer ); - LEAVE_GL(); } /*********************************************************************** @@ -2886,9 +2300,7 @@ void WINAPI wine_glTexCoordPointer( GLint size, GLenum type, GLsizei stride, GLv */ void WINAPI wine_glTexEnvf( GLenum target, GLenum pname, GLfloat param ) { TRACE("(%d, %d, %f)\n", target, pname, param ); - ENTER_GL(); glTexEnvf( target, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -2896,9 +2308,7 @@ void WINAPI wine_glTexEnvf( GLenum target, GLenum pname, GLfloat param ) { */ void WINAPI wine_glTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); glTexEnvfv( target, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -2906,9 +2316,7 @@ void WINAPI wine_glTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) { */ void WINAPI wine_glTexEnvi( GLenum target, GLenum pname, GLint param ) { TRACE("(%d, %d, %d)\n", target, pname, param ); - ENTER_GL(); glTexEnvi( target, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -2916,9 +2324,7 @@ void WINAPI wine_glTexEnvi( GLenum target, GLenum pname, GLint param ) { */ void WINAPI wine_glTexEnviv( GLenum target, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); glTexEnviv( target, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -2926,9 +2332,7 @@ void WINAPI wine_glTexEnviv( GLenum target, GLenum pname, GLint* params ) { */ void WINAPI wine_glTexGend( GLenum coord, GLenum pname, GLdouble param ) { TRACE("(%d, %d, %f)\n", coord, pname, param ); - ENTER_GL(); glTexGend( coord, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -2936,9 +2340,7 @@ void WINAPI wine_glTexGend( GLenum coord, GLenum pname, GLdouble param ) { */ void WINAPI wine_glTexGendv( GLenum coord, GLenum pname, GLdouble* params ) { TRACE("(%d, %d, %p)\n", coord, pname, params ); - ENTER_GL(); glTexGendv( coord, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -2946,9 +2348,7 @@ void WINAPI wine_glTexGendv( GLenum coord, GLenum pname, GLdouble* params ) { */ void WINAPI wine_glTexGenf( GLenum coord, GLenum pname, GLfloat param ) { TRACE("(%d, %d, %f)\n", coord, pname, param ); - ENTER_GL(); glTexGenf( coord, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -2956,9 +2356,7 @@ void WINAPI wine_glTexGenf( GLenum coord, GLenum pname, GLfloat param ) { */ void WINAPI wine_glTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", coord, pname, params ); - ENTER_GL(); glTexGenfv( coord, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -2966,9 +2364,7 @@ void WINAPI wine_glTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) { */ void WINAPI wine_glTexGeni( GLenum coord, GLenum pname, GLint param ) { TRACE("(%d, %d, %d)\n", coord, pname, param ); - ENTER_GL(); glTexGeni( coord, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -2976,9 +2372,7 @@ void WINAPI wine_glTexGeni( GLenum coord, GLenum pname, GLint param ) { */ void WINAPI wine_glTexGeniv( GLenum coord, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", coord, pname, params ); - ENTER_GL(); glTexGeniv( coord, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -2986,9 +2380,7 @@ void WINAPI wine_glTexGeniv( GLenum coord, GLenum pname, GLint* params ) { */ void WINAPI wine_glTexImage1D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, border, format, type, pixels ); - ENTER_GL(); glTexImage1D( target, level, internalformat, width, border, format, type, pixels ); - LEAVE_GL(); } /*********************************************************************** @@ -2996,9 +2388,7 @@ void WINAPI wine_glTexImage1D( GLenum target, GLint level, GLint internalformat, */ void WINAPI wine_glTexImage2D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid* pixels ) { TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, border, format, type, pixels ); - ENTER_GL(); glTexImage2D( target, level, internalformat, width, height, border, format, type, pixels ); - LEAVE_GL(); } /*********************************************************************** @@ -3006,9 +2396,7 @@ void WINAPI wine_glTexImage2D( GLenum target, GLint level, GLint internalformat, */ void WINAPI wine_glTexParameterf( GLenum target, GLenum pname, GLfloat param ) { TRACE("(%d, %d, %f)\n", target, pname, param ); - ENTER_GL(); glTexParameterf( target, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -3016,9 +2404,7 @@ void WINAPI wine_glTexParameterf( GLenum target, GLenum pname, GLfloat param ) { */ void WINAPI wine_glTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) { TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); glTexParameterfv( target, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -3026,9 +2412,7 @@ void WINAPI wine_glTexParameterfv( GLenum target, GLenum pname, GLfloat* params */ void WINAPI wine_glTexParameteri( GLenum target, GLenum pname, GLint param ) { TRACE("(%d, %d, %d)\n", target, pname, param ); - ENTER_GL(); glTexParameteri( target, pname, param ); - LEAVE_GL(); } /*********************************************************************** @@ -3036,9 +2420,7 @@ void WINAPI wine_glTexParameteri( GLenum target, GLenum pname, GLint param ) { */ void WINAPI wine_glTexParameteriv( GLenum target, GLenum pname, GLint* params ) { TRACE("(%d, %d, %p)\n", target, pname, params ); - ENTER_GL(); glTexParameteriv( target, pname, params ); - LEAVE_GL(); } /*********************************************************************** @@ -3046,9 +2428,7 @@ void WINAPI wine_glTexParameteriv( GLenum target, GLenum pname, GLint* params ) */ void WINAPI wine_glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid* pixels ) { TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, type, pixels ); - ENTER_GL(); glTexSubImage1D( target, level, xoffset, width, format, type, pixels ); - LEAVE_GL(); } /*********************************************************************** @@ -3056,9 +2436,7 @@ void WINAPI wine_glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLs */ void WINAPI wine_glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) { TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, width, height, format, type, pixels ); - ENTER_GL(); glTexSubImage2D( target, level, xoffset, yoffset, width, height, format, type, pixels ); - LEAVE_GL(); } /*********************************************************************** @@ -3066,9 +2444,7 @@ void WINAPI wine_glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLi */ void WINAPI wine_glTranslated( GLdouble x, GLdouble y, GLdouble z ) { TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); glTranslated( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -3076,9 +2452,7 @@ void WINAPI wine_glTranslated( GLdouble x, GLdouble y, GLdouble z ) { */ void WINAPI wine_glTranslatef( GLfloat x, GLfloat y, GLfloat z ) { TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); glTranslatef( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -3086,9 +2460,7 @@ void WINAPI wine_glTranslatef( GLfloat x, GLfloat y, GLfloat z ) { */ void WINAPI wine_glVertex2d( GLdouble x, GLdouble y ) { TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); glVertex2d( x, y ); - LEAVE_GL(); } /*********************************************************************** @@ -3096,9 +2468,7 @@ void WINAPI wine_glVertex2d( GLdouble x, GLdouble y ) { */ void WINAPI wine_glVertex2dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex2dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3106,9 +2476,7 @@ void WINAPI wine_glVertex2dv( GLdouble* v ) { */ void WINAPI wine_glVertex2f( GLfloat x, GLfloat y ) { TRACE("(%f, %f)\n", x, y ); - ENTER_GL(); glVertex2f( x, y ); - LEAVE_GL(); } /*********************************************************************** @@ -3116,9 +2484,7 @@ void WINAPI wine_glVertex2f( GLfloat x, GLfloat y ) { */ void WINAPI wine_glVertex2fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex2fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3126,9 +2492,7 @@ void WINAPI wine_glVertex2fv( GLfloat* v ) { */ void WINAPI wine_glVertex2i( GLint x, GLint y ) { TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); glVertex2i( x, y ); - LEAVE_GL(); } /*********************************************************************** @@ -3136,9 +2500,7 @@ void WINAPI wine_glVertex2i( GLint x, GLint y ) { */ void WINAPI wine_glVertex2iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex2iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3146,9 +2508,7 @@ void WINAPI wine_glVertex2iv( GLint* v ) { */ void WINAPI wine_glVertex2s( GLshort x, GLshort y ) { TRACE("(%d, %d)\n", x, y ); - ENTER_GL(); glVertex2s( x, y ); - LEAVE_GL(); } /*********************************************************************** @@ -3156,9 +2516,7 @@ void WINAPI wine_glVertex2s( GLshort x, GLshort y ) { */ void WINAPI wine_glVertex2sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex2sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3166,9 +2524,7 @@ void WINAPI wine_glVertex2sv( GLshort* v ) { */ void WINAPI wine_glVertex3d( GLdouble x, GLdouble y, GLdouble z ) { TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); glVertex3d( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -3176,9 +2532,7 @@ void WINAPI wine_glVertex3d( GLdouble x, GLdouble y, GLdouble z ) { */ void WINAPI wine_glVertex3dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex3dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3186,9 +2540,7 @@ void WINAPI wine_glVertex3dv( GLdouble* v ) { */ void WINAPI wine_glVertex3f( GLfloat x, GLfloat y, GLfloat z ) { TRACE("(%f, %f, %f)\n", x, y, z ); - ENTER_GL(); glVertex3f( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -3196,9 +2548,7 @@ void WINAPI wine_glVertex3f( GLfloat x, GLfloat y, GLfloat z ) { */ void WINAPI wine_glVertex3fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex3fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3206,9 +2556,7 @@ void WINAPI wine_glVertex3fv( GLfloat* v ) { */ void WINAPI wine_glVertex3i( GLint x, GLint y, GLint z ) { TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); glVertex3i( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -3216,9 +2564,7 @@ void WINAPI wine_glVertex3i( GLint x, GLint y, GLint z ) { */ void WINAPI wine_glVertex3iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex3iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3226,9 +2572,7 @@ void WINAPI wine_glVertex3iv( GLint* v ) { */ void WINAPI wine_glVertex3s( GLshort x, GLshort y, GLshort z ) { TRACE("(%d, %d, %d)\n", x, y, z ); - ENTER_GL(); glVertex3s( x, y, z ); - LEAVE_GL(); } /*********************************************************************** @@ -3236,9 +2580,7 @@ void WINAPI wine_glVertex3s( GLshort x, GLshort y, GLshort z ) { */ void WINAPI wine_glVertex3sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex3sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3246,9 +2588,7 @@ void WINAPI wine_glVertex3sv( GLshort* v ) { */ void WINAPI wine_glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { TRACE("(%f, %f, %f, %f)\n", x, y, z, w ); - ENTER_GL(); glVertex4d( x, y, z, w ); - LEAVE_GL(); } /*********************************************************************** @@ -3256,9 +2596,7 @@ void WINAPI wine_glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { */ void WINAPI wine_glVertex4dv( GLdouble* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex4dv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3266,9 +2604,7 @@ void WINAPI wine_glVertex4dv( GLdouble* v ) { */ void WINAPI wine_glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { TRACE("(%f, %f, %f, %f)\n", x, y, z, w ); - ENTER_GL(); glVertex4f( x, y, z, w ); - LEAVE_GL(); } /*********************************************************************** @@ -3276,9 +2612,7 @@ void WINAPI wine_glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { */ void WINAPI wine_glVertex4fv( GLfloat* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex4fv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3286,9 +2620,7 @@ void WINAPI wine_glVertex4fv( GLfloat* v ) { */ void WINAPI wine_glVertex4i( GLint x, GLint y, GLint z, GLint w ) { TRACE("(%d, %d, %d, %d)\n", x, y, z, w ); - ENTER_GL(); glVertex4i( x, y, z, w ); - LEAVE_GL(); } /*********************************************************************** @@ -3296,9 +2628,7 @@ void WINAPI wine_glVertex4i( GLint x, GLint y, GLint z, GLint w ) { */ void WINAPI wine_glVertex4iv( GLint* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex4iv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3306,9 +2636,7 @@ void WINAPI wine_glVertex4iv( GLint* v ) { */ void WINAPI wine_glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ) { TRACE("(%d, %d, %d, %d)\n", x, y, z, w ); - ENTER_GL(); glVertex4s( x, y, z, w ); - LEAVE_GL(); } /*********************************************************************** @@ -3316,9 +2644,7 @@ void WINAPI wine_glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ) { */ void WINAPI wine_glVertex4sv( GLshort* v ) { TRACE("(%p)\n", v ); - ENTER_GL(); glVertex4sv( v ); - LEAVE_GL(); } /*********************************************************************** @@ -3326,9 +2652,7 @@ void WINAPI wine_glVertex4sv( GLshort* v ) { */ void WINAPI wine_glVertexPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) { TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer ); - ENTER_GL(); glVertexPointer( size, type, stride, pointer ); - LEAVE_GL(); } /*********************************************************************** @@ -3336,7 +2660,5 @@ void WINAPI wine_glVertexPointer( GLint size, GLenum type, GLsizei stride, GLvoi */ void WINAPI wine_glViewport( GLint x, GLint y, GLsizei width, GLsizei height ) { TRACE("(%d, %d, %d, %d)\n", x, y, width, height ); - ENTER_GL(); glViewport( x, y, width, height ); - LEAVE_GL(); } diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index 5a8df35eee0..d286a2ac239 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -76,9 +76,6 @@ MAKE_FUNCPTR(gluTessVertex) #undef MAKE_FUNCPTR #endif /* SONAME_LIBGLU */ -void (*wine_tsx11_lock_ptr)(void) = NULL; -void (*wine_tsx11_unlock_ptr)(void) = NULL; - static HMODULE opengl32_handle; static void* libglu_handle = NULL; @@ -588,10 +585,8 @@ static BOOL wglUseFontBitmaps_common( HDC hdc, DWORD first, DWORD count, DWORD l int org_alignment; BOOL ret = TRUE; - ENTER_GL(); glGetIntegerv(GL_UNPACK_ALIGNMENT, &org_alignment); glPixelStorei(GL_UNPACK_ALIGNMENT, 4); - LEAVE_GL(); for (glyph = first; glyph < first + count; glyph++) { static const MAT2 identity = { {0,1},{0,0},{0,0},{0,1} }; @@ -661,7 +656,6 @@ static BOOL wglUseFontBitmaps_common( HDC hdc, DWORD first, DWORD count, DWORD l } } - ENTER_GL(); glNewList(listBase++, GL_COMPILE); if (needed_size != 0) { glBitmap(gm.gmBlackBoxX, gm.gmBlackBoxY, @@ -673,12 +667,9 @@ static BOOL wglUseFontBitmaps_common( HDC hdc, DWORD first, DWORD count, DWORD l glBitmap(0, 0, 0, 0, gm.gmCellIncX, gm.gmCellIncY, NULL); } glEndList(); - LEAVE_GL(); } - ENTER_GL(); glPixelStorei(GL_UNPACK_ALIGNMENT, org_alignment); - LEAVE_GL(); HeapFree(GetProcessHeap(), 0, bitmap); HeapFree(GetProcessHeap(), 0, gl_bitmap); return ret; @@ -794,17 +785,11 @@ static BOOL wglUseFontOutlines_common(HDC hdc, return FALSE; } - ENTER_GL(); tess = pgluNewTess(); - if(tess) - { - pgluTessCallback(tess, GLU_TESS_VERTEX, (_GLUfuncptr)tess_callback_vertex); - pgluTessCallback(tess, GLU_TESS_BEGIN, (_GLUfuncptr)tess_callback_begin); - pgluTessCallback(tess, GLU_TESS_END, tess_callback_end); - } - LEAVE_GL(); - if(!tess) return FALSE; + pgluTessCallback(tess, GLU_TESS_VERTEX, (_GLUfuncptr)tess_callback_vertex); + pgluTessCallback(tess, GLU_TESS_BEGIN, (_GLUfuncptr)tess_callback_begin); + pgluTessCallback(tess, GLU_TESS_END, tess_callback_end); GetObjectW(GetCurrentObject(hdc, OBJ_FONT), sizeof(lf), &lf); rc.left = rc.right = rc.bottom = 0; @@ -856,7 +841,6 @@ static BOOL wglUseFontOutlines_common(HDC hdc, lpgmf++; } - ENTER_GL(); glNewList(listBase++, GL_COMPILE); pgluTessBeginPolygon(tess, NULL); @@ -919,7 +903,6 @@ error_in_list: pgluTessEndPolygon(tess); glTranslated((GLdouble)gm.gmCellIncX / em_size, (GLdouble)gm.gmCellIncY / em_size, 0.0); glEndList(); - LEAVE_GL(); HeapFree(GetProcessHeap(), 0, buf); HeapFree(GetProcessHeap(), 0, vertices); } @@ -1056,29 +1039,23 @@ static char *build_gl_extensions( const char *extensions ) */ const GLubyte * WINAPI wine_glGetString( GLenum name ) { - static const char *gl_extensions; - const GLubyte *ret; - const char* GL_Extensions = NULL; + static const GLubyte *gl_extensions; /* this is for buggy nvidia driver, crashing if called from a different thread with no context */ if(wglGetCurrentContext() == NULL) return NULL; - if (GL_EXTENSIONS != name) { - ENTER_GL(); - ret = glGetString(name); - LEAVE_GL(); - return ret; - } + if (name != GL_EXTENSIONS) return glGetString(name); - if (!gl_extensions) { - ENTER_GL(); - GL_Extensions = (const char *) glGetString(GL_EXTENSIONS); - gl_extensions = build_gl_extensions( GL_Extensions ); - LEAVE_GL(); + if (!gl_extensions) + { + const char *orig_ext = (const char *)glGetString(GL_EXTENSIONS); + char *new_ext = build_gl_extensions( orig_ext ); + if (InterlockedCompareExchangePointer( (void **)&gl_extensions, new_ext, NULL )) + HeapFree( GetProcessHeap(), 0, new_ext ); } - return (const GLubyte *)gl_extensions; + return gl_extensions; } /*********************************************************************** @@ -1101,21 +1078,17 @@ BOOL WINAPI DECLSPEC_HOTPATCH wglSwapBuffers( HDC hdc ) creating a rendering context.... */ static BOOL process_attach(void) { - HMODULE mod_x11, mod_gdi32; + HMODULE mod_gdi32; GetDesktopWindow(); /* make sure winex11 is loaded (FIXME) */ - mod_x11 = GetModuleHandleA( "winex11.drv" ); mod_gdi32 = GetModuleHandleA( "gdi32.dll" ); - if (!mod_x11 || !mod_gdi32) + if (!mod_gdi32) { - ERR("X11DRV or GDI32 not loaded. Cannot create default context.\n"); + ERR("GDI32 not loaded. Cannot create default context.\n"); return FALSE; } - wine_tsx11_lock_ptr = (void *)GetProcAddress( mod_x11, "wine_tsx11_lock" ); - wine_tsx11_unlock_ptr = (void *)GetProcAddress( mod_x11, "wine_tsx11_unlock" ); - wine_wgl.p_wglGetProcAddress = (void *)GetProcAddress(mod_gdi32, "wglGetProcAddress"); wine_wgl.p_wglMakeCurrent = (void *)GetProcAddress(mod_gdi32, "wglMakeCurrent"); wine_wgl.p_wglCreateContext = (void *)GetProcAddress(mod_gdi32, "wglCreateContext"); -- 2.11.4.GIT