fragment program execution
[mesa.git] / src / mesa / tnl / t_imm_exec.h
index 8cdede46f016cb39afb887c38ffdf7534d68bcaf..99b816d82ec174141244fd63bd246f48cd8615e2 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: t_imm_exec.h,v 1.4 2001/03/12 00:48:43 gareth Exp $ */
+/* $Id: t_imm_exec.h,v 1.8 2002/04/19 12:32:14 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -38,13 +38,13 @@ extern void _tnl_flush_vertices( GLcontext *ctx, GLuint flush_flags );
 
 /* Called from imm_api.c and _tnl_flush_vertices:
  */
-extern void _tnl_flush_immediate( struct immediate *IM );
+extern void _tnl_flush_immediate( GLcontext *ctx, struct immediate *IM );
 
 /* Called from imm_dlist.c and _tnl_flush_immediate:
  */
 extern void _tnl_run_cassette( GLcontext *ctx, struct immediate *IM );
 extern void _tnl_copy_to_current( GLcontext *ctx, struct immediate *IM,
-                                 GLuint flag );
+                                 GLuint flag, GLuint row );
 
 /* Initialize some stuff:
  */
@@ -52,12 +52,17 @@ extern void _tnl_imm_init( GLcontext *ctx );
 
 extern void _tnl_imm_destroy( GLcontext *ctx );
 
-extern void _tnl_reset_input( GLcontext *ctx,
-                             GLuint start,
-                             GLuint beginstate,
-                             GLuint savedbeginstate );
+extern void _tnl_reset_exec_input( GLcontext *ctx,
+                                  GLuint start,
+                                  GLuint beginstate,
+                                  GLuint savedbeginstate );
 
-extern void _tnl_compute_orflag( struct immediate *IM );
+extern void _tnl_reset_compile_input( GLcontext *ctx,
+                                     GLuint start,
+                                     GLuint beginstate,
+                                     GLuint savedbeginstate );
+
+extern void _tnl_compute_orflag( struct immediate *IM, GLuint start );
 extern void _tnl_execute_cassette( GLcontext *ctx, struct immediate *IM );