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>
This commit is contained in:
parent
9c0c7cc9a7
commit
8127c83c81
24
Xext/sync.c
24
Xext/sync.c
|
@ -2165,6 +2165,18 @@ ProcSyncDispatch(ClientPtr client)
|
||||||
return ProcSyncSetPriority(client);
|
return ProcSyncSetPriority(client);
|
||||||
case X_SyncGetPriority:
|
case X_SyncGetPriority:
|
||||||
return ProcSyncGetPriority(client);
|
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:
|
default:
|
||||||
return BadRequest;
|
return BadRequest;
|
||||||
}
|
}
|
||||||
|
@ -2477,6 +2489,18 @@ SProcSyncDispatch(ClientPtr client)
|
||||||
return SProcSyncSetPriority(client);
|
return SProcSyncSetPriority(client);
|
||||||
case X_SyncGetPriority:
|
case X_SyncGetPriority:
|
||||||
return SProcSyncGetPriority(client);
|
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:
|
default:
|
||||||
return BadRequest;
|
return BadRequest;
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
|
|
||||||
/* Sync */
|
/* Sync */
|
||||||
#define SERVER_SYNC_MAJOR_VERSION 3
|
#define SERVER_SYNC_MAJOR_VERSION 3
|
||||||
#define SERVER_SYNC_MINOR_VERSION 0
|
#define SERVER_SYNC_MINOR_VERSION 1
|
||||||
|
|
||||||
/* Windows WM */
|
/* Windows WM */
|
||||||
#define SERVER_WINDOWSWM_MAJOR_VERSION 1
|
#define SERVER_WINDOWSWM_MAJOR_VERSION 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user