summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_context.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_context.h b/src/gallium/drivers/virgl/virgl_context.h
index b0fa03ca499..70807c5256c 100644
--- a/src/gallium/drivers/virgl/virgl_context.h
+++ b/src/gallium/drivers/virgl/virgl_context.h
@@ -128,4 +128,12 @@ void virgl_init_so_functions(struct virgl_context *vctx);
struct tgsi_token *virgl_tgsi_transform(struct virgl_context *vctx, const struct tgsi_token *tokens_in);
+bool
+virgl_can_rebind_resource(struct virgl_context *vctx,
+ struct pipe_resource *res);
+
+void
+virgl_rebind_resource(struct virgl_context *vctx,
+ struct pipe_resource *res);
+
#endif