MythTV  master
Macros | Functions | Variables
mythrender_opengl.cpp File Reference
#include "mythrender_opengl.h"
#include <algorithm>
#include <QLibrary>
#include <QPainter>
#include <QWidget>
#include "mythlogging.h"
#include "mythuitype.h"
#include "mythxdisplay.h"
#include "mythrender_opengl2.h"
#include "mythrender_opengl2es.h"
Include dependency graph for mythrender_opengl.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("OpenGL: ")
 
#define MAX_VERTEX_CACHE   500
 
#define glCheck()   __glCheck__(LOC, __FILE__, __LINE__)
 

Functions

static int __glCheck__ (const QString &loc, const char *fileName, int n)
 

Variables

static const GLuint kTextureOffset = 8 * sizeof(GLfloat)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("OpenGL: ")

Definition at line 18 of file mythrender_opengl.cpp.

◆ MAX_VERTEX_CACHE

#define MAX_VERTEX_CACHE   500

Definition at line 49 of file mythrender_opengl.cpp.

◆ glCheck

#define glCheck ( )    __glCheck__(LOC, __FILE__, __LINE__)

Definition at line 50 of file mythrender_opengl.cpp.

Function Documentation

◆ __glCheck__()

static int __glCheck__ ( const QString &  loc,
const char *  fileName,
int  n 
)
inlinestatic

Definition at line 38 of file mythrender_opengl.cpp.

Variable Documentation

◆ kTextureOffset

const GLuint kTextureOffset = 8 * sizeof(GLfloat)
static

Definition at line 36 of file mythrender_opengl.cpp.

Referenced by MythRenderOpenGL::GetCachedVBO().