summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ghostregion.h
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-12-24 02:01:37 +1100
committernick_m <mainsbridge@gmail.com>2016-12-24 02:01:37 +1100
commitda92d2d7648d2625b69fff60a0d645d55e0fa9ac (patch)
tree6f4a1874e92083a0901082dc67a84278d4d6887a /gtk2_ardour/ghostregion.h
parent0e8852963e2b9f0bb84258f0fc68d8b135e0a56c (diff)
speed up load/quit for sessions containing ~25k events.
- MGR uses a _note_group to hold events. - MRV & MGR delete canvas notes directly from their note group. - sysex is untested (it uses MRV note group).
Diffstat (limited to 'gtk2_ardour/ghostregion.h')
-rw-r--r--gtk2_ardour/ghostregion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ghostregion.h b/gtk2_ardour/ghostregion.h
index 377530e2ea..0259231551 100644
--- a/gtk2_ardour/ghostregion.h
+++ b/gtk2_ardour/ghostregion.h
@@ -116,6 +116,7 @@ public:
void clear_events();
private:
+ ArdourCanvas::Container* _note_group;
ArdourCanvas::Color _outline;
ArdourCanvas::Rectangle* _tmp_rect;
ArdourCanvas::Polygon* _tmp_poly;