OpenGL Headline News

OpenGL Timer Query Tutorial @ Lighthouse3d

Category: Developers

Jun 09, 2011

In March, 2010, the Khronos group approved an extension to add timers to OpenGL. The version was 3.2. As of OpenGL 3.3 this functionality has become part of the specification. Profiling is an essential technique to truly understand how to improve the performance of an application. Being able to get time measurements is important both in the development stage as well as during run-time after the application has been released. OpenGL Timer Queries allows us to profile the GPU. i.e. to determine the amount of time it takes to execute a command, or sequence of commands in the GPU. This tutorial shows how to use the timer functionality, and describes a technique similar to double buffering to prevent the application from getting stalled while waiting for the query results.

Read more OpenGL news

temperature-friend