|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
#include <openglosd.h>
Public Member Functions | |
| cOglThread (cCondWait *startWait, int maxCacheSize, cSoftHdDevice *device) | |
| virtual | ~cOglThread (void) |
| void | Stop (void) |
| void | DoCmd (cOglCmd *) |
| int | StoreImage (const cImage &) |
| void | DropImageData (int) |
| sOglImage * | GetImageRef (int) |
| int | MaxTextureSize (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) |
| int | GetFreeSlot (void) |
| void | ClearSlot (int slot) |
| void | eglAcquireContext (void) |
| void | eglReleaseContext (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 |
Definition at line 642 of file openglosd.h.
| cOglThread::cOglThread | ( | cCondWait * | startWait, |
| int | maxCacheSize, | ||
| cSoftHdDevice * | device | ||
| ) |
Definition at line 1647 of file openglosd.cpp.
References m_imageCache, and OGL_MAX_OSDIMAGES.
|
inlinevirtual |
Definition at line 646 of file openglosd.h.
|
protectedvirtual |
Definition at line 1798 of file openglosd.cpp.
References Cleanup(), cOglCmd::Description(), cOglCmd::Execute(), InitOpenGL(), InitShaders(), InitVertexBuffers(), L_OPENGL, L_OPENGL_TIME, L_OPENGL_TIME_ALL, LOGDEBUG2, LOGERROR, LOGINFO, m_commands, m_maxTextureSize, m_stalled, m_startWait, m_wait, and OGL_CMDQUEUE_SIZE.
|
private |
Definition at line 1943 of file openglosd.cpp.
References cOglFont::Cleanup(), DeleteShaders(), DeleteVertexBuffers(), and cOglOsd::OutputFramebuffer.
Referenced by Action().
|
private |
Definition at line 1764 of file openglosd.cpp.
References m_imageCache, and OGL_MAX_OSDIMAGES.
Referenced by DropImageData(), and StoreImage().
|
private |
Definition at line 1917 of file openglosd.cpp.
References Shaders, and stCount.
Referenced by Cleanup().
|
private |
Definition at line 1936 of file openglosd.cpp.
References vbCount, and VertexBuffers.
Referenced by Cleanup().
| void cOglThread::DoCmd | ( | cOglCmd * | cmd | ) |
Definition at line 1674 of file openglosd.cpp.
References m_commands, m_stalled, m_wait, and OGL_CMDQUEUE_SIZE.
Referenced by DropImageData(), and StoreImage().
| void cOglThread::DropImageData | ( | int | imageHandle | ) |
Definition at line 1785 of file openglosd.cpp.
References ClearSlot(), DoCmd(), GetImageRef(), and m_memCached.
Referenced by Stop(), and StoreImage().
|
private |
|
private |
Definition at line 1875 of file openglosd.cpp.
References m_pRender.
|
private |
Definition at line 1750 of file openglosd.cpp.
References m_imageCache, and OGL_MAX_OSDIMAGES.
Referenced by StoreImage().
| sOglImage * cOglThread::GetImageRef | ( | int | slot | ) |
Definition at line 1777 of file openglosd.cpp.
References m_imageCache, and OGL_MAX_OSDIMAGES.
Referenced by DropImageData(), and StoreImage().
|
private |
Definition at line 1880 of file openglosd.cpp.
References eglAcquireContext(), cOglVb::EnableBlending(), L_OPENGL, LOGDEBUG2, m_pRender, vbText, and VertexBuffers.
Referenced by Action().
|
private |
Definition at line 1904 of file openglosd.cpp.
References L_OPENGL, cOglShader::Load(), LOGDEBUG2, Shaders, and stCount.
Referenced by Action().
|
private |
Definition at line 1923 of file openglosd.cpp.
References cOglVb::Init(), L_OPENGL, LOGDEBUG2, vbCount, and VertexBuffers.
Referenced by Action().
|
inline |
Definition at line 653 of file openglosd.h.
References m_maxTextureSize.
| void cOglThread::Stop | ( | void | ) |
Definition at line 1663 of file openglosd.cpp.
References DropImageData(), m_imageCache, m_stalled, and OGL_MAX_OSDIMAGES.
| int cOglThread::StoreImage | ( | const cImage & | image | ) |
Definition at line 1694 of file openglosd.cpp.
References ClearSlot(), DoCmd(), DropImageData(), GetFreeSlot(), GetImageRef(), LOGERROR, m_maxCacheSize, m_maxTextureSize, and m_memCached.
|
private |
Definition at line 660 of file openglosd.h.
|
private |
Definition at line 662 of file openglosd.h.
Referenced by ClearSlot(), cOglThread(), GetFreeSlot(), GetImageRef(), and Stop().
|
private |
Definition at line 664 of file openglosd.h.
Referenced by StoreImage().
|
private |
Definition at line 661 of file openglosd.h.
Referenced by Action(), MaxTextureSize(), and StoreImage().
|
private |
Definition at line 663 of file openglosd.h.
Referenced by DropImageData(), and StoreImage().
|
private |
Definition at line 665 of file openglosd.h.
Referenced by eglAcquireContext(), eglReleaseContext(), and InitOpenGL().
|
private |
Definition at line 659 of file openglosd.h.
|
private |
Definition at line 657 of file openglosd.h.
Referenced by Action().
|
private |
Definition at line 658 of file openglosd.h.