[PATCH weston 0/8] Move fade to shell and fix compositor state mess

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Thu Feb 21 08:35:15 PST 2013


Hi,

The purpose of this series is to move the fade animation out of core
Weston and improve the compositor->state situation. Currently, when
the compositor goes idle and sends the lock signal, the shell sets up
the screensaver and makes the compositor active again (after overriding
the idle timeout with the screensaver one). The compositor then fades
to black again, when it becomes idle again.

These patches improve the situation by moving the fade into the shell,
so it doesn't have to change the compositor state, and changes the
meaning of the signals, so that the core is completely unaware of being
locked or not.

Cheers,
Ander

Ander Conselvan de Oliveira (8):
  compositor: Split util.c into binding.c and animation.c
  animation: Make fade more controllable
  animation: When fading, round the surface alpha when close to 0 or 1
  animation: Schedule a repaint only on the outputs the surface is in
  compositor: Move fade animation out of core Weston into shell
  shell: Use its own timer for the screensaver timeout
  compositor: Move state tracking complexity into shell
  compositor: Rename lock and unlock signals to idle and wake

 src/Makefile.am    |    3 +-
 src/animation.c    |  290 ++++++++++++++++++++++++
 src/bindings.c     |  289 ++++++++++++++++++++++++
 src/compositor.c   |  228 +++++++++++--------
 src/compositor.h   |   16 +-
 src/shell.c        |  161 ++++++++++---
 src/tablet-shell.c |    4 +-
 src/util.c         |  637 ----------------------------------------------------
 8 files changed, 853 insertions(+), 775 deletions(-)
 create mode 100644 src/animation.c
 create mode 100644 src/bindings.c
 delete mode 100644 src/util.c

-- 
1.7.10.4



More information about the wayland-devel mailing list