diff options
author | Keith Packard <keithp@keithp.com> | 2013-10-31 17:38:27 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-10-31 17:40:15 -0700 |
commit | 584d8b87e245e900a3a7ee448d51ba6f3c74ce2b (patch) | |
tree | 7fba98564076b205270d5e73f972fc3ebfc593e1 /presenttokens.h | |
parent | 32f17e1d4411f784a9b76bad8288f7e657134732 (diff) |
Update to version 1.0
Add presentproto.h updates for current protocol.
Finish encoding specification.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'presenttokens.h')
-rw-r--r-- | presenttokens.h | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/presenttokens.h b/presenttokens.h index 4eb4a9b..807dbcf 100644 --- a/presenttokens.h +++ b/presenttokens.h @@ -35,29 +35,46 @@ #define X_PresentPixmap 1 #define X_PresentNotifyMSC 2 #define X_PresentSelectInput 3 +#define X_PresentQueryCapabilities 4 -#define PresentNumberRequests 4 +#define PresentNumberRequests 5 /* Present operation options */ #define PresentOptionNone 0 #define PresentOptionAsync (1 << 0) #define PresentOptionCopy (1 << 1) +#define PresentOptionUST (1 << 2) #define PresentAllOptions (PresentOptionAsync | \ - PresentOptionCopy) + PresentOptionCopy | \ + PresentOptionUST) + +/* Present capabilities */ + +#define PresentCapabilityNone 0 +#define PresentCapabilityAsync 1 +#define PresentCapabilityFence 2 +#define PresentCapabilityUST 4 + +#define PresentAllCapabilities (PresentCapabilityAsync | \ + PresentCapabilityFence | \ + PresentCapabilityUST) /* Events */ #define PresentConfigureNotify 0 #define PresentCompleteNotify 1 -#define PresentRedirectNotify 2 +#define PresentIdleNotify 2 +#define PresentRedirectNotify 3 /* Event Masks */ #define PresentConfigureNotifyMask 1 #define PresentCompleteNotifyMask 2 -#define PresentRedirectNotifyMask 4 +#define PresentIdleNotifyMask 4 +#define PresentRedirectNotifyMask 8 #define PresentAllEvents (PresentConfigureNotifyMask | \ PresentCompleteNotifyMask | \ + PresentIdleNotifyMask | \ PresentRedirectNotifyMask) /* Complete Kinds */ |