diff options
author | Dodji Seketeli <dodji@seketeli.org> | 2007-08-15 19:40:10 +0200 |
---|---|---|
committer | Dodji Seketeli <dodji@openedhand.com> | 2007-10-02 16:55:14 +0200 |
commit | a38ad562a6f50e9d76a37917b936035215ea460e (patch) | |
tree | c04ae3921fa81eddeb0a84cfb75f87cc5cef7296 /include | |
parent | e4239a48075c77e6a8d2d5cb21f58dd67687482f (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')
-rw-r--r-- | include/dix-config.h.in | 2 |
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 |