From ec0585883a85a495d94e24970d64e5d6fc889147 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sun, 5 Nov 2000 18:26:12 +0000 Subject: Use the new software rasterizer. Reworked optimized line,tri,point functions to fit into the framework provided for extending the software rasterizer. --- src/mesa/drivers/x11/xmesaP.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/mesa/drivers/x11/xmesaP.h') diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h index ebea73981f..00787b470b 100644 --- a/src/mesa/drivers/x11/xmesaP.h +++ b/src/mesa/drivers/x11/xmesaP.h @@ -1,4 +1,4 @@ -/* $Id: xmesaP.h,v 1.13 2000/09/26 20:54:13 brianp Exp $ */ +/* $Id: xmesaP.h,v 1.14 2000/11/05 18:26:12 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -522,15 +522,20 @@ xmesa_color_to_pixel( XMesaContext xmesa, extern void xmesa_alloc_back_buffer( XMesaBuffer b ); +extern void xmesa_init_pointers( GLcontext *ctx ); extern void xmesa_update_state( GLcontext *ctx ); -extern points_func xmesa_get_points_func( GLcontext *ctx ); +extern void xmesa_update_span_funcs( GLcontext *ctx ); -extern line_func xmesa_get_line_func( GLcontext *ctx ); +/* Plugged into the software rasterizer. Try to use internal + * swrast-style point, line and triangle functions. + */ +extern void xmesa_choose_point( GLcontext *ctx ); +extern void xmesa_choose_line( GLcontext *ctx ); +extern void xmesa_choose_triangle( GLcontext *ctx ); -extern triangle_func xmesa_get_triangle_func( GLcontext *ctx ); -extern void xmesa_update_span_funcs( GLcontext *ctx ); +extern void xmesa_register_swrast_functions( GLcontext *ctx ); -- cgit v1.2.3