|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
#include <openglosd.h>
Public Member Functions | |
| cOglOsd (int, int, uint, std::shared_ptr< cOglThread >, cSoftHdDevice *) | |
| virtual | ~cOglOsd () |
| virtual eOsdError | SetAreas (const tArea *, int) |
| virtual cPixmap * | CreatePixmap (int, const cRect &, const cRect &DrawPort=cRect::Null) |
| virtual void | DestroyPixmap (cPixmap *) |
| virtual void | Flush (void) |
| virtual const cSize & | MaxPixmapSize (void) const |
| virtual void | DrawScaledBitmap (int, int, const cBitmap &, double, double, bool AntiAlias=false) |
Static Public Attributes | |
| static cOglOutputFb * | OutputFramebuffer = NULL |
| main OSD output framebuffer - this keeps our finished "OSD" (one per OSD) | |
Private Attributes | |
| cOglFb * | m_pBufferFramebuffer = nullptr |
| all pixmaps are composed onto this framebuffer after each other, before this one is blit onto the OSD output framebuffer | |
| std::shared_ptr< cOglThread > | m_pOglThread |
| pointer to thread, which executes the commands | |
| cVector< cOglPixmap * > | m_pOglPixmaps |
| array of pixmaps | |
| bool | m_isSubtitleOsd |
| true, if this is a subtitle osd | |
| cSize | m_maxPixmapSize |
| maximum allowed size of a pixmap (depends on the maximum OpenGL texture size) | |
| cRect | m_pDirtyViewport |
| the dirty viewport | |
| cSoftHdDevice * | m_pDevice |
| pointer to cSofthdDevice | |
Definition at line 736 of file openglosd.h.
| cOglOsd::cOglOsd | ( | int | left, |
| int | top, | ||
| uint | level, | ||
| std::shared_ptr< cOglThread > | oglThread, | ||
| cSoftHdDevice * | device | ||
| ) |
Definition at line 2329 of file openglosd.cpp.
References cSoftHdDevice::GetOsdSize(), L_OSD, LOGDEBUG2, m_maxPixmapSize, m_pDevice, m_pOglThread, and OutputFramebuffer.
|
virtual |
Definition at line 2349 of file openglosd.cpp.
References L_OSD, LOGDEBUG2, m_pBufferFramebuffer, m_pDevice, m_pOglThread, and OutputFramebuffer.
|
virtual |
Definition at line 2385 of file openglosd.cpp.
References m_pOglPixmaps, and m_pOglThread.
|
virtual |
Definition at line 2406 of file openglosd.cpp.
References m_isSubtitleOsd, m_pOglPixmaps, m_pOglThread, and cOglPixmap::MarkViewPortDirty().
Referenced by SetAreas().
|
virtual |
Definition at line 2501 of file openglosd.cpp.
References m_isSubtitleOsd, and m_pOglPixmaps.
|
virtual |
Definition at line 2431 of file openglosd.cpp.
References L_OSD, LOGDEBUG2, m_isSubtitleOsd, m_pBufferFramebuffer, m_pDevice, m_pDirtyViewport, m_pOglPixmaps, m_pOglThread, OutputFramebuffer, and cOglFb::Width().
|
inlinevirtual |
Definition at line 746 of file openglosd.h.
References m_maxPixmapSize.
|
virtual |
Definition at line 2362 of file openglosd.cpp.
References DestroyPixmap(), m_isSubtitleOsd, m_pBufferFramebuffer, m_pOglPixmaps, and m_pOglThread.
|
private |
true, if this is a subtitle osd
Definition at line 755 of file openglosd.h.
Referenced by DestroyPixmap(), DrawScaledBitmap(), Flush(), and SetAreas().
|
private |
maximum allowed size of a pixmap (depends on the maximum OpenGL texture size)
Definition at line 756 of file openglosd.h.
Referenced by cOglOsd(), and MaxPixmapSize().
|
private |
all pixmaps are composed onto this framebuffer after each other, before this one is blit onto the OSD output framebuffer
Definition at line 751 of file openglosd.h.
Referenced by Flush(), SetAreas(), and ~cOglOsd().
|
private |
pointer to cSofthdDevice
Definition at line 758 of file openglosd.h.
Referenced by cOglOsd(), Flush(), and ~cOglOsd().
|
private |
|
private |
array of pixmaps
Definition at line 754 of file openglosd.h.
Referenced by CreatePixmap(), DestroyPixmap(), DrawScaledBitmap(), Flush(), and SetAreas().
|
private |
pointer to thread, which executes the commands
Definition at line 753 of file openglosd.h.
Referenced by cOglOsd(), CreatePixmap(), DestroyPixmap(), Flush(), SetAreas(), and ~cOglOsd().
|
static |
main OSD output framebuffer - this keeps our finished "OSD" (one per OSD)
Definition at line 749 of file openglosd.h.
Referenced by cOglThread::Cleanup(), cOglOsd(), Flush(), and ~cOglOsd().