|
vdr-plugin-softhddevice-drm-gles 1.6.2
|
OpenGL Commands Processing Thread. More...
#include <openglosd.h>
Public Member Functions | |
| cOglThread (cCondWait *startWait, int maxCacheSize, cSoftHdDevice *device) | |
| virtual | ~cOglThread (void) |
| void | RequestStop (void) |
| void | Stop (void) |
| void | DoCmd (cOglCmd *) |
| int | StoreImage (const cImage &) |
| void | DropImageData (int) |
| sOglImage * | GetImageRef (int) |
| int | MaxTextureSize (void) |
| void | LockOutputFb (void) |
| void | UnlockOutputFb (void) |
Protected Member Functions | |
| virtual void | Action (void) |
Private Member Functions | |
| bool | InitOpenGL (void) |
| bool | InitShaders (void) |
| void | DeleteShaders (void) |
| bool | InitVertexBuffers (void) |
| void | DeleteVertexBuffers (void) |
| void | Cleanup (void) |
| void | CleanupImageCache (void) |
| int | GetFreeSlot (void) |
| void | ClearSlot (int slot) |
| void | eglAcquireContext (void) |
Private Attributes | |
| cCondWait * | m_startWait |
| cCondWait | m_wait |
| bool | m_stalled = false |
| std::queue< cOglCmd * > | m_commands |
| GLint | m_maxTextureSize = 0 |
| sOglImage | m_imageCache [OGL_MAX_OSDIMAGES] |
| long | m_memCached = 0 |
| long | m_maxCacheSize |
| cVideoRender * | m_pRender |
| std::mutex | m_mutex |
OpenGL Commands Processing Thread.
Continuosly executes OpenGL commands
Every OSD draw or flush which is invoked by VDR is transposed into an OpenGL command. cOglThread holds a fifo-queue of these commands. It continuosly checks for commands on the queue, pops them and sends them to the hardware.
On startup it initiates all necessary OpenGL bits.
Definition at line 617 of file openglosd.h.
Definition at line 620 of file openglosd.h.
Definition at line 629 of file openglosd.h.
References m_mutex.
Definition at line 628 of file openglosd.h.
References m_maxTextureSize.
Definition at line 630 of file openglosd.h.
References m_mutex.
|
private |
Definition at line 637 of file openglosd.h.
|
private |
Definition at line 639 of file openglosd.h.
Referenced by CleanupImageCache(), ClearSlot(), cOglThread(), GetFreeSlot(), and GetImageRef().
|
private |
Definition at line 641 of file openglosd.h.
Referenced by StoreImage().
|
private |
Definition at line 638 of file openglosd.h.
Referenced by Action(), MaxTextureSize(), and StoreImage().
|
private |
Definition at line 640 of file openglosd.h.
Referenced by DropImageData(), and StoreImage().
|
private |
Definition at line 643 of file openglosd.h.
Referenced by Action(), LockOutputFb(), and UnlockOutputFb().
|
private |
Definition at line 642 of file openglosd.h.
Referenced by eglAcquireContext(), and InitOpenGL().
Definition at line 636 of file openglosd.h.
|
private |
Definition at line 634 of file openglosd.h.
Referenced by Action().
|
private |
Definition at line 635 of file openglosd.h.