Cogl, Clutter, Cogland Get It On With Wayland

Posted by Michael Larabel on January 17, 2012

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.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Benchmarking The Intel P-State, CPUfreq Changes
  2. FreeBSD Still Working On Next-Gen Package Manager
  3. DNF Still Advancing As Experimental Yum For Fedora
  4. Logitech Begins Supporting Linux Users
  5. Modern Intel Gallium3D Driver Still Being Toyed With
  6. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  7. GCC 4.8.1 Compiler Due To Be Out Next Week
  8. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  9. Linux's "Ondemand" Governor Is No Longer Fit
  10. Firefox 22 Beta Enables WebRTC Support
  11. OpenSUSE 13.1 Milestone 1 Released
Latest Forum Talk
  1. X3: Albion Prelude Released For Linux Gamers
  2. Linux's "Ondemand" Governor Is No...
  3. DNF Still Advancing As Experimental Yum For Fedora
  4. Modern Intel Gallium3D Driver Still Being Toyed...
  5. The Last GNOME 3.8 Point Release Has Been Made
  6. Sumo Lounge Emperor
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite