gallium: Make sure we flush before some texture / buffer operations.
authorThomas Hellstrom <thellstrom-at-vmware-dot-com>
Wed, 15 Apr 2009 13:53:34 +0000 (15:53 +0200)
committerThomas Hellstrom <thellstrom-at-vmware-dot-com>
Wed, 15 Apr 2009 15:16:58 +0000 (17:16 +0200)
commit9b75627fab5bf2ea90f27ddd31b60c54895f6de6
treeb748494fcd35bde9b8684742dc0b7ba0958acfcb
parentf94053eb7d3f129e5086f6dc431a13f83c93a189
gallium: Make sure we flush before some texture / buffer operations.

Also implement context member functions to optimize away those
flushes whenever possible.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
22 files changed:
src/gallium/drivers/cell/ppu/cell_context.c
src/gallium/drivers/failover/fo_context.c
src/gallium/drivers/i915simple/i915_context.c
src/gallium/drivers/i965simple/brw_context.c
src/gallium/drivers/nv04/nv04_context.c
src/gallium/drivers/nv10/nv10_context.c
src/gallium/drivers/nv20/nv20_context.c
src/gallium/drivers/nv30/nv30_context.c
src/gallium/drivers/nv40/nv40_context.c
src/gallium/drivers/nv50/nv50_context.c
src/gallium/drivers/softpipe/sp_context.c
src/gallium/drivers/trace/tr_context.c
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_cb_accum.c
src/mesa/state_tracker/st_cb_bufferobjects.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_readpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_gen_mipmap.c
src/mesa/state_tracker/st_texture.c
src/mesa/state_tracker/st_texture.h