Re: Issues with running Xclient using xwayland.

2013-01-22 Thread Pekka Paalanen
On Wed, 23 Jan 2013 11:23:35 +0530 ashjas wrote: > Hello, > > I have a nvdia card and for that i have built xf86-video-nouveau DDX. > The only .so that this DDX installs is the nouveau_drv.so ... > > Making install in src > make[1]: Entering directory `/home/

Re: [PATCH weston 2/7] pixman-renderer: Move shadow buffer into renderer

2013-01-22 Thread Vasily Khoruzhick
On Tue, Jan 22, 2013 at 7:07 PM, Ander Conselvan de Oliveira wrote: > The X11 backend uses a shadow buffer to be able to support transformed > outputs. However, this belongs in the renderer, since otherwise this > code would have to be copied into every backend that uses the pixman > renderer and

Re: Issues with running Xclient using xwayland.

2013-01-22 Thread ashjas
Hello, I have a nvdia card and for that i have built xf86-video-nouveau DDX. The only .so that this DDX installs is the nouveau_drv.so ... Making install in src make[1]: Entering directory `/home/abc/wayland/xf86-video-nouveau/src' make[2]: Entering directory `

[RFC xserver] xwayland: HACK: Don't roundtrip in DRI2 authentication mechanism

2013-01-22 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- hw/xfree86/dri2/dri2.c | 60 ++-- hw/xfree86/dri2/dri2.h |8 - hw/xfree86/dri2/dri2ext.c | 10 +- hw/xfree86/xwayland/xwayland-drm.c | 22 + 4 files changed, 89 inserti

[PATCH weston] tests: Add XWayland test

2013-01-22 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- configure.ac |2 + tests/.gitignore |1 + tests/Makefile.am |7 ++- tests/weston-tests-env |4 +- tests/xwayland-test.c | 134 5 files changed, 145 insertions(+), 3 deletions(

Re: [PATCH 00/18] Input method support patches

2013-01-22 Thread Pekka Vuorela
On 16.01.2013 22:26, Jan Arne Petersen wrote: From: Jan Arne Petersen There are some penfing input method support patches. I rebased them on master. * Add pre-edit styling support to the text protocol and the keyboard and editor examples. The editor example client depends on pango (for text la

[PATCH v3] fbdev: Add an fbdev compositor backend using pixman and evdev

2013-01-22 Thread Philip Withnall
Here's the third version of the fbdev backend. This includes all the fixes from the second version, plus a fix to use weston_launcher_open() instead of open() for evdev devices, as pointed out by MoD. This patch is a squashed and tidied up version of various commits on my branch: https://gitorious

Re: [PATCH weston 4/7] compositor-drm: Delay egl initialization until all outputs are created

2013-01-22 Thread John Kåre Alsaker
What's the reason for this change and where is EGL initialized for outputs created on the fly? On Tue, Jan 22, 2013 at 5:07 PM, Ander Conselvan de Oliveira wrote: > --- > src/compositor-drm.c | 30 ++ > 1 file changed, 18 insertions(+), 12 deletions(-) > > diff --gi

[PATCH weston 7/7] compositor-drm: Add support for using the pixman renderer

2013-01-22 Thread Ander Conselvan de Oliveira
If --use-pixman is passed as command line option to weston, the drm backend will use the pixman renderer instead of the gl one. --- src/compositor-drm.c | 209 -- 1 file changed, 187 insertions(+), 22 deletions(-) diff --git a/src/compositor-drm.c

[PATCH weston 4/7] compositor-drm: Delay egl initialization until all outputs are created

2013-01-22 Thread Ander Conselvan de Oliveira
--- src/compositor-drm.c | 30 ++ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 449106e..0f455ba 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -1047,8 +1047,13 @@ init_drm(struct drm

[PATCH weston 1/7] pixman-renderer: Add repaint debugging feature

2013-01-22 Thread Ander Conselvan de Oliveira
Add 'R' as a debug shortcut that highlights repainted regions. --- src/pixman-renderer.c | 64 - 1 file changed, 53 insertions(+), 11 deletions(-) diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c index 6c62965..8391cc6 100644 --- a/src/p

[PATCH weston 6/7] compositor-drm: Support creating drm_fb backed by dumb buffers

2013-01-22 Thread Ander Conselvan de Oliveira
--- src/compositor-drm.c | 106 +- 1 file changed, 96 insertions(+), 10 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 4868db0..7c11af1 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -30,6 +30,7 @@ #in

[PATCH weston 5/7] compositor-drm: Put logic of destroy/releasing bo's in its own function

2013-01-22 Thread Ander Conselvan de Oliveira
We have this duplicated in a few places. --- src/compositor-drm.c | 54 -- 1 file changed, 22 insertions(+), 32 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 0f455ba..4868db0 100644 --- a/src/compositor-drm.c +++ b/sr

[PATCH weston 3/7] compositor-drm: Split kms initialization out of init_egl()

2013-01-22 Thread Ander Conselvan de Oliveira
--- src/compositor-drm.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 1c17bfd..449106e 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -1017,7 +1017,7 @@ on_drm_input(int fd, uint32_t mask,

[PATCH weston 2/7] pixman-renderer: Move shadow buffer into renderer

2013-01-22 Thread Ander Conselvan de Oliveira
The X11 backend uses a shadow buffer to be able to support transformed outputs. However, this belongs in the renderer, since otherwise this code would have to be copied into every backend that uses the pixman renderer and supports transformed outputs. --- src/compositor-x11.c | 104 +

[PATCH weston 0/7] Pixman renderer support for the drm backend

2013-01-22 Thread Ander Conselvan de Oliveira
Hi, This series adds pixman support to the compositor backend. The bulk of the series consists of recfactoring that backend to make the backend choice implemented on the last patch easier. Cheers, Ander Ander Conselvan de Oliveira (7): pixman-renderer: Add repaint debugging feature pixman-re

Re: [PATCH weston] clients: add global_remove handler stubs

2013-01-22 Thread Pekka Paalanen
On Tue, 22 Jan 2013 14:53:55 +0200 Pekka Paalanen wrote: > All the clients here were missing the global_remove handler. Because > window.c did not have it, weston-desktop-shell and weston-keyboard > segfaulted on compositor exit, as they received some > wl_registry.global_remove events. > > Add

[PATCH weston] clients: add global_remove handler stubs

2013-01-22 Thread Pekka Paalanen
All the clients here were missing the global_remove handler. Because window.c did not have it, weston-desktop-shell and weston-keyboard segfaulted on compositor exit, as they received some wl_registry.global_remove events. Add more or less stub global_remove handlers, so that clients do not crash

Re: Issues with running Xclient using xwayland.

2013-01-22 Thread ashjas
Yes i have followed all the steps here http://wayland.freedesktop.org/xserver.html I am using nvdia graphics so i have built xf86-video-nouveau DDX. but the question that if its getting invoked by xserver i cant say. how to check that? I dont see any mention of DDX in the Xorg.log file.. and the