O'Reilly logo

OpenGL ES 2 for Android by Kevin Brothaler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Tracer for OpenGL ES

Starting with Android 4.1, OpenGL applications can also be debugged with the Tracer for OpenGL ES tool.[87] This tool can capture the stream of OpenGL commands sent for each frame rendered, their execution time, and the OpenGL state for each frame. You can run the tracer by following these steps:

  • Switch to the tracer perspective in Eclipse by selecting WindowOpen PerspectiveOther and then select Tracer for OpenGL ES.

  • Click the trace capture button in the toolbar; it looks like the following image:

    images/DebuggingAppendix/captureIcon.png
  • A trace options window will appear, as seen in the following figure. Select the device or emulator instance to debug (keeping ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required