gallium/u_blitter: add helper for blitting via resource_copy_region
authorMarek Olšák <maraeo@gmail.com>
Wed, 12 Sep 2012 21:45:49 +0000 (23:45 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 30 Sep 2012 16:57:56 +0000 (18:57 +0200)
commitcecfb452ab941cd3b67b871758dfa850788a2cdc
tree685f35511e306b0805846e1290052dbb680e687e
parent0b0697e80dd442d7e7cb23641ad8f58f82df120d
gallium/u_blitter: add helper for blitting via resource_copy_region

v2: fix off-by-one error in is_box_inside_resource, add comments

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h