[RFC] idle animation interface and implementation

Pekka Paalanen ppaalanen at gmail.com
Wed Dec 14 04:17:05 PST 2011

On Fri, 9 Dec 2011 11:18:09 +0200
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> On Thu, 8 Dec 2011 14:42:32 +0200
> Pekka Paalanen <ppaalanen at gmail.com> wrote:
> > Hi,
> > 
> > here is the patch set that integrates wscreensaver into the demo
> > compositor:
> > - 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
> >   wayland-desktop-shell.ini
> > - 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.
> Since for-krh-1 was merged, and there are also other changes
> upstream, I have pushed a rebased branch as
> 	screensaver-v3

Rebased to upstream again, dropped the HACK patch that worked around a
bug in Cairo, and rewrote some patches to better follow the naming
convention. The new branch is:

git://git.collabora.co.uk/git/user/pq/wayland-demos.git screensaver-v4

As for the Cairo issue with decorationless toytoolkit apps that use
EGL, I quote

  The fix in Cairo is commit 909f4a4a7f0a6082f4f1e9edaba8034a819a12ec
  "gl: Set the destination for swap buffers, required by EGL at least".
  Unfortunately, at the time of writing this, the Cairo master HEAD is
  still too broken in the GL backend to be used. Therefore I suggest to
  use Cairo 9bdfae6e218185dd9cc2770f5e7d4ca887ce and add the above fix on

Without that fix in Cairo, wscreensaver does not work in the
screensaver (default) mode.

- pq

More information about the wayland-devel mailing list