glvdebug_xgl: Improve performance of appling settings while a ProxyModel is being...
authorPeter Lohrmann <peterl@valvesoftware.com>
Mon, 2 Mar 2015 16:29:23 +0000 (08:29 -0800)
committerPeter Lohrmann <peterl@valvesoftware.com>
Mon, 2 Mar 2015 16:29:23 +0000 (08:29 -0800)
commitdaa049728de3600100b3c2020a8f5cf60fad6568
tree62301ff683841347521e81f92665d16bc9dd642a
parent53e892463a1aaf48ba3899aa6c76dda9c0fb0a6e
glvdebug_xgl: Improve performance of appling settings while a ProxyModel is being used.

* If the ProxyModel (currently either GroupByThreads or GroupByFrames) is not changed when the settings are applied,
then don't reset the ProxyModel's source model. This was causing the tree to get recreated unexpectedly, which can
take significant time on a large trace file.
tools/glave/src/glv_extensions/glvdebug_xgl/glvdebug_xgl_qcontroller.cpp
tools/glave/src/glv_extensions/glvdebug_xgl/glvdebug_xgl_qgroupframesproxymodel.h
tools/glave/src/glvdebug/glvdebug.cpp