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