Use a dumb cache for waveview ImageSurfaces. This halves the size of the
authornick_m <mainsbridge@gmail.com>
Sat, 7 Jun 2014 15:47:38 +0000 (01:47 +1000)
committernick_m <mainsbridge@gmail.com>
Sat, 7 Jun 2014 15:47:38 +0000 (01:47 +1000)
commit7a05dde39d2c98e1317e84c19629d6a7634799e2
treeff3abbdd04234fcec2382e769775038a7fb67c9f
parent5288de3dc0467efd9f073bac62bbb8a50558f6c8
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).
gtk2_ardour/time_axis_view_item.cc
libs/canvas/canvas/wave_view.h
libs/canvas/wave_view.cc