ilo: tidy up transfer mapping/unmapping
authorChia-I Wu <olvaffe@gmail.com>
Mon, 28 Jul 2014 03:00:52 +0000 (11:00 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 28 Jul 2014 14:57:22 +0000 (22:57 +0800)
commit8abf6c06e8cf34b63421e2ebcfaa2c1306314971
tree32a12c466c1d1996802054e631865373740d42d4
parent2f4bed040574494f7d64b275efc6c5fd635710af
ilo: tidy up transfer mapping/unmapping

Add xfer_map() to replace map_bo_for_transfer().  Add xfer_unmap() and
xfer_alloc_staging_sys() to simplify texture and buffer mapping/unmapping, and
enable more code sharing between them.
src/gallium/drivers/ilo/ilo_transfer.c