Eliminate a ton of unnecessary complete redrawing in MIDI stream views:
authorDavid Robillard <d@drobilla.net>
Tue, 23 Sep 2008 02:40:29 +0000 (02:40 +0000)
committerDavid Robillard <d@drobilla.net>
Tue, 23 Sep 2008 02:40:29 +0000 (02:40 +0000)
commitffaf827d93e56052049fc00234283842564821d5
treeb3994950fe34c53f7c4381c384e4fa0c75370d27
parent234d56a8c4da8b3bad47f6f75aa53d1067b1aad9
Eliminate a ton of unnecessary complete redrawing in MIDI stream views:
Only resize vertically (don't reaload model) on range changes.
Keep track of range in model while loading (writing to model), rather than double display MIDI regions to find out.
Don't go crazy and chew CPU blinking around and doing nothing on initial show of MIDI track context menu.
Change radio 'full range' and 'contents range' menu items to non-radio actions that just set the range appropriately.
Fix crashes on some esoteric case of control data I can't figure out, but fixed anyway, so I guess it all worked out well in the end for everybody.

git-svn-id: svn://localhost/ardour2/branches/3.0@3794 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/midi_region_view.cc
gtk2_ardour/midi_region_view.h
gtk2_ardour/midi_streamview.cc
gtk2_ardour/midi_streamview.h
gtk2_ardour/midi_time_axis.cc
gtk2_ardour/midi_time_axis.h
libs/evoral/evoral/Sequence.hpp
libs/evoral/src/ControlList.cpp
libs/evoral/src/Sequence.cpp