virgl: Use virgl_resource_cache in the drm winsys
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Wed, 12 Jun 2019 07:30:26 +0000 (10:30 +0300)
committerAlexandros Frantzis <alexandros.frantzis@collabora.com>
Fri, 14 Jun 2019 09:59:43 +0000 (12:59 +0300)
commit13f70d3668e6392bb08805f8d6f3162905ad35f0
tree614c63f60e71b1382fa256ba837977483c1fceef
parentb18f09a5097cab393215668a129553adbf13a13f
virgl: Use virgl_resource_cache in the drm winsys

Replace the cache implementation in the drm winsys with
virgl_resource_cache.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/winsys/virgl/drm/Android.mk
src/gallium/winsys/virgl/drm/meson.build
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
src/gallium/winsys/virgl/drm/virgl_drm_winsys.h