From c8100a02d28c8a424f69723778abebd950914bc6 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 29 Mar 2004 11:05:02 +0000 Subject: First round of codegen for t_vtx_api.c -- ie the Begin/Vertex/End code. Enable with env var: MESA_CODEGEN=t. --- src/mesa/tnl/t_vtx_api.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/mesa/tnl/t_vtx_api.h') diff --git a/src/mesa/tnl/t_vtx_api.h b/src/mesa/tnl/t_vtx_api.h index 2500320213..5e4ab71a08 100644 --- a/src/mesa/tnl/t_vtx_api.h +++ b/src/mesa/tnl/t_vtx_api.h @@ -37,12 +37,23 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "t_context.h" +#define ERROR_ATTRIB 16 + + + +/* t_vtx_api.c: + */ extern void _tnl_vtx_init( GLcontext *ctx ); extern void _tnl_vtx_destroy( GLcontext *ctx ); extern void _tnl_FlushVertices( GLcontext *ctx, GLuint flags ); extern void _tnl_flush_vtx( GLcontext *ctx ); +extern void _tnl_wrap_filled_vertex( GLcontext *ctx ); + +/* t_vtx_exec.c: + */ + extern void _tnl_do_EvalCoord2f( GLcontext* ctx, GLfloat u, GLfloat v ); extern void _tnl_do_EvalCoord1f(GLcontext* ctx, GLfloat u); extern void _tnl_update_eval( GLcontext *ctx ); @@ -55,4 +66,19 @@ extern GLboolean *_tnl_translate_edgeflag( GLcontext *ctx, extern GLboolean *_tnl_import_current_edgeflag( GLcontext *ctx, GLuint count ); + + +/* t_vtx_generic.c: + */ +extern void _tnl_generic_exec_vtxfmt_init( GLcontext *ctx ); + +extern void _tnl_generic_attr_table_init( attrfv_func (*tab)[4] ); + +/* t_vtx_x86.c: + */ +extern void _tnl_InitX86Codegen( struct dynfn_generators *gen ); + + + + #endif -- cgit v1.2.3