diff options
author | Rob Clark <[email protected]> | 2016-04-01 15:47:44 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-12-01 20:16:31 -0500 |
commit | 72cc1ca58d12495cc5a72fb9b9c316db94eb66cd (patch) | |
tree | 28779c57409ca615c537853c14a4d2851d8d011f /src/gallium/include/pipe/p_context.h | |
parent | 0201f01dc4e903d9b60cbbf87fde3ffa7c76f248 (diff) |
gallium: wire up server_wait_sync
This will be needed for explicit synchronization with devices outside
the gpu, ie. EGL_ANDROID_native_fence_sync.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 6 |
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 b97aad5e313..ee8a5113caa 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -475,6 +475,12 @@ struct pipe_context { unsigned flags); /** + * Insert commands to have GPU wait for fence to be signaled. + */ + void (*fence_server_sync)(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, |