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. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Wayland's Weston Gets Output Scaling Support
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. Debian GNU/Hurd 2013 Release Brings New Packages
  4. Intel Ultrabook Performance Is Faster With Mesa 9.2
  5. Hot Relocation HDD To SSD Support For Btrfs
  6. Phoronix Test Suite 4.6.0 "Utsira" Released
  7. New Intel X.Org Driver Supports All Of Haswell
  8. SQLite Now Faster With Memory Mapped I/O
  9. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  10. Qt For Tizen Launches, Based On Qt 5.1
  11. KTAP Released For Linux Kernel Dynamic Tracing
Latest Forum Talk
  1. Humble Indie Bundle Finally Sells Out
  2. Debian GNU/Hurd 2013 Release Brings New Packages
  3. Wayland's Weston Gets Output Scaling Support
  4. Richard Stallman is right yet, again.
  5. Raspberry Pi Gets New Wayland Weston Renderer
  6. Linux's "Ondemand" Governor Is No...
  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