virgl: pass virgl_context to transfer create/destroy
authorChia-I Wu <olvaffe@gmail.com>
Wed, 15 May 2019 22:46:40 +0000 (15:46 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 13 Jun 2019 01:20:30 +0000 (18:20 -0700)
commit74051efbea8f330fcd4b23bfe4d1ccf0c66d0e7e
treeebb2257adf5653ab72ea93f2ba191d37427cade6
parent514e12b1b8fae55319cbc3702215a305e3d7d60f
virgl: pass virgl_context to transfer create/destroy

A pipe_transfer is a context object.  It is fine for the
constructor/destructor to have access to the context.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
src/gallium/drivers/virgl/virgl_buffer.c
src/gallium/drivers/virgl/virgl_resource.c
src/gallium/drivers/virgl/virgl_resource.h
src/gallium/drivers/virgl/virgl_texture.c
src/gallium/drivers/virgl/virgl_transfer_queue.c