It seams that we need new waveforms to have the benefit of ES2.
For now, we can just disable openGL waveform parts in the Mixxx source codebase if
QT_OPENGL_ES_1 or QT_OPENGL_ES_2 is defined.
Here the header selection from the Qt code:
#if defined(Q_WS_MAC)
# include <OpenGL/gl.h>
#elif defined(QT_OPENGL_ES_1)
# if defined(Q_OS_MAC)
# include <OpenGLES/ES1/gl.h>
# else
# include <GLES/gl.h>
# endif
# ifndef GL_DOUBLE
# define GL_DOUBLE GL_FLOAT
# endif
# ifndef GLdouble
typedef GLfloat GLdouble;
# endif
#elif defined(QT_OPENGL_ES_2)
# if defined(Q_OS_MAC)
# include <OpenGLES/ES2/gl.h>
# else
# include <GLES2/gl2.h>
# endif
# ifndef GL_DOUBLE
# define GL_DOUBLE GL_FLOAT
# endif
# ifndef GLdouble
typedef GLfloat GLdouble;
# endif
#else
# include <GL/gl.h> <- this is active on Linux builds
#endif
Here some useful info: stackoverflow. com/questions/ 16609825/ matrix- mode-for- 2d-graphics- in-opengl- es-2
http://
It seams that we need new waveforms to have the benefit of ES2.
For now, we can just disable openGL waveform parts in the Mixxx source codebase if
QT_OPENGL_ES_1 or QT_OPENGL_ES_2 is defined.
Here the header selection from the Qt code:
#if defined(Q_WS_MAC) QT_OPENGL_ ES_1) QT_OPENGL_ ES_2)
# include <OpenGL/gl.h>
#elif defined(
# if defined(Q_OS_MAC)
# include <OpenGLES/ES1/gl.h>
# else
# include <GLES/gl.h>
# endif
# ifndef GL_DOUBLE
# define GL_DOUBLE GL_FLOAT
# endif
# ifndef GLdouble
typedef GLfloat GLdouble;
# endif
#elif defined(
# if defined(Q_OS_MAC)
# include <OpenGLES/ES2/gl.h>
# else
# include <GLES2/gl2.h>
# endif
# ifndef GL_DOUBLE
# define GL_DOUBLE GL_FLOAT
# endif
# ifndef GLdouble
typedef GLfloat GLdouble;
# endif
#else
# include <GL/gl.h> <- this is active on Linux builds
#endif