vdr-plugin-softhddevice-drm-gles 1.6.2
cSoftOsdProvider Class Reference

Plugin OSD provider. More...

#include <softhdosdprovider.h>

Public Member Functions

 cSoftOsdProvider (cSoftHdDevice *)
 Create a new OSD provider.
 
virtual ~cSoftOsdProvider ()
 Delete the OSD provider and stop the OpenGL thread if running.
 
virtual cOsd * CreateOsd (int, int, uint)
 Create a new OSD.
 
virtual bool ProvidesTrueColor (void)
 
void RequestStopOpenGlThread (void)
 Initiate a stop of the OpenGL thread without waiting.
 
void StopOpenGlThread (void)
 Stop the OpenGL thread and cancel it if necessary.
 
bool LockOpenGlThread (void)
 Lock the OpenGL thread.
 
void UnlockOpenGlThread (void)
 Unlock the OpenGL thread.
 
const cImageGetImageData (int ImageHandle)
 Get stored image data.
 
void OsdSizeChanged (void)
 Stop the OpenGL thread, if the osd size changed and update the size.
 

Protected Member Functions

virtual int StoreImageData (const cImage &Image)
 Store image data.
 
virtual void DropImageData (int ImageHandle)
 Drop stored image data.
 

Private Member Functions

bool StartOpenGlThread (void)
 Start the OpenGL thread.
 

Private Attributes

cOsd * m_pOsd
 pointer to single OSD (currently not really used in cSoftOsdProvider?)
 
cSoftHdDevicem_pDevice
 pointer to the cSoftHdDevice object
 
std::shared_ptr< cOglThreadm_pOglThread
 OpenGL OSD thread.
 

Detailed Description

Plugin OSD provider.

Definition at line 36 of file softhdosdprovider.h.

Member Function Documentation

◆ ProvidesTrueColor()

virtual bool cSoftOsdProvider::ProvidesTrueColor ( void  )
inlinevirtual

Definition at line 42 of file softhdosdprovider.h.

Member Data Documentation

◆ m_pDevice

cSoftHdDevice* cSoftOsdProvider::m_pDevice
private

pointer to the cSoftHdDevice object

Definition at line 54 of file softhdosdprovider.h.

Referenced by CreateOsd(), OsdSizeChanged(), StartOpenGlThread(), and ~cSoftOsdProvider().

◆ m_pOglThread

std::shared_ptr<cOglThread> cSoftOsdProvider::m_pOglThread
private

◆ m_pOsd

cOsd* cSoftOsdProvider::m_pOsd
private

pointer to single OSD (currently not really used in cSoftOsdProvider?)

Definition at line 53 of file softhdosdprovider.h.

Referenced by CreateOsd().


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