diff options
author | Keith Whitwell <[email protected]> | 2000-11-05 18:26:12 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2000-11-05 18:26:12 +0000 |
commit | ec0585883a85a495d94e24970d64e5d6fc889147 (patch) | |
tree | e33f8668e6fd6682ba865b7f0c418887e83fa579 /src/mesa/drivers/x11/xmesaP.h | |
parent | cd03ed4f54444d96e4e47cdb118a3dfd94d92bb0 (diff) |
Use the new software rasterizer. Reworked optimized line,tri,point
functions to fit into the framework provided for extending the
software rasterizer.
Diffstat (limited to 'src/mesa/drivers/x11/xmesaP.h')
-rw-r--r-- | src/mesa/drivers/x11/xmesaP.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h index ebea73981ff..00787b470b6 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 ); |