Re: Window stacking / raising design

2012-01-17 Thread Bill Spitzak
On 01/17/2012 02:32 AM, Pekka Paalanen wrote: I think we already have the unmapped feature. In Wayland terms: 1. A client creates a surface. The surface is initially unmapped, and not visible. 2. The client sets the window type (role) of the surface. Still nothing visible happe

Re: [PATCH 3/4] compositor: unify sprite and primary handling a bit

2012-01-17 Thread Jesse Barnes
On Mon, 16 Jan 2012 22:09:11 -0500 Kristian Høgsberg wrote: > > +       if (queued_sprite) { > > +               drmVBlank vbl = { > > +                       .request.type = DRM_VBLANK_RELATIVE | > > DRM_VBLANK_EVENT, > > +                       .request.sequence = 1, > > +               }; > >

Re: [PATCH] Complete ARGB8888 naming convention format renames missed by 58dc1b28d1ef4d1931c52b079d304f2e1546329d

2012-01-17 Thread Kristian Høgsberg
On Tue, Jan 17, 2012 at 4:54 AM, Scott Moreau wrote: > Looks like a few renames were missed in > 58dc1b28d1ef4d1931c52b079d304f2e1546329d as mesa failed to build with: Oops. Thanks, pushed. > wayland/native_shm.c: In function ‘wayland_create_shm_buffer’: > wayland/native_shm.c:98:10: error: ‘WL

Re: [PATCH] shell: respawn desktop-shell if it dies

2012-01-17 Thread Kristian Høgsberg
On Tue, Jan 17, 2012 at 7:36 AM, Pekka Paalanen wrote: > If the desktop-shell client goes away for any reason, respawn it. To > avoid harmful looping, limit the respawning to 5 times within 30 > seconds, and then give up. Great, thanks. I added a small patch on top to just initialize the deathst

Re: [PATCH] wscreensaver: get decorations back

2012-01-17 Thread Kristian Høgsberg
On Tue, Jan 17, 2012 at 9:10 AM, Pekka Paalanen wrote: > In the great toytoolkit widget revolution, wscreensaver demo mode lost > its window decorations. Bring them back. Oh, this is for the standalone case? Yeah, I think forgot that one, thanks. Kristian > Signed-off-by: Pekka Paalanen > ---

[PATCH] wscreensaver: get decorations back

2012-01-17 Thread Pekka Paalanen
In the great toytoolkit widget revolution, wscreensaver demo mode lost its window decorations. Bring them back. Signed-off-by: Pekka Paalanen --- clients/wscreensaver.c | 61 ++- 1 files changed, 23 insertions(+), 38 deletions(-) diff --git a/client

[PATCH] shell: respawn desktop-shell if it dies

2012-01-17 Thread Pekka Paalanen
If the desktop-shell client goes away for any reason, respawn it. To avoid harmful looping, limit the respawning to 5 times within 30 seconds, and then give up. Signed-off-by: Pekka Paalanen --- src/shell.c | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff -

Re: Window stacking / raising design

2012-01-17 Thread Pekka Paalanen
On Mon, 16 Jan 2012 19:14:20 -0800 Bill Spitzak wrote: > Pekka Paalanen suggested I come up with a design for the Wayland > compositor to control window stacking and raising. Thank you for writing down your ideas. > I am pretty familiar with the failures of existing window management in > thi

[PATCH] Complete ARGB8888 naming convention format renames missed by 58dc1b28d1ef4d1931c52b079d304f2e1546329d

2012-01-17 Thread Scott Moreau
Looks like a few renames were missed in 58dc1b28d1ef4d1931c52b079d304f2e1546329d as mesa failed to build with: wayland/native_shm.c: In function ‘wayland_create_shm_buffer’: wayland/native_shm.c:98:10: error: ‘WL_SHM_FORMAT_PREMULTIPLIED_ARGB32’ undeclared (first use in this function) wayland/nati

Re: [PULL] Matrix inversion and tests v1

2012-01-17 Thread Pekka Paalanen
On Mon, 16 Jan 2012 21:19:32 -0500 Kristian Høgsberg wrote: > On Mon, Jan 16, 2012 at 10:20 AM, Pekka Paalanen wrote: > > Hi Kristian, > > > > this patch series implements inversion for 4x4 matrices, specifically > > for struct weston_matrix. It comes with a test application for both > > correct

Re: [RFC 0/9] gbm_surface

2012-01-17 Thread Ander Conselvan de Oliveira
On 12/21/2011 04:52 AM, Kristian Høgsberg wrote: On Wed, Dec 14, 2011 at 4:59 AM, Ander Conselvan de Oliveira wrote: From: Ander Conselvan de Oliveira Hi, So, in London we discussed moving the drm compositor to a new gbm_surface interface, which would allow the buffer management to be handle