mesa: Eliminate dd_function_table::MapBuffer
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 22 Aug 2011 01:34:27 +0000 (18:34 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 23 Aug 2011 21:52:11 +0000 (14:52 -0700)
commit28249bd260f4c52badf3eb61ade2744604b21bca
treef9b85dee32fed632243ecfd72bde53d6e99b0231
parentcccc7412c22a704d85203d7bb9c8e73d45cccf49
mesa: Eliminate dd_function_table::MapBuffer

Replace all calls to dd_function_table::MapBuffer with appropriate
calls to dd_function_table::MapBufferRange, then remove all the cruft.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
24 files changed:
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c
src/mesa/drivers/dri/r300/r300_draw.c
src/mesa/drivers/dri/r600/evergreen_render.c
src/mesa/drivers/dri/r600/r700_render.c
src/mesa/drivers/dri/radeon/radeon_buffer_objects.c
src/mesa/drivers/x11/xm_dd.c
src/mesa/main/api_arrayelt.c
src/mesa/main/api_validate.c
src/mesa/main/bufferobj.c
src/mesa/main/dd.h
src/mesa/main/dlist.c
src/mesa/main/pbo.c
src/mesa/main/texgetimage.c
src/mesa/state_tracker/st_cb_bufferobjects.c
src/mesa/tnl/t_draw.c
src/mesa/vbo/vbo_exec_array.c
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_rebase.c
src/mesa/vbo/vbo_save_api.c
src/mesa/vbo/vbo_save_draw.c
src/mesa/vbo/vbo_split_copy.c