[RFC] idle animation interface and implementation

Pekka Paalanen ppaalanen at gmail.com
Thu Dec 8 04:42:32 PST 2011


here is the patch set that integrates wscreensaver into the demo
- interface implementation and surface type handling: screensaver
  surface only mapped during idle or lock screen
- automatic launch and kill
- automatic launch is opt-in, you need to enable it in your
- works also with manual launch of wscreensaver
- separate timeouts for screen locking and animation
- all rendering stops on animation timeout
- supports multiple outputs with independent animations

The set also includes necessary bug fixes, and is built on top of my
for-krh-1 branch.

The patch set should be mergeable, except for the patch "HACK around
decorationless EGL user error". Constructive comments welcome.

(For those who didn't know, screen locking was available upstream
already on Nov 16th, 2011.)


The following changes since commit 9b32ed34de162c26ef9b52cc8cbf1a06ed05d2de:

  Update .gitignores (2011-12-08 11:36:36 +0200)

are available in the git repository at:
  git://git.collabora.co.uk/git/user/pq/wayland-demos.git screensaver-v2

Pekka Paalanen (13):
      protocol: add screensaver interface
      window: expose outputs to applications
      HACK around decorationless EGL user error
      wscreensaver: implement screensaver interface
      shell: handle surface type reassignment
      shell: implement screensaver surface type
      shell: let screensaver wake up the compositor
      compositor: fix re-fading
      shell: center the unlock dialog
      compositor: add IDLE state
      shell: automatic exec and kill of wscreensaver
      shell: use desktop-shell ini file for screensaver path
      compositor: let shell override idle time

 clients/Makefile.am         |    7 +-
 clients/window.c            |   79 +++++++++-
 clients/window.h            |   30 ++++
 clients/wscreensaver.c      |  118 ++++++++++++---
 compositor/Makefile.am      |    3 +-
 compositor/compositor-drm.c |    7 +-
 compositor/compositor.c     |   20 ++-
 compositor/compositor.h     |    5 +-
 compositor/shell.c          |  362 +++++++++++++++++++++++++++++++++++++++----
 protocol/desktop-shell.xml  |   13 ++
 wayland-desktop-shell.ini   |    5 +
 11 files changed, 585 insertions(+), 64 deletions(-)

More information about the wayland-devel mailing list