summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorAndres Rodriguez <[email protected]>2017-12-14 00:24:46 -0500
committerAndres Rodriguez <[email protected]>2018-01-30 15:13:49 -0500
commitd34c2cf3e6498d3b337117180f3151c719fda5b6 (patch)
tree4c3e808975e018b02d1cbcb5f08f8e17e8f19db3 /src/gallium/include/pipe
parent458f89be78b8aaba200e2a8640871b921e346bb2 (diff)
gallium: add fence_server_signal() v2
Calling this function will emit a fence signal operation into the GPU's command stream. v2: documentation typos Signed-off-by: Andres Rodriguez <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index 1c7f52cfc59..c3dc5edf57d 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -526,6 +526,12 @@ struct pipe_context {
struct pipe_fence_handle *fence);
/**
+ * Insert commands to have the GPU signal a fence.
+ */
+ void (*fence_server_signal)(struct pipe_context *pipe,
+ struct pipe_fence_handle *fence);
+
+ /**
* Create a view on a texture to be used by a shader stage.
*/
struct pipe_sampler_view * (*create_sampler_view)(struct pipe_context *ctx,