opengl32: Get rid of wine_ prefix on generated functions.

This commit is contained in:
Alexandre Julliard 2012-11-08 13:45:03 +01:00
parent a3d896897c
commit 2480c9395b
5 changed files with 4978 additions and 4987 deletions

View File

@ -257,7 +257,7 @@ sub GenerateThunk($$$$)
$ret = "$ret * $name (OPENGL32.\@)\n";
$ret = "$ret */\n";
}
$ret = $ret . ConvertType($func_ref->[0]) . " WINAPI wine_$name( ";
$ret = $ret . ConvertType($func_ref->[0]) . " WINAPI $name( ";
for (my $i = 0; $i < @{$func_ref->[1]}; $i++) {
## Quick debug code :-)
## print $func_ref->[1]->[$i]->[1] . "\n";
@ -374,13 +374,6 @@ sub get_func_proto($$$)
return $ret;
}
sub get_func_link_name($$)
{
my ($name, $func) = @_;
return $name if ($func->[2] =~ /^WGL_/);
return "wine_$name";
}
#
# Extract and checks the number of arguments
#
@ -885,18 +878,19 @@ close HEADER;
open(SPEC, ">$spec_file");
foreach (sort keys %norm_functions) {
print SPEC "@ stdcall $_( ";
my $args=" ";
for (my $i = 0; $i < @{$norm_functions{$_}->[1]}; $i++) {
my $type = $norm_functions{$_}->[1]->[$i]->[0];
if ($type =~ /\*/) {
print SPEC "ptr ";
$args .= "ptr ";
} elsif (defined($arg_conv{$type})) {
print SPEC "$@$arg_conv{$type}[0] ";
$args .= "$@$arg_conv{$type}[0] ";
} else {
die "No conversion for GL type $type...\n";
}
}
print SPEC ") wine_$_\n";
$args = substr($args,1,-1);
print SPEC "@ stdcall $_($args)\n";
}
print SPEC "@ stdcall wglChoosePixelFormat(long ptr)
@ -1005,8 +999,7 @@ print EXT "\nconst OpenGL_extension extension_registry[$count] = {\n";
my $i = 0;
foreach (sort keys %ext_functions) {
my $func_ref = $ext_functions{$_};
my $link_name = get_func_link_name( $_, $func_ref );
print EXT " { \"$_\", \"$func_ref->[2]\", $link_name }";
print EXT " { \"$_\", \"$func_ref->[2]\", $_ }";
if ($i != $count-1) {
print EXT ",";
}

View File

@ -1,340 +1,340 @@
@ stdcall glAccum( long float ) wine_glAccum
@ stdcall glAlphaFunc( long float ) wine_glAlphaFunc
@ stdcall glAreTexturesResident( long ptr ptr ) wine_glAreTexturesResident
@ stdcall glArrayElement( long ) wine_glArrayElement
@ stdcall glBegin( long ) wine_glBegin
@ stdcall glBindTexture( long long ) wine_glBindTexture
@ stdcall glBitmap( long long float float float float ptr ) wine_glBitmap
@ stdcall glBlendFunc( long long ) wine_glBlendFunc
@ stdcall glCallList( long ) wine_glCallList
@ stdcall glCallLists( long long ptr ) wine_glCallLists
@ stdcall glClear( long ) wine_glClear
@ stdcall glClearAccum( float float float float ) wine_glClearAccum
@ stdcall glClearColor( float float float float ) wine_glClearColor
@ stdcall glClearDepth( double ) wine_glClearDepth
@ stdcall glClearIndex( float ) wine_glClearIndex
@ stdcall glClearStencil( long ) wine_glClearStencil
@ stdcall glClipPlane( long ptr ) wine_glClipPlane
@ stdcall glColor3b( long long long ) wine_glColor3b
@ stdcall glColor3bv( ptr ) wine_glColor3bv
@ stdcall glColor3d( double double double ) wine_glColor3d
@ stdcall glColor3dv( ptr ) wine_glColor3dv
@ stdcall glColor3f( float float float ) wine_glColor3f
@ stdcall glColor3fv( ptr ) wine_glColor3fv
@ stdcall glColor3i( long long long ) wine_glColor3i
@ stdcall glColor3iv( ptr ) wine_glColor3iv
@ stdcall glColor3s( long long long ) wine_glColor3s
@ stdcall glColor3sv( ptr ) wine_glColor3sv
@ stdcall glColor3ub( long long long ) wine_glColor3ub
@ stdcall glColor3ubv( ptr ) wine_glColor3ubv
@ stdcall glColor3ui( long long long ) wine_glColor3ui
@ stdcall glColor3uiv( ptr ) wine_glColor3uiv
@ stdcall glColor3us( long long long ) wine_glColor3us
@ stdcall glColor3usv( ptr ) wine_glColor3usv
@ stdcall glColor4b( long long long long ) wine_glColor4b
@ stdcall glColor4bv( ptr ) wine_glColor4bv
@ stdcall glColor4d( double double double double ) wine_glColor4d
@ stdcall glColor4dv( ptr ) wine_glColor4dv
@ stdcall glColor4f( float float float float ) wine_glColor4f
@ stdcall glColor4fv( ptr ) wine_glColor4fv
@ stdcall glColor4i( long long long long ) wine_glColor4i
@ stdcall glColor4iv( ptr ) wine_glColor4iv
@ stdcall glColor4s( long long long long ) wine_glColor4s
@ stdcall glColor4sv( ptr ) wine_glColor4sv
@ stdcall glColor4ub( long long long long ) wine_glColor4ub
@ stdcall glColor4ubv( ptr ) wine_glColor4ubv
@ stdcall glColor4ui( long long long long ) wine_glColor4ui
@ stdcall glColor4uiv( ptr ) wine_glColor4uiv
@ stdcall glColor4us( long long long long ) wine_glColor4us
@ stdcall glColor4usv( ptr ) wine_glColor4usv
@ stdcall glColorMask( long long long long ) wine_glColorMask
@ stdcall glColorMaterial( long long ) wine_glColorMaterial
@ stdcall glColorPointer( long long long ptr ) wine_glColorPointer
@ stdcall glCopyPixels( long long long long long ) wine_glCopyPixels
@ stdcall glCopyTexImage1D( long long long long long long long ) wine_glCopyTexImage1D
@ stdcall glCopyTexImage2D( long long long long long long long long ) wine_glCopyTexImage2D
@ stdcall glCopyTexSubImage1D( long long long long long long ) wine_glCopyTexSubImage1D
@ stdcall glCopyTexSubImage2D( long long long long long long long long ) wine_glCopyTexSubImage2D
@ stdcall glCullFace( long ) wine_glCullFace
@ stdcall glDebugEntry( long long ) wine_glDebugEntry
@ stdcall glDeleteLists( long long ) wine_glDeleteLists
@ stdcall glDeleteTextures( long ptr ) wine_glDeleteTextures
@ stdcall glDepthFunc( long ) wine_glDepthFunc
@ stdcall glDepthMask( long ) wine_glDepthMask
@ stdcall glDepthRange( double double ) wine_glDepthRange
@ stdcall glDisable( long ) wine_glDisable
@ stdcall glDisableClientState( long ) wine_glDisableClientState
@ stdcall glDrawArrays( long long long ) wine_glDrawArrays
@ stdcall glDrawBuffer( long ) wine_glDrawBuffer
@ stdcall glDrawElements( long long long ptr ) wine_glDrawElements
@ stdcall glDrawPixels( long long long long ptr ) wine_glDrawPixels
@ stdcall glEdgeFlag( long ) wine_glEdgeFlag
@ stdcall glEdgeFlagPointer( long ptr ) wine_glEdgeFlagPointer
@ stdcall glEdgeFlagv( ptr ) wine_glEdgeFlagv
@ stdcall glEnable( long ) wine_glEnable
@ stdcall glEnableClientState( long ) wine_glEnableClientState
@ stdcall glEnd( ) wine_glEnd
@ stdcall glEndList( ) wine_glEndList
@ stdcall glEvalCoord1d( double ) wine_glEvalCoord1d
@ stdcall glEvalCoord1dv( ptr ) wine_glEvalCoord1dv
@ stdcall glEvalCoord1f( float ) wine_glEvalCoord1f
@ stdcall glEvalCoord1fv( ptr ) wine_glEvalCoord1fv
@ stdcall glEvalCoord2d( double double ) wine_glEvalCoord2d
@ stdcall glEvalCoord2dv( ptr ) wine_glEvalCoord2dv
@ stdcall glEvalCoord2f( float float ) wine_glEvalCoord2f
@ stdcall glEvalCoord2fv( ptr ) wine_glEvalCoord2fv
@ stdcall glEvalMesh1( long long long ) wine_glEvalMesh1
@ stdcall glEvalMesh2( long long long long long ) wine_glEvalMesh2
@ stdcall glEvalPoint1( long ) wine_glEvalPoint1
@ stdcall glEvalPoint2( long long ) wine_glEvalPoint2
@ stdcall glFeedbackBuffer( long long ptr ) wine_glFeedbackBuffer
@ stdcall glFinish( ) wine_glFinish
@ stdcall glFlush( ) wine_glFlush
@ stdcall glFogf( long float ) wine_glFogf
@ stdcall glFogfv( long ptr ) wine_glFogfv
@ stdcall glFogi( long long ) wine_glFogi
@ stdcall glFogiv( long ptr ) wine_glFogiv
@ stdcall glFrontFace( long ) wine_glFrontFace
@ stdcall glFrustum( double double double double double double ) wine_glFrustum
@ stdcall glGenLists( long ) wine_glGenLists
@ stdcall glGenTextures( long ptr ) wine_glGenTextures
@ stdcall glGetBooleanv( long ptr ) wine_glGetBooleanv
@ stdcall glGetClipPlane( long ptr ) wine_glGetClipPlane
@ stdcall glGetDoublev( long ptr ) wine_glGetDoublev
@ stdcall glGetError( ) wine_glGetError
@ stdcall glGetFloatv( long ptr ) wine_glGetFloatv
@ stdcall glGetIntegerv( long ptr ) wine_glGetIntegerv
@ stdcall glGetLightfv( long long ptr ) wine_glGetLightfv
@ stdcall glGetLightiv( long long ptr ) wine_glGetLightiv
@ stdcall glGetMapdv( long long ptr ) wine_glGetMapdv
@ stdcall glGetMapfv( long long ptr ) wine_glGetMapfv
@ stdcall glGetMapiv( long long ptr ) wine_glGetMapiv
@ stdcall glGetMaterialfv( long long ptr ) wine_glGetMaterialfv
@ stdcall glGetMaterialiv( long long ptr ) wine_glGetMaterialiv
@ stdcall glGetPixelMapfv( long ptr ) wine_glGetPixelMapfv
@ stdcall glGetPixelMapuiv( long ptr ) wine_glGetPixelMapuiv
@ stdcall glGetPixelMapusv( long ptr ) wine_glGetPixelMapusv
@ stdcall glGetPointerv( long ptr ) wine_glGetPointerv
@ stdcall glGetPolygonStipple( ptr ) wine_glGetPolygonStipple
@ stdcall glGetString( long ) wine_glGetString
@ stdcall glGetTexEnvfv( long long ptr ) wine_glGetTexEnvfv
@ stdcall glGetTexEnviv( long long ptr ) wine_glGetTexEnviv
@ stdcall glGetTexGendv( long long ptr ) wine_glGetTexGendv
@ stdcall glGetTexGenfv( long long ptr ) wine_glGetTexGenfv
@ stdcall glGetTexGeniv( long long ptr ) wine_glGetTexGeniv
@ stdcall glGetTexImage( long long long long ptr ) wine_glGetTexImage
@ stdcall glGetTexLevelParameterfv( long long long ptr ) wine_glGetTexLevelParameterfv
@ stdcall glGetTexLevelParameteriv( long long long ptr ) wine_glGetTexLevelParameteriv
@ stdcall glGetTexParameterfv( long long ptr ) wine_glGetTexParameterfv
@ stdcall glGetTexParameteriv( long long ptr ) wine_glGetTexParameteriv
@ stdcall glHint( long long ) wine_glHint
@ stdcall glIndexMask( long ) wine_glIndexMask
@ stdcall glIndexPointer( long long ptr ) wine_glIndexPointer
@ stdcall glIndexd( double ) wine_glIndexd
@ stdcall glIndexdv( ptr ) wine_glIndexdv
@ stdcall glIndexf( float ) wine_glIndexf
@ stdcall glIndexfv( ptr ) wine_glIndexfv
@ stdcall glIndexi( long ) wine_glIndexi
@ stdcall glIndexiv( ptr ) wine_glIndexiv
@ stdcall glIndexs( long ) wine_glIndexs
@ stdcall glIndexsv( ptr ) wine_glIndexsv
@ stdcall glIndexub( long ) wine_glIndexub
@ stdcall glIndexubv( ptr ) wine_glIndexubv
@ stdcall glInitNames( ) wine_glInitNames
@ stdcall glInterleavedArrays( long long ptr ) wine_glInterleavedArrays
@ stdcall glIsEnabled( long ) wine_glIsEnabled
@ stdcall glIsList( long ) wine_glIsList
@ stdcall glIsTexture( long ) wine_glIsTexture
@ stdcall glLightModelf( long float ) wine_glLightModelf
@ stdcall glLightModelfv( long ptr ) wine_glLightModelfv
@ stdcall glLightModeli( long long ) wine_glLightModeli
@ stdcall glLightModeliv( long ptr ) wine_glLightModeliv
@ stdcall glLightf( long long float ) wine_glLightf
@ stdcall glLightfv( long long ptr ) wine_glLightfv
@ stdcall glLighti( long long long ) wine_glLighti
@ stdcall glLightiv( long long ptr ) wine_glLightiv
@ stdcall glLineStipple( long long ) wine_glLineStipple
@ stdcall glLineWidth( float ) wine_glLineWidth
@ stdcall glListBase( long ) wine_glListBase
@ stdcall glLoadIdentity( ) wine_glLoadIdentity
@ stdcall glLoadMatrixd( ptr ) wine_glLoadMatrixd
@ stdcall glLoadMatrixf( ptr ) wine_glLoadMatrixf
@ stdcall glLoadName( long ) wine_glLoadName
@ stdcall glLogicOp( long ) wine_glLogicOp
@ stdcall glMap1d( long double double long long ptr ) wine_glMap1d
@ stdcall glMap1f( long float float long long ptr ) wine_glMap1f
@ stdcall glMap2d( long double double long long double double long long ptr ) wine_glMap2d
@ stdcall glMap2f( long float float long long float float long long ptr ) wine_glMap2f
@ stdcall glMapGrid1d( long double double ) wine_glMapGrid1d
@ stdcall glMapGrid1f( long float float ) wine_glMapGrid1f
@ stdcall glMapGrid2d( long double double long double double ) wine_glMapGrid2d
@ stdcall glMapGrid2f( long float float long float float ) wine_glMapGrid2f
@ stdcall glMaterialf( long long float ) wine_glMaterialf
@ stdcall glMaterialfv( long long ptr ) wine_glMaterialfv
@ stdcall glMateriali( long long long ) wine_glMateriali
@ stdcall glMaterialiv( long long ptr ) wine_glMaterialiv
@ stdcall glMatrixMode( long ) wine_glMatrixMode
@ stdcall glMultMatrixd( ptr ) wine_glMultMatrixd
@ stdcall glMultMatrixf( ptr ) wine_glMultMatrixf
@ stdcall glNewList( long long ) wine_glNewList
@ stdcall glNormal3b( long long long ) wine_glNormal3b
@ stdcall glNormal3bv( ptr ) wine_glNormal3bv
@ stdcall glNormal3d( double double double ) wine_glNormal3d
@ stdcall glNormal3dv( ptr ) wine_glNormal3dv
@ stdcall glNormal3f( float float float ) wine_glNormal3f
@ stdcall glNormal3fv( ptr ) wine_glNormal3fv
@ stdcall glNormal3i( long long long ) wine_glNormal3i
@ stdcall glNormal3iv( ptr ) wine_glNormal3iv
@ stdcall glNormal3s( long long long ) wine_glNormal3s
@ stdcall glNormal3sv( ptr ) wine_glNormal3sv
@ stdcall glNormalPointer( long long ptr ) wine_glNormalPointer
@ stdcall glOrtho( double double double double double double ) wine_glOrtho
@ stdcall glPassThrough( float ) wine_glPassThrough
@ stdcall glPixelMapfv( long long ptr ) wine_glPixelMapfv
@ stdcall glPixelMapuiv( long long ptr ) wine_glPixelMapuiv
@ stdcall glPixelMapusv( long long ptr ) wine_glPixelMapusv
@ stdcall glPixelStoref( long float ) wine_glPixelStoref
@ stdcall glPixelStorei( long long ) wine_glPixelStorei
@ stdcall glPixelTransferf( long float ) wine_glPixelTransferf
@ stdcall glPixelTransferi( long long ) wine_glPixelTransferi
@ stdcall glPixelZoom( float float ) wine_glPixelZoom
@ stdcall glPointSize( float ) wine_glPointSize
@ stdcall glPolygonMode( long long ) wine_glPolygonMode
@ stdcall glPolygonOffset( float float ) wine_glPolygonOffset
@ stdcall glPolygonStipple( ptr ) wine_glPolygonStipple
@ stdcall glPopAttrib( ) wine_glPopAttrib
@ stdcall glPopClientAttrib( ) wine_glPopClientAttrib
@ stdcall glPopMatrix( ) wine_glPopMatrix
@ stdcall glPopName( ) wine_glPopName
@ stdcall glPrioritizeTextures( long ptr ptr ) wine_glPrioritizeTextures
@ stdcall glPushAttrib( long ) wine_glPushAttrib
@ stdcall glPushClientAttrib( long ) wine_glPushClientAttrib
@ stdcall glPushMatrix( ) wine_glPushMatrix
@ stdcall glPushName( long ) wine_glPushName
@ stdcall glRasterPos2d( double double ) wine_glRasterPos2d
@ stdcall glRasterPos2dv( ptr ) wine_glRasterPos2dv
@ stdcall glRasterPos2f( float float ) wine_glRasterPos2f
@ stdcall glRasterPos2fv( ptr ) wine_glRasterPos2fv
@ stdcall glRasterPos2i( long long ) wine_glRasterPos2i
@ stdcall glRasterPos2iv( ptr ) wine_glRasterPos2iv
@ stdcall glRasterPos2s( long long ) wine_glRasterPos2s
@ stdcall glRasterPos2sv( ptr ) wine_glRasterPos2sv
@ stdcall glRasterPos3d( double double double ) wine_glRasterPos3d
@ stdcall glRasterPos3dv( ptr ) wine_glRasterPos3dv
@ stdcall glRasterPos3f( float float float ) wine_glRasterPos3f
@ stdcall glRasterPos3fv( ptr ) wine_glRasterPos3fv
@ stdcall glRasterPos3i( long long long ) wine_glRasterPos3i
@ stdcall glRasterPos3iv( ptr ) wine_glRasterPos3iv
@ stdcall glRasterPos3s( long long long ) wine_glRasterPos3s
@ stdcall glRasterPos3sv( ptr ) wine_glRasterPos3sv
@ stdcall glRasterPos4d( double double double double ) wine_glRasterPos4d
@ stdcall glRasterPos4dv( ptr ) wine_glRasterPos4dv
@ stdcall glRasterPos4f( float float float float ) wine_glRasterPos4f
@ stdcall glRasterPos4fv( ptr ) wine_glRasterPos4fv
@ stdcall glRasterPos4i( long long long long ) wine_glRasterPos4i
@ stdcall glRasterPos4iv( ptr ) wine_glRasterPos4iv
@ stdcall glRasterPos4s( long long long long ) wine_glRasterPos4s
@ stdcall glRasterPos4sv( ptr ) wine_glRasterPos4sv
@ stdcall glReadBuffer( long ) wine_glReadBuffer
@ stdcall glReadPixels( long long long long long long ptr ) wine_glReadPixels
@ stdcall glRectd( double double double double ) wine_glRectd
@ stdcall glRectdv( ptr ptr ) wine_glRectdv
@ stdcall glRectf( float float float float ) wine_glRectf
@ stdcall glRectfv( ptr ptr ) wine_glRectfv
@ stdcall glRecti( long long long long ) wine_glRecti
@ stdcall glRectiv( ptr ptr ) wine_glRectiv
@ stdcall glRects( long long long long ) wine_glRects
@ stdcall glRectsv( ptr ptr ) wine_glRectsv
@ stdcall glRenderMode( long ) wine_glRenderMode
@ stdcall glRotated( double double double double ) wine_glRotated
@ stdcall glRotatef( float float float float ) wine_glRotatef
@ stdcall glScaled( double double double ) wine_glScaled
@ stdcall glScalef( float float float ) wine_glScalef
@ stdcall glScissor( long long long long ) wine_glScissor
@ stdcall glSelectBuffer( long ptr ) wine_glSelectBuffer
@ stdcall glShadeModel( long ) wine_glShadeModel
@ stdcall glStencilFunc( long long long ) wine_glStencilFunc
@ stdcall glStencilMask( long ) wine_glStencilMask
@ stdcall glStencilOp( long long long ) wine_glStencilOp
@ stdcall glTexCoord1d( double ) wine_glTexCoord1d
@ stdcall glTexCoord1dv( ptr ) wine_glTexCoord1dv
@ stdcall glTexCoord1f( float ) wine_glTexCoord1f
@ stdcall glTexCoord1fv( ptr ) wine_glTexCoord1fv
@ stdcall glTexCoord1i( long ) wine_glTexCoord1i
@ stdcall glTexCoord1iv( ptr ) wine_glTexCoord1iv
@ stdcall glTexCoord1s( long ) wine_glTexCoord1s
@ stdcall glTexCoord1sv( ptr ) wine_glTexCoord1sv
@ stdcall glTexCoord2d( double double ) wine_glTexCoord2d
@ stdcall glTexCoord2dv( ptr ) wine_glTexCoord2dv
@ stdcall glTexCoord2f( float float ) wine_glTexCoord2f
@ stdcall glTexCoord2fv( ptr ) wine_glTexCoord2fv
@ stdcall glTexCoord2i( long long ) wine_glTexCoord2i
@ stdcall glTexCoord2iv( ptr ) wine_glTexCoord2iv
@ stdcall glTexCoord2s( long long ) wine_glTexCoord2s
@ stdcall glTexCoord2sv( ptr ) wine_glTexCoord2sv
@ stdcall glTexCoord3d( double double double ) wine_glTexCoord3d
@ stdcall glTexCoord3dv( ptr ) wine_glTexCoord3dv
@ stdcall glTexCoord3f( float float float ) wine_glTexCoord3f
@ stdcall glTexCoord3fv( ptr ) wine_glTexCoord3fv
@ stdcall glTexCoord3i( long long long ) wine_glTexCoord3i
@ stdcall glTexCoord3iv( ptr ) wine_glTexCoord3iv
@ stdcall glTexCoord3s( long long long ) wine_glTexCoord3s
@ stdcall glTexCoord3sv( ptr ) wine_glTexCoord3sv
@ stdcall glTexCoord4d( double double double double ) wine_glTexCoord4d
@ stdcall glTexCoord4dv( ptr ) wine_glTexCoord4dv
@ stdcall glTexCoord4f( float float float float ) wine_glTexCoord4f
@ stdcall glTexCoord4fv( ptr ) wine_glTexCoord4fv
@ stdcall glTexCoord4i( long long long long ) wine_glTexCoord4i
@ stdcall glTexCoord4iv( ptr ) wine_glTexCoord4iv
@ stdcall glTexCoord4s( long long long long ) wine_glTexCoord4s
@ stdcall glTexCoord4sv( ptr ) wine_glTexCoord4sv
@ stdcall glTexCoordPointer( long long long ptr ) wine_glTexCoordPointer
@ stdcall glTexEnvf( long long float ) wine_glTexEnvf
@ stdcall glTexEnvfv( long long ptr ) wine_glTexEnvfv
@ stdcall glTexEnvi( long long long ) wine_glTexEnvi
@ stdcall glTexEnviv( long long ptr ) wine_glTexEnviv
@ stdcall glTexGend( long long double ) wine_glTexGend
@ stdcall glTexGendv( long long ptr ) wine_glTexGendv
@ stdcall glTexGenf( long long float ) wine_glTexGenf
@ stdcall glTexGenfv( long long ptr ) wine_glTexGenfv
@ stdcall glTexGeni( long long long ) wine_glTexGeni
@ stdcall glTexGeniv( long long ptr ) wine_glTexGeniv
@ stdcall glTexImage1D( long long long long long long long ptr ) wine_glTexImage1D
@ stdcall glTexImage2D( long long long long long long long long ptr ) wine_glTexImage2D
@ stdcall glTexParameterf( long long float ) wine_glTexParameterf
@ stdcall glTexParameterfv( long long ptr ) wine_glTexParameterfv
@ stdcall glTexParameteri( long long long ) wine_glTexParameteri
@ stdcall glTexParameteriv( long long ptr ) wine_glTexParameteriv
@ stdcall glTexSubImage1D( long long long long long long ptr ) wine_glTexSubImage1D
@ stdcall glTexSubImage2D( long long long long long long long long ptr ) wine_glTexSubImage2D
@ stdcall glTranslated( double double double ) wine_glTranslated
@ stdcall glTranslatef( float float float ) wine_glTranslatef
@ stdcall glVertex2d( double double ) wine_glVertex2d
@ stdcall glVertex2dv( ptr ) wine_glVertex2dv
@ stdcall glVertex2f( float float ) wine_glVertex2f
@ stdcall glVertex2fv( ptr ) wine_glVertex2fv
@ stdcall glVertex2i( long long ) wine_glVertex2i
@ stdcall glVertex2iv( ptr ) wine_glVertex2iv
@ stdcall glVertex2s( long long ) wine_glVertex2s
@ stdcall glVertex2sv( ptr ) wine_glVertex2sv
@ stdcall glVertex3d( double double double ) wine_glVertex3d
@ stdcall glVertex3dv( ptr ) wine_glVertex3dv
@ stdcall glVertex3f( float float float ) wine_glVertex3f
@ stdcall glVertex3fv( ptr ) wine_glVertex3fv
@ stdcall glVertex3i( long long long ) wine_glVertex3i
@ stdcall glVertex3iv( ptr ) wine_glVertex3iv
@ stdcall glVertex3s( long long long ) wine_glVertex3s
@ stdcall glVertex3sv( ptr ) wine_glVertex3sv
@ stdcall glVertex4d( double double double double ) wine_glVertex4d
@ stdcall glVertex4dv( ptr ) wine_glVertex4dv
@ stdcall glVertex4f( float float float float ) wine_glVertex4f
@ stdcall glVertex4fv( ptr ) wine_glVertex4fv
@ stdcall glVertex4i( long long long long ) wine_glVertex4i
@ stdcall glVertex4iv( ptr ) wine_glVertex4iv
@ stdcall glVertex4s( long long long long ) wine_glVertex4s
@ stdcall glVertex4sv( ptr ) wine_glVertex4sv
@ stdcall glVertexPointer( long long long ptr ) wine_glVertexPointer
@ stdcall glViewport( long long long long ) wine_glViewport
@ stdcall glAccum(long float)
@ stdcall glAlphaFunc(long float)
@ stdcall glAreTexturesResident(long ptr ptr)
@ stdcall glArrayElement(long)
@ stdcall glBegin(long)
@ stdcall glBindTexture(long long)
@ stdcall glBitmap(long long float float float float ptr)
@ stdcall glBlendFunc(long long)
@ stdcall glCallList(long)
@ stdcall glCallLists(long long ptr)
@ stdcall glClear(long)
@ stdcall glClearAccum(float float float float)
@ stdcall glClearColor(float float float float)
@ stdcall glClearDepth(double)
@ stdcall glClearIndex(float)
@ stdcall glClearStencil(long)
@ stdcall glClipPlane(long ptr)
@ stdcall glColor3b(long long long)
@ stdcall glColor3bv(ptr)
@ stdcall glColor3d(double double double)
@ stdcall glColor3dv(ptr)
@ stdcall glColor3f(float float float)
@ stdcall glColor3fv(ptr)
@ stdcall glColor3i(long long long)
@ stdcall glColor3iv(ptr)
@ stdcall glColor3s(long long long)
@ stdcall glColor3sv(ptr)
@ stdcall glColor3ub(long long long)
@ stdcall glColor3ubv(ptr)
@ stdcall glColor3ui(long long long)
@ stdcall glColor3uiv(ptr)
@ stdcall glColor3us(long long long)
@ stdcall glColor3usv(ptr)
@ stdcall glColor4b(long long long long)
@ stdcall glColor4bv(ptr)
@ stdcall glColor4d(double double double double)
@ stdcall glColor4dv(ptr)
@ stdcall glColor4f(float float float float)
@ stdcall glColor4fv(ptr)
@ stdcall glColor4i(long long long long)
@ stdcall glColor4iv(ptr)
@ stdcall glColor4s(long long long long)
@ stdcall glColor4sv(ptr)
@ stdcall glColor4ub(long long long long)
@ stdcall glColor4ubv(ptr)
@ stdcall glColor4ui(long long long long)
@ stdcall glColor4uiv(ptr)
@ stdcall glColor4us(long long long long)
@ stdcall glColor4usv(ptr)
@ stdcall glColorMask(long long long long)
@ stdcall glColorMaterial(long long)
@ stdcall glColorPointer(long long long ptr)
@ stdcall glCopyPixels(long long long long long)
@ stdcall glCopyTexImage1D(long long long long long long long)
@ stdcall glCopyTexImage2D(long long long long long long long long)
@ stdcall glCopyTexSubImage1D(long long long long long long)
@ stdcall glCopyTexSubImage2D(long long long long long long long long)
@ stdcall glCullFace(long)
@ stdcall glDebugEntry(long long)
@ stdcall glDeleteLists(long long)
@ stdcall glDeleteTextures(long ptr)
@ stdcall glDepthFunc(long)
@ stdcall glDepthMask(long)
@ stdcall glDepthRange(double double)
@ stdcall glDisable(long)
@ stdcall glDisableClientState(long)
@ stdcall glDrawArrays(long long long)
@ stdcall glDrawBuffer(long)
@ stdcall glDrawElements(long long long ptr)
@ stdcall glDrawPixels(long long long long ptr)
@ stdcall glEdgeFlag(long)
@ stdcall glEdgeFlagPointer(long ptr)
@ stdcall glEdgeFlagv(ptr)
@ stdcall glEnable(long)
@ stdcall glEnableClientState(long)
@ stdcall glEnd()
@ stdcall glEndList()
@ stdcall glEvalCoord1d(double)
@ stdcall glEvalCoord1dv(ptr)
@ stdcall glEvalCoord1f(float)
@ stdcall glEvalCoord1fv(ptr)
@ stdcall glEvalCoord2d(double double)
@ stdcall glEvalCoord2dv(ptr)
@ stdcall glEvalCoord2f(float float)
@ stdcall glEvalCoord2fv(ptr)
@ stdcall glEvalMesh1(long long long)
@ stdcall glEvalMesh2(long long long long long)
@ stdcall glEvalPoint1(long)
@ stdcall glEvalPoint2(long long)
@ stdcall glFeedbackBuffer(long long ptr)
@ stdcall glFinish()
@ stdcall glFlush()
@ stdcall glFogf(long float)
@ stdcall glFogfv(long ptr)
@ stdcall glFogi(long long)
@ stdcall glFogiv(long ptr)
@ stdcall glFrontFace(long)
@ stdcall glFrustum(double double double double double double)
@ stdcall glGenLists(long)
@ stdcall glGenTextures(long ptr)
@ stdcall glGetBooleanv(long ptr)
@ stdcall glGetClipPlane(long ptr)
@ stdcall glGetDoublev(long ptr)
@ stdcall glGetError()
@ stdcall glGetFloatv(long ptr)
@ stdcall glGetIntegerv(long ptr)
@ stdcall glGetLightfv(long long ptr)
@ stdcall glGetLightiv(long long ptr)
@ stdcall glGetMapdv(long long ptr)
@ stdcall glGetMapfv(long long ptr)
@ stdcall glGetMapiv(long long ptr)
@ stdcall glGetMaterialfv(long long ptr)
@ stdcall glGetMaterialiv(long long ptr)
@ stdcall glGetPixelMapfv(long ptr)
@ stdcall glGetPixelMapuiv(long ptr)
@ stdcall glGetPixelMapusv(long ptr)
@ stdcall glGetPointerv(long ptr)
@ stdcall glGetPolygonStipple(ptr)
@ stdcall glGetString(long)
@ stdcall glGetTexEnvfv(long long ptr)
@ stdcall glGetTexEnviv(long long ptr)
@ stdcall glGetTexGendv(long long ptr)
@ stdcall glGetTexGenfv(long long ptr)
@ stdcall glGetTexGeniv(long long ptr)
@ stdcall glGetTexImage(long long long long ptr)
@ stdcall glGetTexLevelParameterfv(long long long ptr)
@ stdcall glGetTexLevelParameteriv(long long long ptr)
@ stdcall glGetTexParameterfv(long long ptr)
@ stdcall glGetTexParameteriv(long long ptr)
@ stdcall glHint(long long)
@ stdcall glIndexMask(long)
@ stdcall glIndexPointer(long long ptr)
@ stdcall glIndexd(double)
@ stdcall glIndexdv(ptr)
@ stdcall glIndexf(float)
@ stdcall glIndexfv(ptr)
@ stdcall glIndexi(long)
@ stdcall glIndexiv(ptr)
@ stdcall glIndexs(long)
@ stdcall glIndexsv(ptr)
@ stdcall glIndexub(long)
@ stdcall glIndexubv(ptr)
@ stdcall glInitNames()
@ stdcall glInterleavedArrays(long long ptr)
@ stdcall glIsEnabled(long)
@ stdcall glIsList(long)
@ stdcall glIsTexture(long)
@ stdcall glLightModelf(long float)
@ stdcall glLightModelfv(long ptr)
@ stdcall glLightModeli(long long)
@ stdcall glLightModeliv(long ptr)
@ stdcall glLightf(long long float)
@ stdcall glLightfv(long long ptr)
@ stdcall glLighti(long long long)
@ stdcall glLightiv(long long ptr)
@ stdcall glLineStipple(long long)
@ stdcall glLineWidth(float)
@ stdcall glListBase(long)
@ stdcall glLoadIdentity()
@ stdcall glLoadMatrixd(ptr)
@ stdcall glLoadMatrixf(ptr)
@ stdcall glLoadName(long)
@ stdcall glLogicOp(long)
@ stdcall glMap1d(long double double long long ptr)
@ stdcall glMap1f(long float float long long ptr)
@ stdcall glMap2d(long double double long long double double long long ptr)
@ stdcall glMap2f(long float float long long float float long long ptr)
@ stdcall glMapGrid1d(long double double)
@ stdcall glMapGrid1f(long float float)
@ stdcall glMapGrid2d(long double double long double double)
@ stdcall glMapGrid2f(long float float long float float)
@ stdcall glMaterialf(long long float)
@ stdcall glMaterialfv(long long ptr)
@ stdcall glMateriali(long long long)
@ stdcall glMaterialiv(long long ptr)
@ stdcall glMatrixMode(long)
@ stdcall glMultMatrixd(ptr)
@ stdcall glMultMatrixf(ptr)
@ stdcall glNewList(long long)
@ stdcall glNormal3b(long long long)
@ stdcall glNormal3bv(ptr)
@ stdcall glNormal3d(double double double)
@ stdcall glNormal3dv(ptr)
@ stdcall glNormal3f(float float float)
@ stdcall glNormal3fv(ptr)
@ stdcall glNormal3i(long long long)
@ stdcall glNormal3iv(ptr)
@ stdcall glNormal3s(long long long)
@ stdcall glNormal3sv(ptr)
@ stdcall glNormalPointer(long long ptr)
@ stdcall glOrtho(double double double double double double)
@ stdcall glPassThrough(float)
@ stdcall glPixelMapfv(long long ptr)
@ stdcall glPixelMapuiv(long long ptr)
@ stdcall glPixelMapusv(long long ptr)
@ stdcall glPixelStoref(long float)
@ stdcall glPixelStorei(long long)
@ stdcall glPixelTransferf(long float)
@ stdcall glPixelTransferi(long long)
@ stdcall glPixelZoom(float float)
@ stdcall glPointSize(float)
@ stdcall glPolygonMode(long long)
@ stdcall glPolygonOffset(float float)
@ stdcall glPolygonStipple(ptr)
@ stdcall glPopAttrib()
@ stdcall glPopClientAttrib()
@ stdcall glPopMatrix()
@ stdcall glPopName()
@ stdcall glPrioritizeTextures(long ptr ptr)
@ stdcall glPushAttrib(long)
@ stdcall glPushClientAttrib(long)
@ stdcall glPushMatrix()
@ stdcall glPushName(long)
@ stdcall glRasterPos2d(double double)
@ stdcall glRasterPos2dv(ptr)
@ stdcall glRasterPos2f(float float)
@ stdcall glRasterPos2fv(ptr)
@ stdcall glRasterPos2i(long long)
@ stdcall glRasterPos2iv(ptr)
@ stdcall glRasterPos2s(long long)
@ stdcall glRasterPos2sv(ptr)
@ stdcall glRasterPos3d(double double double)
@ stdcall glRasterPos3dv(ptr)
@ stdcall glRasterPos3f(float float float)
@ stdcall glRasterPos3fv(ptr)
@ stdcall glRasterPos3i(long long long)
@ stdcall glRasterPos3iv(ptr)
@ stdcall glRasterPos3s(long long long)
@ stdcall glRasterPos3sv(ptr)
@ stdcall glRasterPos4d(double double double double)
@ stdcall glRasterPos4dv(ptr)
@ stdcall glRasterPos4f(float float float float)
@ stdcall glRasterPos4fv(ptr)
@ stdcall glRasterPos4i(long long long long)
@ stdcall glRasterPos4iv(ptr)
@ stdcall glRasterPos4s(long long long long)
@ stdcall glRasterPos4sv(ptr)
@ stdcall glReadBuffer(long)
@ stdcall glReadPixels(long long long long long long ptr)
@ stdcall glRectd(double double double double)
@ stdcall glRectdv(ptr ptr)
@ stdcall glRectf(float float float float)
@ stdcall glRectfv(ptr ptr)
@ stdcall glRecti(long long long long)
@ stdcall glRectiv(ptr ptr)
@ stdcall glRects(long long long long)
@ stdcall glRectsv(ptr ptr)
@ stdcall glRenderMode(long)
@ stdcall glRotated(double double double double)
@ stdcall glRotatef(float float float float)
@ stdcall glScaled(double double double)
@ stdcall glScalef(float float float)
@ stdcall glScissor(long long long long)
@ stdcall glSelectBuffer(long ptr)
@ stdcall glShadeModel(long)
@ stdcall glStencilFunc(long long long)
@ stdcall glStencilMask(long)
@ stdcall glStencilOp(long long long)
@ stdcall glTexCoord1d(double)
@ stdcall glTexCoord1dv(ptr)
@ stdcall glTexCoord1f(float)
@ stdcall glTexCoord1fv(ptr)
@ stdcall glTexCoord1i(long)
@ stdcall glTexCoord1iv(ptr)
@ stdcall glTexCoord1s(long)
@ stdcall glTexCoord1sv(ptr)
@ stdcall glTexCoord2d(double double)
@ stdcall glTexCoord2dv(ptr)
@ stdcall glTexCoord2f(float float)
@ stdcall glTexCoord2fv(ptr)
@ stdcall glTexCoord2i(long long)
@ stdcall glTexCoord2iv(ptr)
@ stdcall glTexCoord2s(long long)
@ stdcall glTexCoord2sv(ptr)
@ stdcall glTexCoord3d(double double double)
@ stdcall glTexCoord3dv(ptr)
@ stdcall glTexCoord3f(float float float)
@ stdcall glTexCoord3fv(ptr)
@ stdcall glTexCoord3i(long long long)
@ stdcall glTexCoord3iv(ptr)
@ stdcall glTexCoord3s(long long long)
@ stdcall glTexCoord3sv(ptr)
@ stdcall glTexCoord4d(double double double double)
@ stdcall glTexCoord4dv(ptr)
@ stdcall glTexCoord4f(float float float float)
@ stdcall glTexCoord4fv(ptr)
@ stdcall glTexCoord4i(long long long long)
@ stdcall glTexCoord4iv(ptr)
@ stdcall glTexCoord4s(long long long long)
@ stdcall glTexCoord4sv(ptr)
@ stdcall glTexCoordPointer(long long long ptr)
@ stdcall glTexEnvf(long long float)
@ stdcall glTexEnvfv(long long ptr)
@ stdcall glTexEnvi(long long long)
@ stdcall glTexEnviv(long long ptr)
@ stdcall glTexGend(long long double)
@ stdcall glTexGendv(long long ptr)
@ stdcall glTexGenf(long long float)
@ stdcall glTexGenfv(long long ptr)
@ stdcall glTexGeni(long long long)
@ stdcall glTexGeniv(long long ptr)
@ stdcall glTexImage1D(long long long long long long long ptr)
@ stdcall glTexImage2D(long long long long long long long long ptr)
@ stdcall glTexParameterf(long long float)
@ stdcall glTexParameterfv(long long ptr)
@ stdcall glTexParameteri(long long long)
@ stdcall glTexParameteriv(long long ptr)
@ stdcall glTexSubImage1D(long long long long long long ptr)
@ stdcall glTexSubImage2D(long long long long long long long long ptr)
@ stdcall glTranslated(double double double)
@ stdcall glTranslatef(float float float)
@ stdcall glVertex2d(double double)
@ stdcall glVertex2dv(ptr)
@ stdcall glVertex2f(float float)
@ stdcall glVertex2fv(ptr)
@ stdcall glVertex2i(long long)
@ stdcall glVertex2iv(ptr)
@ stdcall glVertex2s(long long)
@ stdcall glVertex2sv(ptr)
@ stdcall glVertex3d(double double double)
@ stdcall glVertex3dv(ptr)
@ stdcall glVertex3f(float float float)
@ stdcall glVertex3fv(ptr)
@ stdcall glVertex3i(long long long)
@ stdcall glVertex3iv(ptr)
@ stdcall glVertex3s(long long long)
@ stdcall glVertex3sv(ptr)
@ stdcall glVertex4d(double double double double)
@ stdcall glVertex4dv(ptr)
@ stdcall glVertex4f(float float float float)
@ stdcall glVertex4fv(ptr)
@ stdcall glVertex4i(long long long long)
@ stdcall glVertex4iv(ptr)
@ stdcall glVertex4s(long long long long)
@ stdcall glVertex4sv(ptr)
@ stdcall glVertexPointer(long long long ptr)
@ stdcall glViewport(long long long long)
@ stdcall wglChoosePixelFormat(long ptr)
@ stdcall wglCopyContext(long long long)
@ stdcall wglCreateContext(long)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -47,8 +47,6 @@ static HMODULE opengl32_handle;
extern struct opengl_funcs null_opengl_funcs;
const GLubyte * WINAPI wine_glGetString( GLenum name );
/* handle management */
#define MAX_WGL_HANDLES 1024
@ -691,7 +689,7 @@ static int compar(const void *elt_a, const void *elt_b) {
static BOOL is_extension_supported(const char* extension)
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
const char *gl_ext_string = (const char*)wine_glGetString(GL_EXTENSIONS);
const char *gl_ext_string = (const char*)glGetString(GL_EXTENSIONS);
TRACE("Checking for extension '%s'\n", extension);
@ -1624,7 +1622,7 @@ BOOL WINAPI wglUseFontOutlinesW(HDC hdc,
/***********************************************************************
* glDebugEntry (OPENGL32.@)
*/
GLint WINAPI wine_glDebugEntry( GLint unknown1, GLint unknown2 )
GLint WINAPI glDebugEntry( GLint unknown1, GLint unknown2 )
{
return 0;
}
@ -1692,7 +1690,7 @@ static GLubyte *filter_extensions( const char *extensions )
/***********************************************************************
* glGetString (OPENGL32.@)
*/
const GLubyte * WINAPI wine_glGetString( GLenum name )
const GLubyte * WINAPI glGetString( GLenum name )
{
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
const GLubyte *ret = funcs->gl.p_glGetString( name );