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/swrast_setup/ss_context.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mesa/swrast_setup/ss_context.h') diff --git a/src/mesa/swrast_setup/ss_context.h b/src/mesa/swrast_setup/ss_context.h index 957a8fc3fc..d19b1c62e0 100644 --- a/src/mesa/swrast_setup/ss_context.h +++ b/src/mesa/swrast_setup/ss_context.h @@ -53,6 +53,13 @@ typedef struct { void (*Points)( GLcontext *ctx, GLuint first, GLuint last ); + void (*RenderCopyPV)( GLcontext *ctx, GLuint dst, GLuint src ); + + void (*RenderInterp)( GLcontext *ctx, GLfloat t, + GLuint dst, GLuint out, GLuint in, + GLboolean force_boundary ); + + SWvertex *verts; GLenum render_prim; -- cgit v1.2.3