virgl: move resource metadata into base resource
authorGurchetan Singh <gurchetansingh@chromium.org>
Sat, 1 Dec 2018 04:45:44 +0000 (20:45 -0800)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Dec 2018 12:29:16 +0000 (13:29 +0100)
commit1d3d311133f1f6aa3402e7b516646f71ec760b74
tree3337c06e4bbbd30cb231469ec7f3190a05f57f54
parentdb77573d7bae90e77cfffde7c5bc9b65dc8b7fc2
virgl: move resource metadata into base resource

A resource is just a buffer with some metadata.

Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
src/gallium/drivers/virgl/virgl_buffer.c
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_resource.h
src/gallium/drivers/virgl/virgl_texture.c