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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Benchmarking The Intel P-State, CPUfreq Changes
  3. Jolla Announces Their First Phone
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  5. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  6. Handbrake 0.9.9 Supports OpenCL Offloading
  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