Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Getting Started

Users expect OpenGL applications to have fluid graphics that display without glitches. The more complex the graphics in an OpenGL application are, the more important it is for you to optimize performance and use resources wisely. When an OpenGL application performs less optimally than desired, the cause is often not obvious. That’s where the OpenGL Profiler can be of value to you. After installing the Mac OS X Developer Tools, you can find OpenGL Profiler in /Developer/Applications/Graphics Tools.

This chapter:

Before reading this chapter, you may want to read the “Improving Performance” chapter in OpenGL Programming Guide for Mac OS X. That chapter provides a list of best programming practices for OpenGL and shows how to gather baseline data using a few Apple tools in addition to OpenGL Profiler, including Shark. In fact, prior to using OpenGL Profiler, it’s best to start your analysis with Shark. The results from Shark will help you determine how to focus your efforts with OpenGL Profiler, or whether you even need to use the profiler application. It may be that your application’s problems are not due to your OpenGL code!

Contents:

Overview
Before You Use OpenGL Profiler on a System
Starting a Profiling Session
Customizing Launch Settings
Viewing a Trace
Viewing Statistics
Viewing Pixel Format Context Parameters




< Previous PageNext Page > Hide TOC


Last updated: 2008-02-08




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice