MythTV
master
|
#include <algorithm>
#include <cmath>
#include <QLibrary>
#include <QPainter>
#include <QWindow>
#include <QWidget>
#include <QGuiApplication>
#include "mythcorecontext.h"
#include "mythmainwindow.h"
#include "mythrenderopengl.h"
#include "mythrenderopenglshaders.h"
#include "mythlogging.h"
#include "mythuitype.h"
#include "mythxdisplay.h"
Go to the source code of this file.
Macros | |
#define | LOC QString("OpenGL: ") |
#define | VERTEX_INDEX 0 |
#define | COLOR_INDEX 1 |
#define | TEXTURE_INDEX 2 |
#define | VERTEX_SIZE 2 |
#define | TEXTURE_SIZE 2 |
#define | MAX_VERTEX_CACHE 500 |
#define | GLYesNo(arg) ((arg) ? "Yes" : "No") |
Functions | |
QOpenGLShaderProgram * | ShaderError (QOpenGLShaderProgram *Shader, const QString &Source) |
Variables | |
static const GLuint | kVertexOffset = 0 |
static const GLuint | kTextureOffset = 8 * sizeof(GLfloat) |
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.
#define VERTEX_INDEX 0 |
Definition at line 31 of file mythrenderopengl.cpp.
#define COLOR_INDEX 1 |
Definition at line 32 of file mythrenderopengl.cpp.
#define TEXTURE_INDEX 2 |
Definition at line 33 of file mythrenderopengl.cpp.
#define VERTEX_SIZE 2 |
Definition at line 34 of file mythrenderopengl.cpp.
#define TEXTURE_SIZE 2 |
Definition at line 35 of file mythrenderopengl.cpp.
#define MAX_VERTEX_CACHE 500 |
Definition at line 41 of file mythrenderopengl.cpp.
Definition at line 397 of file mythrenderopengl.cpp.
|
inline |
Definition at line 1373 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::CreateComputeShader(), and MythRenderOpenGL::CreateShaderProgram().
|
static |
Definition at line 37 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::ClearRect(), MythRenderOpenGL::DrawBitmap(), and MythRenderOpenGL::DrawRoundRect().
|
static |
Definition at line 38 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::DrawBitmap(), and MythRenderOpenGL::GetCachedVBO().
|
static |
Definition at line 928 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::ClearRect(), and MythRenderOpenGL::DrawRoundRect().
|
static |
Definition at line 929 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL::ClearRect(), and MythRenderOpenGL::DrawRoundRect().