1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

An OpenGL Optimization Extension Merged Into Mesa

Mesa

Published on 06 October 2013 02:49 PM EDT
Written by Michael Larabel in Mesa
18 Comments

Yesterday Mesa received support for a new OpenGL extension and after that another useful OpenGL 4.2 extension was added to Mesa and implemented within the Intel OpenGL Linux driver. This latest extension can be used for a driver performance optimization.

The newest extension implemented in Mesa and more specifically the Intel DRI driver is ARB_conservative_depth. The ARB_conservative_depth extension has been implemented for Ivy Bridge "Gen7" hardware and newer. With time, the extension will be implemented by the Radeon and Nouveau Gallium3D drivers. There is also support for ARB_conservative_depth within the Softpipe driver.

OpenGL's ARB_conservative_depth extension allows games and applications to pass information to the OpenGL driver for implementing a performance optimization of an early depth test run before the fragment shader so the driver can skip the evaluation process if the fragment will be discarded due to being occluded.

The OpenGL.org registry lays out the extension in full.
There is a common optimization for hardware accelerated implementation of OpenGL which relies on an early depth test to be run before the fragment shader so that the shader evaluation can be skipped if the fragment ends up being discarded because it is occluded.

This optimization does not affect the final rendering, and is typically possible when the fragment does not change the depth programmatically. (i.e.: it does not write to the built-in gl_FragDepth output). There are, however a class of operations on the depth in the shader which could still be performed while allowing the early depth test to operate.

This extension allows the application to pass enough information to the GL implementation to activate such optimizations safely.
The ARB_conservative_depth extension is a requirement for OpenGL 4.2 compliance. This Git commit enabled the Intel i965 ARB_conservative_depth depth support for Gen7+ hardware.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. SilverStone Precision PS10
  2. ASRock Z97 Extreme6
  3. Nouveau Re-Clocking Is Way Faster, Shows Much Progress For Open-Source NVIDIA
  4. NVIDIA Wins Over AMD For Linux Gaming Ultra HD 4K Performance
Latest Linux Articles
  1. Preview: Benchmarking CentOS 7.0 & Scientific Linux 7.0
  2. Linux 3.16 File-System Tests On A Hard Drive
  3. Benchmarking Deepin 2014 With DDE 2.0 Using Linux Games
  4. Testing Btrfs On The Linux 3.16 Kernel
Latest Linux News
  1. NVIDIA Updates Its Linux Legacy Driver For GeForce 6/7 GPUs
  2. CrossOver 13.2.0 Allows Easier Package Installation On Linux
  3. More "Mega Driver" Work Merged For Mesa
  4. The Beta To The Final Minor Release Of RHEL5 Is Out
  5. The Witcher 2 Works On Beta Improvements
  6. Fedora Gets A Kernel Playground Repository
  7. Firefox Might Finally Be Moving Closer To Better KDE Integration
  8. RealVNC Introduces VNC Wayland Developer Preview
  9. Looking Forward To The Future Of KDE Frameworks 5
  10. Mageia 5 Alpha Updates A Lot Of Software
Latest Forum Discussions
  1. Using Udev Without Systemd Is Going To Become Harder
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Some shady script in Phoronix opening shady ad in new tab
  4. Advertisements On Phoronix
  5. Glamor now enabled in Debian radeonsi
  6. Qualcomm DMCA Notice Takes Down 100+ Git Repositories
  7. Lennart: The State & Future Of Systemd
  8. Maker3D - create your 3D RPG

Close Advertisement

Close Advertisement