MythTV
master
|
#include <algorithm>
#include <cmath>
#include <QLibrary>
#include <QPainter>
#include <QWindow>
#include <QWidget>
#include <QGuiApplication>
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythlogging.h"
#include "mythmainwindow.h"
#include "mythrenderopengl.h"
#include "mythrenderopenglshaders.h"
#include "mythuitype.h"
#include "platforms/mythxdisplay.h"
Go to the source code of this file.
Macros | |
#define | LOC QString("OpenGL: ") |
Functions | |
static constexpr QLatin1String | GLYesNo (bool v) |
QOpenGLShaderProgram * | ShaderError (QOpenGLShaderProgram *Shader, const QString &Source) |
Variables | |
static constexpr GLuint | VERTEX_INDEX { 0 } |
static constexpr GLuint | COLOR_INDEX { 1 } |
static constexpr GLuint | TEXTURE_INDEX { 2 } |
static constexpr GLint | VERTEX_SIZE { 2 } |
static constexpr GLint | TEXTURE_SIZE { 2 } |
static constexpr GLuint | kVertexOffset { 0 } |
static constexpr GLuint | kTextureOffset { 8 * sizeof(GLfloat) } |
static constexpr int | MAX_VERTEX_CACHE { 500 } |
static const float | kLimitedRangeOffset = (16.0F / 255.0F) |
static const float | kLimitedRangeScale = (219.0F / 255.0F) |
#define LOC QString("OpenGL: ") |
Definition at line 24 of file mythrenderopengl.cpp.
|
staticconstexpr |
Definition at line 394 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::DebugFeatures().
|
inline |
Definition at line 1403 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::CreateComputeShader(), and MythRenderOpenGL::CreateShaderProgram().
|
staticconstexpr |
Definition at line 31 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::ClearRect(), MythRenderOpenGL::CreateShaderProgram(), MythRenderOpenGL::DrawBitmap(), MythRenderOpenGL::DrawProcedural(), and MythRenderOpenGL::DrawRoundRect().
|
staticconstexpr |
Definition at line 32 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::ClearRect(), MythRenderOpenGL::CreateShaderProgram(), MythRenderOpenGL::DrawBitmap(), and MythRenderOpenGL::DrawRoundRect().
|
staticconstexpr |
Definition at line 33 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::CreateShaderProgram(), and MythRenderOpenGL::DrawBitmap().
|
staticconstexpr |
Definition at line 34 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::ClearRect(), MythRenderOpenGL::DrawBitmap(), MythRenderOpenGL::DrawProcedural(), and MythRenderOpenGL::DrawRoundRect().
|
staticconstexpr |
Definition at line 35 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::DrawBitmap().
|
staticconstexpr |
Definition at line 37 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::ClearRect(), MythRenderOpenGL::DrawBitmap(), MythRenderOpenGL::DrawProcedural(), and MythRenderOpenGL::DrawRoundRect().
|
staticconstexpr |
Definition at line 38 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::DrawBitmap(), and MythRenderOpenGL::GetCachedVBO().
|
staticconstexpr |
Definition at line 40 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::GetCachedVBO(), and MythRenderOpenGL::GetCachedVertices().
|
static |
Definition at line 957 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::ClearRect(), and MythRenderOpenGL::DrawRoundRect().
|
static |
Definition at line 958 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::ClearRect(), and MythRenderOpenGL::DrawRoundRect().