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. 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. Unity 8, Mir Made Progress This Week On Features
  2. LLVM Clang 3.3 RC2 Is Ready For Testing
  3. AMD RadeonSI Gallium3D Begins Simple CL Demos
  4. Intel Shows Off GNOME3-Based Tizen Shell
  5. Linux Desktop Security Could Be A Whole Lot Better
  6. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  7. New NVIDIA Linux Driver Supports The GeForce GTX 780
  8. Chrome 28 To Offer More Speed Improvements
  9. Digia Announces "Boot To Qt" Project
  10. X.Org Libraries Hit By Round Of Security Issues
  11. Wayland's Weston Gets Output Scaling Support
Latest Forum Talk
  1. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. AMD RadeonSI Gallium3D Begins Simple CL Demos
  3. Sun x4500 firmware
  4. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  5. Could the forum help improve the quality of...
  6. Linux Desktop Security Could Be A Whole Lot Better
  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