| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: If666053e03e67b49c3337129be869ebe996ec58d
|
|
|
|
|
|
| |
b/17106700
Change-Id: I584d546502535d5390ca7b24029205895ce97550
|
|
|
|
|
|
|
| |
This is a short term workaround until the state information can
be updated properly with actual values from the device.
Change-Id: I4387613f320deb9a88d3810a81910f348c9839f6
|
|
|
|
|
|
|
|
|
|
|
| |
One of the arguments for glVertexAttribPointer is a pointer.
Rather than assuming that this is always encoded as a 32 bit
integer, the code now checks whether it is 32 or 64 bit before
attempting to access it.
This CL also changes the state to keep the pointer as 64 bit.
Change-Id: I3cfcc746b76c15409b91fb2f7079940f7cded32f
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I9862a6ebc25b4c13488b9fe0451bdfd8f5a6ef26
|
| |
| |
| |
| |
| |
| |
| | |
If data is of float type, then we assume that it is meant for
the alpha channel even if it is marked as R/G or B channels.
Change-Id: I8a95c3533def4a5bdb2b49e9489674bffb2a0cef
|
|/
|
|
|
|
|
|
|
| |
This CL adds the following to support ES3:
- all new constant definitions (GLEnum)
- new methods in entries.in
- additional state for texture properties
Change-Id: Ia43fac49790cc7b07e7c9d295b9915e416a3b2a8
|
|
|
|
| |
Change-Id: Ifae3f44ec25a57586c7ece08f6281ef048f33290
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, applications have to be launched with gltrace
enabled for OpenGL tracing to work. This patch provides the host side
support for dynamically enabling/disabling tracing on running apps.
At a high level, the functionality is similar to traceview:
- ClientData#FEATURE_OPENGL_TRACING indicates whether the VM on
the device supports this feature.
- If the feature is supported, then JDWP is used to send the
enable or disable messages.
- Users can trigger OpenGL tracing via a toolbar item in the DDMS
device view.
Change-Id: Icf5e5eade74f94cf6a74ff793533f75f1853731f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the currently displayed frame is changed, we immediately
refresh the tree displaying the list of calls, and the frame summary
view displaying the frame buffer as part of the frame change event
handler.
This CL moves these two operations to a separate task that is
scheduled after a short delay (250 ms). This allows us to combine
multiple frame change events and respond just once for all of them
together.
Change-Id: I4edade1e55cbd7394cba03d97b2ee61ca3a258b6
|
|
|
|
|
|
|
|
|
|
| |
Textures that are not of type unsigned byte need to be
unpacked into unsigned byte (1 byte per channel) first.
This CL also increases the protobuf message size and
fixes an NPE that happens when the trace is empty.
Change-Id: I01f20d6292425dbd553f006947dfd1024c6503c6
|
|
|
|
| |
Change-Id: I448d7962e9b709658095240160f16abc8b040ecc
|
|
|
|
| |
Change-Id: I2ae46d99d65e527840ef4536665a15453b1fef7b
|
|
|
|
|
|
|
|
|
| |
While reading in framebuffer data into an SWT ImageData, the alpha
values have to be set explicitly.
This CL also moves toolbars to the right of filter bar.
Change-Id: I628752382c82ff9df729590459fba09bf4f340b0
|
|
|
|
| |
Change-Id: I7140f8e71167dc4a8fd8481782f29822844e28c7
|
|
|
|
|
|
|
|
|
|
|
|
| |
These were originally saved with the idea that if the trace file
itself was overwritten after it was parsed, we could display
the thumbnail image atleast since we don't have access to the full
image anymore.
However, this hasn't turned out to be a common case, but it just
uses up memory for large traces.
Change-Id: I1152e23f29563f47b6818b89c5a50bf5ce2a5084
|
|
|
|
|
|
| |
Also adds toolbar actions for expanding/collapsing all tree nodes.
Change-Id: I410b23fb4c5ab90351b969296f2620fe36726785
|
|
|
|
|
|
|
|
| |
Add a toolbar item that allows saving images displayed in the view.
This allows saving of frame buffer image at the point of eglSwap,
glDraw, and the texture image.
Change-Id: Ie1df75e41fc12981c2b7f5919caeb39b68812cff
|
|
|
|
|
|
|
| |
Use the percent of file parsed as an indicator rather than having
an indeterminate progress bar.
Change-Id: I7a904e007c6ec195cb0e0bb2de7483e3b585489b
|
|
|
|
| |
Change-Id: If96389ad844e19eeed86008edc40bc81778dd0d7
|
|
|
|
|
|
|
|
|
|
| |
Add a separate checkbox to allow the user to indicate whether
the input activity name is fully qualified. In such a case, don't
prefix the activity name with a period.
Also fixes a formatting issue with the trace file size.
Change-Id: Ib4bf2b716e218e86a273200748fbd06c86918ce3
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The OES_EGL_image_external extension adds an additional state,
TEXTURE_EXTERNAL, to each texture unit.
Change-Id: I78c4cc1b1344a393183fd9004b5d85e1837da5bc
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Set a floor value for font width when used to determine how wide
widgets should be.
Change-Id: I3b7f1e75051032e9e234c92360903c161d233832
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Helps frame the image when the image is mostly transparent.
Change-Id: I933247e6ee4b634ecfe26c3dea2408d57f930047
|
|\ \ \
| |/ / |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Textures can have multiple mipmap levels. To view the uploaded
texture requires that you explicitly select a particular mipmap
level. However, in many cases, there is only 1 level (level 0).
In such cases, rather than having to drill down the hierarchy
and then select mipmap 0 to view the texture, this CL allows
just selecting the texture to trigger a display of the zeroth
mipmap if it is available.
Change-Id: I9f7f8f10f99945377c6cb7dfab19db75cea383e0
|
|/
|
|
|
|
|
|
|
|
|
| |
- Automatically open the trace file after trace has been captured
rather than user having to manually open it.
- If the file is already open, then the editor needs to be able
to just update its internal model. Likewise for all the associated
views (Details, State and Summary views).
- Fix a few NPE's that may occur if the trace file is invalid.
Change-Id: I2c311bdd93fe4214fa2ebfbc49ff40f7cb5c2170
|
|
|
|
| |
Change-Id: I3eff6c3710a7bb642619876a8f3f728e08fead6f
|
|
|
|
| |
Change-Id: Ic910902519eed907a184f5f808aa2aabaa558fa9
|
|
|
|
|
|
|
|
| |
Rather than failing to parse the entire file, just ignore the
fb image if it can't be parsed. This should allow viewing the rest
of the data in the trace except for just the image.
Change-Id: I0d875cf45e09a29022b5b9a18d33601bb92225a5
|
|
|
|
| |
Change-Id: Ic54d7e5b77bf6912b54855c5b30d8fcf790ff311
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL improves the initial flow to obtain the trace options
from the user and launch the application in trace mode.
- A separate text box is provided if a non-default activity
should be launched for tracing.
- If that application to trace is already running, it needs
to be killed before starting it in trace mode. The tracer
will now wait (upto a timeout value) until it detects that
the application was killed before launching it in trace mode.
- Similarly, the tracer waits until it knows that the app
has launched before attempting to connect to it.
- Checks if device is at API level 16.
Change-Id: Iea5be6d76b6e78ea68a05b893aef993099363555
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are a number of places where we need to display a device
name. Currently, DDMS shows the serial number + manufacturer/model
if available, but in other instances, we just show the serial
number.
This CL provides a getName() method in the IDevice interface so
that all the locations which require a human readable name can
use this.
The name is typically of the form manufacturer-model-serial.
If the manufacturer/model strings are not available, then those
fields are omitted, so it will show just the serial number.
Change-Id: I80ef7b48a4c7c8587042c1227c932251e18dba2e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Fix default message shown for activity
- Make trace file path text editable
- Save/Restore last used device
Change-Id: I762a054e16c8ac5418375a5ac2086add7f631e45
|
|/
|
|
|
|
|
|
|
|
| |
This CL allows the default action to be either of the "Find Next"
or the "Find Previous" buttons in the find dialog.
Typically, in logcat you want to find previous, while in gltrace
view you want to find next.
Change-Id: Ie11cbd8a7987b8011ec2ee3664034e9ecfc4e24b
|
|
|
|
| |
Change-Id: I39782b06d6ebbfdde55cc76ed3c09424fef3dcda
|
|
|
|
| |
Change-Id: Iccf4150b48eb2910a47d1c4bf31e3b3252e20628
|
|
|
|
|
|
| |
This is a hack to allow tracing of processes like surfaceflinger.
Change-Id: I4b542ac95487ed2488796944c98d2d317c3ee428
|
|
|
|
|
|
|
| |
The trace control protocol requires that the size of the command
be sent before the command itself.
Change-Id: I75aa26289fcdb8cd23e1ee3a8a088b85599e186c
|
|
|
|
| |
Change-Id: I5a0ec359145e815a2437ef766843d2cb5267c795
|
|
|
|
| |
Change-Id: I8b78a7df6cd2e40d19ff811ced3e0e7cbe3298c6
|
|
|
|
| |
Change-Id: Ic6e98ddf98ec212eaff273177c0910456b9dba9e
|
|
|
|
|
|
|
|
|
| |
This patch changes the way the app is launched for OpenGL Tracing
to use the newly added --opengl-trace option to am start.
It also makes sure that any errors that occur during launching
are reported back to the user.
Change-Id: I0fc308f7309b79ec33096678d4d33077a59724f0
|
|
|
|
|
|
|
|
|
| |
This patch adds a Eclipse Message Console for GLTrace View.
Errors that occur during creation of state transformations,
and during application of these transformations are displayed
in this console.
Change-Id: If8686217f7809efeea39d088d70ab665af674930
|
|
|
|
|
|
|
|
| |
This patch adds initial support for glVertexAttribPointerData() calls.
A detail provider for this call displays the vertex attributes that
were actually sent at the time of glVertexAttribPointer() call.
Change-Id: I79fe961ce1dcc15c4601ec213d09625986775ae5
|