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 6298a76c30267189daf41d240f894610eefe9356..c20ccebc5238b6b25756c0dcd93e9cbea1682bd5 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 e453f4127bce7ce3cc53e67b42fe8695af8869bb..65ab67798cb716507ac6edc56a539efaaa1c0716 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 548ebb0c54351b7ca5dd2a2ec045d0b2c5e7c06f..dbb01f343eff917eb72c877cb3bd017d6a76cc25 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;