[PATCH 2/4] Add support to render-nodes.

2014-01-15 Thread Axel Davy
And allows to create wl_buffers from fds instead of gem names. Signed-off-by: Axel Davy --- hw/xfree86/xwayland/drm.xml| 45 +- hw/xfree86/xwayland/xwayland-drm.c | 106 + hw/xfree86/xwayland/xwayland-private.h | 1 + hw/xfree86/xway

[PATCH 3/4] Add function to get new fd of the graphic device

2014-01-15 Thread Axel Davy
neccessary for dri3 Signed-off-by: Axel Davy --- hw/xfree86/xwayland/xwayland-drm.c | 56 -- hw/xfree86/xwayland/xwayland.h | 3 ++ 2 files changed, 38 insertions(+), 21 deletions(-) diff --git a/hw/xfree86/xwayland/xwayland-drm.c b/hw/xfree86/xwayland/

[PATCH 1/4] Move the wl_buffer from xwl_window to xwl_pixmap

2014-01-15 Thread Axel Davy
This change enables to change the window pixmap, and have xwayland send the correct buffer to the Wayland compositor. Signed-off-by: Axel Davy --- hw/xfree86/xwayland/xwayland-drm.c | 10 +++- hw/xfree86/xwayland/xwayland-private.h | 10 +++- hw/xfree86/xwayland/xwayland-window.c | 87 +

[PATCH 0/4][XWayland] New API to support dri3/present

2014-01-15 Thread Axel Davy
The first patch moves the wl_buffers from being a per-window thing to a per-pixmap thing. That way if we change the window pixmap, the window update will attach the new buffer. The second and third patches are to support dri3 (on render-nodes too). wlglamor has been updated to drop the DRI2 code (

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

2014-01-15 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 | 210 + hw/xfree86/xwayland/xwayland-private.h | 8 ++ hw/xfree86/xwayland/xwayland-

Re: [PATCH] dim-layer: fix dimming for unfocused surfaces

2014-01-15 Thread Emilio Pozuelo Monfort
bump On 07/01/14 17:23, poch...@gmail.com wrote: > From: Emilio Pozuelo Monfort > > Unfocusing a surface should dim it when dim-layer is enabled, > but this got broken in commit 83ffd9. > --- > desktop-shell/shell.c | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff