vdr-plugin-softhddevice-drm-gles 1.6.2
cOglFb Class Reference

OpenGL Framebuffer/ Texture Object. More...

#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

OpenGL Framebuffer/ Texture Object.

A framebuffer object which can be rendered onto (pixmap)

Definition at line 225 of file openglosd.h.

Member Function Documentation

◆ Blit()

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

◆ Height()

◆ Initiated()

bool cOglFb::Initiated ( void  )
inline

Definition at line 230 of file openglosd.h.

References m_initiated.

◆ Scrollable()

bool cOglFb::Scrollable ( void  )
inline

Definition at line 238 of file openglosd.h.

References m_scrollable.

Referenced by cOglCmdRenderFbToBufferFb::Execute().

◆ ViewportHeight()

GLint cOglFb::ViewportHeight ( void  )
inline

Definition at line 240 of file openglosd.h.

References m_viewPortHeight.

Referenced by cOglCmdRenderFbToBufferFb::Execute().

◆ ViewportWidth()

GLint cOglFb::ViewportWidth ( void  )
inline

Definition at line 239 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 245 of file openglosd.h.

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

◆ m_height

GLint cOglFb::m_height
protected

Definition at line 243 of file openglosd.h.

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

◆ m_initiated

bool cOglFb::m_initiated = false
protected

Definition at line 242 of file openglosd.h.

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

◆ m_scrollable

bool cOglFb::m_scrollable = false
private

Definition at line 248 of file openglosd.h.

Referenced by cOglFb(), and Scrollable().

◆ m_texture

GLuint cOglFb::m_texture = 0
private

Definition at line 246 of file openglosd.h.

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

◆ m_viewPortHeight

GLint cOglFb::m_viewPortHeight
private

Definition at line 247 of file openglosd.h.

Referenced by cOglFb(), and ViewportHeight().

◆ m_viewPortWidth

GLint cOglFb::m_viewPortWidth
private

Definition at line 247 of file openglosd.h.

Referenced by cOglFb(), and ViewportWidth().

◆ m_width

GLint cOglFb::m_width
protected

Definition at line 243 of file openglosd.h.

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


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