|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
#include <openglosd.h>
Public Member Functions | |
| cOglVb (int type) | |
| virtual | ~cOglVb (void) |
| bool | Init (void) |
| void | Bind (void) |
| void | Unbind (void) |
| void | ActivateShader (void) |
| void | EnableBlending (void) |
| void | DisableBlending (void) |
| void | SetShaderColor (GLint) |
| void | SetShaderBorderColor (GLint) |
| void | SetShaderTexture (GLint) |
| void | SetShaderAlpha (GLint) |
| void | SetShaderProjectionMatrix (GLint, GLint) |
| void | SetVertexSubData (GLfloat *, int count=0) |
| void | SetVertexData (GLfloat *, int count=0) |
| void | DrawArrays (int count=0) |
Private Attributes | |
| eVertexBufferType | m_type |
| eShaderType | m_shader |
| GLuint | m_vao |
| GLuint | m_vbo = 0 |
| GLuint | m_positionLoc = 0 |
| GLuint | m_texCoordsLoc = 1 |
| int | m_sizeVertex1 = 0 |
| int | m_sizeVertex2 = 0 |
| int | m_numVertices = 0 |
| GLuint | m_drawMode = 0 |
Definition at line 292 of file openglosd.h.
|
inline |
Definition at line 295 of file openglosd.h.
|
inlinevirtual |
Definition at line 296 of file openglosd.h.
| void cOglVb::ActivateShader | ( | void | ) |
Definition at line 813 of file openglosd.cpp.
References m_shader, Shaders, and cOglShader::Use().
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdCopyBufferToOutputFb::Execute(), cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), cOglCmdDrawText::Execute(), cOglCmdDrawImage::Execute(), and cOglCmdDrawTexture::Execute().
| void cOglVb::Bind | ( | void | ) |
Definition at line 797 of file openglosd.cpp.
References m_positionLoc, m_sizeVertex1, m_sizeVertex2, m_texCoordsLoc, and m_vbo.
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdCopyBufferToOutputFb::Execute(), cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), cOglCmdDrawText::Execute(), cOglCmdDrawImage::Execute(), and cOglCmdDrawTexture::Execute().
| void cOglVb::DisableBlending | ( | void | ) |
Definition at line 824 of file openglosd.cpp.
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), and cOglCmdDrawImage::Execute().
| void cOglVb::DrawArrays | ( | int | count = 0 | ) |
Definition at line 877 of file openglosd.cpp.
References m_drawMode, and m_numVertices.
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdCopyBufferToOutputFb::Execute(), cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), cOglCmdDrawText::Execute(), cOglCmdDrawImage::Execute(), and cOglCmdDrawTexture::Execute().
| void cOglVb::EnableBlending | ( | void | ) |
Definition at line 818 of file openglosd.cpp.
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), cOglCmdDrawImage::Execute(), and cOglThread::InitOpenGL().
| bool cOglVb::Init | ( | void | ) |
Definition at line 731 of file openglosd.cpp.
References m_drawMode, m_numVertices, m_positionLoc, m_shader, m_sizeVertex1, m_sizeVertex2, m_texCoordsLoc, m_type, m_vbo, stRect, stText, stTexture, stTextureSwapBR, vbEllipse, vbRect, vbSlope, vbText, vbTexture, and vbTextureSwapBR.
Referenced by cOglThread::InitVertexBuffers().
| void cOglVb::SetShaderAlpha | ( | GLint | alpha | ) |
Definition at line 848 of file openglosd.cpp.
References m_shader, cOglShader::SetVector4f(), and Shaders.
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdCopyBufferToOutputFb::Execute(), cOglCmdDrawImage::Execute(), and cOglCmdDrawTexture::Execute().
| void cOglVb::SetShaderBorderColor | ( | GLint | color | ) |
Definition at line 836 of file openglosd.cpp.
References ConvertColor(), m_shader, cOglShader::SetVector4f(), and Shaders.
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdCopyBufferToOutputFb::Execute(), cOglCmdDrawImage::Execute(), and cOglCmdDrawTexture::Execute().
| void cOglVb::SetShaderColor | ( | GLint | color | ) |
Definition at line 829 of file openglosd.cpp.
References ConvertColor(), m_shader, cOglShader::SetVector4f(), and Shaders.
Referenced by cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), and cOglCmdDrawText::Execute().
| void cOglVb::SetShaderProjectionMatrix | ( | GLint | width, |
| GLint | height | ||
| ) |
Definition at line 853 of file openglosd.cpp.
References m_shader, cOglShader::SetMatrix4(), and Shaders.
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdCopyBufferToOutputFb::Execute(), cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), cOglCmdDrawText::Execute(), cOglCmdDrawImage::Execute(), and cOglCmdDrawTexture::Execute().
| void cOglVb::SetShaderTexture | ( | GLint | value | ) |
Definition at line 843 of file openglosd.cpp.
References m_shader, cOglShader::SetInteger(), and Shaders.
| void cOglVb::SetVertexData | ( | GLfloat * | vertices, |
| int | count = 0 |
||
| ) |
Definition at line 868 of file openglosd.cpp.
References m_numVertices, m_sizeVertex1, m_sizeVertex2, and m_vbo.
Referenced by cOglCmdDrawText::Execute().
| void cOglVb::SetVertexSubData | ( | GLfloat * | vertices, |
| int | count = 0 |
||
| ) |
Definition at line 859 of file openglosd.cpp.
References m_numVertices, m_sizeVertex1, m_sizeVertex2, and m_vbo.
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdCopyBufferToOutputFb::Execute(), cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), cOglCmdDrawImage::Execute(), and cOglCmdDrawTexture::Execute().
| void cOglVb::Unbind | ( | void | ) |
Definition at line 808 of file openglosd.cpp.
Referenced by cOglCmdRenderFbToBufferFb::Execute(), cOglCmdCopyBufferToOutputFb::Execute(), cOglCmdDrawRectangle::Execute(), cOglCmdDrawEllipse::Execute(), cOglCmdDrawSlope::Execute(), cOglCmdDrawText::Execute(), cOglCmdDrawImage::Execute(), and cOglCmdDrawTexture::Execute().
|
private |
Definition at line 322 of file openglosd.h.
Referenced by DrawArrays(), and Init().
|
private |
Definition at line 321 of file openglosd.h.
Referenced by DrawArrays(), Init(), SetVertexData(), and SetVertexSubData().
|
private |
Definition at line 317 of file openglosd.h.
|
private |
Definition at line 314 of file openglosd.h.
Referenced by ActivateShader(), Init(), SetShaderAlpha(), SetShaderBorderColor(), SetShaderColor(), SetShaderProjectionMatrix(), and SetShaderTexture().
|
private |
Definition at line 319 of file openglosd.h.
Referenced by Bind(), Init(), SetVertexData(), and SetVertexSubData().
|
private |
Definition at line 320 of file openglosd.h.
Referenced by Bind(), Init(), SetVertexData(), and SetVertexSubData().
|
private |
Definition at line 318 of file openglosd.h.
|
private |
Definition at line 313 of file openglosd.h.
Referenced by Init().
|
private |
Definition at line 315 of file openglosd.h.
|
private |
Definition at line 316 of file openglosd.h.
Referenced by Bind(), Init(), SetVertexData(), and SetVertexSubData().