gallium: add void *user_buffer in pipe_index_buffer
authorMarek Olšák <maraeo@gmail.com>
Tue, 24 Apr 2012 19:14:44 +0000 (21:14 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 29 Apr 2012 23:14:28 +0000 (01:14 +0200)
commitbf469f4edc60bd1c5fd770cb231b8d5ab801427f
tree74a5142a56ed68728d35cba02283e5f118ec6ea3
parent43995c9470dd38cf80a60a169f5875de6798863f
gallium: add void *user_buffer in pipe_index_buffer

Adapted drivers: i915, llvmpipe, r300, r600, radeonsi, softpipe.

User index buffers have been disabled in nv30, nv50, nvc0 and svga to keep
things working.
23 files changed:
src/gallium/auxiliary/util/u_index_modify.c
src/gallium/auxiliary/util/u_index_modify.h
src/gallium/auxiliary/util/u_vbuf.c
src/gallium/drivers/i915/i915_context.c
src/gallium/drivers/llvmpipe/lp_draw_arrays.c
src/gallium/drivers/nv30/nv30_draw.c
src/gallium/drivers/nv30/nv30_screen.c
src/gallium/drivers/nv50/nv50_screen.c
src/gallium/drivers/nvc0/nvc0_screen.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_render_translate.c
src/gallium/drivers/r300/r300_screen_buffer.c
src/gallium/drivers/r300/r300_screen_buffer.h
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/r600/r600_translate.c
src/gallium/drivers/radeonsi/r600_buffer.c
src/gallium/drivers/radeonsi/r600_state_common.c
src/gallium/drivers/radeonsi/r600_translate.c
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/include/pipe/p_state.h
src/mesa/state_tracker/st_draw.c