From 5c1e7fa6ee72f4403d9ec9d12830dd689b966e71 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 29 Jan 2001 20:47:39 +0000 Subject: Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixels functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines. --- src/mesa/main/accum.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/accum.c') diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c index 1d8d810a39..59d3d59527 100644 --- a/src/mesa/main/accum.c +++ b/src/mesa/main/accum.c @@ -1,4 +1,4 @@ -/* $Id: accum.c,v 1.34 2001/01/23 23:39:36 brianp Exp $ */ +/* $Id: accum.c,v 1.35 2001/01/29 20:47:39 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -35,7 +35,6 @@ #include "mem.h" #include "state.h" #include "mtypes.h" -#include "swrast/swrast.h" #endif @@ -92,7 +91,5 @@ _mesa_Accum( GLenum op, GLfloat value ) height = ctx->DrawBuffer->Height; } - if (!ctx->Driver.Accum || - !ctx->Driver.Accum( ctx, op, value, xpos, ypos, width, height )) - _swrast_Accum( ctx, op, value, xpos, ypos, width, height ); + ctx->Driver.Accum( ctx, op, value, xpos, ypos, width, height ); } -- cgit v1.2.3