summaryrefslogtreecommitdiffstats
path: root/src/waveform/renderers/glwaveformrenderersimplesignal.cpp
AgeCommit message (Collapse)Author
2020-12-15Replace null pointer constants (e.g. NULL, 0) with nullptrJan Holthuis
2020-12-15Add missing braces around single-line statementsJan Holthuis
2020-12-07hack around QGLWidget::initializeGL not working on macOSBe
2020-12-06fix initialization of QGLWidget waveform widgets & renderersBe
QGLWidget documentation says: The initialization of OpenGL rendering state, etc. should be done by overriding the initializeGL() function, rather than in the constructor of your QGLWidget subclass. Calling QOpenGLFunctions_2_1::initializeOpenGLFunctions in the QGLWidget constructors crashed on macOS: https://bugs.launchpad.net/mixxx/+bug/1877487 I am surprised it did not crash on Linux and Windows. The calls to makeCurrent in the QGLWidget constructors were futile; that does nothing before Qt calls QGLWidget::initializeGL. This can be verified by adding: qDebug() << "Context current" << (QGLContext::currentContext() == context()); after the call to makeCurrent.
2020-10-09Merge branch '2.3' of github.com:mixxxdj/mixxx into float-warnings-pt-3Jan Holthuis
2020-09-28Externalize forward declarations for Track objectUwe Klotz
...to reduce compile time dependencies
2020-09-25Use const/auto to improve type declarationsJan Holthuis
2020-09-25waveform/renderers/glwaveformrenderersimplesignal: Use GLfloatJan Holthuis
2020-02-20Don't use a undocumentated Qt header file (changed in QT 5.8)Daniel Schürmann
2020-02-16use #pragma once anf move the GL check to the very top of the filesDaniel Schürmann
2020-02-16Make Mixxx compile even though QT_NO_OPENGL or QT_OPENGL_ES_2 is definedDaniel Schürmann
2019-05-08dynamic load gl functions, removed workaround with scons OpenGLES featureDaniel Schürmann
2018-04-03Fix shimmering of GL WaveformsDaniel Schürmann
2018-03-01Fix all the renderers to scale up correctlyNino Miškić-Pletenac
2018-02-22Improve appearance of Simple (GL) and Filtered (GL) waveformsNino Miškić-Pletenac
... when zoomed at 100% with playback rate < 1.0x
2016-07-29Use left/right instead of top/bottom for alignment of vertical waveformsNino Miškić-Pletenac
2016-07-26Add support for vertical waveforms and overviewsNino Miškić-Pletenac
1980-01-01__OPENGLES__ CPPDEFINEamvanbaren
2014-12-03Fix waveform concurrency issues. Potentially fixes Bug #1383404.RJ Ryan
* Use const shared pointers for waveforms. * Move all std::vector sizing operations to the Waveform constructor. No vector state is allowed to change after the constructor finishes. * Clarify comments. * Remove waveform mutex usage in WOverview variants. * Use the track's waveform pointer to atomically swap the waveform rather than mutating the waveform in place. * Remove unused code.
2014-11-18Code fascism.RJ Ryan
* Fix compiler warnings in non-3rd-party code. * Add some missing const-references. * Eliminate cases of "if(" "( ... )" and "for(".
2014-04-25Refactor use of math and other headers across the codebase.RJ Ryan
* Delete mathstuff.h and defs.h. * Move typedefs into util/types.h. * Move definitions into util/defs.h. * Use std::min and std::max for math_min and math_max. * Replace math_clamp with a template function to prevent repeated sub-expressions. * Add a Result enum for SoundSource::open() and SoundSource::parseHeader(). * Misc. other header-related cleanups.
2014-04-19Use WaveformRendererSignalBase::getGains to calculate signal gains in all ↵RJ Ryan
renderers.
2014-04-04Fix some hotspots that showed up while profiling the waveform renderers.RJ Ryan
* When no signal colors are provided, 3% of waveform rendering time was spent converting HSL to RGB over and over. QColor::redF/greenF/blueF are the devil. * Don't set the pen on every beat in WaveformRenderBeat -- all Qt performance articles talk about minimizing calls to setPen. * Fix some repetition (hoist some values out of loops, try to get better inlining, etc.).
2014-03-12Fix a bunch of minor style issues in waveform/.RJ Ryan
2013-06-19Moving mixxx/* to the root. A new era begins!RJ Ryan