Selecting an application using the
Device
Manager will only capture traces for user 0 in a multi-user Android
installation. To capture a trace for other users, see the instructions for
2.3.3 Preparing to capture non-debuggable applications.
Procedure
-
Open Graphics Analyzer.
-
Click Open the Device Manager
.
-
In the Android tab, choose which device you
want to connect to.
-
Choose the application that you want to capture from the list of available
options.
Figure
3-1 Connect to your Android device in the Device
Manager
-
Select the required API.
-
Click Start Capture.
Results: Graphics Analyzer connects to
your device and installs the layer driver and daemon application that it uses to communicate with
it. When the connection is established, the Device Manager
closes and the live capture is shown.
-
Optionally, select a preset configuration, or choose which API assets are captured.
Figure
3-2 Trace Config dialog
As you enable more asset types, the application runs slower, more memory is required, and the
generated capture file is larger. See 3.4 Configure tracing assets for
more information.
-
Perform your test scenario on the device. Graphics Analyzer displays the data it receives
from the device.
-
When you see a problem area in the capture:
-
When you have captured the data you need, click Stop
tracing
.
Results: The frames are listed in the Trace
Outline view. To identify the type of frame capture you performed, an icon is shown
next to the frames when you have captured extra data.
-
To show only the frames where you have captured extra data, select the Show Only
Frames With Features Enabled check box.
Figure
3-3 Show only frames with features enabled
-
Expand a frame to see the render passes and draw calls within
it. Select frames, renderpasses, and draw calls to explore their data using the
different data views. See Chapter 5 The Graphics Analyzer interface
for more information about the views.
Next Steps
To save or export the capture file, use the options under the File menu.