vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
cOglFb Class Reference

#include <openglosd.h>

Public Member Functions

 cOglFb (GLint, GLint, GLint, GLint)
 
virtual ~cOglFb (void)
 
bool Initiated (void)
 
virtual bool Init (void)
 
void Bind (void)
 
virtual void Unbind (void)
 
bool BindTexture (void)
 
void Blit (GLint, GLint, GLint, GLint)
 
GLint Width (void)
 
GLint Height (void)
 
bool Scrollable (void)
 
GLint ViewportWidth (void)
 
GLint ViewportHeight (void)
 

Protected Attributes

bool m_initiated = false
 
GLint m_width
 
GLint m_height
 

Private Attributes

GLuint m_framebuffer = 0
 
GLuint m_texture = 0
 
GLint m_viewPortWidth
 
GLint m_viewPortHeight
 
bool m_scrollable = false
 

Detailed Description

Definition at line 233 of file openglosd.h.

Constructor & Destructor Documentation

◆ cOglFb()

cOglFb::cOglFb ( GLint  width,
GLint  height,
GLint  viewPortWidth,
GLint  viewPortHeight 
)

Definition at line 626 of file openglosd.cpp.

References m_height, m_scrollable, m_viewPortHeight, m_viewPortWidth, and m_width.

◆ ~cOglFb()

cOglFb::~cOglFb ( void  )
virtual

Definition at line 636 of file openglosd.cpp.

References m_framebuffer, and m_texture.

Member Function Documentation

◆ Bind()

◆ BindTexture()

bool cOglFb::BindTexture ( void  )

◆ Blit()

void cOglFb::Blit ( GLint  ,
GLint  ,
GLint  ,
GLint   
)

◆ Height()

◆ Init()

bool cOglFb::Init ( void  )
virtual

Reimplemented in cOglOutputFb.

Definition at line 644 of file openglosd.cpp.

References LOGERROR, m_framebuffer, m_height, m_initiated, m_texture, and m_width.

Referenced by Bind(), and cOglCmdInitFb::Execute().

◆ Initiated()

bool cOglFb::Initiated ( void  )
inline

Definition at line 239 of file openglosd.h.

References m_initiated.

◆ Scrollable()

bool cOglFb::Scrollable ( void  )
inline

Definition at line 247 of file openglosd.h.

References m_scrollable.

Referenced by cOglCmdRenderFbToBufferFb::Execute().

◆ Unbind()

◆ ViewportHeight()

GLint cOglFb::ViewportHeight ( void  )
inline

Definition at line 249 of file openglosd.h.

References m_viewPortHeight.

Referenced by cOglCmdRenderFbToBufferFb::Execute().

◆ ViewportWidth()

GLint cOglFb::ViewportWidth ( void  )
inline

Definition at line 248 of file openglosd.h.

References m_viewPortWidth.

Referenced by cOglCmdRenderFbToBufferFb::Execute().

◆ Width()

Member Data Documentation

◆ m_framebuffer

GLuint cOglFb::m_framebuffer = 0
private

Definition at line 254 of file openglosd.h.

Referenced by Bind(), Init(), and ~cOglFb().

◆ m_height

GLint cOglFb::m_height
protected

Definition at line 252 of file openglosd.h.

Referenced by Bind(), cOglFb(), Height(), Init(), and cOglOutputFb::Init().

◆ m_initiated

bool cOglFb::m_initiated = false
protected

Definition at line 251 of file openglosd.h.

Referenced by Bind(), BindTexture(), Init(), cOglOutputFb::Init(), and Initiated().

◆ m_scrollable

bool cOglFb::m_scrollable = false
private

Definition at line 257 of file openglosd.h.

Referenced by cOglFb(), and Scrollable().

◆ m_texture

GLuint cOglFb::m_texture = 0
private

Definition at line 255 of file openglosd.h.

Referenced by BindTexture(), Init(), and ~cOglFb().

◆ m_viewPortHeight

GLint cOglFb::m_viewPortHeight
private

Definition at line 256 of file openglosd.h.

Referenced by cOglFb(), and ViewportHeight().

◆ m_viewPortWidth

GLint cOglFb::m_viewPortWidth
private

Definition at line 256 of file openglosd.h.

Referenced by cOglFb(), and ViewportWidth().

◆ m_width

GLint cOglFb::m_width
protected

Definition at line 252 of file openglosd.h.

Referenced by Bind(), cOglFb(), Init(), cOglOutputFb::Init(), and Width().


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