MythTV  0.28pre
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes | List of all members
MythRenderOpenGL Class Referenceabstract

#include <mythrender_opengl.h>

Inheritance diagram for MythRenderOpenGL:
Inheritance graph
[legend]
Collaboration diagram for MythRenderOpenGL:
Collaboration graph
[legend]

Public Member Functions

 MythRenderOpenGL (const MythRenderFormat &format, QPaintDevice *device, RenderType type=kRenderUnknown)
 
 MythRenderOpenGL (const MythRenderFormat &format, RenderType type=kRenderUnknown)
 
virtual void makeCurrent ()
 
virtual void doneCurrent ()
 
virtual void Release (void)
 
virtual void swapBuffers ()
 
void setWidget (QWidget *w)
 
void setWidget (QGLWidget *w)
 
bool IsDirectRendering () const
 
void Init (void)
 
int GetMaxTextureSize (void)
 
uint GetFeatures (void)
 
bool IsRecommendedRenderer (void)
 
void MoveResizeWindow (const QRect &rect)
 
void SetViewPort (const QRect &rect, bool viewportonly=false)
 
QRect GetViewPort (void)
 
virtual void PushTransformation (const UIEffects &fx, QPointF &center)=0
 
virtual void PopTransformation (void)=0
 
void Flush (bool use_fence)
 
void SetBlend (bool enable)
 
virtual void SetColor (int r, int g, int b, int a)
 
void SetBackground (int r, int g, int b, int a)
 
void SetFence (void)
 
void * GetTextureBuffer (uint tex, bool create_buffer=true)
 
void UpdateTexture (uint tex, void *buf)
 
int GetTextureType (bool &rect)
 
bool IsRectTexture (uint type)
 
uint CreateTexture (QSize act_size, bool use_pbo, uint type, uint data_type=GL_UNSIGNED_BYTE, uint data_fmt=GL_BGRA, uint internal_fmt=GL_RGBA8, uint filter=GL_LINEAR, uint wrap=GL_CLAMP_TO_EDGE)
 
QSize GetTextureSize (uint type, const QSize &size)
 
QSize GetTextureSize (uint tex)
 
int GetTextureDataSize (uint tex)
 
void SetTextureFilters (uint tex, uint filt, uint wrap)
 
void ActiveTexture (int active_tex)
 
virtual uint CreateHelperTexture (void)
 
void EnableTextures (uint type, uint tex_type=0)
 
void DisableTextures (void)
 
void DeleteTexture (uint tex)
 
bool CreateFrameBuffer (uint &fb, uint tex)
 
void DeleteFrameBuffer (uint fb)
 
void BindFramebuffer (uint fb)
 
void ClearFramebuffer (void)
 
virtual uint CreateShaderObject (const QString &vert, const QString &frag)=0
 
virtual void DeleteShaderObject (uint obj)=0
 
virtual void EnableShaderObject (uint obj)=0
 
virtual void SetShaderParams (uint prog, const QMatrix4x4 &m, const char *uniform)=0
 
void DrawBitmap (uint tex, uint target, const QRect *src, const QRect *dst, uint prog, int alpha=255, int red=255, int green=255, int blue=255)
 
void DrawBitmap (uint *textures, uint texture_count, uint target, const QRectF *src, const QRectF *dst, uint prog)
 
void DrawRect (const QRect &area, const QBrush &fillBrush, const QPen &linePen, int alpha)
 
void DrawRoundRect (const QRect &area, int cornerRadius, const QBrush &fillBrush, const QPen &linePen, int alpha)
 
virtual bool RectanglesAreAccelerated (void)
 
- Public Member Functions inherited from MythRender
 MythRender (RenderType type)
 
bool IsShared (void) const
 Warning: The reference count can be decremented between the call to this function and the use of it's value. More...
 
RenderType Type (void) const
 
bool IsErrored (void) const
 
QSize GetSize (void) const
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter (const QString &debugName, bool logDebug=true)
 Creates reference counter with an initial value of 1. More...
 
virtual int IncrRef (void)
 Increments reference count. More...
 
virtual int DecrRef (void)
 Decrements reference count and deletes on 0. More...
 

