From ae0eaf93e092ac8e8b1c98f3e986de96940663fa Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 24 Nov 2003 15:23:18 +0000 Subject: Merge vtx-0-2-branch --- src/mesa/main/vtxfmt_tmp.h | 107 ++++++++++++++++++++++++--------------------- 1 file changed, 57 insertions(+), 50 deletions(-) (limited to 'src/mesa/main/vtxfmt_tmp.h') diff --git a/src/mesa/main/vtxfmt_tmp.h b/src/mesa/main/vtxfmt_tmp.h index 204b2991de..044ec1bbaf 100644 --- a/src/mesa/main/vtxfmt_tmp.h +++ b/src/mesa/main/vtxfmt_tmp.h @@ -48,18 +48,6 @@ static void GLAPIENTRY TAG(Color3fv)( const GLfloat *v ) _glapi_Dispatch->Color3fv( v ); } -static void GLAPIENTRY TAG(Color3ub)( GLubyte r, GLubyte g, GLubyte b ) -{ - PRE_LOOPBACK( Color3ub ); - _glapi_Dispatch->Color3ub( r, g, b ); -} - -static void GLAPIENTRY TAG(Color3ubv)( const GLubyte *v ) -{ - PRE_LOOPBACK( Color3ubv ); - _glapi_Dispatch->Color3ubv( v ); -} - static void GLAPIENTRY TAG(Color4f)( GLfloat r, GLfloat g, GLfloat b, GLfloat a ) { PRE_LOOPBACK( Color4f ); @@ -72,18 +60,6 @@ static void GLAPIENTRY TAG(Color4fv)( const GLfloat *v ) _glapi_Dispatch->Color4fv( v ); } -static void GLAPIENTRY TAG(Color4ub)( GLubyte r, GLubyte g, GLubyte b, GLubyte a ) -{ - PRE_LOOPBACK( Color4ub ); - _glapi_Dispatch->Color4ub( r, g, b, a ); -} - -static void GLAPIENTRY TAG(Color4ubv)( const GLubyte *v ) -{ - PRE_LOOPBACK( Color4ubv ); - _glapi_Dispatch->Color4ubv( v ); -} - static void GLAPIENTRY TAG(EdgeFlag)( GLboolean e ) { PRE_LOOPBACK( EdgeFlag ); @@ -144,16 +120,16 @@ static void GLAPIENTRY TAG(FogCoordfvEXT)( const GLfloat *v ) _glapi_Dispatch->FogCoordfvEXT( v ); } -static void GLAPIENTRY TAG(Indexi)( GLint i ) +static void GLAPIENTRY TAG(Indexf)( GLfloat f ) { - PRE_LOOPBACK( Indexi ); - _glapi_Dispatch->Indexi( i ); + PRE_LOOPBACK( Indexf ); + _glapi_Dispatch->Indexf( f ); } -static void GLAPIENTRY TAG(Indexiv)( const GLint *v ) +static void GLAPIENTRY TAG(Indexfv)( const GLfloat *v ) { - PRE_LOOPBACK( Indexiv ); - _glapi_Dispatch->Indexiv( v ); + PRE_LOOPBACK( Indexfv ); + _glapi_Dispatch->Indexfv( v ); } static void GLAPIENTRY TAG(Materialfv)( GLenum face, GLenum pname, const GLfloat *v ) @@ -236,18 +212,6 @@ static void GLAPIENTRY TAG(SecondaryColor3fvEXT)( const GLfloat *v ) _glapi_Dispatch->SecondaryColor3fvEXT( v ); } -static void GLAPIENTRY TAG(SecondaryColor3ubEXT)( GLubyte r, GLubyte g, GLubyte b ) -{ - PRE_LOOPBACK( SecondaryColor3ubEXT ); - _glapi_Dispatch->SecondaryColor3ubEXT( r, g, b ); -} - -static void GLAPIENTRY TAG(SecondaryColor3ubvEXT)( const GLubyte *v ) -{ - PRE_LOOPBACK( SecondaryColor3ubvEXT ); - _glapi_Dispatch->SecondaryColor3ubvEXT( v ); -} - static void GLAPIENTRY TAG(TexCoord1f)( GLfloat s ) { PRE_LOOPBACK( TexCoord1f ); @@ -338,6 +302,12 @@ static void GLAPIENTRY TAG(CallList)( GLuint i ) _glapi_Dispatch->CallList( i ); } +static void GLAPIENTRY TAG(CallLists)( GLsizei sz, GLenum type, const GLvoid *v ) +{ + PRE_LOOPBACK( CallLists ); + _glapi_Dispatch->CallLists( sz, type, v ); +} + static void GLAPIENTRY TAG(Begin)( GLenum mode ) { PRE_LOOPBACK( Begin ); @@ -390,6 +360,42 @@ static void GLAPIENTRY TAG(EvalMesh2)( GLenum mode, GLint i1, GLint i2, _glapi_Dispatch->EvalMesh2( mode, i1, i2, j1, j2 ); } +static void GLAPIENTRY TAG(VertexAttrib1fNV)( GLuint index, GLfloat x ) +{ + PRE_LOOPBACK( VertexAttrib1fNV ); + _glapi_Dispatch->VertexAttrib1fNV( index, x ); +} + +static void GLAPIENTRY TAG(VertexAttrib1fvNV)( GLuint index, const GLfloat *v ) +{ + PRE_LOOPBACK( VertexAttrib1fvNV ); + _glapi_Dispatch->VertexAttrib1fvNV( index, v ); +} + +static void GLAPIENTRY TAG(VertexAttrib2fNV)( GLuint index, GLfloat x, GLfloat y ) +{ + PRE_LOOPBACK( VertexAttrib2fNV ); + _glapi_Dispatch->VertexAttrib2fNV( index, x, y ); +} + +static void GLAPIENTRY TAG(VertexAttrib2fvNV)( GLuint index, const GLfloat *v ) +{ + PRE_LOOPBACK( VertexAttrib2fvNV ); + _glapi_Dispatch->VertexAttrib2fvNV( index, v ); +} + +static void GLAPIENTRY TAG(VertexAttrib3fNV)( GLuint index, GLfloat x, GLfloat y, GLfloat z ) +{ + PRE_LOOPBACK( VertexAttrib3fNV ); + _glapi_Dispatch->VertexAttrib3fNV( index, x, y, z ); +} + +static void GLAPIENTRY TAG(VertexAttrib3fvNV)( GLuint index, const GLfloat *v ) +{ + PRE_LOOPBACK( VertexAttrib3fvNV ); + _glapi_Dispatch->VertexAttrib3fvNV( index, v ); +} + static void GLAPIENTRY TAG(VertexAttrib4fNV)( GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { PRE_LOOPBACK( VertexAttrib4fNV ); @@ -407,12 +413,8 @@ static GLvertexformat TAG(vtxfmt) = { TAG(ArrayElement), TAG(Color3f), TAG(Color3fv), - TAG(Color3ub), - TAG(Color3ubv), TAG(Color4f), TAG(Color4fv), - TAG(Color4ub), - TAG(Color4ubv), TAG(EdgeFlag), TAG(EdgeFlagv), TAG(EvalCoord1f), @@ -423,8 +425,8 @@ static GLvertexformat TAG(vtxfmt) = { TAG(EvalPoint2), TAG(FogCoordfEXT), TAG(FogCoordfvEXT), - TAG(Indexi), - TAG(Indexiv), + TAG(Indexf), + TAG(Indexfv), TAG(Materialfv), TAG(MultiTexCoord1fARB), TAG(MultiTexCoord1fvARB), @@ -438,8 +440,6 @@ static GLvertexformat TAG(vtxfmt) = { TAG(Normal3fv), TAG(SecondaryColor3fEXT), TAG(SecondaryColor3fvEXT), - TAG(SecondaryColor3ubEXT), - TAG(SecondaryColor3ubvEXT), TAG(TexCoord1f), TAG(TexCoord1fv), TAG(TexCoord2f), @@ -455,8 +455,15 @@ static GLvertexformat TAG(vtxfmt) = { TAG(Vertex4f), TAG(Vertex4fv), TAG(CallList), + TAG(CallLists), TAG(Begin), TAG(End), + TAG(VertexAttrib1fNV), + TAG(VertexAttrib1fvNV), + TAG(VertexAttrib2fNV), + TAG(VertexAttrib2fvNV), + TAG(VertexAttrib3fNV), + TAG(VertexAttrib3fvNV), TAG(VertexAttrib4fNV), TAG(VertexAttrib4fvNV), TAG(Rectf), -- cgit v1.2.3