gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.
authorMichel Dänzer <daenzer@vmware.com>
Fri, 2 Oct 2009 16:13:26 +0000 (18:13 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Fri, 2 Oct 2009 16:13:26 +0000 (18:13 +0200)
commit47e41b024e325f69ed514e551a6824afa58f1db6
tree5b98f65f5d67e2a1a450ad681bc64bf229a198d2
parent7d4b348c67dbc2eff1d7dd0c043a76bc0eae57ab
gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.

Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and
add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags
corresponding to them.
18 files changed:
src/gallium/auxiliary/util/u_tile.c
src/gallium/drivers/cell/ppu/cell_texture.c
src/gallium/drivers/i915simple/i915_texture.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/nv04/nv04_transfer.c
src/gallium/drivers/nv10/nv10_transfer.c
src/gallium/drivers/nv20/nv20_transfer.c
src/gallium/drivers/nv30/nv30_transfer.c
src/gallium/drivers/nv40/nv40_transfer.c
src/gallium/drivers/nv50/nv50_transfer.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/trace/tr_screen.c
src/gallium/include/pipe/p_inlines.h
src/gallium/state_trackers/python/retrace/interpreter.py
src/gallium/state_trackers/vega/st_inlines.h
src/mesa/state_tracker/st_cb_accum.c
src/mesa/state_tracker/st_texture.c