Marek Posts Another Important Mesa Patch-Set

Posted by Michael Larabel on July 05, 2012

Less than a day after Marek Olšák posted a set of patches to implement GL4 transform feedback for Mesa/Gallium3D, he's back with another important but separate set of patches.

The latest patch-set to hit the Mesa mailing list from this frequent independent contributor to Mesa is for implementing GL_ARB_timer_query.

The GL_ARB_timer_query extension work for Mesa and Gallium3D isn't brand new, but originally published his original timer query patches in late June. The patches are now updated to use glGet(GL_TIMESTAMP), update all of the Gallium3D patches, and provide GL_ARB_timer_query support for the Gallium3D Softpipe driver.

Besides this being useful as it chips away at what's left to accomplish when it comes to Mesa's GL3 support, GL_ARB_timer_query itself is interesting and useful. As implied by the name, this OpenGL extension provides a query mechanism to accurate determine the amount of time it takes to fully complete a set of GL commands. Therefore this extension can be very useful to both application developers and driver writers with being able to procure accurate timing information to identify bottlenecks.

Using GL_ARB_timer_query is more accurate for identifying OpenGL program/driver bottlenecks over using the CPU time. Using the GL_ARB_timer_query extension will not stall the graphics rendering pipeline but the application is able to poll the data a-synchronously by using the query object mechanisms in the occlusion query extension.

Additional information on this extension can be found in the OpenGL.org specification. Marek's patches are currently being housed in his timer-query branch.

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. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Benchmarking The Intel P-State, CPUfreq Changes
  2. FreeBSD Still Working On Next-Gen Package Manager
  3. DNF Still Advancing As Experimental Yum For Fedora
  4. Logitech Begins Supporting Linux Users
  5. Modern Intel Gallium3D Driver Still Being Toyed With
  6. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  7. GCC 4.8.1 Compiler Due To Be Out Next Week
  8. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  9. Linux's "Ondemand" Governor Is No Longer Fit
  10. Firefox 22 Beta Enables WebRTC Support
  11. OpenSUSE 13.1 Milestone 1 Released
Latest Forum Talk
  1. Linux's "Ondemand" Governor Is No...
  2. DNF Still Advancing As Experimental Yum For Fedora
  3. Modern Intel Gallium3D Driver Still Being Toyed...
  4. The Last GNOME 3.8 Point Release Has Been Made
  5. Sumo Lounge Emperor
  6. Logitech supports linux!
  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