|
MythTV master
|
#include <libmythui/opengl/mythrenderopengl.h>
Public Member Functions | |
| MythGLTexture (QOpenGLTexture *Texture) | |
| MythGLTexture (GLuint Texture) | |
| virtual | ~MythGLTexture ()=default |
Public Attributes | |
| unsigned char * | m_data { nullptr } |
| int | m_bufferSize { 0 } |
| GLuint | m_textureId { 0 } |
| QOpenGLTexture * | m_texture { nullptr } |
| QOpenGLTexture::PixelFormat | m_pixelFormat { QOpenGLTexture::RGBA } |
| QOpenGLTexture::PixelType | m_pixelType { QOpenGLTexture::UInt8 } |
| QOpenGLBuffer * | m_vbo { nullptr } |
| QSize | m_size { QSize() } |
| QSize | m_totalSize { QSize() } |
| bool | m_flip { true } |
| bool | m_crop { false } |
| QRect | m_source { QRect() } |
| QRect | m_destination { QRect() } |
| std::array< GLfloat, 16 > | m_vertexData { 0.0F } |
| GLenum | m_target { QOpenGLTexture::Target2D } |
| int | m_rotation { 0 } |
Definition at line 55 of file mythrenderopengl.h.
|
explicit |
Definition at line 43 of file mythrenderopengl.cpp.
|
explicit |
Definition at line 48 of file mythrenderopengl.cpp.
|
virtualdefault |
| int MythGLTexture::m_bufferSize { 0 } |
Definition at line 63 of file mythrenderopengl.h.
Referenced by MythRenderOpenGL::GetTextureDataSize(), MythVideoTextureOpenGL::NV12ToNV12(), MythVideoTextureOpenGL::YV12ToYUYV(), and MythVideoTextureOpenGL::YV12ToYV12().
Definition at line 72 of file mythrenderopengl.h.
Referenced by VideoVisualGoom::Draw(), and MythRenderOpenGL::UpdateTextureVertices().
| unsigned char* MythGLTexture::m_data { nullptr } |
Definition at line 62 of file mythrenderopengl.h.
Referenced by MythNVDECInterop::Acquire(), MythVideoTextureOpenGL::CreateBuffer(), MythEGLDMABUF::CreateComposed(), MythRenderOpenGL::DeleteTexture(), MythVideoTextureOpenGL::DeleteTexture(), MythVideoTextureOpenGL::NV12ToNV12(), MythVideoTextureOpenGL::YV12ToYUYV(), and MythVideoTextureOpenGL::YV12ToYV12().
| QRect MythGLTexture::m_destination { QRect() } |
Definition at line 74 of file mythrenderopengl.h.
Referenced by MythOpenGLPainter::DrawImage(), and MythRenderOpenGL::UpdateTextureVertices().
Definition at line 71 of file mythrenderopengl.h.
Referenced by MythRenderOpenGL::UpdateTextureVertices().
| QOpenGLTexture::PixelFormat MythGLTexture::m_pixelFormat { QOpenGLTexture::RGBA } |
Definition at line 66 of file mythrenderopengl.h.
Referenced by VideoVisualGoom::Draw(), MythVideoTextureOpenGL::NV12ToNV12(), MythVideoTextureOpenGL::YV12ToYUYV(), and MythVideoTextureOpenGL::YV12ToYV12().
| QOpenGLTexture::PixelType MythGLTexture::m_pixelType { QOpenGLTexture::UInt8 } |
Definition at line 67 of file mythrenderopengl.h.
Referenced by VideoVisualGoom::Draw(), MythVideoTextureOpenGL::NV12ToNV12(), MythVideoTextureOpenGL::YV12ToYUYV(), and MythVideoTextureOpenGL::YV12ToYV12().
| int MythGLTexture::m_rotation { 0 } |
Definition at line 77 of file mythrenderopengl.h.
Referenced by MythRenderOpenGL::UpdateTextureVertices().
| QSize MythGLTexture::m_size { QSize() } |
Definition at line 69 of file mythrenderopengl.h.
Referenced by MythNVDECInterop::Acquire(), MythVTBSurfaceInterop::Acquire(), MythOpenGLTonemap::CreateTexture(), MythOpenGLTonemap::Map(), MythVideoTextureOpenGL::NV12ToNV12(), MythRenderOpenGL::UpdateTextureVertices(), and MythVideoTextureOpenGL::YV12ToYV12().
| QRect MythGLTexture::m_source { QRect() } |
Definition at line 73 of file mythrenderopengl.h.
Referenced by MythRenderOpenGL::UpdateTextureVertices().
| GLenum MythGLTexture::m_target { QOpenGLTexture::Target2D } |
Definition at line 76 of file mythrenderopengl.h.
Referenced by MythMMALInterop::Acquire(), MythNVDECInterop::Acquire(), MythVTBSurfaceInterop::Acquire(), MythEGLDMABUF::CreateComposed(), MythOpenGLTonemap::CreateTexture(), MythRenderOpenGL::DrawBitmap(), MythRenderOpenGL::SetTextureFilters(), and MythRenderOpenGL::UpdateTextureVertices().
| QOpenGLTexture* MythGLTexture::m_texture { nullptr } |
Definition at line 65 of file mythrenderopengl.h.
Referenced by MythVAAPIInteropGLXCopy::Acquire(), MythRenderOpenGL::DeleteTexture(), MythVideoTextureOpenGL::DeleteTexture(), VideoVisualGoom::Draw(), MythRenderOpenGL::DrawBitmap(), MythVideoTextureOpenGL::NV12ToNV12(), MythRenderOpenGL::SetTextureFilters(), MythVideoTextureOpenGL::UpdateTextures(), MythVideoTextureOpenGL::YV12ToYUYV(), and MythVideoTextureOpenGL::YV12ToYV12().
| GLuint MythGLTexture::m_textureId { 0 } |
Definition at line 64 of file mythrenderopengl.h.
Referenced by MythMMALInterop::Acquire(), MythNVDECInterop::Acquire(), MythVTBSurfaceInterop::Acquire(), MythEGLDMABUF::CreateComposed(), MythOpenGLTonemap::CreateTexture(), MythRenderOpenGL::DrawBitmap(), MythMediaCodecInterop::Initialise(), MythOpenGLTonemap::Map(), and MythRenderOpenGL::SetTextureFilters().
| QSize MythGLTexture::m_totalSize { QSize() } |
Definition at line 70 of file mythrenderopengl.h.
Referenced by MythOpenGLTonemap::CreateTexture().
| QOpenGLBuffer* MythGLTexture::m_vbo { nullptr } |
Definition at line 68 of file mythrenderopengl.h.
Referenced by MythOpenGLTonemap::CreateTexture(), MythRenderOpenGL::DeleteTexture(), MythVideoTextureOpenGL::DeleteTexture(), MythRenderOpenGL::DrawBitmap(), and MythOpenGLPainter::DrawImage().
| std::array<GLfloat,16> MythGLTexture::m_vertexData { 0.0F } |
Definition at line 75 of file mythrenderopengl.h.
Referenced by MythRenderOpenGL::DrawBitmap(), and MythRenderOpenGL::UpdateTextureVertices().