glvdebug: Improve replay highlighting of api calls on stop / finish.
authorPeter Lohrmann <peterl@valvesofware.com>
Tue, 27 Jan 2015 20:45:06 +0000 (12:45 -0800)
committerJon Ashburn <jon@lunarg.com>
Thu, 12 Feb 2015 15:08:26 +0000 (08:08 -0700)
commitb475ac7716f9a855335a36fe2e8cc276f9c3ef45
treeea24dfa156e792f1be12eb68b9db30fb78006934
parente46fce564ab320a4ee46d6cb14f2631ccc15fa8f
glvdebug: Improve replay highlighting of api calls on stop / finish.

* Fix a bug where the 'play to here' context menu option was not working correctly if a proxy model was used on the treeView.
* Reset the 'play to here' indicator after the api call is reached, otherwise subsequent 'play' would continue to pause on the 'play to here' call.
* Previously there was a sense of incompletion when the replay finished because the tree view would not update to reflect the new location. The treeView now highlights the final API call when the replay is finished.
* Previously when the replay was stopped, the treeView was not updated to a new location. Since stopping the replay also resets it back to the beginning of the trace, the first API call is now selected.
* Pausing continues to select the API call that was paused on.
tools/glave/src/glvdebug/glvdebug.cpp
tools/glave/src/glvdebug/glvdebug.h
tools/glave/src/glvdebug/glvdebug_QReplayWorker.h