|
vdr-plugin-softhddevice-drm-gles 1.6.4-d0291bb
|
OpenGL OSD Implementation (GPU accelerated) More...
#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 | |
OpenGL OSD Implementation (GPU accelerated)
Definition at line 809 of file openglosd.h.
| cOglOsd::cOglOsd | ( | int | left, |
| int | top, | ||
| uint | level, | ||
| std::shared_ptr< cOglThread > | oglThread, | ||
| cSoftHdDevice * | device | ||
| ) |
Definition at line 2359 of file openglosd.cpp.
References cSoftHdDevice::GetOsdSize(), L_OSD, LOGDEBUG2, m_maxPixmapSize, m_pDevice, m_pOglThread, and OutputFramebuffer.
|
virtual |
Definition at line 2379 of file openglosd.cpp.
References L_OSD, LOGDEBUG2, m_pBufferFramebuffer, m_pDevice, m_pOglThread, and OutputFramebuffer.
|
virtual |
Definition at line 2415 of file openglosd.cpp.
References m_pOglPixmaps, and m_pOglThread.
|
virtual |
Definition at line 2436 of file openglosd.cpp.
References m_isSubtitleOsd, m_pOglPixmaps, and m_pOglThread.
Referenced by SetAreas().
|
virtual |
Definition at line 2530 of file openglosd.cpp.
References m_isSubtitleOsd, and m_pOglPixmaps.
Definition at line 2461 of file openglosd.cpp.
References L_OSD, LOGDEBUG2, m_isSubtitleOsd, m_pBufferFramebuffer, m_pDevice, m_pDirtyViewport, m_pOglPixmaps, m_pOglThread, and OutputFramebuffer.
Definition at line 818 of file openglosd.h.
References m_maxPixmapSize.
Definition at line 2392 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 827 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 828 of file openglosd.h.
Referenced by cOglOsd(), and MaxPixmapSize().
all pixmaps are composed onto this framebuffer after each other, before this one is blit onto the OSD output framebuffer
Definition at line 823 of file openglosd.h.
Referenced by Flush(), SetAreas(), and ~cOglOsd().
|
private |
pointer to cSofthdDevice
Definition at line 830 of file openglosd.h.
Referenced by cOglOsd(), Flush(), and ~cOglOsd().
|
private |
|
private |
array of pixmaps
Definition at line 826 of file openglosd.h.
Referenced by CreatePixmap(), DestroyPixmap(), DrawScaledBitmap(), Flush(), and SetAreas().
|
private |
pointer to thread, which executes the commands
Definition at line 825 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 821 of file openglosd.h.
Referenced by cOglThread::Cleanup(), cOglOsd(), Flush(), and ~cOglOsd().