mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
Make Await SyncTrigger functions generic
Update all the functions dealing with Await sync triggers handle generic sync objects instead of just counters. This will facilitate code sharing between the counter sync waits and the fence sync waits. Signed-off-by: James Jones <jajones@nvidia.com> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
99daf419a3
commit
c66a410d37
2 changed files with 200 additions and 114 deletions
|
|
@ -101,7 +101,7 @@ typedef struct _SysCounterInfo {
|
|||
|
||||
|
||||
typedef struct _SyncTrigger {
|
||||
SyncCounter *pCounter;
|
||||
SyncObject *pSync;
|
||||
CARD64 wait_value; /* wait value */
|
||||
unsigned int value_type; /* Absolute or Relative */
|
||||
unsigned int test_type; /* transition or Comparision type */
|
||||
|
|
|
|||
Loading…
Reference in a new issue