radeon: Hack up an implementation of MapBufferRange
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 22 Aug 2011 01:32:09 +0000 (18:32 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 23 Aug 2011 21:52:11 +0000 (14:52 -0700)
commitcccc7412c22a704d85203d7bb9c8e73d45cccf49
tree448320a04f026b3a71de0720531b4bfaec6a567e
parentb2184da684fc20849b5e6e554f0a0f92d2872ce9
radeon: Hack up an implementation of MapBufferRange

This doesn't implement any of the "cool" features of MapBufferRange.
Adding this function is necessary for the next commit in the series.

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>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Cc: Maciej Cencora <m.cencora@gmail.com>
src/mesa/drivers/dri/radeon/radeon_buffer_objects.c