Static Public Member Functions

static MythRenderOpenGLCreate (const QString &painter, QPaintDevice *device=NULL)
 
- Static Public Member Functions inherited from ReferenceCounter
static void PrintDebug (void)
 Print out any leaks if that level of debugging is enabled. More...
 

Protected Member Functions

virtual ~MythRenderOpenGL ()
 
virtual void DrawBitmapPriv (uint tex, const QRect *src, const QRect *dst, uint prog, int alpha, int red, int green, int blue)=0
 
virtual void DrawBitmapPriv (uint *textures, uint texture_count, const QRectF *src, const QRectF *dst, uint prog)=0
 
virtual void DrawRectPriv (const QRect &area, const QBrush &fillBrush, const QPen &linePen, int alpha)=0
 
virtual void DrawRoundRectPriv (const QRect &area, int cornerRadius, const QBrush &fillBrush, const QPen &linePen, int alpha)=0
 
virtual void Init2DState (void)
 
virtual void InitProcs (void)
 
void * GetProcAddress (const QString &proc) const
 
virtual bool InitFeatures (void)
 
virtual void ResetVars (void)
 
virtual void ResetProcs (void)
 
virtual void SetMatrixView (void)=0
 
uint CreatePBO (uint tex)
 
uint CreateVBO (void)
 
virtual void DeleteOpenGLResources (void)
 
void DeleteTextures (void)
 
virtual void DeleteShaders (void)=0
 
void DeleteFrameBuffers (void)
 
bool UpdateTextureVertices (uint tex, const QRect *src, const QRect *dst)
 
bool UpdateTextureVertices (uint tex, const QRectF *src, const QRectF *dst)
 
GLfloat * GetCachedVertices (GLuint type, const QRect &area)
 
void ExpireVertices (uint max=0)
 
void GetCachedVBO (GLuint type, const QRect &area)
 
void ExpireVBOS (uint max=0)
 
bool ClearTexture (uint tex)
 
uint GetBufferSize (QSize size, uint fmt, uint type)
 
- Protected Member Functions inherited from MythRender
virtual ~MythRender ()
 
- Protected Member Functions inherited from ReferenceCounter
virtual ~ReferenceCounter (void)
 Called on destruction, will warn if object deleted with references in place. More...
 

Static Protected Member Functions

static void StoreBicubicWeights (float x, float *dst)
 

Protected Attributes

QHash< GLuint, MythGLTexturem_textures
 
QVector< GLuint > m_framebuffers
 
GLuint m_fence
 
QMutex m_lock
 
int m_lock_level
 
QString m_extensions
 
uint m_exts_supported
 
uint m_exts_used
 
int m_max_tex_size
 
int m_max_units
 
int m_default_texture_type
 
QRect m_viewport
 
int m_active_tex
 
int m_active_tex_type
 
int m_active_fb
 
bool m_blend
 
uint32_t m_background
 
QMap< uint64_t, GLfloat * > m_cachedVertices
 
QList< uint64_t > m_vertexExpiry
 
QMap< uint64_t, GLuint > m_cachedVBOS
 
QList< uint64_t > m_vboExpiry
 
bool m_flushEnabled
 
MYTH_GLTEXIMAGE1DPROC m_glTexImage1D
 
MYTH_GLACTIVETEXTUREPROC m_glActiveTexture
 
MYTH_GLMAPBUFFERPROC m_glMapBuffer
 
MYTH_GLBINDBUFFERPROC m_glBindBuffer
 
MYTH_GLGENBUFFERSPROC m_glGenBuffers
 
MYTH_GLBUFFERDATAPROC m_glBufferData
 
MYTH_GLUNMAPBUFFERPROC m_glUnmapBuffer
 
MYTH_GLDELETEBUFFERSPROC m_glDeleteBuffers
 
MYTH_GLGENFRAMEBUFFERSPROC m_glGenFramebuffers
 
MYTH_GLBINDFRAMEBUFFERPROC m_glBindFramebuffer
 
MYTH_GLFRAMEBUFFERTEXTURE2DPROC m_glFramebufferTexture2D
 
MYTH_GLCHECKFRAMEBUFFERSTATUSPROC m_glCheckFramebufferStatus
 
