summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJames Jones <jajones@nvidia.com>2010-06-25 16:23:05 -0700
committerJames Jones <jajones@nvidia.com>2010-12-03 16:49:23 -0800
commit4c2d0c0c09b249e61313830ee4e237b7f0619b87 (patch)
tree6786c8a42f4f20bd6be661bff050e615cd8f6afe /include
parent9e33a842c97d676afa21e4bb16fd3dd380b42f4f (diff)
downloadxorg-lib-libXext-4c2d0c0c09b249e61313830ee4e237b7f0619b87.tar.gz
Add XSyncAwaitFence()
Add the XSynceFence version of XSyncAwait(). Waits for fence objects to reach the triggered state. Signed-off-by: James Jones <jajones@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/sync.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/X11/extensions/sync.h b/include/X11/extensions/sync.h
index 6a44ab9..a00d9c5 100644
--- a/include/X11/extensions/sync.h
+++ b/include/X11/extensions/sync.h
@@ -362,6 +362,12 @@ extern Bool XSyncQueryFence(
Bool* /*triggered*/
);
+extern Bool XSyncAwaitFence(
+ Display* /*dpy*/,
+ const XSyncFence* /*fence_list*/,
+ int /*n_fences*/
+);
+
_XFUNCPROTOEND
#endif /* _SYNC_SERVER */