History log of /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/GLCallGroups.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
eabd4728ba5497fcb793576bf0619b27bbb1e919 07-Feb-2012 Siva Velusamy <vsiva@google.com> gltrace: Use half-open ranges when defining frames.

A GLFrame maintains the start and end indices of the GL Calls
composing that frame. Currently, the indices comprise a closed
range (i.e. include both the call at the start index and the call
at the end index). This patch makes it a half open range (the
end index is excluded) to make things easy to follow.

Change-Id: Ie44b56a32d002595493b11f496ebf123072f8962
2d2ce406cbba6d31981db8f9fcea7ad6d2174d18 01-Feb-2012 Siva Velusamy <vsiva@google.com> gltrace: Display Calls in a Hierarchy

This patch uses the gl extensions glPushMarker and glPopMarker in
the trace file to construct call hierarchies. The call hierarchies
are then displayed in a tree view.

In order to perform this, the main widget in the GLFunctionTraceViewer
has been changed from a Table to a Tree. The model for the tree
is GLCallNode, which is a thin wrapper on top of a GLCall.

A hierarchy can only be displayed if there is a single context
that is being viewed. If a trace file has multiple contexts, then
a context selector Combo box is provided that controls which
context is being viewed.

Change-Id: I043db99c15dfcc179fcffb656f3ffd2d9864f848