aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker
diff options
context:
space:
mode:
authorCharmaine Lee <[email protected]>2017-02-18 01:19:23 -0800
committerCharmaine Lee <[email protected]>2017-02-18 09:36:42 -0800
commitd793b54c4e921a8560a6aac6b9949f2784a5dc73 (patch)
tree053ee3d9b088ec30d676c22be525112cb193aab6 /src/gallium/include/state_tracker
parentb71e6538a8dcd51a8e9760df61764972020dfff7 (diff)
st: add ST_FLUSH_WAIT to st_context_flush()
When st_context_flush() is called with ST_FLUSH_WAIT, the function will return after the fence is completed. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/include/state_tracker')
-rw-r--r--src/gallium/include/state_tracker/st_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index daa1f23812e..a9997744cde 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -160,6 +160,7 @@ enum st_context_resource_type {
*/
#define ST_FLUSH_FRONT (1 << 0)
#define ST_FLUSH_END_OF_FRAME (1 << 1)
+#define ST_FLUSH_WAIT (1 << 2)
/**
* Value to st_manager->get_param function.