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.

Latest Linux Hardware Reviews
  1. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  2. Overclocking The AMD AM1 Athlon & Sempron APUs
  3. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  4. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  2. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  3. QEMU 2.0 Released With ARM, x86 Enhancements
  4. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  5. R600 Gallium3D Disables LLVM Back-End By Default
  6. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  7. Fedora Workstation Is Making Me Quite Excited
  8. Maynard: A Lightweight Wayland Desktop
  9. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  10. KDE 4.13 Is Being Released Today With New Features
  11. Trying Out Radeon R9 290 Graphics On Open-Source
  12. Intel Broadwell GT3 Graphics Have Dual BSD Rings
Latest Forum Discussions
  1. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Suspected PHP Proxy Issue
  4. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  5. The GNOME Foundation Is Running Short On Money
  6. Change installation destination from home directory
  7. Bye bye BSD, Hello Linux: A Sys Admin's Story
  8. New tool for undervolt/overclock AMD K8L and K10 processors