Cogl, Clutter, Cogland Get It On With Wayland

Written by Michael Larabel in Free Software on 17 January 2012 at 02:26 PM EST. 2 Comments
FREE SOFTWARE
With the next GNOME 3.4 development release due out on Wednesday, several GNOME3 packages are being checked-in for release. In this latest round of updates, Clutter and Cogl have both been updated again to take better advantage of the Wayland Display Server.

The Clutter/Cogl duo have been getting on with support for Wayland going back a number of months. Just last month Clutter was updated against Wayland master so that this tool-kit -- also sponsored by Intel -- would be running against the newest Wayland Display Server code. The Clutter-on-Wayland support has gone quite far. With the release of Clutter 1.9.4 and Cogl 1.9.4, things are even further.

With the release of Clutter 1.9.4, "The wayland backend now tracks the latest API changes in the client API, and Clutter now provides a Wayland surface actor that allows to write Wayland compositors, similarly to the X11TexturePixmap actor for the X11 backend." Clutter 1.9.4 also features a new scene graph API in ClutterActor, a layout manager update, and a ClutterTextBuffer class.

Cogl, the 3D graphics direct-state-access API used by Clutter that's built on OpenGL / OpenGL ES, has a few improvements of its own with the 1.9.4 release. Cogl's client-side Wayland support has been updated, the Cogl compositor-side Wayland support has been updated, and the example "Cogland" Cogl-Wayland compositor has been updated. There's also a few other related and interesting changes in this Cogl 1.9.4 development snapshot:

- A basic Linux KMS back-end has been added that works directly off the DRM interfaces for kernel mode-setting. This allows full-screen Cogl applications to work without X11 (or Wayland) under Linux but is tapping KMS directly.

- EGL platforms are now selected at run-time rather than being part of one monolithic back-end.

- A "CoglSnippets" experimental API has been added. This new API, which has been a long time coming, is meant to simplify how portions of GL Shading Language (GLSL) code can be integrated into the rendering pipeline.

- An SDL window system back-end has been added to Cogl. This makes a portable and easy way to toy around with Cogl as a standalone graphics API with basic input support provided by the Simple DirectMedia Layer (SDL).

Lots of good stuff happening in the Clutter-land, plus the other work happening within the Enlightenment, Qt, and GTK+ camps.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week