diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-04-18 20:36:38 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-04-18 20:36:38 +0100 |
commit | b11d89dc6d230f7f945f9eb420d39921c648ec20 (patch) | |
tree | 91fad2c9e271fc0c319bbab61669f18d0528e00d /src/gallium/auxiliary/draw/draw_prim.c | |
parent | a41c05b20a36d2160aa232d08ed57d3095438025 (diff) |
draw: remove draw_prim.c
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_prim.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_prim.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/gallium/auxiliary/draw/draw_prim.c b/src/gallium/auxiliary/draw/draw_prim.c index 51b6950334..d61cd25243 100644 --- a/src/gallium/auxiliary/draw/draw_prim.c +++ b/src/gallium/auxiliary/draw/draw_prim.c @@ -497,27 +497,4 @@ draw_prim( struct draw_context *draw, -/** - * Draw vertex arrays - * This is the main entrypoint into the drawing module. - * \param prim one of PIPE_PRIM_x - * \param start index of first vertex to draw - * \param count number of vertices to draw - */ -void -draw_arrays(struct draw_context *draw, unsigned prim, - unsigned start, unsigned count) -{ - if (reduced_prim[prim] != draw->reduced_prim) { - draw_do_flush( draw, DRAW_FLUSH_STATE_CHANGE ); - draw->reduced_prim = reduced_prim[prim]; - } - - /* drawing done here: */ - if (!draw_pt_arrays(draw, prim, start, count)) { - /* we have to run the whole pipeline */ - draw_prim(draw, prim, start, count); - } -} - |