From f782b8189e718974a40d72ac4f6b8d213ca99e1e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 4 Oct 2002 17:37:45 +0000 Subject: multiple GL_POINTS can now be rendered together into one fragment span --- src/mesa/swrast/s_context.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast/s_context.h') diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index a2c14f07a7..ecf173adbc 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -1,4 +1,4 @@ -/* $Id: s_context.h,v 1.19 2002/08/07 00:45:07 brianp Exp $ */ +/* $Id: s_context.h,v 1.20 2002/10/04 17:37:47 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -137,6 +137,7 @@ typedef struct GLuint StippleCounter; /**< Line stipple counter */ GLuint NewState; GLuint StateChanges; + GLenum Primitive; /* current primitive being drawn (ala glBegin) */ /** Mechanism to allow driver (like X11) to register further * software rasterization routines. @@ -176,7 +177,12 @@ typedef struct * this object is big and causes problems when allocated on the stack * on some systems. */ - struct span_arrays *span_data; + struct span_arrays *SpanArrays; + + /** + * Used to buffer N GL_POINTS, instead of rendering one by one. + */ + struct sw_span PointSpan; /** Internal hooks, kept uptodate by the same mechanism as above. */ -- cgit v1.2.3