If the server has that capability, and the client is using this option, the idle fence given to PresentPixamp can be modified to point to an out-fence created by the driver.
Signed-off-by: Louis-Francis Ratté-Boulianne <[email protected]> --- presenttokens.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/presenttokens.h b/presenttokens.h index fa92f89..7aff9cc 100644 --- a/presenttokens.h +++ b/presenttokens.h @@ -44,10 +44,12 @@ #define PresentOptionAsync (1 << 0) #define PresentOptionCopy (1 << 1) #define PresentOptionUST (1 << 2) +#define PresentOptionIdleFence (1 << 3) #define PresentAllOptions (PresentOptionAsync | \ PresentOptionCopy | \ - PresentOptionUST) + PresentOptionUST | \ + PresentOptionIdleFence) /* Present capabilities */ @@ -55,10 +57,12 @@ #define PresentCapabilityAsync 1 #define PresentCapabilityFence 2 #define PresentCapabilityUST 4 +#define PresentCapabilityIdleFence 8 #define PresentAllCapabilities (PresentCapabilityAsync | \ PresentCapabilityFence | \ - PresentCapabilityUST) + PresentCapabilityUST | \ + PresentCapabilityIdleFence) /* Events */ #define PresentConfigureNotify 0 -- 2.13.0 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
