gallium: add void *user_buffer to pipe_constant_buffer
authorMarek Olšák <maraeo@gmail.com>
Tue, 24 Apr 2012 20:53:05 +0000 (22:53 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 29 Apr 2012 23:18:48 +0000 (01:18 +0200)
commit0b7d48cbad86eaac21fce3793da41b46db8be3b4
tree437f5cfeb3a77278d29e384b47dfaef9b96faa75
parent01bf5569c44389c1127bbb9e873c8a234ac92ff7
gallium: add void *user_buffer to pipe_constant_buffer

This reduces CPU overhead when updating constants.
18 files changed:
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/llvmpipe/lp_context.h
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/nv30/nv30_state.c
src/gallium/drivers/nv50/nv50_state.c
src/gallium/drivers/nvc0/nvc0_state.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/radeonsi/r600_state_common.c
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/softpipe/sp_state_shader.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/svga/svga_pipe_constants.c
src/gallium/include/pipe/p_state.h
src/mesa/state_tracker/st_atom_constbuf.c