A new XWayland Glamor DDX

Kristian Høgsberg hoegsberg at gmail.com
Tue Oct 1 10:37:15 PDT 2013


On Mon, Sep 30, 2013 at 10:07:42PM +0200, Axel Davy wrote:
> Hi All,
> 
> I've published a new XWayland DDX based on Glamor.
> 
> The source code is inspired from the Radeon DDX.
> 
> I've tested it on an intel hd4000 and an Amd hd7730m without issues.
> (Need a recent Xserver with XWayland support).
> 
> More tests and comments are welcomed.
> 
> 
> The source code can be found here:
> 
> https://github.com/axeldavy/xf86-video-wlglamor

This is awesome, great work Axel.  I had to apply these couple of
fixes to get it to compile, but other than that it works for me.

Kristian

diff --git a/src/wlglamor.c b/src/wlglamor.c
index d809654..eb9dc7e 100644
--- a/src/wlglamor.c
+++ b/src/wlglamor.c
@@ -74,7 +74,7 @@
 #include "servermd.h"
 
 
-#include "xorg/dri2.h"
+#include <dri2.h>
 
 #define GLAMOR_FOR_XORG  1
 #include <glamor.h>
diff --git a/src/wlglamor.h b/src/wlglamor.h
index 54684d0..a714dd0 100644
--- a/src/wlglamor.h
+++ b/src/wlglamor.h
@@ -6,12 +6,14 @@
 #include "xf86_OSproc.h"
 
 #include "xf86Cursor.h"
-#include "xorg/dri2.h"
+#include <dri2.h>
 #include <gbm.h>
 #include <string.h>
 
 #include "xwayland.h"
 
+#include "compat-api.h"
+
 #define WAYLAND_DRIVER_NAME "wlglamor"
 #define COMBINED_DRIVER_VERSION \
     ((PACKAGE_VERSION_MAJOR << 16) | (PACKAGE_VERSION_MINOR << 8) | \


More information about the wayland-devel mailing list