virgl: Introduce virgl_resource_cache
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Wed, 12 Jun 2019 07:29:32 +0000 (10:29 +0300)
committerAlexandros Frantzis <alexandros.frantzis@collabora.com>
Fri, 14 Jun 2019 09:58:51 +0000 (12:58 +0300)
commitb18f09a5097cab393215668a129553adbf13a13f
tree3a8f603b2fafd9a216fdd49a9318eb07276f2adc
parent8ead5bebdb5cedc5250116403166279b1b292a85
virgl: Introduce virgl_resource_cache

Introduce a resource cache implementation that can be used by any virgl
winsys backend.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/meson.build
src/gallium/winsys/virgl/common/Android.mk [new file with mode: 0644]
src/gallium/winsys/virgl/common/Makefile.sources [new file with mode: 0644]
src/gallium/winsys/virgl/common/meson.build [new file with mode: 0644]
src/gallium/winsys/virgl/common/virgl_resource_cache.c [new file with mode: 0644]
src/gallium/winsys/virgl/common/virgl_resource_cache.h [new file with mode: 0644]