Re: [PATCH] compositor: Initialize xserver variable

2012-04-25 Thread Pekka Paalanen
On Wed, 25 Apr 2012 10:03:06 -0600 Scott Moreau wrote: > This variable is used unitialized if --xserver is not passed to weston. > --- > src/compositor.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/compositor.c b/src/compositor.c > index 768477d..e8ef946 1

Re: Wayland client library thread safety

2012-04-25 Thread Pekka Paalanen
On Wed, 25 Apr 2012 12:58:59 -0700 Bill Spitzak wrote: > Pekka Paalanen wrote: > > > There was some talk about an alternative implementation: to let > > eglSwapBuffers never block, instead block when a rendering operation is > > about to use a buffer that should have already been made available

[PATCH v2] shell: Fix Bug 48906

2012-04-25 Thread zhiwen . wu
From: Alex Wu Remove rotation when entering fullscreen and restore rotation when exiting fullscreen. --- src/shell.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/shell.c b/src/shell.c index 9c844b5..6654167 100644 --- a/src/shell.c +++ b/src/shell.c

Re: [PATCH v2 1/2] animation: add fading-in animation

2012-04-25 Thread Alex Wu
于 2012/4/25 19:09, juan.j.z...@linux.intel.com 写道: From: Juan Zhao To ful-fill user experience, add the fading-in animation when mapping a window. v2: update that westom_surface_damage to repaint remove that transform part in fade struct Signed-off-by: Juan Zhao --- src/util.c | 85 +

Re: [PATCH v2] xwayland: Fix infinite loop on quick movement through menus

2012-04-25 Thread Tomasz Borowik
On Wed, 25 Apr 2012 10:34:14 -0400 Kristian Hoegsberg wrote: > On Wed, Apr 25, 2012 at 03:06:57PM +0200, Tomasz Borowik wrote: > > From 3abf39489deb3eb048174630dc7d41908674408b Mon Sep 17 00:00:00 2001 > > From: timon37 > > Date: Wed, 25 Apr 2012 13:28:35 +0200 > > Subject: [PATCH] Fix infinite

Re: Wayland client library thread safety

2012-04-25 Thread Bill Spitzak
Pekka Paalanen wrote: There was some talk about an alternative implementation: to let eglSwapBuffers never block, instead block when a rendering operation is about to use a buffer that should have already been made available by swapBuffers, but didn't actually happen yet. The DRM architecture

Re: [PATCH v2] gears: Allow model rotation with pointer

2012-04-25 Thread Scott Moreau
> Awesome, I don't know how we lived without it. Committed. Btw, when > you do a v2 patch, do you mind just adding a one-line desription of > what changed? > > thanks > Kristian > Yes, will do from now on. Scott ___ wayland-devel mailing list wayland

[PATCH] compositor: Initialize xserver variable

2012-04-25 Thread Scott Moreau
This variable is used unitialized if --xserver is not passed to weston. --- src/compositor.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 768477d..e8ef946 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2639,7 +2639,7

Re: [PATCH] shell: Fix Bug 48906

2012-04-25 Thread Kristian Hoegsberg
On Tue, Apr 24, 2012 at 02:30:43AM +0800, zhiwen...@linux.intel.com wrote: > From: Alex Wu > > Rotation and then fullscreen leads to fullscreen display rotation. That's looks like the right approach. Should we restore the rotation when we come back from fullscreen? Kristian > --- > src/shell

Re: [PATCH v2] gears: Allow model rotation with pointer

2012-04-25 Thread Kristian Hoegsberg
On Tue, Apr 24, 2012 at 11:28:26AM -0600, Scott Moreau wrote: > --- > clients/gears.c | 69 +++--- > 1 files changed, 65 insertions(+), 4 deletions(-) Awesome, I don't know how we lived without it. Committed. Btw, when you do a v2 patch, do you

Re: [PULL wayland] More OS compatibility wrappers

2012-04-25 Thread Kristian Hoegsberg
On Wed, Apr 25, 2012 at 12:48:49PM +0300, Pekka Paalanen wrote: > Hi Kristian, > > here are the rest of my OS compatibility wrappers for Wayland. Every > wrapper, except accept4, has two unit tests: a normal one and a forced > fallback one. > > The accept4 patch adds a configure test for it, the

Re: [PATCH v2 2/2] shell-animation: add conf option in shell

2012-04-25 Thread Kristian Hoegsberg
On Wed, Apr 25, 2012 at 02:32:28PM +0300, Pekka Paalanen wrote: > On Wed, 25 Apr 2012 19:09:52 +0800 > juan.j.z...@linux.intel.com wrote: > > > From: Juan Zhao > > > > Now we can choose zoom or fade in weston.ini > > to fulfill and customize the user experence easier. > > > > Signed-off-by: Jua

Re: [PATCH v2] xwayland: Fix infinite loop on quick movement through menus

2012-04-25 Thread Kristian Hoegsberg
On Wed, Apr 25, 2012 at 03:06:57PM +0200, Tomasz Borowik wrote: > From 3abf39489deb3eb048174630dc7d41908674408b Mon Sep 17 00:00:00 2001 > From: timon37 > Date: Wed, 25 Apr 2012 13:28:35 +0200 > Subject: [PATCH] Fix infinite loop in xwl_screen_post_damage > > Happens when first two windows are da

