14#ifndef __DRMDEVICE_OSDPROVIDER_H
15#define __DRMDEVICE_OSDPROVIDER_H
virtual bool ProvidesTrueColor(void)
virtual ~cDeviceOsdProvider()
Delete the OSD provider and stop the OpenGL thread if running.
void RequestStopOpenGlThread(void)
Initiate a stop of the OpenGL thread without waiting.
virtual void DropImageData(int ImageHandle)
Drop stored image data.
virtual int StoreImageData(const cImage &Image)
Store image data.
void StopOpenGlThread(void)
Stop the OpenGL thread and cancel it if necessary.
cOsd * m_pOsd
pointer to single OSD (currently not really used in cDeviceOsdProvider?)
void UnlockOpenGlThread(void)
Unlock the OpenGL thread.
virtual cOsd * CreateOsd(int, int, uint)
Create a new OSD.
std::shared_ptr< cOglThread > m_pOglThread
OpenGL OSD thread.
cOutputDevice * m_pDevice
pointer to the cOutputDevice object
void OsdSizeChanged(void)
Stop the OpenGL thread, if the osd size changed and update the size.
const cImage * GetImageData(int ImageHandle)
Get stored image data.
bool LockOpenGlThread(void)
Lock the OpenGL thread.
bool StartOpenGlThread(void)
Start the OpenGL thread.
OpenGL Commands Processing Thread.
Output Device Implementation.