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 1/2] animation: add fading-in animation

2012-04-24 Thread yan . wang
> From: Juan Zhao > > To ful-fill user experience, add the fading-in animation > when mapping a window. > > Signed-off-by: Juan Zhao > --- > src/util.c | 89 > > 1 files changed, 89 insertions(+), 0 deletions(-) > > diff --git a/src/

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

2012-04-24 Thread juan . j . zhao
From: Juan Zhao To ful-fill user experience, add the fading-in animation when mapping a window. Signed-off-by: Juan Zhao --- src/util.c | 89 1 files changed, 89 insertions(+), 0 deletions(-) diff --git a/src/util.c b/src/util.c i