virgl: Store mapped hw resource with transfer object.
authorDavid Riley <davidriley@chromium.org>
Wed, 1 May 2019 00:33:59 +0000 (17:33 -0700)
committerGurchetan Singh <gurchetansingh@chromium.org>
Wed, 1 May 2019 22:48:28 +0000 (15:48 -0700)
commite94a9a7f38de13230d1fb8767c45e6c8f4e59c64
tree54ade59a327be98dcd820645fbcbaab74e37357a
parentebbb05b3c93d8f62985099cc9d4cf157c597f4b5
virgl: Store mapped hw resource with transfer object.

Signed-off-by: David Riley <davidriley@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_buffer.c
src/gallium/drivers/virgl/virgl_resource.h
src/gallium/drivers/virgl/virgl_texture.c