Introducing The Cairo Gallium3D State Tracker

Posted by Michael Larabel on June 19, 2010

In past days we have reported on the work being done at the moment for improving the ATI R300 GLSL compiler and kernel mode-setting support for old 3Dlabs GPUs by students participating in the X.Org project with Google's Summer of Code. Igor Trindade Oliveira, another GSoC student developer, has blogged about the work he is doing this summer on creating a Gallium3D state tracker for Cairo.

Like the other state trackers with accelerating OpenGL, OpenGL ES, OpenVG, OpenCL, and other APIs on the GPU hardware in a rather neutral way using the Gallium3D driver architecture, Igor aims to do this for Cairo too. Nearly all Linux users should be familiar with Cairo, but for the non-technical users it's a 2D vector graphics API that's found uses within GTK+, by Mozilla within the Gecko web layout engine, Mono and the Moonlight projects, WebKit also uses Cairo, and many other projects use it in some form as well.

Besides directly supporting X, Cairo supports multiple back-ends, including OpenGL and OpenVG, so it can be accelerated indirectly atop the hardware already using the other state trackers, but the Cairo state tracker would accelerate it without any middle layer.

Igor Trindade Oliveira is hoping this state tracker for Cairo will make things go significantly faster, particularly with the more advanced operations. Igor's current code-base of this Cairo-Gallium3D work can be found at FreeDesktop.org. So far Igor's state tracker is a few hundred lines of code that has initial implementations for Cairo paths and painting, but obviously the work has just begun.

Right now it also looks like he's just focusing on making it work with the Softpipe driver, but not any of the hardware drivers yet or even the interesting LLVMpipe.

While his first blog post is a bit lax on details, it can be found here.

In other news related to the X.Org GSoC happenings this summer, Tom Stellard who has been working on the R300 GLSL improvements has just pushed a new branch of his code that enables hardware loops and branching for ATI R500 (Radeon X1000) graphics cards. Information regarding this branch can be found on mesa-dev.

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. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. A New X.Org-Free Wayland LiveCD Released
  2. Intel Shows Off GNOME3-Based Tizen Shell
  3. Is there anyway to improve the performance of the...
  4. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  5. Steam: No used games...
  6. New Intel X.Org Driver Supports All Of Haswell
  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