diff options
author | James Jones <jajones@nvidia.com> | 2010-12-06 12:14:01 -0800 |
---|---|---|
committer | James Jones <jajones@nvidia.com> | 2010-12-06 19:15:38 -0800 |
commit | 8127c83c81bf64369a8ba2999088226d14e0b128 (patch) | |
tree | bc03deddde199c6148414f3c871001befd461673 /Xext | |
parent | 9c0c7cc9a7adf230b5eee0b4166f9e17e07a088b (diff) |
Expose Sync Fence Object protocol
Add the new protocol handlers for XSync 3.1 to the
dispatch tables and report support for Sync protocol
version 3.1.
Signed-off-by: James Jones <jajones@nvidia.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/sync.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Xext/sync.c b/Xext/sync.c index 8361620fe..ce00755b4 100644 --- a/Xext/sync.c +++ b/Xext/sync.c @@ -2165,6 +2165,18 @@ ProcSyncDispatch(ClientPtr client) return ProcSyncSetPriority(client); case X_SyncGetPriority: return ProcSyncGetPriority(client); + case X_SyncCreateFence: + return ProcSyncCreateFence(client); + case X_SyncTriggerFence: + return ProcSyncTriggerFence(client); + case X_SyncResetFence: + return ProcSyncResetFence(client); + case X_SyncDestroyFence: + return ProcSyncDestroyFence(client); + case X_SyncQueryFence: + return ProcSyncQueryFence(client); + case X_SyncAwaitFence: + return ProcSyncAwaitFence(client); default: return BadRequest; } @@ -2477,6 +2489,18 @@ SProcSyncDispatch(ClientPtr client) return SProcSyncSetPriority(client); case X_SyncGetPriority: return SProcSyncGetPriority(client); + case X_SyncCreateFence: + return SProcSyncCreateFence(client); + case X_SyncTriggerFence: + return SProcSyncTriggerFence(client); + case X_SyncResetFence: + return SProcSyncResetFence(client); + case X_SyncDestroyFence: + return SProcSyncDestroyFence(client); + case X_SyncQueryFence: + return SProcSyncQueryFence(client); + case X_SyncAwaitFence: + return SProcSyncAwaitFence(client); default: return BadRequest; } |