gallium: replace draw_convert_wide_points() with draw_wide_point_threshold()
authorBrian <brian@poulsbo.localnet.net>
Tue, 26 Feb 2008 21:29:35 +0000 (14:29 -0700)
committerBrian <brian@poulsbo.localnet.net>
Tue, 26 Feb 2008 21:32:57 +0000 (14:32 -0700)
commit5e29aab1752c3e07ae2ebde4cb00e6550dab0eb2
tree87524f95d1c7900c3e38ddaeadc1910c8de813e8
parentb93cf55f4ecd94f5e9d5dda49d9092e3b769d044
gallium: replace draw_convert_wide_points() with draw_wide_point_threshold()

Specifying a threshold size is a bit more flexible, and allows the option
of converting even 1-pixel points to triangles (set threshold=0).

Also, remove 0.25 pixel bias in wide_point().
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_validate.c
src/gallium/auxiliary/draw/draw_wide_prims.c
src/gallium/drivers/softpipe/sp_context.c