draw: simplify index buffer specification
authorBrian Paul <brianp@vmware.com>
Fri, 25 May 2012 15:44:53 +0000 (09:44 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 31 May 2012 15:40:35 +0000 (09:40 -0600)
commit185ed2105829d6f5eb19edb9abbf0d7977e157c3
tree91716430893902305c60756e64b2ec8328895640
parent151bf6e6cf8f9de4067cfcf15f6ac448ff295533
draw: simplify index buffer specification

Replace draw_set_index_buffer() and draw_set_mapped_index_buffer() with
draw_set_indexes() which simply takes a pointer and an index size.
15 files changed:
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_pt.c
src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h
src/gallium/drivers/i915/i915_context.c
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/llvmpipe/lp_draw_arrays.c
src/gallium/drivers/llvmpipe/lp_state_vertex.c
src/gallium/drivers/nv30/nv30_draw.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/gallium/drivers/softpipe/sp_state_vertex.c
src/gallium/drivers/svga/svga_swtnl_draw.c
src/mesa/state_tracker/st_draw_feedback.c