Finding Issues Using the OpenGL ES Analyzer
Analyze your code using the OpenGL ES Analysis template in the Instruments analysis tool and see lists of possible errors with specific recommendations for improvements.
Open the OpenGL ES Analysis template in the iOS group.
Click the Choose Target pop-up menu and select your iOS device.
Click the Choose Target pop-up menu a second time and choose the app you want to analyze.
Click the Record button and exercise your OpenGL graphics code.
When issues stop accumulating in the Detail pane, click the Stop button.
Errors are listed in the Detail pane sorted by their severity. Red squares are used for “most severe” problems and orange triangles are used for “less severe” problems.
The screenshot above shows the OpenGL ES Analyzer displaying trace information from the GLSprite app, including four less severe issues in the Detail pane. A recommendation and the stack trace are displayed in the Extended Detail pane for the issue selected in the detail pane.