[PATCH 2/2] Update configure and Makefile to support Present XWayland

2014-01-25 Thread Axel Davy
Signed-off-by: Axel Davy --- configure.ac| 11 +-- hw/xfree86/xwayland/Makefile.am | 2 +- present/Makefile.am | 24 +++- 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 052a557..73468b2

[PATCH 1/2] Initial Present Wayland support

2014-01-25 Thread Axel Davy
Signed-off-by: Axel Davy --- present/present.c | 77 +++ present/present_priv.h| 37 +++ present/present_wayland.c | 240 ++ 3 files changed, 333 insertions(+), 21 deletions(-) create mode 100644 present/present_wayland.c

[PATCH 4/4 v4] Add XWayland API with Present support in mind.

2014-01-25 Thread Axel Davy
The API enables to use the frame event and the buffer event. Signed-off-by: Axel Davy --- hw/xfree86/xwayland/Makefile.am| 1 + hw/xfree86/xwayland/xwayland-events.c | 220 + hw/xfree86/xwayland/xwayland-private.h | 9 ++ hw/xfree86/xwayland/xwayland-

[PATCH 1/2] XWAYLAND Present support

2014-01-25 Thread Axel Davy
Hi, These patches are to enable Present support with XWayland. While Present has a fallback mode for DDX not implementing the helper functions for Present, and that this callback can be used with XWayland, this new implementation (for XWayland) is more adapted to Wayland, and is able to avoid co

Re: [PATCH 1/2 v2] version: Fix WESTON_VERSION_AT_LEAST macro

2014-01-25 Thread Pier Luigi
What about defining a Weston API number increased each time the API changes? 2014-01-24 Eoff, Ullysses A : > Furthermore, say I'm using Weston 1.3.91... a usage of > WESTON_VERSION_COMPATIBLE_WITH(1,3,0) would return > True (1), which is wrong since the API/ABI actually changed > somewhere between