virgl: init transfer queue from virgl_context
authorChia-I Wu <olvaffe@gmail.com>
Wed, 15 May 2019 22:52:34 +0000 (15:52 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 13 Jun 2019 01:20:30 +0000 (18:20 -0700)
commit514e12b1b8fae55319cbc3702215a305e3d7d60f
treefbdf1e07747ae7dcd57c7a4ff5761856c7b2b808
parent308ba2c0f92e4ad0584b02c06bcd27fcabc33196
virgl: init transfer queue from virgl_context

A pipe_transfer is a context object.  It is fine for
virgl_transfer_queue 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_context.c
src/gallium/drivers/virgl/virgl_transfer_queue.c
src/gallium/drivers/virgl/virgl_transfer_queue.h