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

OpenGL OSD Header File. More...

#include <cstdio>
#include <memory>
#include <mutex>
#include <queue>
#include <ft2build.h>
#include <GLES2/gl2.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <vdr/osd.h>

Go to the source code of this file.

Classes

struct  sOglImage
 
class  cOglShader
 Vertex/Fragment Shader. More...
 
class  cOglGlyph
 Single Glyph of a Font. More...
 
struct  cOglGlyph::tKerning
 
class  cOglAtlasGlyph
 Glyph on a Texture Atlas. More...
 
class  cOglFontAtlas
 Texture Atlas for a Font. More...
 
class  cOglFont
 OpenGL Representation of a VDR Font. More...
 
class  cOglFb
 OpenGL Framebuffer/ Texture Object. More...
 
class  cOglOutputFb
 Main Framebuffer/ Texture Object for OSD. More...
 
class  cOglVb
 Vertex Buffers. More...
 
class  cOglCmd
 OpenGL Hardware Command. More...
 
class  cOglCmdInitOutputFb
 
class  cOglCmdInitFb
 
class  cOglCmdDeleteFb
 
class  cOglCmdRenderFbToBufferFb
 
class  cOglCmdCopyBufferToOutputFb
 
class  cOglCmdFill
 
class  cOglCmdBufferFill
 
class  cOglCmdDrawRectangle
 
class  cOglCmdDrawEllipse
 
class  cOglCmdDrawSlope
 
class  cOglCmdDrawText
 
class  cOglCmdDrawImage
 
class  cOglCmdDrawTexture
 
class  cOglCmdStoreImage
 
class  cOglCmdDropImage
 
class  cOglThread
 OpenGL Commands Processing Thread. More...
 
class  cOglPixmap
 OpenGL Implementation of a cPixmap. More...
 
class  cOglOsd
 Hardware Accelerated OpenGL OSD Implementation. More...
 

Macros

#define FT_ERRORDEF(e, v, s)   { e, s },
 
#define FT_ERROR_START_LIST   {
 
#define FT_ERROR_END_LIST   { 0, 0 } };
 
#define BORDERCOLOR   0x00000000
 This is needed for the GLES2 GL_CLAMP_TO_BORDER workaround.
 
#define MIN_CHARCODE   32
 
#define MAX_CHARCODE   255
 
#define OGL_MAX_OSDIMAGES   512
 
#define OGL_CMDQUEUE_SIZE   200
 

Enumerations

enum  eShaderType {
  stRect , stTexture , stTextureSwapBR , stText ,
  stCount
}
 
enum  eVertexBufferType {
  vbRect , vbEllipse , vbSlope , vbTexture ,
  vbTextureSwapBR , vbText , vbCount
}
 

Variables

struct { 
 
   int   code 
 
   const char *   message 
 
FT_Errors [] 
 

Detailed Description

OpenGL OSD Header File.

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

Definition in file openglosd.h.

Macro Definition Documentation

◆ FT_ERROR_END_LIST

#define FT_ERROR_END_LIST   { 0, 0 } };

Definition at line 31 of file openglosd.h.

◆ FT_ERROR_START_LIST

#define FT_ERROR_START_LIST   {

Definition at line 30 of file openglosd.h.

◆ FT_ERRORDEF

#define FT_ERRORDEF (   e,
  v,
  s 
)    { e, s },

Definition at line 29 of file openglosd.h.

Variable Documentation

◆ code

int code

Definition at line 33 of file openglosd.h.

Referenced by cOglFont::Glyph(), and cSoftHdMenu::HandleHotKey().

◆ [struct]

const struct { ... } FT_Errors[]
Initial value:
=
Output Device Implementation.

Referenced by cOglFont::Glyph().

◆ message

const char* message

Definition at line 34 of file openglosd.h.

Referenced by cOglFont::Glyph().