Clutter & Cogl Wayland update

Lots of us over at Intel towers are working hard to bring you a great new Wayland powered experience.

Cogl and Clutter have now been updated to work with the latest Wayland master. You need to compile master Cogl with:

./configure --enable-wayland-egl-platform=yes --enable-gl

And then to run any applications using Cogl on Wayland you need to setup the environment variable COGL_RENDERER=egl_wayland then you can run cogl-crate!

For Clutter you need to compile Clutter master with:

./configure --enable-wayland-backend

You also need to set an environment variable to choose the Clutter backend too – in this case it’s CLUTTER_BACKEND=wayland (and you need to set COGL_RENDERER too) then you can run test-actors!

Or just look at the video below :-)

Direct Vimeo link!

A big kudos needs to go to Robert Bragg, Neil Roberts and Emmanuele Bassi for helping make this happen.

The Clutter client side support is basically complete so i’ve now moved onto working on GTK and MX – watch this space for updates!

4 thoughts on “Clutter & Cogl Wayland update

  1. Neil Roberts

    Cool beans! But actually COGL_RENDERER=EGL doesn’t work any more since we have runtime EGL platform selection, you have to do COGL_RENDERER=egl_wayland. Sorry! We should make Clutter tell Cogl programatically to use the Wayland winsys when the Clutter backend is selected so you don’t have to set both variables. Plenty to do!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>