summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/tnl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/tnl.h')
-rw-r--r--src/mesa/tnl/tnl.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/mesa/tnl/tnl.h b/src/mesa/tnl/tnl.h
index c14ed296ad5..f95ce0e5037 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