diff options
author | Brian Paul <[email protected]> | 2013-12-09 10:46:56 -0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-12-11 17:19:44 -0800 |
commit | ccd6bf8272cba7c57e4ae09ab8a03db63472648e (patch) | |
tree | 3d3dd8783c41ba50b418a4758e1322badc64363f /src/gallium/drivers/svga/svga_screen.h | |
parent | 84b1716b5efa98c21db32ff7f55bb7608d6a11df (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.h b/src/gallium/drivers/svga/svga_screen.h index 517a3fa844a..b85191c4b26 100644 --- a/src/gallium/drivers/svga/svga_screen.h +++ b/src/gallium/drivers/svga/svga_screen.h @@ -47,6 +47,9 @@ struct svga_screen SVGA3dHardwareVersion hw_version; + /** Device caps */ + boolean haveLineStipple, haveLineSmooth; + float maxLineWidth, maxLineWidthAA; float maxPointSize; unsigned max_color_buffers; |