Introduction

OpenGL Profiler is an application that’s useful for debugging and assessing performance. It lets you look inside a running application and observe how the application uses OpenGL. It can track the OpenGL functions used by an application, how often each is used, and the execution time of each function. Using this data, you can determine how efficiently an OpenGL application uses the GPU. You can then use the data to guide application development, modifying those parts of the code that slow performance or appear to use resources inefficiently.

OpenGL Profiler has a variety of interactive features. After setting breakpoints, developers can investigate application resources (textures, programs, shaders, and so on), examine the values of OpenGL context parameters, look at buffer contents, and check other aspects of the OpenGL state.

You’ll want to read this document if you develop applications that use OpenGL on OS X. By reading it, you’ll learn how to set up OpenGL Profiler, collect data, set breakpoints, and use the results to track down problems.

Organization of This Document

This document is organized into the following chapters:

See Also

These documents contain information that can help you analyze and optimize your OpenGL code: