virgl: Support VIRGL_BIND_STAGING
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Mon, 20 May 2019 10:00:38 +0000 (13:00 +0300)
committerChia-I Wu <olvaffe@gmail.com>
Sat, 8 Jun 2019 04:45:31 +0000 (21:45 -0700)
commit636345f496f1a7d96b8da108e416defe7440904f
tree9ed375aee104b7d31592d8e4ff21e18a1e057552
parentf38cdaebac79788e353b1589f0c0b722f5bc5191
virgl: Support VIRGL_BIND_STAGING

Support a new virgl bind type for staging buffers which don't require
dedicated host-side storage. These will be used to implement copy
transfers.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/virgl/virgl_hw.h
src/gallium/drivers/virgl/virgl_resource.c
src/gallium/drivers/virgl/virgl_resource.h