diff options
author | Brian <[email protected]> | 2007-08-30 16:49:24 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-30 16:49:24 -0600 |
commit | 898d68a3762f84f0d435cda2f6aafddd356d1788 (patch) | |
tree | 50da7df858f9c160fe6bcd33b617975315a07eda /src/mesa/pipe/draw/draw_context.h | |
parent | 963b8a74493a474560447080b23407bfe4c707c5 (diff) |
Consolidate vertex-related code in new draw_vertex.c
A few functions which were basically duplicated between softpipe and the
i915 driver are now re-used:
draw_emit_vertex_attr()
draw_compute_vertex_size()
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.h')
-rw-r--r-- | src/mesa/pipe/draw/draw_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_context.h b/src/mesa/pipe/draw/draw_context.h index 21ee18e7cf6..03679848b55 100644 --- a/src/mesa/pipe/draw/draw_context.h +++ b/src/mesa/pipe/draw/draw_context.h @@ -42,6 +42,7 @@ struct vertex_buffer; +struct vertex_info; struct draw_context; struct draw_stage; @@ -96,6 +97,8 @@ void draw_set_twoside_attributes(struct draw_context *draw, uint front0, uint back0, uint front1, uint back1); +void draw_compute_vertex_size(struct vertex_info *vinfo); + unsigned draw_prim_info( unsigned prim, unsigned *first, unsigned *incr ); unsigned draw_trim( unsigned count, unsigned first, unsigned incr ); |