summaryrefslogtreecommitdiff
path: root/libs/canvas/canvas
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-06-23 14:26:10 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-23 14:26:26 -0400
commite9224a58d187a8fc403ffff904648d28f5045d69 (patch)
treea35d785f7b9906b7d8c2ff6149c218cca524701b /libs/canvas/canvas
parent2cb511e25a94b881a43e4e35972c247d9ad3930b (diff)
several changes, major and minor, to improve threaded waveview rendering
Diffstat (limited to 'libs/canvas/canvas')
-rw-r--r--libs/canvas/canvas/wave_view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/canvas/canvas/wave_view.h b/libs/canvas/canvas/wave_view.h
index dc3fe4e13c..c4e19ec7bb 100644
--- a/libs/canvas/canvas/wave_view.h
+++ b/libs/canvas/canvas/wave_view.h
@@ -311,7 +311,6 @@ public:
double _amplitude_above_axis;
float _region_amplitude;
double _start_shift;
- mutable bool idle_queued;
/** The `start' value to use for the region; we can't use the region's
* value as the crossfade editor needs to alter it.
@@ -378,6 +377,8 @@ public:
ArdourCanvas::Coord y_extent (double) const;
void compute_tips (ARDOUR::PeakData const & peak, LineTips& tips) const;
+ ARDOUR::framecnt_t desired_image_width () const;
+
void draw_image (Cairo::RefPtr<Cairo::ImageSurface>&, ARDOUR::PeakData*, int n_peaks, boost::shared_ptr<WaveViewThreadRequest>) const;
void draw_absent_image (Cairo::RefPtr<Cairo::ImageSurface>&, ARDOUR::PeakData*, int) const;
@@ -392,7 +393,6 @@ public:
mutable boost::shared_ptr<WaveViewCache::Entry> _current_image;
mutable boost::shared_ptr<WaveViewThreadRequest> current_request;
- bool idle_send_request () const;
static WaveViewCache* images;