aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-03-19 11:13:40 -0700
committerChia-I Wu <[email protected]>2019-05-06 10:20:38 -0700
commitb4da53b0c342eaa0dee522e3a3859a93cb77aa84 (patch)
tree8957e9300b708a58e4ee8b952d03d542b0f7f517 /src/gallium/drivers/virgl
parentc10808441cc479b715caf21d993866dc396397d9 (diff)
virgl: export resource_is_busy from winsys
Signed-off-by: Chia-I Wu <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl')
-rw-r--r--src/gallium/drivers/virgl/virgl_winsys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_winsys.h b/src/gallium/drivers/virgl/virgl_winsys.h
index 9256bf97b03..bab3dbaa2d1 100644
--- a/src/gallium/drivers/virgl/virgl_winsys.h
+++ b/src/gallium/drivers/virgl/virgl_winsys.h
@@ -74,6 +74,8 @@ struct virgl_winsys {
void *(*resource_map)(struct virgl_winsys *vws, struct virgl_hw_res *res);
void (*resource_wait)(struct virgl_winsys *vws, struct virgl_hw_res *res);
+ boolean (*resource_is_busy)(struct virgl_winsys *vws,
+ struct virgl_hw_res *res);
struct virgl_hw_res *(*resource_create_from_handle)(struct virgl_winsys *vws,
struct winsys_handle *whandle);