Driver interface changes

This commit is contained in:
Keith Whitwell
2001-05-10 12:22:32 +00:00
parent 7954a0cafd
commit bc69de5f21
3 changed files with 7 additions and 2 deletions

View 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;

View 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;

View 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;