History log of /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/DurationMinimap.java
Revision Date Author Comments
fc3fad075b7a8ed83b5e314720868b2db19ee9c8 15-Aug-2012 Siva Velusamy <vsiva@google.com> gltrace: open trace file immediately after capture

- 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
0ff2ba13c64c5234e012326130dc5f08332951d4 06-Mar-2012 Siva Velusamy <vsiva@google.com> gltrace: Display state transformation errors in a console.

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
ec09fee41c98095ac862963d22e9d602504a999e 17-Feb-2012 Siva Velusamy <vsiva@google.com> gltrace: Show wall time and thread time.

Extend the protobuf to include wall time and thread time.
Both durations are displayed in the function view.

Change-Id: I407255464469195f7e6cf1a4b526637cb7c02823
d1154ef2ddc5c8a30746bff301dfb319b59a56e7 07-Feb-2012 Siva Velusamy <vsiva@google.com> gltrace: always display eglSwapBuffer in duration mini map.

eglSwapBuffer call is takes a really short time on the device,
and so doesn't show up at all in the duration minimap. This patch
explicitly sets the duration to be a high enough value so that
eglSwapBuffer is clearly visible.

Change-Id: If59a7c869b5b3f5b39dd130714197c7efabdd0ae
1d286dc8b0ef64b9771f3fb6a11a8eddc58ea3a4 27-Jan-2012 Siva Velusamy <vsiva@google.com> gltrace: color glDraw() functions differently

This patch makes the glDraw*() calls stand out in the table and
in the duration minimap by coloring them differently than the rest
of the functions.

This patch also changes displays the contents of the framebuffer
in the framebuffer view as soon as a frame is selected (as
opposed to updating the view only when the eglSwapBuffer function
is selected).

Change-Id: I749e277e468003612895c45d90a5874b2a84e4d3
cce527bc20aff16b0fbb11d6093159c823aa1038 23-Jan-2012 Siva Velusamy <vsiva@google.com> gltrace: manage texture image state changes

Texture Data is provided via glTexImage2D. Parts of a created
texture may then be updated using glTexSubImage2D. This patch
adds a GL state variable that maintains a path to the current
texture image for each texture.

This patch also includes a few other misc. changes:
- Duration minimap: do not create back buffer image of size 0.
In such a case, just don't draw anything.
- In the function trace view, selecting a particular item in
the table doesn't also scroll it into view on Mac. Add
a setTopIndex to fix this.
- add Guava is a dependency
- Apply the state transformations in a separate Eclipse job.

Change-Id: I53f5a0438217d9d086b844f7d333306f7c9fbccd
f4fd8d98805bc03cb46a5102f6bab55f1dda3bec 10-Jan-2012 Siva Velusamy <vsiva@google.com> gltrace: create call duration mini map

Having a combined frame selector + call duration viewer seemed
confusing, so this patch removes the frame selector canvas, and moves
the call duration view to the right of the table. The call duration
view now looks like a mini map of the calls displayed in the table.

Change-Id: I82827642aa462809065d1a7945f8903bd6a99e38