MYTH_GLDELETEFRAMEBUFFERSPROC m_glDeleteFramebuffers
 
MYTH_GLGENFENCESNVPROC m_glGenFencesNV
 
MYTH_GLDELETEFENCESNVPROC m_glDeleteFencesNV
 
MYTH_GLSETFENCENVPROC m_glSetFenceNV
 
MYTH_GLFINISHFENCENVPROC m_glFinishFenceNV
 
MYTH_GLGENFENCESAPPLEPROC m_glGenFencesAPPLE
 
MYTH_GLDELETEFENCESAPPLEPROC m_glDeleteFencesAPPLE
 
MYTH_GLSETFENCEAPPLEPROC m_glSetFenceAPPLE
 
MYTH_GLFINISHFENCEAPPLEPROC m_glFinishFenceAPPLE
 
- Protected Attributes inherited from MythRender
RenderType m_type
 
QSize m_size
 
bool m_errored
 
- Protected Attributes inherited from ReferenceCounter
const QString m_debugName
 
bool m_logDebug
 This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More...
 
QAtomicInt m_referenceCount
 

Private Attributes

QWindow * m_window
 

Detailed Description

Definition at line 120 of file mythrender_opengl.h.

Constructor & Destructor Documentation

§ MythRenderOpenGL() [1/2]

MythRenderOpenGL::MythRenderOpenGL ( const MythRenderFormat format,
QPaintDevice *  device,
RenderType  type = kRenderUnknown 
)

Definition at line 156 of file mythrender_opengl.cpp.

Referenced by MythRenderOpenGL().

§ MythRenderOpenGL() [2/2]

MythRenderOpenGL::MythRenderOpenGL ( const MythRenderFormat format,
RenderType  type = kRenderUnknown 
)

Definition at line 167 of file mythrender_opengl.cpp.

§ ~MythRenderOpenGL()

MythRenderOpenGL::~MythRenderOpenGL ( )
protectedvirtual

Definition at line 191 of file mythrender_opengl.cpp.

Member Function Documentation

§ Create()

MythRenderOpenGL * MythRenderOpenGL::Create ( const QString &  painter,
QPaintDevice *  device = NULL 
)
static

Definition at line 59 of file mythrender_opengl.cpp.

Referenced by MythMainWindow::Init(), and VideoOutputOpenGL::SetupContext().

§ makeCurrent()

void MythRenderOpenGL::makeCurrent ( )
virtual

§ doneCurrent()

void MythRenderOpenGL::doneCurrent ( )
virtual

§ Release()

void MythRenderOpenGL::Release ( void  )
virtual

Reimplemented from MythRender.

Definition at line 318 of file mythrender_opengl.cpp.

§ swapBuffers()

void MythRenderOpenGL::swapBuffers ( )
virtual

Reimplemented in MythRenderEGL.

Definition at line 247 of file mythrender_opengl.cpp.

Referenced by MythOpenGLPainter::End(), and VideoOutputOpenGL::Show().

§ setWidget() [1/2]

void MythRenderOpenGL::setWidget ( QWidget *  w)

Definition at line 252 of file mythrender_opengl.cpp.

Referenced by MythPainterWindowGL::MythPainterWindowGL().

§ setWidget() [2/2]

void MythRenderOpenGL::setWidget ( QGLWidget *  w)

Definition at line 277 of file mythrender_opengl.cpp.

§ IsDirectRendering()

bool MythRenderOpenGL::IsDirectRendering ( ) const

§ Init()

void MythRenderOpenGL::Init ( void  )

§ GetMaxTextureSize()

int MythRenderOpenGL::GetMaxTextureSize ( void  )
inline

Definition at line 146 of file mythrender_opengl.h.

§ GetFeatures()

uint MythRenderOpenGL::GetFeatures ( void  )
inline

Definition at line 147 of file mythrender_opengl.h.

Referenced by VideoVisualGoom::Draw(), and OpenGLVideo::Init().

§ IsRecommendedRenderer()

bool MythRenderOpenGL::IsRecommendedRenderer ( void  )

Definition at line 212 of file mythrender_opengl.cpp.

