[RFC] idle animation interface and implementation

Kristian Høgsberg krh at bitplanet.net
Wed Dec 14 10:56:25 PST 2011


On Wed, Dec 14, 2011 at 7:17 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> 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
> http://lists.freedesktop.org/archives/wayland-devel/2011-December/001669.html
>
>  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
>  top.
>
> Without that fix in Cairo, wscreensaver does not work in the
> screensaver (default) mode.

Thanks for all the rebasing and digging into the cairo issue.  I've
just merged your screensaver branch and it all works very nicely.

Kristian


More information about the wayland-devel mailing list