[PATCH v2] xwayland: Fix infinite loop on quick movement through menus

2012-04-25 Thread Tomasz Borowik
>From 3abf39489deb3eb048174630dc7d41908674408b Mon Sep 17 00:00:00 2001 From: timon37 Date: Wed, 25 Apr 2012 13:28:35 +0200 Subject: [PATCH] Fix infinite loop in xwl_screen_post_damage Happens when first two windows are damaged, then later one is damaged and the other is unrealized. It makes the

Re: [PATCH v2 2/2] shell-animation: add conf option in shell

2012-04-25 Thread Pekka Paalanen
On Wed, 25 Apr 2012 19:09:52 +0800 juan.j.z...@linux.intel.com wrote: > From: Juan Zhao > > Now we can choose zoom or fade in weston.ini > to fulfill and customize the user experence easier. > > Signed-off-by: Juan Zhao Both patches look good to me. Thanks, pq __

[PATCH v2 2/2] shell-animation: add conf option in shell

2012-04-25 Thread juan . j . zhao
From: Juan Zhao Now we can choose zoom or fade in weston.ini to fulfill and customize the user experence easier. Signed-off-by: Juan Zhao --- src/compositor.h |8 src/shell.c | 38 +- weston.ini |2 ++ 3 files changed, 47 insert

[PATCH v2 1/2] animation: add fading-in animation

2012-04-25 Thread juan . j . zhao
From: Juan Zhao To ful-fill user experience, add the fading-in animation when mapping a window. v2: update that westom_surface_damage to repaint remove that transform part in fade struct Signed-off-by: Juan Zhao --- src/util.c | 85 ++

Re: [PATCH] xwayland: Fix infinite loop on quick movement through menus

2012-04-25 Thread Pekka Paalanen
On Wed, 25 Apr 2012 11:52:42 +0200 Tomasz Borowik wrote: > On Wed, 25 Apr 2012 11:28:28 +0300 > Pekka Paalanen wrote: > > > On Tue, 24 Apr 2012 22:20:26 +0200 > > Tomasz Borowik wrote: > > > > > From: timon37 > > > Date: Tue, 24 Apr 2012 22:13:38 +0200 > > > Subject: [PATCH] Fix infinite loo

Re: [PATCH] xwayland: Fix infinite loop on quick movement through menus

2012-04-25 Thread Tomasz Borowik
On Wed, 25 Apr 2012 11:28:28 +0300 Pekka Paalanen wrote: > On Tue, 24 Apr 2012 22:20:26 +0200 > Tomasz Borowik wrote: > > > From: timon37 > > Date: Tue, 24 Apr 2012 22:13:38 +0200 > > Subject: [PATCH] Fix infinite loop in xwl_screen_post_damage > > > > Happens when first two windows are damag

[PULL wayland] More OS compatibility wrappers

2012-04-25 Thread Pekka Paalanen
Hi Kristian, here are the rest of my OS compatibility wrappers for Wayland. Every wrapper, except accept4, has two unit tests: a normal one and a forced fallback one. The accept4 patch adds a configure test for it, the others seemed to work by preprocessor directives. There are also some wrapper

Re: [PATCH 1/2] animation: add fading-in animation

2012-04-25 Thread Pekka Paalanen
On Wed, 25 Apr 2012 17:07:51 +0800 Juan Zhao wrote: > On 04/25/2012 01:40 PM, yan.w...@linux.intel.com wrote: > > Just confirmation when comparing with weston_zoom_frame: > > 2. In weston_zoom_frame, weston_compositor_schedule_repaint is called; in > > weston_fade_frame, weston_surface_damage

Re: [PATCH 1/2] animation: add fading-in animation

2012-04-25 Thread Juan Zhao
On 04/25/2012 01:40 PM, yan.w...@linux.intel.com wrote: Just confirmation when comparing with weston_zoom_frame: 1. In weston_zoom_frame, scale is calculated by start, stop and current value of spring and as the coefficient of alpha. Why use different logic in weston_fade_frame? Fading animation

Re: [PATCH] xwayland: Fix infinite loop on quick movement through menus

2012-04-25 Thread Pekka Paalanen
On Tue, 24 Apr 2012 22:20:26 +0200 Tomasz Borowik wrote: > From: timon37 > Date: Tue, 24 Apr 2012 22:13:38 +0200 > Subject: [PATCH] Fix infinite loop in xwl_screen_post_damage > > Happens when first two windows are damaged, then later one is damaged and > the other is unrealized. It makes the d

Re: Wayland client library thread safety

2012-04-25 Thread Pekka Paalanen
On Tue, 24 Apr 2012 11:03:29 -0700 Bill Spitzak wrote: > On 04/24/2012 09:15 AM, Arnaud Vrac wrote: > > >> Sorry for probably wasting your time, but why does "EGL make this > >> impossible"? > > > > Because eglSwapBuffers is unfortunately a blocking call. > > After reading all these emails a bu