Referenced by MythMainWindow::Init().

§ MoveResizeWindow()

void MythRenderOpenGL::MoveResizeWindow ( const QRect &  rect)

Definition at line 326 of file mythrender_opengl.cpp.

Referenced by VideoOutputOpenGL::MoveResizeWindow().

§ SetViewPort()

void MythRenderOpenGL::SetViewPort ( const QRect &  rect,
bool  viewportonly = false 
)

§ GetViewPort()

QRect MythRenderOpenGL::GetViewPort ( void  )
inline

Definition at line 153 of file mythrender_opengl.h.

Referenced by VideoOutputOpenGL::PrepareFrame().

§ PushTransformation()

virtual void MythRenderOpenGL::PushTransformation ( const UIEffects fx,
QPointF &  center 
)
pure virtual

§ PopTransformation()

virtual void MythRenderOpenGL::PopTransformation ( void  )
pure virtual

§ Flush()

void MythRenderOpenGL::Flush ( bool  use_fence)

§ SetBlend()

void MythRenderOpenGL::SetBlend ( bool  enable)

§ SetColor()

virtual void MythRenderOpenGL::SetColor ( int  r,
int  g,
int  b,
int  a 
)
inlinevirtual

Reimplemented in MythRenderOpenGL1.

Definition at line 158 of file mythrender_opengl.h.

Referenced by MythOpenGLPainter::Begin().

§ SetBackground()

void MythRenderOpenGL::SetBackground ( int  r,
int  g,
int  b,
int  a 
)

§ SetFence()

void MythRenderOpenGL::SetFence ( void  )

Definition at line 398 of file mythrender_opengl.cpp.

Referenced by OpenGLVideo::Init().

§ GetTextureBuffer()

void * MythRenderOpenGL::GetTextureBuffer ( uint  tex,
bool  create_buffer = true 
)

§ UpdateTexture()

void MythRenderOpenGL::UpdateTexture ( uint  tex,
void *  buf 
)

§ GetTextureType()

int MythRenderOpenGL::GetTextureType ( bool rect)

Definition at line 475 of file mythrender_opengl.cpp.

Referenced by OpenGLVideo::Init(), and InitFeatures().

§ IsRectTexture()

bool MythRenderOpenGL::IsRectTexture ( uint  type)

Definition at line 500 of file mythrender_opengl.cpp.

Referenced by GetTextureSize(), SetTextureFilters(), and UpdateTextureVertices().

§ CreateTexture()

uint MythRenderOpenGL::CreateTexture ( QSize  act_size,
bool  use_pbo,
uint  type,
uint  data_type = GL_UNSIGNED_BYTE,
uint  data_fmt = GL_BGRA,
uint  internal_fmt = GL_RGBA8,
uint  filter = GL_LINEAR,
uint  wrap = GL_CLAMP_TO_EDGE 
)

§ GetTextureSize() [1/2]

QSize MythRenderOpenGL::GetTextureSize ( uint  type,
const QSize &  size 
)

Definition at line 559 of file mythrender_opengl.cpp.

Referenced by CreateTexture(), and OpenGLVideo::CreateVideoTexture().

§ GetTextureSize() [2/2]

QSize MythRenderOpenGL::GetTextureSize ( uint  tex)

Definition at line 580 of file mythrender_opengl.cpp.

§ GetTextureDataSize()

int MythRenderOpenGL::GetTextureDataSize ( uint  tex)

§ SetTextureFilters()

void MythRenderOpenGL::SetTextureFilters ( uint  tex,
uint  filt,
uint  wrap 
)

Definition at line 594 of file mythrender_opengl.cpp.

Referenced by CreateTexture(), and OpenGLVideo::SetTextureFilters().

§ ActiveTexture()

void MythRenderOpenGL::ActiveTexture ( int  active_tex)

§ CreateHelperTexture()

virtual uint MythRenderOpenGL::CreateHelperTexture ( void  )
inlinevirtual

Reimplemented in MythRenderOpenGL1.

Definition at line 175 of file mythrender_opengl.h.

Referenced by OpenGLVideo::AddFilter().

§ EnableTextures()

