vdr-plugin-softhddevice-drm-gles 1.6.2
openglosd.cpp File Reference

OpenGL OSD. 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

OpenGL OSD.

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

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

Definition in file openglosd.cpp.