summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view_item.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2014-06-08 01:47:38 +1000
committernick_m <mainsbridge@gmail.com>2014-06-08 01:47:38 +1000
commit7a05dde39d2c98e1317e84c19629d6a7634799e2 (patch)
treeff3abbdd04234fcec2382e769775038a7fb67c9f /gtk2_ardour/time_axis_view_item.cc
parent5288de3dc0467efd9f073bac62bbb8a50558f6c8 (diff)
Use a dumb cache for waveview ImageSurfaces. This halves the size of the
previous one, but usually ends up using three of them at the current CACHE_HIGH_WATER setting. Should result in a smaller memory footprint for sessions with multiple copies of nearby audio segments (electronic style). The downside is the larger memory footprint for linear recording sessions if CACHE_HIGH_WATER > 1 (1 giving a max of two half - sized cache entries per audio stream).
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r--gtk2_ardour/time_axis_view_item.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc
index 0ae4ec72f2..987e541144 100644
--- a/gtk2_ardour/time_axis_view_item.cc
+++ b/gtk2_ardour/time_axis_view_item.cc
@@ -936,6 +936,7 @@ TimeAxisViewItem::reset_width_dependent_items (double pixel_width)
_width = pixel_width;
manage_name_highlight ();
+ manage_name_text ();
if (pixel_width < 2.0) {