void MythRenderOpenGL::EnableTextures ( uint  type,
uint  tex_type = 0 
)

§ DisableTextures()

void MythRenderOpenGL::DisableTextures ( void  )

§ DeleteTexture()

void MythRenderOpenGL::DeleteTexture ( uint  tex)

§ CreateFrameBuffer()

bool MythRenderOpenGL::CreateFrameBuffer ( uint fb,
uint  tex 
)

Definition at line 707 of file mythrender_opengl.cpp.

Referenced by OpenGLVideo::AddFrameBuffer().

§ DeleteFrameBuffer()

void MythRenderOpenGL::DeleteFrameBuffer ( uint  fb)

§ BindFramebuffer()

void MythRenderOpenGL::BindFramebuffer ( uint  fb)

§ ClearFramebuffer()

void MythRenderOpenGL::ClearFramebuffer ( void  )

§ CreateShaderObject()

virtual uint MythRenderOpenGL::CreateShaderObject ( const QString &  vert,
const QString &  frag 
)
pure virtual

§ DeleteShaderObject()

virtual void MythRenderOpenGL::DeleteShaderObject ( uint  obj)
pure virtual

§ EnableShaderObject()

virtual void MythRenderOpenGL::EnableShaderObject ( uint  obj)
pure virtual

Implemented in MythRenderOpenGL2, and MythRenderOpenGL1.

§ SetShaderParams()

virtual void MythRenderOpenGL::SetShaderParams ( uint  prog,
const QMatrix4x4 &  m,
const char *  uniform 
)
pure virtual

§ DrawBitmap() [1/2]

void MythRenderOpenGL::DrawBitmap ( uint  tex,
uint  target,
const QRect *  src,
const QRect *  dst,
uint  prog,
int  alpha = 255,
int  red = 255,
int  green = 255,
int  blue = 255 
)

§ DrawBitmap() [2/2]

void MythRenderOpenGL::DrawBitmap ( uint textures,
uint  texture_count,
uint  target,
const QRectF *  src,
const QRectF *  dst,
uint  prog 
)

Definition at line 853 of file mythrender_opengl.cpp.

§ DrawRect()

void MythRenderOpenGL::DrawRect ( const QRect &  area,
const QBrush &  fillBrush,
const QPen &  linePen,
int  alpha 
)

§ DrawRoundRect()

void MythRenderOpenGL::DrawRoundRect ( const QRect &  area,
int  cornerRadius,
const QBrush &  fillBrush,
const QPen &  linePen,
int  alpha 
)

Definition at line 878 of file mythrender_opengl.cpp.

Referenced by MythOpenGLPainter::DrawRoundRect().

§ RectanglesAreAccelerated()

virtual bool MythRenderOpenGL::RectanglesAreAccelerated ( void  )
inlinevirtual

Reimplemented in MythRenderOpenGL2.

Definition at line 200 of file mythrender_opengl.h.

Referenced by MythOpenGLPainter::DrawRoundRect().

§ DrawBitmapPriv() [1/2]

virtual void MythRenderOpenGL::DrawBitmapPriv ( uint  tex,
const QRect *  src,
const QRect *  dst,
uint  prog,
int  alpha,
int  red,
int  green,
int  blue 
)
protectedpure virtual

§ DrawBitmapPriv() [2/2]

virtual void MythRenderOpenGL::DrawBitmapPriv ( uint textures,
uint  texture_count,
const QRectF *  src,
const QRectF *  dst,
uint  prog 
)
protectedpure virtual

Implemented in MythRenderOpenGL2, and MythRenderOpenGL1.

§ DrawRectPriv()

virtual void MythRenderOpenGL::DrawRectPriv ( const QRect &  area,
const QBrush &  fillBrush,
const QPen &  linePen,
int  alpha 
)
protectedpure virtual

§ DrawRoundRectPriv()

virtual void MythRenderOpenGL::DrawRoundRectPriv ( const QRect &  area,
int  cornerRadius,
const QBrush &  fillBrush,
const QPen &  linePen,
int  alpha 
)
protectedpure virtual

§ Init2DState()

void MythRenderOpenGL::Init2DState ( void  )
protectedvirtual

