new image cache design for waveviews, with various fixes.
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 20 Jun 2013 18:37:31 +0000 (14:37 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 20 Jun 2013 18:37:31 +0000 (14:37 -0400)
commit27c943f1ddca0890ac2e5547b249334e0266c0a5
treefd3c1c6b4421cfbf720d3a91ab58141461446017
parent3604bf12a2806b2a21b4ac6a1776fa55ed7963b4
new image cache design for waveviews, with various fixes.

Rather than maintain a set of images in a cache, when we no longer have the required waveform data, create a new image that is appropriately centered and extends to roughly twice the screen width (or the limits of the region's source file(s), as necessary)
libs/ardour/audiosource.cc
libs/canvas/canvas/wave_view.h
libs/canvas/wave_view.cc