gallium: split draw_wide_prim stage into separate point/line stages.
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 29 Feb 2008 00:49:22 +0000 (17:49 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 29 Feb 2008 00:49:22 +0000 (17:49 -0700)
commita1a13954885cd469faab49633b5386e5c889e3df
tree21f3558538adf1296b98c3919e82f50d5490a1c7
parent70126588cf78b8a835dfced2b7ca7f1e05afeb67
gallium: split draw_wide_prim stage into separate point/line stages.

This fixes a validation/code-path problem.  Enabling the stage for the sake
of wide points also inadvertantly caused wide lines to be converted to tris
when we actually want them passed through, such as for the AA line stage.
This is just cleaner now.
Also, replace draw_convert_wide_lines() with draw_wide_line_threshold() as
was done for points.  Allows for 1-pixel lines to be converted too if needed.
src/gallium/auxiliary/draw/Makefile
src/gallium/auxiliary/draw/SConscript
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_validate.c