diff options
author | Xaver Hugl <xaver.hugl@gmail.com> | 2022-08-30 12:22:35 +0200 |
---|---|---|
committer | Xaver Hugl <xaver.hugl@gmail.com> | 2023-05-24 14:05:16 +0200 |
commit | 5a3d5d624e08cd8fcbe7f4da594dd458f45127d0 (patch) | |
tree | a69b24bb34cc34fe10dd87002e0d25d629c61024 /include/X11/extensions | |
parent | 6c3a7302fcc7ecf05960ad1794c5effeda5d4945 (diff) |
present: add PresentOptionAsyncMayTear
Diffstat (limited to 'include/X11/extensions')
-rw-r--r-- | include/X11/extensions/presenttokens.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/X11/extensions/presenttokens.h b/include/X11/extensions/presenttokens.h index 9211207..806cbe5 100644 --- a/include/X11/extensions/presenttokens.h +++ b/include/X11/extensions/presenttokens.h @@ -45,11 +45,15 @@ #define PresentOptionCopy (1 << 1) #define PresentOptionUST (1 << 2) #define PresentOptionSuboptimal (1 << 3) +#define PresentOptionAsyncMayTear (1 << 4) #define PresentAllOptions (PresentOptionAsync | \ PresentOptionCopy | \ PresentOptionUST | \ - PresentOptionSuboptimal) + PresentOptionSuboptimal | \ + PresentOptionAsyncMayTear) + +#define PresentAllAsyncOptions (PresentOptionAsync | PresentOptionAsyncMayTear) /* Present capabilities */ @@ -57,10 +61,14 @@ #define PresentCapabilityAsync 1 #define PresentCapabilityFence 2 #define PresentCapabilityUST 4 +#define PresentCapabilityAsyncMayTear 8 #define PresentAllCapabilities (PresentCapabilityAsync | \ PresentCapabilityFence | \ - PresentCapabilityUST) + PresentCapabilityUST | \ + PresentCapabilityAsyncMayTear) + +#define PresentAllAsyncCapabilities (PresentCapabilityAsync | PresentCapabilityAsyncMayTear) /* Events */ #define PresentConfigureNotify 0 |