mesa: consolidate PBO map/unmap helpers
authorBrian Paul <brianp@vmware.com>
Thu, 3 Sep 2009 17:29:18 +0000 (11:29 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Sep 2009 17:45:17 +0000 (11:45 -0600)
commit1b448c7a5cafa68eeead2a4c45f4362a9883383b
treec91356e8e195099f613193cedc901b20e3d3955c
parente0ec405a9fa6fbc1cf2ac531ed5efd1a64e01f18
mesa: consolidate PBO map/unmap helpers

Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source().

Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use
_mesa_map_pbo_dest().
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/state_tracker/st_cb_bitmap.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/swrast/s_bitmap.c
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_readpix.c