§ InitProcs()

void MythRenderOpenGL::InitProcs ( void  )
protectedvirtual

§ GetProcAddress()

void * MythRenderOpenGL::GetProcAddress ( const QString &  proc) const
protected

§ InitFeatures()

bool MythRenderOpenGL::InitFeatures ( void  )
protectedvirtual

§ ResetVars()

void MythRenderOpenGL::ResetVars ( void  )
protectedvirtual

§ ResetProcs()

void MythRenderOpenGL::ResetProcs ( void  )
protectedvirtual

§ SetMatrixView()

virtual void MythRenderOpenGL::SetMatrixView ( void  )
protectedpure virtual

§ CreatePBO()

uint MythRenderOpenGL::CreatePBO ( uint  tex)
protected

Definition at line 1170 of file mythrender_opengl.cpp.

Referenced by CreateTexture().

§ CreateVBO()

uint MythRenderOpenGL::CreateVBO ( void  )
protected

Definition at line 1201 of file mythrender_opengl.cpp.

Referenced by CreateTexture(), and GetCachedVBO().

§ DeleteOpenGLResources()

void MythRenderOpenGL::DeleteOpenGLResources ( void  )
protectedvirtual

§ DeleteTextures()

void MythRenderOpenGL::DeleteTextures ( void  )
protected

Definition at line 1245 of file mythrender_opengl.cpp.

Referenced by DeleteOpenGLResources().

§ DeleteShaders()

virtual void MythRenderOpenGL::DeleteShaders ( void  )
protectedpure virtual

§ DeleteFrameBuffers()

void MythRenderOpenGL::DeleteFrameBuffers ( void  )
protected

Definition at line 1260 of file mythrender_opengl.cpp.

Referenced by DeleteOpenGLResources().

§ UpdateTextureVertices() [1/2]

bool MythRenderOpenGL::UpdateTextureVertices ( uint  tex,
const QRect *  src,
const QRect *  dst 
)
protected

§ UpdateTextureVertices() [2/2]

bool MythRenderOpenGL::UpdateTextureVertices ( uint  tex,
const QRectF *  src,
const QRectF *  dst 
)
protected

Definition at line 1308 of file mythrender_opengl.cpp.

§ GetCachedVertices()

GLfloat * MythRenderOpenGL::GetCachedVertices ( GLuint  type,
const QRect &  area 
)
protected

Definition at line 1343 of file mythrender_opengl.cpp.

Referenced by MythRenderOpenGL1::DrawRectPriv(), and GetCachedVBO().

§ ExpireVertices()

void MythRenderOpenGL::ExpireVertices ( uint  max = 0)
protected

Definition at line 1378 of file mythrender_opengl.cpp.

Referenced by DeleteOpenGLResources(), and GetCachedVertices().

§ GetCachedVBO()

void MythRenderOpenGL::GetCachedVBO ( GLuint  type,
const QRect &  area 
)
protected

Definition at line 1392 of file mythrender_opengl.cpp.

Referenced by MythRenderOpenGL2::DrawRoundRectPriv().

§ ExpireVBOS()

void MythRenderOpenGL::ExpireVBOS ( uint  max = 0)
protected

Definition at line 1432 of file mythrender_opengl.cpp.

Referenced by DeleteOpenGLResources(), and GetCachedVBO().

§ ClearTexture()

bool MythRenderOpenGL::ClearTexture ( uint  tex)
protected

Definition at line 1447 of file mythrender_opengl.cpp.

Referenced by CreateTexture().

§ GetBufferSize()

uint MythRenderOpenGL::GetBufferSize ( QSize  size,
uint  fmt,
uint  type 
)
protected

Definition at line 1491 of file mythrender_opengl.cpp.

Referenced by ClearTexture(), and CreateTexture().

§ StoreBicubicWeights()

void MythRenderOpenGL::StoreBicubicWeights ( float  x,
float *  dst 
)
staticprotected

Definition at line 643 of file mythrender_opengl.cpp.

Referenced by MythRenderOpenGL1::CreateHelperTexture().

Member Data Documentation

§ m_textures

QHash<GLuint, MythGLTexture> MythRenderOpenGL::m_textures
protected

