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

Osd class - hardware accelerated (OpenGL/ES) - header file. More...

#include <cstdio>
#include <memory>
#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

class  cOglShader
 
class  cOglGlyph
 
struct  cOglGlyph::tKerning
 
class  cOglAtlasGlyph
 
class  cOglFontAtlas
 
class  cOglFont
 
class  cOglFb
 
class  cOglOutputFb
 
class  cOglVb
 
class  cOglCmd
 
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
 
class  cOglPixmap
 
class  cOglOsd
 

Macros

#define FT_ERRORDEF(e, v, s)   { e, s },
 
#define FT_ERROR_START_LIST   {
 
#define FT_ERROR_END_LIST   { 0, 0 } };
 
#define BORDERCOLOR   0x00000000
 
#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

Osd class - hardware accelerated (OpenGL/ES) - 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

◆ BORDERCOLOR

#define BORDERCOLOR   0x00000000

◆ FT_ERROR_END_LIST

#define FT_ERROR_END_LIST   { 0, 0 } };

Definition at line 37 of file openglosd.h.

◆ FT_ERROR_START_LIST

#define FT_ERROR_START_LIST   {

Definition at line 36 of file openglosd.h.

◆ FT_ERRORDEF

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

Definition at line 35 of file openglosd.h.

◆ MAX_CHARCODE

#define MAX_CHARCODE   255

Definition at line 176 of file openglosd.h.

◆ MIN_CHARCODE

#define MIN_CHARCODE   32

Definition at line 175 of file openglosd.h.

◆ OGL_CMDQUEUE_SIZE

#define OGL_CMDQUEUE_SIZE   200

Definition at line 640 of file openglosd.h.

◆ OGL_MAX_OSDIMAGES

#define OGL_MAX_OSDIMAGES   512

Definition at line 639 of file openglosd.h.

Enumeration Type Documentation

◆ eShaderType

Enumerator
stRect 
stTexture 
stTextureSwapBR 
stText 
stCount 

Definition at line 68 of file openglosd.h.

◆ eVertexBufferType

Enumerator
vbRect 
vbEllipse 
vbSlope 
vbTexture 
vbTextureSwapBR 
vbText 
vbCount 

Definition at line 282 of file openglosd.h.

Variable Documentation

◆ code

int code

Definition at line 39 of file openglosd.h.

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

◆ [struct]

const struct { ... } FT_Errors[]
Initial value:
=
#define BORDERCOLOR
struct sOglImage {
GLuint texture;
GLint width;
GLint height;
bool used;
}

Referenced by cOglFont::Glyph().

◆ message

const char* message

Definition at line 40 of file openglosd.h.

Referenced by cOglFont::Glyph().