From: Keith Whitwell Date: Thu, 10 May 2001 12:22:32 +0000 (+0000) Subject: Driver interface changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc69de5f21ebb4d6e1c65bf5652d17a9fc87dda7;p=mesa.git Driver interface changes --- 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;