summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/tnl.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2000-11-24 10:25:05 +0000
committerKeith Whitwell <[email protected]>2000-11-24 10:25:05 +0000
commitad2ac216fa0cbebc36530bf9e5256e902710b892 (patch)
tree2b44b0129679558d0a1760bf94d75bcdbfe145ad /src/mesa/tnl/tnl.h
parent00608a79dce1ea5e274f35b0a1883f7b623b9d7a (diff)
Support for swappable t&l modules, including an example one in the FX
driver (enable with FX_ALLOW_VTXFMT=t).
Diffstat (limited to 'src/mesa/tnl/tnl.h')
-rw-r--r--src/mesa/tnl/tnl.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/tnl/tnl.h b/src/mesa/tnl/tnl.h
index c8207765903..c14ed296ad5 100644
--- a/src/mesa/tnl/tnl.h
+++ b/src/mesa/tnl/tnl.h
@@ -44,5 +44,19 @@ _tnl_DestroyContext( GLcontext *ctx );
extern void
_tnl_InvalidateState( GLcontext *ctx, GLuint new_state );
+/* Functions to revive the tnl module after being unhooked from
+ * dispatch and/or driver callbacks.
+ */
+
+/* Restore just the ctx->Exec table:
+ */
+extern void
+_tnl_wakeup_exec( GLcontext *ctx );
+
+/* Restore both ctx->Exec and ctx->Save:
+ */
+extern void
+_tnl_wakeup_save_exec( GLcontext *ctx );
+
#endif