Mesa Gets OpenGL 3.0 Floating-Point Depth Buffers

Posted by Michael Larabel on July 10, 2011

Yet again Marek Olšák has made another great improvement to Mesa. Recently this independent developer has been working quite a lot in implementing OpenGL 3.0 support for the open-source Mesa stack. Ending out this weekend, he now has working OGL3 floating-point depth buffers per the GL_ARB_depth_buffer_float extension.

Via a handful of commits a couple hours ago, Marek landed the depth_buffer_float work. This is for core Mesa and Gallium3D. Fully implementing this support required a fair amount of work, but yet again Marek has managed to deliver. These patches originally appeared on the Mesa mailing list by Marek earlier in the month, but were now just committed to Mesa Git master.

This Phoronix Forums member has also pushed the initial depth_buffer_float render-buffer support into the R600 Gallium3D driver for the Radeon HD 5000 series and newer.

The GL_ARB_depth_buffer_float extension provides new texture internal formats where the depth components are stored as 32-bit floating-point values rather than unsigned integers. As part of it, the extension provides new packed depth/stencil pixel formats too. See more in the Khronos specification.

With floating-point depth buffers in place, all that's left for OpenGL 3.0 support in Mesa is GLSL 1.30 support, completing non-normalized integer texture/frame-buffer formats, transform feedback, completing sRGB frame-buffer support, depth format cube textures, and GLX_ARB_create_context with GLX 1.4+. The big item on the OpenGL 3.0 TODO list is completing the GL Shading Language 1.30 support.

While it will be a great milestone when OpenGL 3.0 finally arrives, the support is coming about five years after the specification was ratified and there's already OpenGL 3.1, 3.2, 3.3, 4.0, and 4.1 support to address too. When the OGL3.0 support is ready, it will be released as Mesa 8.0, which means we may not see Mesa 7.12. This next Mesa release is set to arrive in January.

Again, nice job Marek. On behalf of the Linux community, he's certainly deserving of some complementary Phoronix beer should be choose to come to the X.Org Developers Conference in Chicago or to Oktoberfest/PhoronixFest.

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. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. Ubuntu Announces Carrier Advisory Group
  2. Qt 5.1 Release Candidate 1 Has Arrived
  3. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  4. Subversion 1.8 Presents New Features
  5. LLVM 3.3 Officially Released
  6. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  7. Intel GPU Driver Tries To Rip Out FBDEV Support
  8. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  9. VP9 Codec Now Enabled By Default In Chrome
  10. openSUSE 13.1 M2 Plays On PulseAudio 4.0
  11. Debian 7.1 Rounds In Some Bug-Fixes
Latest Forum Talk
  1. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  2. Vote for GOG to add Linux versions of games they...
  3. Intel Haswell HD Graphics 4600 vs. AMD Radeon...
  4. Intel GPU Driver Tries To Rip Out FBDEV Support
  5. Mir Still Causing Concerns By Ubuntu Derivatives
  6. Ubuntu Announces Carrier Advisory Group
  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