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

Juan Zhao juan.j.zhao at linux.intel.com
Wed Apr 25 02:07:51 PDT 2012

  On 04/25/2012 01:40 PM, yan.wang at 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 is just some animation to change the alpha values of 
the surface, not related to the zoom animation.
> 2. In weston_zoom_frame, weston_compositor_schedule_repaint is called; in
> weston_fade_frame, weston_surface_damage is called. weston_surface_damage
> seems only to process pixmap region?
in weston_surface_damage, that schedule_repaint will be called.

> Thanks.
> Yan Wang

More information about the wayland-devel mailing list