|
vdr-plugin-softhddevice-drm-gles 1.4.0
|
Osd class - hardware accelerated (OpenGL/ES) More...
#include <algorithm>#include "openglosd.h"#include "glhelpers.h"#include <inttypes.h>#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <vector>#include <sys/ioctl.h>#include "logger.h"
Go to the source code of this file.
Macros | |
| #define | __STL_CONFIG_H |
| #define | BORDERCOLOR 0x00000000 |
| #define | KERNING_UNKNOWN (-10000) |
Functions | |
| void | ConvertColor (const GLint &colARGB, glm::vec4 &col) |
Variables | |
| const char * | rectVertexShader |
| const char * | rectFragmentShader |
| const char * | textureVertexShader |
| const char * | textureFragmentShader |
| const char * | textureFragmentShaderSwapBR |
| const char * | textVertexShader |
| const char * | textFragmentShader |
| static cShader * | Shaders [stCount] |
| static cOglVb * | VertexBuffers [vbCount] |
Osd class - hardware accelerated (OpenGL/ES)
This file defines cOglOsd and all other osd classes, which create and handle the OpenGL accelerated OSD.
AGPLv3
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
Definition in file openglosd.cpp.
| #define __STL_CONFIG_H |
Definition at line 25 of file openglosd.cpp.
| #define BORDERCOLOR 0x00000000 |
Definition at line 46 of file openglosd.cpp.
| #define KERNING_UNKNOWN (-10000) |
Definition at line 426 of file openglosd.cpp.
| void ConvertColor | ( | const GLint & | colARGB, |
| glm::vec4 & | col | ||
| ) |
Definition at line 161 of file openglosd.cpp.
Referenced by cOglCmdFill::Execute(), cOglCmdBufferFill::Execute(), cOglVb::SetShaderBorderColor(), and cOglVb::SetShaderColor().
| const char* rectFragmentShader |
Definition at line 186 of file openglosd.cpp.
Referenced by cShader::Load().
| const char* rectVertexShader |
Definition at line 171 of file openglosd.cpp.
Referenced by cShader::Load().
Definition at line 306 of file openglosd.cpp.
Referenced by cOglVb::ActivateShader(), cOglThread::DeleteShaders(), cOglThread::InitShaders(), cOglVb::SetShaderAlpha(), cOglVb::SetShaderBorderColor(), cOglVb::SetShaderColor(), cOglVb::SetShaderProjectionMatrix(), and cOglVb::SetShaderTexture().
| const char* textFragmentShader |
Definition at line 291 of file openglosd.cpp.
Referenced by cShader::Load().
| const char* textureFragmentShader |
Definition at line 220 of file openglosd.cpp.
Referenced by cShader::Load().
| const char* textureFragmentShaderSwapBR |
Definition at line 245 of file openglosd.cpp.
Referenced by cShader::Load().
| const char* textureVertexShader |
Definition at line 197 of file openglosd.cpp.
Referenced by cShader::Load().
| const char* textVertexShader |
Definition at line 271 of file openglosd.cpp.
Referenced by cShader::Load().
Definition at line 1025 of file openglosd.cpp.
Referenced by cOglThread::DeleteVertexBuffers(), cOglCmdRenderFbToBufferFb::Execute(), cOglCmdCopyBufferToOutputFb::Execute(), cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), cOglCmdDrawText::Execute(), cOglCmdDrawImage::Execute(), cOglCmdDrawTexture::Execute(), cOglThread::InitOpenGL(), and cOglThread::InitVertexBuffers().