summaryrefslogtreecommitdiff
path: root/Xext/syncsrv.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-09 19:59:39 -0700
committerKeith Packard <keithp@keithp.com>2013-10-31 16:58:30 -0700
commit563138298868f62501875d3016f03469dcffaad0 (patch)
treea63491ea60c8a0360351b0e163a8195ce22f697d /Xext/syncsrv.h
parentfdec793cdc2ef9a6ea66b311cb1068a7bd4a3be3 (diff)
dri3: Add DRI3 extension
Adds DRM compatible fences using futexes. Uses FD passing to get pixmaps from DRM applications. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xext/syncsrv.h')
-rw-r--r--Xext/syncsrv.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Xext/syncsrv.h b/Xext/syncsrv.h
index c68229f46..45fca04da 100644
--- a/Xext/syncsrv.h
+++ b/Xext/syncsrv.h
@@ -136,4 +136,17 @@ extern void SyncDestroySystemCounter(pointer pCounter);
extern SyncCounter *SyncInitDeviceIdleTime(DeviceIntPtr dev);
extern void SyncRemoveDeviceIdleTime(SyncCounter *counter);
+
+int
+SyncCreateFenceFromFD(ClientPtr client, DrawablePtr pDraw, XID id, int fd, BOOL initially_triggered);
+
+int
+SyncFDFromFence(ClientPtr client, DrawablePtr pDraw, SyncFence *fence);
+
+void
+SyncDeleteTriggerFromSyncObject(SyncTrigger * pTrigger);
+
+int
+SyncAddTriggerToSyncObject(SyncTrigger * pTrigger);
+
#endif /* _SYNCSRV_H_ */