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.

bullet
To find issues using the OpenGL ES Analyzer instrument
  1. Open the OpenGL ES Analysis template in the iOS group.

  2. Click the Choose Target pop-up menu and select your iOS device.

  3. Click the Choose Target pop-up menu a second time and choose the app you want to analyze.

  4. Click the Record button and exercise your OpenGL graphics code.

  5. When issues stop accumulating in the Detail pane, click the Stop button.

    ../Art/opengl_es_analyzer.png

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.

../Art/OpenGL ES Analizer recording GLSprite500x368-4.png

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.