vdr-plugin-softhddevice-drm-gles 1.4.0
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
cOglOsd Class Reference

#include <openglosd.h>

Collaboration diagram for cOglOsd:
Collaboration graph
[legend]

Public Member Functions

 cOglOsd (int Left, int Top, uint Level, std::shared_ptr< cOglThread > oglThread, cSoftHdDevice *device)
 
virtual ~cOglOsd ()
 
virtual eOsdError SetAreas (const tArea *Areas, int NumAreas)
 
virtual cPixmap * CreatePixmap (int Layer, const cRect &ViewPort, const cRect &DrawPort=cRect::Null)
 
virtual void DestroyPixmap (cPixmap *Pixmap)
 
virtual void Flush (void)
 
virtual const cSize & MaxPixmapSize (void) const
 
virtual void DrawScaledBitmap (int x, int y, const cBitmap &Bitmap, double FactorX, double FactorY, bool AntiAlias=false)
 

Static Public Attributes

static cOglOutputFboFb = NULL
 

Private Attributes

cOglFbbFb
 
std::shared_ptr< cOglThreadoglThread
 
cVector< cOglPixmap * > oglPixmaps
 
bool isSubtitleOsd
 
cSize maxPixmapSize
 
cRect * dirtyViewport
 
cSoftHdDeviceDevice
 
cVideoRenderRender
 

Detailed Description

Definition at line 637 of file openglosd.h.

Constructor & Destructor Documentation

◆ cOglOsd()

cOglOsd::cOglOsd ( int  Left,
int  Top,
uint  Level,
std::shared_ptr< cOglThread oglThread,
cSoftHdDevice device 
)

◆ ~cOglOsd()

cOglOsd::~cOglOsd ( )
virtual

Definition at line 2754 of file openglosd.cpp.

References bFb, Device, dirtyViewport, L_OSD, LOGDEBUG2, oFb, oglThread, and Render.

Member Function Documentation

◆ CreatePixmap()

cPixmap * cOglOsd::CreatePixmap ( int  Layer,
const cRect &  ViewPort,
const cRect &  DrawPort = cRect::Null 
)
virtual

Definition at line 2795 of file openglosd.cpp.

References oglPixmaps, and oglThread.

◆ DestroyPixmap()

void cOglOsd::DestroyPixmap ( cPixmap *  Pixmap)
virtual

Definition at line 2815 of file openglosd.cpp.

References isSubtitleOsd, oglPixmaps, and oglThread.

Referenced by SetAreas().

◆ DrawScaledBitmap()

void cOglOsd::DrawScaledBitmap ( int  x,
int  y,
const cBitmap &  Bitmap,
double  FactorX,
double  FactorY,
bool  AntiAlias = false 
)
virtual

Definition at line 2905 of file openglosd.cpp.

References isSubtitleOsd, and oglPixmaps.

◆ Flush()

void cOglOsd::Flush ( void  )
virtual

Definition at line 2836 of file openglosd.cpp.

References bFb, Device, dirtyViewport, isSubtitleOsd, L_OSD, LOGDEBUG2, oFb, oglPixmaps, oglThread, and Render.

◆ MaxPixmapSize()

const cSize & cOglOsd::MaxPixmapSize ( void  ) const
virtual

Definition at line 2769 of file openglosd.cpp.

References maxPixmapSize.

◆ SetAreas()

eOsdError cOglOsd::SetAreas ( const tArea *  Areas,
int  NumAreas 
)
virtual

Definition at line 2773 of file openglosd.cpp.

References bFb, DestroyPixmap(), isSubtitleOsd, oglPixmaps, and oglThread.

Member Data Documentation

◆ bFb

cOglFb* cOglOsd::bFb
private

Definition at line 639 of file openglosd.h.

Referenced by cOglOsd(), Flush(), SetAreas(), and ~cOglOsd().

◆ Device

cSoftHdDevice* cOglOsd::Device
private

Definition at line 645 of file openglosd.h.

Referenced by cOglOsd(), Flush(), and ~cOglOsd().

◆ dirtyViewport

cRect* cOglOsd::dirtyViewport
private

Definition at line 644 of file openglosd.h.

Referenced by cOglOsd(), Flush(), and ~cOglOsd().

◆ isSubtitleOsd

bool cOglOsd::isSubtitleOsd
private

Definition at line 642 of file openglosd.h.

Referenced by cOglOsd(), DestroyPixmap(), DrawScaledBitmap(), Flush(), and SetAreas().

◆ maxPixmapSize

cSize cOglOsd::maxPixmapSize
private

Definition at line 643 of file openglosd.h.

Referenced by cOglOsd(), and MaxPixmapSize().

◆ oFb

cOglOutputFb * cOglOsd::oFb = NULL
static

Definition at line 657 of file openglosd.h.

Referenced by cOglThread::Cleanup(), cOglOsd(), Flush(), and ~cOglOsd().

◆ oglPixmaps

cVector<cOglPixmap *> cOglOsd::oglPixmaps
private

Definition at line 641 of file openglosd.h.

Referenced by CreatePixmap(), DestroyPixmap(), DrawScaledBitmap(), Flush(), and SetAreas().

◆ oglThread

std::shared_ptr<cOglThread> cOglOsd::oglThread
private

Definition at line 640 of file openglosd.h.

Referenced by cOglOsd(), CreatePixmap(), DestroyPixmap(), Flush(), SetAreas(), and ~cOglOsd().

◆ Render

cVideoRender* cOglOsd::Render
private

Definition at line 646 of file openglosd.h.

Referenced by cOglOsd(), Flush(), and ~cOglOsd().


The documentation for this class was generated from the following files: