summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_resource.h
diff options
context:
space:
mode:
authorGurchetan Singh <[email protected]>2019-01-11 17:29:49 -0800
committerGert Wollny <[email protected]>2019-02-15 11:19:04 +0100
commit5b6a2ae987d6d6895d80ce61292e2025cacb5125 (patch)
treeb2cbf9c3caa8bdc2eef751c1a77fcb1466500beb /src/gallium/drivers/virgl/virgl_resource.h
parent1d294ad264dc85e716bec5b6d0286cc3e10ce224 (diff)
virgl: use virgl_resource_dirty helper
Reviewed-by: Gert Wollny <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_resource.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_resource.h b/src/gallium/drivers/virgl/virgl_resource.h
index fee630bca17..33411959678 100644
--- a/src/gallium/drivers/virgl/virgl_resource.h
+++ b/src/gallium/drivers/virgl/virgl_resource.h
@@ -137,4 +137,7 @@ void virgl_resource_destroy(struct pipe_screen *screen,
boolean virgl_resource_get_handle(struct pipe_screen *screen,
struct pipe_resource *resource,
struct winsys_handle *whandle);
+
+void virgl_resource_dirty(struct virgl_resource *res, uint32_t level);
+
#endif