diff options
author | Keith Whitwell <[email protected]> | 2001-05-10 12:22:32 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-05-10 12:22:32 +0000 |
commit | bc69de5f21ebb4d6e1c65bf5652d17a9fc87dda7 (patch) | |
tree | 5dcde6087d184c9611443f5b0d66d3377e3421a8 /src | |
parent | 7954a0cafdce545cde193e8ec317afa85be2b736 (diff) |
Driver interface changes
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/x11/xm_dd.c | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 6298a76c302..c20ccebc523 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -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; diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index e453f4127bc..65ab67798cb 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -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; diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c index 548ebb0c543..dbb01f343ef 100644 --- a/src/mesa/drivers/x11/xm_dd.c +++ b/src/mesa/drivers/x11/xm_dd.c @@ -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; |