§ m_framebuffers

QVector<GLuint> MythRenderOpenGL::m_framebuffers
protected

§ m_fence

GLuint MythRenderOpenGL::m_fence
protected

Definition at line 246 of file mythrender_opengl.h.

Referenced by DeleteOpenGLResources(), Flush(), ResetVars(), and SetFence().

§ m_lock

QMutex MythRenderOpenGL::m_lock
protected

Definition at line 249 of file mythrender_opengl.h.

Referenced by doneCurrent(), makeCurrent(), and MythRenderOpenGL().

§ m_lock_level

int MythRenderOpenGL::m_lock_level
protected

§ m_extensions

QString MythRenderOpenGL::m_extensions
protected

§ m_exts_supported

uint MythRenderOpenGL::m_exts_supported
protected

§ m_exts_used

uint MythRenderOpenGL::m_exts_used
protected

§ m_max_tex_size

int MythRenderOpenGL::m_max_tex_size
protected

§ m_max_units

int MythRenderOpenGL::m_max_units
protected

Definition at line 257 of file mythrender_opengl.h.

Referenced by InitFeatures(), and ResetVars().

§ m_default_texture_type

int MythRenderOpenGL::m_default_texture_type
protected

Definition at line 258 of file mythrender_opengl.h.

Referenced by CreateTexture(), InitFeatures(), and ResetVars().

§ m_viewport

QRect MythRenderOpenGL::m_viewport
protected

§ m_active_tex

int MythRenderOpenGL::m_active_tex
protected

Definition at line 262 of file mythrender_opengl.h.

Referenced by ActiveTexture(), and ResetVars().

§ m_active_tex_type

int MythRenderOpenGL::m_active_tex_type
protected

Definition at line 263 of file mythrender_opengl.h.

Referenced by DisableTextures(), EnableTextures(), and ResetVars().

§ m_active_fb

int MythRenderOpenGL::m_active_fb
protected

Definition at line 264 of file mythrender_opengl.h.

Referenced by BindFramebuffer(), and ResetVars().

§ m_blend

bool MythRenderOpenGL::m_blend
protected

Definition at line 265 of file mythrender_opengl.h.

Referenced by ResetVars(), and SetBlend().

§ m_background

uint32_t MythRenderOpenGL::m_background
protected

Definition at line 266 of file mythrender_opengl.h.

Referenced by ResetVars(), and SetBackground().

§ m_cachedVertices

QMap<uint64_t,GLfloat*> MythRenderOpenGL::m_cachedVertices
protected

Definition at line 269 of file mythrender_opengl.h.

Referenced by DeleteOpenGLResources(), ExpireVertices(), and GetCachedVertices().

§ m_vertexExpiry

QList<uint64_t> MythRenderOpenGL::m_vertexExpiry
protected

Definition at line 270 of file mythrender_opengl.h.

Referenced by ExpireVertices(), and GetCachedVertices().

§ m_cachedVBOS

QMap<uint64_t,GLuint> MythRenderOpenGL::m_cachedVBOS
protected

Definition at line 271 of file mythrender_opengl.h.

Referenced by DeleteOpenGLResources(), ExpireVBOS(), and GetCachedVBO().

§ m_vboExpiry

QList<uint64_t> MythRenderOpenGL::m_vboExpiry
protected

Definition at line 272 of file mythrender_opengl.h.

Referenced by ExpireVBOS(), and GetCachedVBO().

§ m_flushEnabled

bool MythRenderOpenGL::m_flushEnabled
protected

Definition at line 276 of file mythrender_opengl.h.

Referenced by Flush(), MythRenderEGL::MythRenderEGL(), and ResetVars().

§ m_glTexImage1D

MYTH_GLTEXIMAGE1DPROC MythRenderOpenGL::m_glTexImage1D
protected

§ m_glActiveTexture

MYTH_GLACTIVETEXTUREPROC MythRenderOpenGL::m_glActiveTexture
protected

Definition at line 282 of file mythrender_opengl.h.

