ilo: add ilo_image_init_for_imported()
authorChia-I Wu <olvaffe@gmail.com>
Sat, 2 May 2015 06:14:15 +0000 (14:14 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sat, 2 May 2015 14:14:06 +0000 (22:14 +0800)
commitf6ca4084c7eca649e5444ac20218d94bd2a88057
tree6090d23fdc879fcf8e19fd01fe5b9cfbb5ca4e79
parent938c9b8cea4d4f38b4edac7dbeb24481fbbeeca7
ilo: add ilo_image_init_for_imported()

It replaces ilo_image_update_for_imported_bo() and enables more error
checkings for imported textures.
src/gallium/drivers/ilo/core/ilo_image.c
src/gallium/drivers/ilo/core/ilo_image.h
src/gallium/drivers/ilo/ilo_resource.c