Getting valgrind/callgrind dumps for weston.

2013-02-07 Thread ashjas
Hello, I am not able to produce any valid callgrind dumps for weston. i am giving the following command: valgrind --tool=callgrind ./weston-launch -- --modules=xwayland.so,desktop-shell.so i get a fully functional weston compositor.. but it always ends up with a dumpfile with no contents. 0kb f

Patch queue

2013-02-07 Thread Kristian Høgsberg
Hello, Here's the patch queue update. Since last time, we've removed a few items from the list: - I merged the fbdev backend, - Pekkas "Inherit parent transform" series is going to be part of the sub-surface work, and - Tiagos is now fixing the xwayland deadlock by making dri2 auth no

Re: [PATCH weston] configure: prevent premature HAVE_GLU check

2013-02-07 Thread Kristian Høgsberg
On Wed, Jan 30, 2013 at 07:38:57AM -0800, Konno, Joe wrote: > When cairo-gl and mesa-glu are present on the system, autoconf successfully > recognizes both. However, I was wondering why weston-screensaver was not > building since autoconf reported all dependencies were met. > > Move the mesa-glu P

Re: [PATCH weston] tests: fix assignment typo, should be comparison

2013-02-07 Thread Kristian Høgsberg
On Tue, Jan 29, 2013 at 03:30:09PM -0800, U. Artie Eoff wrote: > From: "U. Artie Eoff" > > Signed-off-by: U. Artie Eoff > --- > tests/surface-global-test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied. Kristian > diff --git a/tests/surface-global-test.c b/tests/sur

RE: How to create pixmap or pixmap surface in wayland?

2013-02-07 Thread Wang, Quanxian
Sorry Pq. I confused you so much. Just one requirement not related with architecture. You can imagine write a simple program for example glxgears. No compositor manager, no architecture, no window manager. Just has x server, or compositor server(weston). I want to call eglCreatePixmapSurface to

Re: Alignment problem in wl_connection_demarshal()

2013-02-07 Thread Kristian Høgsberg
On Fri, Feb 01, 2013 at 05:51:42PM +, Philip Withnall wrote: > Hi all, > > Running Weston on 64-bit MIPS, I'm coming across a non-aligned access in > wl_connection_demarshal() which causes a processor trap. > > Around line 740 of connection.c, demarshalling an object: > > id = (uint3

Re: [PATCH] connection: Add some documentation to wl_connection_demarshal()

2013-02-07 Thread Kristian Høgsberg
On Mon, Feb 04, 2013 at 11:21:46AM +, Philip Withnall wrote: > Signed-off-by: Philip Withnall > --- > src/connection.c | 62 > > 1 file changed, 62 insertions(+) This is good and well-written documentation, but it does clash a bit wit

Re: [PATCH wayland 0/7] Add support for custom dispatchers

2013-02-07 Thread Kristian Høgsberg
On Fri, Feb 01, 2013 at 10:09:41AM -0600, Jason Ekstrand wrote: > Ths patch group contains my additions for custom dispatcher support inside > libwayland. This would allow someone to handle event and resource function > calling at runtime rather than through a list of function pointers and libffi.

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

2013-02-07 Thread Kristian Høgsberg
On Sat, Feb 02, 2013 at 12:02:32PM +, Philip Withnall wrote: > Add a frame buffer backend using pixman to render to fbdev. > This has been tested against nouveaufb but nothing else. Much of the code > came straight from the rpi backend (and copyright has been attributed > accordingly). > > The

Re: [PATCH v3 intel] xwayland: Use new DRI2 AuthMagic3

2013-02-07 Thread Kristian Høgsberg
On Wed, Feb 06, 2013 at 03:09:19PM +0200, Tiago Vignatti wrote: > Signed-off-by: Tiago Vignatti > --- > v3: (nil) This patch is straightforward, except it doesn't apply against the upstream xwayland branch: commit 860e27c1c385993ae4df3e0a95967af1b388fd16 Author: Kristian Høgsberg Date: Mon Se

Re: [PATCH v3 weston] tests: Add XWayland test

2013-02-07 Thread Kristian Høgsberg
On Wed, Feb 06, 2013 at 03:09:17PM +0200, Tiago Vignatti wrote: > By default enabled but one can disable it by passing --disable-xwayland-test > to the configure script. Also, the weston-tests-env script is trying to load > xwayland.so in either case, but it behaves resilient in the absence of that

Re: [PATCH v4 xserver] xwayland: Don't block in DRI2 authentication mechanism

2013-02-07 Thread Kristian Høgsberg
On Thu, Feb 07, 2013 at 12:52:27PM +0200, Tiago Vignatti wrote: > Signed-off-by: Tiago Vignatti > --- > v2: - added AuthMagic3, for passing ClientPtr > - fixed server internal ABI issue, by maintaining DRI2Authenticate intact > - fixed multiple clients accesses to DRI2 authenticate, using

[PATCH v4 xserver] xwayland: Don't block in DRI2 authentication mechanism

2013-02-07 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- v2: - added AuthMagic3, for passing ClientPtr - fixed server internal ABI issue, by maintaining DRI2Authenticate intact - fixed multiple clients accesses to DRI2 authenticate, using Wayland callback mechanism to ensure they all go atomically v3: - f

Re: How to enable Wayland when original software support X?

2013-02-07 Thread Pekka Paalanen
On Thu, 7 Feb 2013 03:30:48 + "Wang, Quanxian" wrote: > Thanks pq. > > > -Original Message- > > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > > Sent: Wednesday, February 06, 2013 7:34 PM > > To: Wang, Quanxian > > Subject: Re: How to enable Wayland when original software suppor