virgl: use transfer queue
authorGurchetan Singh <gurchetansingh@chromium.org>
Thu, 3 Jan 2019 18:31:06 +0000 (10:31 -0800)
committerGert Wollny <gert.wollny@collabora.com>
Fri, 15 Feb 2019 10:19:05 +0000 (11:19 +0100)
commitf0e71b1088848e4190d6f8a5415571d0ddf130aa
tree05eaeb154c8acb8acdc79fbdba29cd9815e5663e
parent4a7857b377d2083f94c28fcdb85abdb8f9d12fde
virgl: use transfer queue

This improves Unigine Valley benchmark by 3 to 10 fps (depending
on the scene).

It also improves the Team Fortress 2 benchmark from 6 fps to 13
fps (host: 20 fps).

Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
src/gallium/drivers/virgl/virgl_buffer.c
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_context.h
src/gallium/drivers/virgl/virgl_resource.c
src/gallium/drivers/virgl/virgl_texture.c