aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker/st_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/include/state_tracker/st_api.h')
-rw-r--r--src/gallium/include/state_tracker/st_api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index 0b953d6fb38..955d84b5b44 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -396,6 +396,13 @@ struct st_context_iface
void* notify_before_flush_cb_args);
/**
+ * Flush all enqueued vertices (e.g. vbo module) and call
+ * pipe_context::flush_resource.
+ */
+ void (*flush_resource)(struct st_context_iface *stctxi,
+ struct pipe_resource *resource);
+
+ /**
* Replace the texture image of a texture object at the specified level.
*
* This function is optional.