ardour/libs
Tim Mayberry 69c29a5346 Reimplementation of large parts of the WaveView class
The drawing itself should be unchanged but much of the rest of the
implementation has changed. The WaveViewThreads and WaveViewDrawingThread
classes were added and allow multiple drawing threads.

The Item::prepare_for_render interface is implemented by WaveView to enable
queuing draw requests for the drawing threads to process as soon as the state
change occurs during Editor::visual_changer, which often means the images will
be finished by the time they are needed in WaveView::render. This can
significantly reduce total render time and also flickering caused by images not
being ready for display.

If the drawing thread/s cannot finish the request by the time it is required in
WaveView::render then cancel it and draw the WaveViewImage in the GUI thread if
it is likely it can be completed in the current render pass/frame.  This change
also helps reduce the flickering caused by images not being ready with threaded
rendering, but with several drawing threads, drawing in the GUI thread may not
often occur (unless explicitly requested).

Allow unfinished images to be returned from the cache in
WaveView::prepare_for_render so that new draw requests aren't queued for
duplicate images. This reduces the amount of drawing for instance in
compositions where there are many instances of the same sample/waveform
displayed on the canvas as only a single image should be drawn.

Use a random width within a certain range for
WaveView::optimal_image_width_samples so that image drawing is less likely to
occur at the same time (which will cause a spike in render/draw time and
increase the chance of flickering waveforms).

Move implementations of the private WaveView classes into wave_view_private.h
and wave_view_private.cc source files.

Incorporate a fix for limiting the waveview image size to the cairo image size
limit.

Should hopefully Resolve: #6478
2017-06-17 01:03:36 +10:00
..
appleutility
ardour Fix region-gain offset when separating ranges 2017-06-14 22:47:32 +02:00
ardouralsautil Use PBD::to_string() from pbd/string_convert.h in ardour ALSA utils 2017-04-19 09:37:00 +10:00
audiographer Include last sample in reverse test for nonsilence in end trim during export 2016-12-06 20:55:17 +10:00
backends ALSA backend: always register ports with systemic latency 2017-04-27 20:59:15 +02:00
canvas Reimplementation of large parts of the WaveView class 2017-06-17 01:03:36 +10:00
clearlooks-newer Update our MSVC project files to generate the most recent Ardour session file format (ver 5) rather than the older v3 format 2016-08-30 07:15:00 +01:00
clearlooks-older
evoral Add infrastructure to merge ControlLists 2017-06-14 02:40:09 +02:00
fluidsynth Update our MSVC project files to generate the most recent Ardour session file format (ver 5) rather than the older v3 format 2016-08-30 07:15:00 +01:00
fst Prepare moving to a dedicated x-thread signal for VST UI resizing 2017-03-08 13:03:46 +01:00
gtkmm2ext update german translation 2017-05-14 15:29:27 +02:00
hidapi Fix libhid compile with /recent/ libc (GNU_SOURCE) 2017-05-20 12:39:49 +02:00
libltc Update our MSVC project files to generate the most recent Ardour session file format (ver 5) rather than the older v3 format 2016-08-30 07:15:00 +01:00
lua Fix hiding Lua __metatable -- prevent setmetatable() override 2017-03-30 05:06:34 +02:00
midi++2 Use XMLNode::set_property API in Midi::Port class 2017-04-19 09:36:48 +10:00
panners Use XMLNode::set_property API in all Panner classes 2017-04-19 09:36:53 +10:00
pbd VCA/SlavableAutomationCtrl re-design: 2017-06-12 02:26:23 +02:00
plugins a-EQ: Revert one of the previous changes 2017-06-09 23:09:36 +10:00
ptformat Fix 32bit compilation 2017-02-18 16:22:34 +01:00
qm-dsp Patch the QM source code to make it buildable with MSVC 2017-04-02 15:32:26 +02:00
surfaces OSC: Add send/plugin page values to GUI 2017-06-14 10:28:45 -07:00
timecode Fix indentation 8 whitespaces to tab 2016-12-21 23:09:40 +01:00
vamp-plugins update qm-vamp-plugins (git v1.7.1-10-g76bc879) 2017-04-01 21:50:32 +02:00
vfork