diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-22 10:16:30 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-22 10:17:28 -0700 |
commit | f1fb69a6e52260193ec16a9820a66e3e4bb03edd (patch) | |
tree | bf34e88d6e43af1a96f650fda6e940a26d4b21fd /src/mesa/pipe/draw/draw_context.h | |
parent | 7049ff53f640aeccc9523a103468183ffda996fd (diff) |
gallium: Added FORMAT_1F_PSIZE to insert constant point size into vertices
Also, added draw_convert_wide_points/lines() so a driver can tell the draw
module whether to convert wide points/lines into triangles, or just pass
them through.
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.h')
-rw-r--r-- | src/mesa/pipe/draw/draw_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_context.h b/src/mesa/pipe/draw/draw_context.h index 91e11e6930..cfde26ceb7 100644 --- a/src/mesa/pipe/draw/draw_context.h +++ b/src/mesa/pipe/draw/draw_context.h @@ -89,6 +89,10 @@ void draw_set_rasterizer_state( struct draw_context *draw, void draw_set_rasterize_stage( struct draw_context *draw, struct draw_stage *stage ); +void draw_convert_wide_points(struct draw_context *draw, boolean enable); + +void draw_convert_wide_lines(struct draw_context *draw, boolean enable); + struct draw_vertex_shader * draw_create_vertex_shader(struct draw_context *draw, |