summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-07-11 16:11:57 -0700
committerKeith Packard <keithp@keithp.com>2013-10-31 16:59:18 -0700
commit5c5c1b77982a9af7279a90bc3c2be48adaa9c778 (patch)
tree98dbaa447cea20b00708347d6805ba5da43cdc7e /include
parent563138298868f62501875d3016f03469dcffaad0 (diff)
present: Add Present extension
Provides both a software implementation using timers and driver hooks to base everything on vblank intervals. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/dix-config.h.in3
-rw-r--r--include/extinit.h5
-rw-r--r--include/xorg-server.h.in3
3 files changed, 11 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index d96da6a27..397ee967a 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -255,6 +255,9 @@
/* Internal define for Xinerama */
#undef PANORAMIX
+/* Support Present extension */
+#undef PRESENT
+
/* Overall prefix */
#undef PROJECTROOT
diff --git a/include/extinit.h b/include/extinit.h
index bdb149ca6..fa5f29378 100644
--- a/include/extinit.h
+++ b/include/extinit.h
@@ -181,4 +181,9 @@ extern void XvMCExtensionInit(void);
extern void dri3_extension_init(void);
#endif
+#if defined(PRESENT)
+#include <X11/extensions/presentproto.h>
+#include "presentext.h"
+#endif
+
#endif
diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
index 5b3b664a4..1281b3e5e 100644
--- a/include/xorg-server.h.in
+++ b/include/xorg-server.h.in
@@ -70,6 +70,9 @@
/* Internal define for Xinerama */
#undef PANORAMIX
+/* Support Present extension */
+#undef PRESENT
+
/* Support RANDR extension */
#undef RANDR