diff --git a/docs/html/images/gltracer/dialog-trace.png b/docs/html/images/gltracer/dialog-trace.png new file mode 100644 index 0000000000000..86676235eb139 Binary files /dev/null and b/docs/html/images/gltracer/dialog-trace.png differ diff --git a/docs/html/images/gltracer/icon-capture.png b/docs/html/images/gltracer/icon-capture.png new file mode 100644 index 0000000000000..9cbdb3b7b1ced Binary files /dev/null and b/docs/html/images/gltracer/icon-capture.png differ diff --git a/docs/html/images/gltracer/icon-load-trace.png b/docs/html/images/gltracer/icon-load-trace.png new file mode 100644 index 0000000000000..f3957b8e3d0fd Binary files /dev/null and b/docs/html/images/gltracer/icon-load-trace.png differ diff --git a/docs/html/tools/help/gltracer.jd b/docs/html/tools/help/gltracer.jd new file mode 100644 index 0000000000000..35c405ef7a9b2 --- /dev/null +++ b/docs/html/tools/help/gltracer.jd @@ -0,0 +1,103 @@ +page.title=Tracer for OpenGL ES +@jd:body + +
Tracer is a tool for analyzing OpenGL for Embedded Systems (ES) code in your Android application. +The tool allows you to capture OpenGL ES commands and frame by frame images to help you understand +how your graphics commands are being executed.
+ +Note: The Tracer tool requires a device running Android 4.1 (API +Level 16) or higher.
+ + +Tracer can be run as part of the Eclipse Android Development Tools (ADT) plugin or as part of the +Device Monitor tool.
+ +To run Tracer in Eclipse:
+ +To run Tracer in Device Monitor:
+ +Tracer captures OpenGL ES command execution logs and can also capture progressive images of the +frames generated by those commands to enable you to perform logical and visual analysis of your +OpenGL ES code. The Tracer tool operates by connecting to a device running Android 4.1 (API Level +16) or higher that is running the application you want to analyze. The Tracer tool captures trace +information while the application is running and saves it to a {@code .gltrace} file for +analysis.
+ +
+Figure 1. Trace capture dialog box.
+ +To capture an OpenGL ES trace for an Android application:
+ +Note: If you are tracing the default activity for the +application, you can leave this field blank.
+Note: If you want to capture progressive frame images for each +drawing call, enable the Read back currently bound framebuffer on glDraw*() option. +Be aware that using this option can result in large trace files.
+After you have generated a trace, you can load it for review and analysis.
+ +To review a captured trace:
+ +Android Debug Monitor is a stand-alone tool that provides a graphical user interface for +several Android application debugging and analysis tools. The Monitor tool does not +require installation of a integrated development environment, such as Eclipse, and encapsulates the +following tools:
+ +To start Debug Monitor, enter the following command from the SDK tools/
+directory:
monitor+ +
Start an Android emulator or connect an Android device via USB cable, and connect the Debug +Monitor to the device by selecting it in the Devices window.
diff --git a/docs/html/tools/tools_toc.cs b/docs/html/tools/tools_toc.cs index 94bf8bc8e802b..c7cdded460f3d 100644 --- a/docs/html/tools/tools_toc.cs +++ b/docs/html/tools/tools_toc.cs @@ -130,6 +130,7 @@ class="en">Tools Help