diff options
author | Brian <[email protected]> | 2007-08-16 12:35:13 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-16 12:37:25 -0600 |
commit | 926323df8692f48134a65322d5790d3f950b67dd (patch) | |
tree | 05dc9bcfeced412ee184e42fe5b1fbc912d359ed /src/mesa/pipe/draw/draw_prim.h | |
parent | 76f9f3ee832a5e47a321afb01ccac38fe6696196 (diff) |
point/line/polygon drawing (factored out of draw_vb.c)
Diffstat (limited to 'src/mesa/pipe/draw/draw_prim.h')
-rw-r--r-- | src/mesa/pipe/draw/draw_prim.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_prim.h b/src/mesa/pipe/draw/draw_prim.h new file mode 100644 index 00000000000..3224989bef4 --- /dev/null +++ b/src/mesa/pipe/draw/draw_prim.h @@ -0,0 +1,23 @@ + + +#ifndef DRAW_PRIM_H +#define DRAW_PRIM_H + + +void draw_invalidate_vcache( struct draw_context *draw ); + +void draw_set_prim( struct draw_context *draw, unsigned prim ); + +void draw_set_element_buffer( struct draw_context *draw, + unsigned eltSize, void *elements ); + +void draw_prim( struct draw_context *draw, unsigned start, unsigned count ); + +void draw_flush( struct draw_context *draw ); + +unsigned draw_prim_info( unsigned prim, unsigned *first, unsigned *incr ); + +unsigned draw_trim( unsigned count, unsigned first, unsigned incr ); + + +#endif /* DRAW_PRIM_H */ |