summaryrefslogtreecommitdiff
path: root/include/dix-config.h.in
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@seketeli.org>2007-08-15 19:40:10 +0200
committerDodji Seketeli <dodji@openedhand.com>2007-10-02 16:55:14 +0200
commita38ad562a6f50e9d76a37917b936035215ea460e (patch)
treec04ae3921fa81eddeb0a84cfb75f87cc5cef7296 /include/dix-config.h.in
parente4239a48075c77e6a8d2d5cb21f58dd67687482f (diff)
make xephyr talk DRI protocol with hostX
* configure.ac,include/dix-config.h.in: define the XEPHYR_DRI macro. define it when --enable-xephyr and --enable-dri are both turned on. * hw/kdrive/ephyr/XF86dri.c: copy this from mesa source to enable Xephyr to talk DRI protocol the host X. In mesa, this is used by libGL.so to talk DRI protocol with the server. * hw/kdrive/ephyr/ephyr.c: finally initialise the DRI extension in the ephyrInitScreen() function. * hw/kdrive/ephyr/ephyrdri.c,ephyrdriext.c: safeguard the compilation using the XEPHYR_DRI macro.
Diffstat (limited to 'include/dix-config.h.in')
-rw-r--r--include/dix-config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 563d3439f..3b9f15c28 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -425,6 +425,8 @@
/* Support DRI extension */
#undef XF86DRI
+#undef XEPHYR_DRI
+
/* Build DBE support */
#undef DBE