summaryrefslogtreecommitdiff
path: root/libs/canvas
AgeCommit message (Collapse)Author
2015-09-14amend previous commit.Robin Gareus
2015-09-14fix short x-fade renderingRobin Gareus
2015-09-11spelling error fixes (notably "overriden" => "overidden") from IOhannes m ↵Paul Davis
zmölnig
2015-09-06consistent pango-text layout size - fixes #6490Robin Gareus
Use gdk_pango_layout() for all text-size calculations. In Canvas::Text always use the same context (local image surface) for layouting (prior to this, local and window-context mix resulted in different sizes).
2015-09-02a couple of debug output statements to help diagnose a crash, part 2Paul Davis
2015-09-02a couple of debug output statements to help diagnose a crashPaul Davis
2015-09-02waveform, mutex for _current_imageRobin Gareus
may be used in render-thread while invalidate_image_cache() is called. possible fix for #6478
2015-09-02handle waveform drawing thread shutdownRobin Gareus
2015-08-20clear out some SessionHandleRef's on close.Robin Gareus
2015-08-20clear waveform cache when shape changes - fixes #6525Robin Gareus
2015-07-30Replace "%z" modifier with glib macro for portability.Robin Gareus
2015-06-29try using threaded waveviews in tracks alsoPaul Davis
2015-06-29never use threaded waveview rendering for TracksPaul Davis
2015-06-29clip level is adjusted only by region amplitude (which is audible), not by ↵Paul Davis
_amplitude_above_axis
2015-06-29attempt to correctly respond to changes in _amplitude_above_axis in ↵Paul Davis
ArdourCanvas::WaveView
2015-06-29copy all XCode project files from Tracks.Paul Davis
Rationale: the Waves team maintains the XCode project files, the Ardour crew doesn't. Thus, the Waves' version is more canonical
2015-06-29conditionalize background fades depending on whether this is a tracks or ↵Paul Davis
other build
2015-06-29tweak for static library buildPaul Davis
2015-06-25fix windows debug builds:Robin Gareus
undefined reference to `std::basic_ostream >& boost::operator<< , ArdourCanvas::Rect>(std::basic_ostream >&, boost::optional const&)'
2015-06-24show zero line when a DC offset moves waveform so that it doesn't intersect ↵4.1Paul Davis
with the zero line (from Nimal Ratnayake <nimalr@pdn.ac.lk>)
2015-06-23do not draw waveform outline at x-positions where the waveform "spread" ↵Paul Davis
would not leave at least 1 pixel between the two outline pixels. Plus a better comment.
2015-06-23several changes, major and minor, to improve threaded waveview renderingPaul Davis
2015-06-23create sortable, linear list for cache clearing on demand, rather than ↵Paul Davis
trying to maintain it in parallel with the cache map
2015-06-23change location for initialization of static WaveView image cache, and ↵Paul Davis
provide a visible method to set the cache flush threshold
2015-06-22stop endless loop in WaveViewCache::cache_flush()Paul Davis
Still need to figure out how this could ever happen. It requires an image (shared pointer) to be in the linear cache image list but not in the map
2015-06-19two more corrections to waveform zooming changesPaul Davis
2015-06-19fix call to consolidate image cache to use the information held in the requestPaul Davis
2015-06-19stop pixel jitter when changing waveview height.Paul Davis
To avoid pixel jitter, the top and bottom of each line in the waveview must be computed together in a single computation, rather than independently. Also, remove various height corrections and cairo translations that are not necessary or relevant anymore. A subsequent commit for the GUI will pick up on this work to get the appearance completely correct
2015-06-19attempt to correctly respond to changes in _amplitude_above_axis in ↵Paul Davis
ArdourCanvas::WaveView
2015-06-19fix compiler const-cast warningPaul Davis
2015-06-19Correctly re-start an iteration (if we delete one of the items being iterated)John Emmas
2015-06-16fixes for canvas text display on Retina (from Valeriy)Paul Davis
2015-06-13NOOP, reindent code.Robin Gareus
2015-06-13fix crash on OSX displaying MIDI sysex, or similar text.Robin Gareus
2015-06-12We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG ↵Paul Davis
mechanism away from a 64bit integer and toward std::bitset. Clean up a few minor related PBD::DEBUG issues along the way
2015-06-11more refactoring of WaveView threaded code to try to get to heart of crash bugPaul Davis
2015-06-11don't queue a callback with the idle event for waveview image generation if ↵Paul Davis
one is already queued. Also, hold relevant lock when waking image rendering thread.
2015-06-10possible fix for crashes related to vanishing waveviews (and if it doesn't ↵Paul Davis
fix anything, it is still more correct than it was)
2015-06-10fix basic error with computation of partial image width; add use of ↵Paul Davis
DEBUG_TRACE (DEBUG::WaveView,...)
2015-06-10add PBD::DEBUG::WaveViewPaul Davis
2015-06-09Add the new (UINTSDEFINED) preprocessor directive to all out MSVC projects ↵John Emmas
(just to be on the safe side)
2015-06-04use existing partial existing waveview images (if they exist) while waiting ↵Paul Davis
for the full ones
2015-06-02don't use the return value from AudioRegion::read_peaks() because it is ↵Paul Davis
either zero or n_peaks
2015-06-02Amend WaveView::send_request() such that it'll compile with MSVCJohn Emmas
Hopefully, this was the original intention (I've simply amended a function call to match similar usages elsewhere in the code).
2015-06-01reinstate absent image.Paul Davis
Then go back to bed and be ill some more.
2015-06-01remove debug output and get logic correct to cause first render to always ↵Paul Davis
use the render thread
2015-06-01drop in threaded waveview changes via the two affected files.Paul Davis
Rebasing the feature branch against master was too messy, and only these two files were changed. The development history of this branch could easily have been --squash'ed anyway, so not much of a loss
2015-05-19fix x-fade display access beyond array boundariesRobin Gareus
2015-05-02gfx-card & performance testingRobin Gareus
2015-04-29fix double precision abs value computationRobin Gareus