Referenced by ActiveTexture(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glMapBuffer

MYTH_GLMAPBUFFERPROC MythRenderOpenGL::m_glMapBuffer
protected

§ m_glBindBuffer

MYTH_GLBINDBUFFERPROC MythRenderOpenGL::m_glBindBuffer
protected

§ m_glGenBuffers

MYTH_GLGENBUFFERSPROC MythRenderOpenGL::m_glGenBuffers
protected

Definition at line 287 of file mythrender_opengl.h.

Referenced by CreatePBO(), CreateVBO(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glBufferData

MYTH_GLBUFFERDATAPROC MythRenderOpenGL::m_glBufferData
protected

§ m_glUnmapBuffer

MYTH_GLUNMAPBUFFERPROC MythRenderOpenGL::m_glUnmapBuffer
protected

§ m_glDeleteBuffers

MYTH_GLDELETEBUFFERSPROC MythRenderOpenGL::m_glDeleteBuffers
protected

§ m_glGenFramebuffers

MYTH_GLGENFRAMEBUFFERSPROC MythRenderOpenGL::m_glGenFramebuffers
protected

Definition at line 292 of file mythrender_opengl.h.

Referenced by CreateFrameBuffer(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glBindFramebuffer

MYTH_GLBINDFRAMEBUFFERPROC MythRenderOpenGL::m_glBindFramebuffer
protected

§ m_glFramebufferTexture2D

MYTH_GLFRAMEBUFFERTEXTURE2DPROC MythRenderOpenGL::m_glFramebufferTexture2D
protected

Definition at line 294 of file mythrender_opengl.h.

Referenced by CreateFrameBuffer(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glCheckFramebufferStatus

MYTH_GLCHECKFRAMEBUFFERSTATUSPROC MythRenderOpenGL::m_glCheckFramebufferStatus
protected

Definition at line 295 of file mythrender_opengl.h.

Referenced by CreateFrameBuffer(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glDeleteFramebuffers

MYTH_GLDELETEFRAMEBUFFERSPROC MythRenderOpenGL::m_glDeleteFramebuffers
protected

§ m_glGenFencesNV

MYTH_GLGENFENCESNVPROC MythRenderOpenGL::m_glGenFencesNV
protected

Definition at line 298 of file mythrender_opengl.h.

Referenced by InitFeatures(), InitProcs(), ResetProcs(), and SetFence().

§ m_glDeleteFencesNV

MYTH_GLDELETEFENCESNVPROC MythRenderOpenGL::m_glDeleteFencesNV
protected

Definition at line 299 of file mythrender_opengl.h.

Referenced by DeleteOpenGLResources(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glSetFenceNV

MYTH_GLSETFENCENVPROC MythRenderOpenGL::m_glSetFenceNV
protected

Definition at line 300 of file mythrender_opengl.h.

Referenced by Flush(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glFinishFenceNV

MYTH_GLFINISHFENCENVPROC MythRenderOpenGL::m_glFinishFenceNV
protected

Definition at line 301 of file mythrender_opengl.h.

Referenced by Flush(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glGenFencesAPPLE

MYTH_GLGENFENCESAPPLEPROC MythRenderOpenGL::m_glGenFencesAPPLE
protected

Definition at line 303 of file mythrender_opengl.h.

Referenced by InitFeatures(), InitProcs(), ResetProcs(), and SetFence().

§ m_glDeleteFencesAPPLE

MYTH_GLDELETEFENCESAPPLEPROC MythRenderOpenGL::m_glDeleteFencesAPPLE
protected

Definition at line 304 of file mythrender_opengl.h.

Referenced by DeleteOpenGLResources(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glSetFenceAPPLE

MYTH_GLSETFENCEAPPLEPROC MythRenderOpenGL::m_glSetFenceAPPLE
protected

Definition at line 305 of file mythrender_opengl.h.

Referenced by Flush(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_glFinishFenceAPPLE

MYTH_GLFINISHFENCEAPPLEPROC MythRenderOpenGL::m_glFinishFenceAPPLE
protected

Definition at line 306 of file mythrender_opengl.h.

Referenced by Flush(), InitFeatures(), InitProcs(), and ResetProcs().

§ m_window

QWindow* MythRenderOpenGL::m_window
private

The documentation for this class was generated from the following files: