The Vega State Tracker Gets Cleaned, OpenVG 1.1

Posted by Michael Larabel on November 30, 2010

Chia-I Wu, the developer who previously worked on the EGL state tracker, brought Mesa to Android netbooks, and allowed Nouveau to work on Wayland (and now is doing work for LunarG), has some improvements to the Vega state tracker. Namely he has cleaned up this Gallium3D state tracker for Mesa and additionally has a branch containing OpenVG 1.1 support.

The Vega state tracker implements OpenVG support on the Gallium3D driver architecture but up to this point it's only implemented the Khronos OpenVG 1.0 specification. With thousands of new lines of code added to the cleaned-up Vega, OpenVG 1.1 is now ready. The new features include mask layer support, text support, and a new color transformation stage.

The cleaned-up branch done by Chia-I is named vega-polish and it adds support for states to the Vega renderer that's used for rendering commands to the Gallium3D pipe context. With the added renderer states to this open-source code, the Vega state tracker is refactored to no longer depend upon OpenVG states but the pipe context state manipulation is all handled by the Vega renderer, in other words there's now a clean layer of abstraction. Additionally, "The benefits of the changes are that code that handles OpenVG functions and code that sets pipe_context is no longer fixed. Since the renderer is an opaque object, its implementation can be changed: Use a different pipe_context function for an OpenVG function or the frequency of pipe state changes may be minimized."

For those not familiar with OpenVG, here's the description from Khronos: "OpenVG is a royalty-free, cross-platform API that provides a low-level hardware acceleration interface for vector graphics libraries such as Flash and SVG. OpenVG is targeted primarily at handheld devices that require portable acceleration of high-quality vector graphics for compelling user interfaces and text on small screen devices - while enabling hardware acceleration to provide fluidly interactive performance at very low power levels." OpenVG 1.1 is the latest version of this specification and it was released in late 2008. At least the open-source graphics community can be caught up to speed on the OpenVG front, but with OpenGL they are years behind.

Additional details on the technical changes and where these two Mesa branches with the revised Vega state tracker can be found are available in this mailing list message.

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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. FreeBSD Still Working On Next-Gen Package Manager
  3. Modern Intel Gallium3D Driver Still Being Toyed...
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  5. Benchmarking The Intel P-State, CPUfreq Changes
  6. Jolla Announces Their First Phone
  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