svga: expose HW smooth/stipple/wide lines
authorBrian Paul <brianp@vmware.com>
Mon, 9 Dec 2013 18:46:56 +0000 (10:46 -0800)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Dec 2013 01:19:44 +0000 (17:19 -0800)
commitccd6bf8272cba7c57e4ae09ab8a03db63472648e
tree3d3dd8783c41ba50b418a4758e1322badc64363f
parent84b1716b5efa98c21db32ff7f55bb7608d6a11df
svga: expose HW smooth/stipple/wide lines

Newer virtual HW versions support smooth/stipple/wide lines.
Use that instead of 'draw' fallbacks when possible.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/include/svga3d_reg.h
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_rasterizer.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_screen.h
src/gallium/drivers/svga/svga_state_rss.c
src/gallium/drivers/svga/svga_swtnl_draw.c