ilo: tidy up choose_transfer_method()
authorChia-I Wu <olvaffe@gmail.com>
Fri, 25 Jul 2014 17:10:21 +0000 (01:10 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 28 Jul 2014 14:57:22 +0000 (22:57 +0800)
commit2f4bed040574494f7d64b275efc6c5fd635710af
treee0b513c62d2811259acd3fb61d4783425e594c1a
parent91656eb3755f71998f2cf07b4f403ec990b2e56b
ilo: tidy up choose_transfer_method()

Add a bunch of helper functions and a big comment for
choose_transfer_method().  This also fixes handling of
PIPE_TRANSFER_MAP_DIRECTLY to not ignore tiling.
src/gallium/drivers/ilo/ilo_transfer.c