diff options
author | Keith Whitwell <[email protected]> | 2008-05-29 11:46:43 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-05-29 11:48:04 +0100 |
commit | 82605d7bcd533d7c96cc619c45970efd7229dc3b (patch) | |
tree | dd447161d0a5c12ce3350d1fa34bee980f642a44 /src/gallium/auxiliary/draw/draw_pt.h | |
parent | cb87d7e44a6d6b1b4239b4e38c76c6bb848d2ef6 (diff) |
draw: draw_range_elements trial
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.h b/src/gallium/auxiliary/draw/draw_pt.h index e03816ebbc7..6b8ba1d171b 100644 --- a/src/gallium/auxiliary/draw/draw_pt.h +++ b/src/gallium/auxiliary/draw/draw_pt.h @@ -96,6 +96,15 @@ struct draw_pt_middle_end { unsigned start, unsigned count); + /* Transform all vertices in a linear range and then draw them with + * the supplied element list. + */ + void (*run_linear_elts)( struct draw_pt_middle_end *, + unsigned fetch_start, + unsigned fetch_count, + const ushort *draw_elts, + unsigned draw_count ); + void (*finish)( struct draw_pt_middle_end * ); void (*destroy)( struct draw_pt_middle_end * ); }; |