vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
openglosd.cpp File Reference

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 cOglShaderShaders [stCount]
 
static cOglVbVertexBuffers [vbCount]
 

Detailed Description

Osd class - hardware accelerated (OpenGL/ES)

This file defines cOglOsd and all other osd classes, which create and handle the OpenGL accelerated OSD.

Note
This file was originally authored by Stefan Braun (see README), but there was never set any copyright info.

Definition in file openglosd.cpp.

Macro Definition Documentation

◆ KERNING_UNKNOWN

#define KERNING_UNKNOWN   (-10000)

Definition at line 209 of file openglosd.cpp.

Function Documentation

◆ ConvertColor()

static void ConvertColor ( const GLint &  colARGB,
glm::vec4 &  col 
)
static

Variable Documentation

◆ Shaders

◆ VertexBuffers