|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
Osd class - hardware accelerated (OpenGL/ES) More...
#include <algorithm>#include <cinttypes>#include <cstdio>#include <cstdlib>#include <vector>#include <sys/ioctl.h>#include <GLES2/gl2.h>#include <glm/glm.hpp>#include <glm/gtc/matrix_transform.hpp>#include <glm/gtc/type_ptr.hpp>#include <vdr/osd.h>#include "logger.h"#include "misc.h"#include "openglosd.h"#include "openglshader.h"#include "softhddevice.h"#include "videorender.h"Go to the source code of this file.
Macros | |
| #define | KERNING_UNKNOWN (-10000) |
Functions | |
| static void | ConvertColor (const GLint &colARGB, glm::vec4 &col) |
Variables | |
| static cOglShader * | 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 KERNING_UNKNOWN (-10000) |
Definition at line 209 of file openglosd.cpp.
|
static |
Definition at line 66 of file openglosd.cpp.
Referenced by cOglCmdFill::Execute(), cOglCmdBufferFill::Execute(), cOglVb::SetShaderBorderColor(), and cOglVb::SetShaderColor().
|
static |
Definition at line 76 of file openglosd.cpp.
Referenced by cOglVb::ActivateShader(), cOglThread::DeleteShaders(), cOglThread::InitShaders(), cOglVb::SetShaderAlpha(), cOglVb::SetShaderBorderColor(), cOglVb::SetShaderColor(), cOglVb::SetShaderProjectionMatrix(), and cOglVb::SetShaderTexture().
Definition at line 729 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().