virgl: consolidate transfer code
authorGurchetan Singh <gurchetansingh@chromium.org>
Fri, 30 Nov 2018 22:54:33 +0000 (14:54 -0800)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Dec 2018 12:29:16 +0000 (13:29 +0100)
commit174f530008c1b22ede7c67995f693b3d84f2a488
treee6f2b9bacfb6b7ef3ae2dbc21469012d519720a6
parent13626b46f12eaa5ffb6c3eb72eea755e739b0b01
virgl: consolidate transfer code

We could allocate and destroy transfers in one place.

v2: Keep l_stride around.

Reviewed-by: Elie Tournier <elie.tournier@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_texture.h [new file with mode: 0644]