virgl: Re-use and extend queue transfers for intersecting buffer subdatas.
authorDavid Riley <davidriley@chromium.org>
Wed, 24 Apr 2019 23:12:48 +0000 (16:12 -0700)
committerGurchetan Singh <gurchetansingh@chromium.org>
Wed, 1 May 2019 22:48:51 +0000 (15:48 -0700)
commitdec68e32ea09e3163c39ee270782682621301370
tree31089d486661a2a326480a3859359a472d4d724d
parenta54c231b56005f172cbd744fb7c592922b077526
virgl: Re-use and extend queue transfers for intersecting buffer subdatas.

Small buffer subdatas which are essentially doing a memcpy were getting
bogged down by all the overhead of creating new transfers.

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