X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fapi_noop.h;h=aca7f088db6b1464474e8ee91b5367b10f7bde46;hb=7f48278edc70ad0841cbee2c46add7653b4fac15;hp=c80179d29300a1a2ac9accdfa2998982574ef5f7;hpb=22144ab7552f0799bcfca506bf4ffa7f70a06649;p=mesa.git diff --git a/src/mesa/main/api_noop.h b/src/mesa/main/api_noop.h index c80179d2930..aca7f088db6 100644 --- a/src/mesa/main/api_noop.h +++ b/src/mesa/main/api_noop.h @@ -1,10 +1,8 @@ -/* $Id: api_noop.h,v 1.3 2001/03/12 00:48:37 gareth Exp $ */ - /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 6.5.1 * - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -27,111 +25,37 @@ #ifndef _API_NOOP_H #define _API_NOOP_H +#include "main/mfeatures.h" +#include "main/mtypes.h" -#include "glheader.h" -#include "mtypes.h" -#include "context.h" - -/* In states where certain vertex components are required for t&l or - * rasterization, we still need to keep track of the current values. - * These functions provide this service by keeping uptodate the - * 'ctx->Current' struct for all data elements not included in the - * currently enabled hardware vertex. - * - */ -extern void _mesa_noop_EdgeFlag( GLboolean b ); - -extern void _mesa_noop_EdgeFlagv( const GLboolean *b ); - -extern void _mesa_noop_FogCoordfEXT( GLfloat a ); - -extern void _mesa_noop_FogCoordfvEXT( const GLfloat *v ); - -extern void _mesa_noop_Indexi( GLint i ); - -extern void _mesa_noop_Indexiv( const GLint *v ); - -extern void _mesa_noop_Normal3f( GLfloat a, GLfloat b, GLfloat c ); - -extern void _mesa_noop_Normal3fv( const GLfloat *v ); - -extern void _mesa_noop_Materialfv( GLenum face, GLenum pname, const GLfloat *param ); - -extern void _mesa_noop_Color4ub( GLubyte a, GLubyte b, GLubyte c, GLubyte d ); - -extern void _mesa_noop_Color4ubv( const GLubyte *v ); - -extern void _mesa_noop_Color4f( GLfloat a, GLfloat b, GLfloat c, GLfloat d ); - -extern void _mesa_noop_Color4fv( const GLfloat *v ); - -extern void _mesa_noop_Color3ub( GLubyte a, GLubyte b, GLubyte c ); - -extern void _mesa_noop_Color3ubv( const GLubyte *v ); - -extern void _mesa_noop_Color3f( GLfloat a, GLfloat b, GLfloat c ); - -extern void _mesa_noop_Color3fv( const GLfloat *v ); +#if FEATURE_beginend -extern void _mesa_noop_MultiTexCoord1fARB( GLenum target, GLfloat a ); +extern void GLAPIENTRY +_mesa_noop_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); -extern void _mesa_noop_MultiTexCoord1fvARB( GLenum target, GLfloat *v ); +extern void GLAPIENTRY +_mesa_noop_EvalMesh1(GLenum mode, GLint i1, GLint i2); -extern void _mesa_noop_MultiTexCoord2fARB( GLenum target, GLfloat a, - GLfloat b ); +extern void GLAPIENTRY +_mesa_noop_EvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); -extern void _mesa_noop_MultiTexCoord2fvARB( GLenum target, GLfloat *v ); - -extern void _mesa_noop_MultiTexCoord3fARB( GLenum target, GLfloat a, - GLfloat b, GLfloat c); - -extern void _mesa_noop_MultiTexCoord3fvARB( GLenum target, GLfloat *v ); - -extern void _mesa_noop_MultiTexCoord4fARB( GLenum target, GLfloat a, - GLfloat b, GLfloat c, GLfloat d ); - -extern void _mesa_noop_MultiTexCoord4fvARB( GLenum target, GLfloat *v ); - -extern void _mesa_noop_SecondaryColor3ubEXT( GLubyte a, GLubyte b, GLubyte c ); - -extern void _mesa_noop_SecondaryColor3ubvEXT( const GLubyte *v ); - -extern void _mesa_noop_SecondaryColor3fEXT( GLfloat a, GLfloat b, GLfloat c ); - -extern void _mesa_noop_SecondaryColor3fvEXT( const GLfloat *v ); - -extern void _mesa_noop_TexCoord1f( GLfloat a ); - -extern void _mesa_noop_TexCoord1fv( GLfloat *v ); - -extern void _mesa_noop_TexCoord2f( GLfloat a, GLfloat b ); - -extern void _mesa_noop_TexCoord2fv( GLfloat *v ); - -extern void _mesa_noop_TexCoord3f( GLfloat a, GLfloat b, GLfloat c ); - -extern void _mesa_noop_TexCoord3fv( GLfloat *v ); - -extern void _mesa_noop_TexCoord4f( GLfloat a, GLfloat b, GLfloat c, GLfloat d ); - -extern void _mesa_noop_TexCoord4fv( GLfloat *v ); - - -/* Not strictly a noop -- translate Rectf down to Begin/End and - * vertices. Closer to the loopback operations, but doesn't meet the - * criteria for inclusion there (cannot be used in the Save table). - */ -extern void _mesa_noop_Rectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); +extern void GLAPIENTRY +_mesa_noop_Materialfv(GLenum face, GLenum pname, const GLfloat *param); +extern void GLAPIENTRY +_mesa_noop_MultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, + const GLvoid **indices, GLsizei primcount); -extern void _mesa_noop_DrawArrays(GLenum mode, GLint start, GLsizei count); -extern void _mesa_noop_DrawElements(GLenum mode, GLsizei count, GLenum type, - const GLvoid *indices); -extern void _mesa_noop_DrawRangeElements(GLenum mode, - GLuint start, GLuint end, - GLsizei count, GLenum type, - const GLvoid *indices); +extern void GLAPIENTRY +_mesa_noop_MultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, + GLenum type, + const GLvoid **indices, + GLsizei primcount, + const GLint *basevertex); +extern void +_mesa_noop_vtxfmt_init(GLvertexformat *vfmt); +#endif /* FEATURE_beginend */ -#endif +#endif /* _API_NOOP_H */