gallium: Add pipe_context::draw_vbo and pipe_context::set_index_buffer.
authorChia-I Wu <olv@lunarg.com>
Thu, 15 Jul 2010 20:02:55 +0000 (04:02 +0800)
committerChia-I Wu <olv@lunarg.com>
Thu, 29 Jul 2010 05:45:30 +0000 (13:45 +0800)
commitc5e9d3114a80d6d35a2f4e65783cdc75fcc2deac
tree959bad5c651e29e57e629d1fa9452b58d9983e74
parent7e4e79be6bba7cf68046bd77aa8d44fb52ca5186
gallium: Add pipe_context::draw_vbo and pipe_context::set_index_buffer.

This commit adds a new unified draw_vbo method to pipe_context.  Unlike
other draw methods, draw_vbo treats the index buffer as a state which is
set with set_index_buffer.
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_state.h