Driver interface changes
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 10 May 2001 12:22:32 +0000 (12:22 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 10 May 2001 12:22:32 +0000 (12:22 +0000)
src/mesa/drivers/glide/fxdd.c
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_dd.c

index 6298a76..c20cceb 100644 (file)
@@ -1107,6 +1107,7 @@ fxSetupDDPointers(GLcontext * ctx)
    ctx->Driver.ShadeModel = fxDDShadeModel;
    ctx->Driver.Enable = fxDDEnable;
 
+   tnl->Driver.RunPipeline = _tnl_run_pipeline;
    tnl->Driver.RenderStart = fxDDRenderStart;
    tnl->Driver.RenderFinish = fxDDRenderFinish;
    tnl->Driver.ResetLineStipple = _swrast_ResetLineStipple;
index e453f41..65ab677 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: osmesa.c,v 1.53 2001/04/04 21:54:21 brianp Exp $ */
+/* $Id: osmesa.c,v 1.54 2001/05/10 12:22:32 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -57,6 +57,7 @@
 #include "swrast/s_triangle.h"
 #include "tnl/tnl.h"
 #include "tnl/t_context.h"
+#include "tnl/t_pipeline.h"
 
 
 
@@ -1857,6 +1858,7 @@ static void osmesa_update_state( GLcontext *ctx, GLuint new_state )
 
    swdd->SetReadBuffer = set_read_buffer;
 
+   tnl->Driver.RunPipeline = _tnl_run_pipeline;
    tnl->Driver.RenderStart = _swsetup_RenderStart;
    tnl->Driver.RenderFinish = _swsetup_RenderFinish;
    tnl->Driver.BuildProjectedVertices = _swsetup_BuildProjectedVertices;
index 548ebb0..dbb01f3 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: xm_dd.c,v 1.23 2001/04/27 21:18:25 brianp Exp $ */
+/* $Id: xm_dd.c,v 1.24 2001/05/10 12:22:32 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -43,6 +43,7 @@
 #include "swrast_setup/swrast_setup.h"
 #include "tnl/tnl.h"
 #include "tnl/t_context.h"
+#include "tnl/t_pipeline.h"
 
 
 /*
@@ -990,6 +991,7 @@ void xmesa_init_pointers( GLcontext *ctx )
    /* Initialize the TNL driver interface:
     */
    tnl = TNL_CONTEXT(ctx);
+   tnl->Driver.RunPipeline = _tnl_run_pipeline;
    tnl->Driver.RenderStart = _swsetup_RenderStart;
    tnl->Driver.RenderFinish = _swsetup_RenderFinish;
    tnl->Driver.BuildProjectedVertices = _swsetup_BuildProjectedVertices;