From cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 26 Dec 2000 05:09:27 +0000 Subject: Major rework of tnl module New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges. --- src/mesa/tnl/tnl.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/tnl.h') diff --git a/src/mesa/tnl/tnl.h b/src/mesa/tnl/tnl.h index c14ed296ad..f95ce0e503 100644 --- a/src/mesa/tnl/tnl.h +++ b/src/mesa/tnl/tnl.h @@ -32,8 +32,9 @@ -/* These are the public-access functions exported from tnl. (Many - * more are currently hooked into dispatch directly by core code.) +/* These are the public-access functions exported from tnl. (A few + * more are currently hooked into dispatch directly by the module + * itself.) */ extern GLboolean _tnl_CreateContext( GLcontext *ctx ); @@ -59,4 +60,16 @@ extern void _tnl_wakeup_save_exec( GLcontext *ctx ); +/* Functions to assist driver t&l modules which have to fallback to + * this module in the middle of a begin/end pair. Use this instead of + * glBegin() to identify the primitive as wrapped: + * + * Even with this it's difficult to see how the drivers are going to + * replay any glMaterial commands received in the few vertices before + * the fallback. + */ +extern void +_tnl_fallback_begin( GLcontext *ctx, GLenum mode ); + + #endif -- cgit v1.2.3