summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vtx_api.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-03-29 11:05:02 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-03-29 11:05:02 +0000
commitc8100a02d28c8a424f69723778abebd950914bc6 (patch)
tree65257db12171856ef0407402020afc61d1e0e201 /src/mesa/tnl/t_vtx_api.h
parent638ea113b962bfba322033ffc4658335a10cb865 (diff)
First round of codegen for t_vtx_api.c -- ie the Begin/Vertex/End code.
Enable with env var: MESA_CODEGEN=t.
Diffstat (limited to 'src/mesa/tnl/t_vtx_api.h')
-rw-r--r--src/mesa/tnl/t_vtx_api.h26
1 files changed, 26 insertions, 0 deletions
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