|
vdr-plugin-softhddevice-drm-gles 1.6.4-d0291bb
|
OpenGL OSD Vertex/Fragment Shader. More...
#include <openglosd.h>
Public Member Functions | |
| cOglShader (void) | |
| bool | Load (eShaderType) |
| void | Use (void) |
| void | SetFloat (const GLchar *, GLfloat) |
| void | SetInteger (const GLchar *, GLint) |
| void | SetVector2f (const GLchar *, GLfloat, GLfloat) |
| void | SetVector3f (const GLchar *, GLfloat, GLfloat, GLfloat) |
| void | SetVector4f (const GLchar *, GLfloat, GLfloat, GLfloat, GLfloat) |
| void | SetMatrix4 (const GLchar *, const glm::mat4 &) |
Private Member Functions | |
| bool | Compile (const char *, const char *) |
| bool | CheckCompileErrors (GLuint, bool program=false) |
Private Attributes | |
| eShaderType | m_type |
| GLuint | m_id |
OpenGL OSD Vertex/Fragment Shader.
Represents a shader and keeps everything we need to set variable within the shader
Definition at line 77 of file openglosd.h.
|
inline |
Definition at line 79 of file openglosd.h.
Definition at line 163 of file openglosd.cpp.
References CheckCompileErrors(), GL_CHECK, and m_id.
Referenced by Load().
| bool cOglShader::Load | ( | eShaderType | type | ) |
Definition at line 92 of file openglosd.cpp.
References Compile(), LOGERROR, m_type, rectFragmentShader, rectVertexShader, stRect, stText, stTexture, stTextureSwapBR, textFragmentShader, textureFragmentShader, textureFragmentShaderSwapBR, textureVertexShader, and textVertexShader.
Definition at line 133 of file openglosd.cpp.
Definition at line 138 of file openglosd.cpp.
Definition at line 158 of file openglosd.cpp.
Definition at line 143 of file openglosd.cpp.
Definition at line 148 of file openglosd.cpp.
Definition at line 153 of file openglosd.cpp.
Definition at line 87 of file openglosd.cpp.
|
private |
Definition at line 92 of file openglosd.h.
Referenced by Compile(), SetFloat(), SetInteger(), SetMatrix4(), SetVector2f(), SetVector3f(), SetVector4f(), and Use().
|
private |
Definition at line 91 of file openglosd.h.
Referenced by CheckCompileErrors(), and Load().