OpenGL Profiler collects trace and statistics for applications that use OpenGL. A trace is an ordered list of the OpenGL calls made by an application. Each entry in a trace shows a function name and the values of the parameters passed to the function. Statistics show cumulative totals, by function, for the number of times an application calls a function and the execution time of the function. You can also see the average execution time for a function, the percentage of time a function is used by OpenGL, and the percentage of time a function is used by the application.
The OpenGL functions that you’ll see in the trace and statistics include those defined by the OpenGL specification (see http://www.opengl.org) as well as the functions that are part of the low-level Mac OS X OpenGL programming interfaces—CGL. (See CGL Reference.)
OpenGL Profiler is also useful for inspecting and controlling various aspects of your application. For example, you can:
View the OpenGL resources your application uses, such as textures, vertex programs, and shaders.
View buffer contents, such as the depth and back buffers
Set breakpoints on specific OpenGL functions and view the call stack
Attach a script of OpenGL commands that executes at a breakpoint
Enable or disable individual OpenGL commands
Last updated: 2008-02-08