vdr-plugin-softhddevice-drm-gles 1.4.0
Public Member Functions | Protected Attributes | List of all members
cOglFb Class Reference

#include <openglosd.h>

Public Member Functions

 cOglFb (GLint width, GLint height, GLint viewPortWidth, GLint viewPortHeight)
 
virtual ~cOglFb (void)
 
bool Initiated (void)
 
virtual bool Init (void)
 
void Bind (void)
 
void BindRead (void)
 
virtual void BindWrite (void)
 
virtual void Unbind (void)
 
bool BindTexture (void)
 
void Blit (GLint destX1, GLint destY1, GLint destX2, GLint destY2)
 
GLint Width (void)
 
GLint Height (void)
 
bool Scrollable (void)
 
GLint ViewportWidth (void)
 
GLint ViewportHeight (void)
 

Protected Attributes

bool initiated
 
GLuint fb
 
GLuint texture
 
GLint width
 
GLint height
 
GLint viewPortWidth
 
GLint viewPortHeight
 
bool scrollable
 

Detailed Description

Definition at line 259 of file openglosd.h.

Constructor & Destructor Documentation

◆ cOglFb()

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

Definition at line 895 of file openglosd.cpp.

References fb, height, initiated, scrollable, texture, viewPortHeight, viewPortWidth, and width.

◆ ~cOglFb()

cOglFb::~cOglFb ( void  )
virtual

Definition at line 909 of file openglosd.cpp.

References fb, GL_CHECK, and texture.

Member Function Documentation

◆ Bind()

void cOglFb::Bind ( void  )

◆ BindRead()

void cOglFb::BindRead ( void  )

Definition at line 946 of file openglosd.cpp.

References fb, and GL_CHECK.

◆ BindTexture()

bool cOglFb::BindTexture ( void  )

◆ BindWrite()

void cOglFb::BindWrite ( void  )
virtual

Reimplemented in cOglOutputFb.

Definition at line 950 of file openglosd.cpp.

References fb, and GL_CHECK.

◆ Blit()

void cOglFb::Blit ( GLint  destX1,
GLint  destY1,
GLint  destX2,
GLint  destY2 
)

◆ Height()

GLint cOglFb::Height ( void  )
inline

◆ Init()

bool cOglFb::Init ( void  )
virtual

Reimplemented in cOglOutputFb.

Definition at line 916 of file openglosd.cpp.

References fb, GL_CHECK, height, initiated, LOGERROR, texture, and width.

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

◆ Initiated()

bool cOglFb::Initiated ( void  )
inline

Definition at line 270 of file openglosd.h.

References initiated.

◆ Scrollable()

bool cOglFb::Scrollable ( void  )
inline

Definition at line 280 of file openglosd.h.

References scrollable.

Referenced by cOglCmdRenderFbToBufferFb::Execute().

◆ Unbind()

void cOglFb::Unbind ( void  )
virtual

◆ ViewportHeight()

GLint cOglFb::ViewportHeight ( void  )
inline

Definition at line 282 of file openglosd.h.

References viewPortHeight.

Referenced by cOglCmdRenderFbToBufferFb::Execute().

◆ ViewportWidth()

GLint cOglFb::ViewportWidth ( void  )
inline

Definition at line 281 of file openglosd.h.

References viewPortWidth.

Referenced by cOglCmdRenderFbToBufferFb::Execute().

◆ Width()

GLint cOglFb::Width ( void  )
inline

Member Data Documentation

◆ fb

GLuint cOglFb::fb
protected

Definition at line 262 of file openglosd.h.

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

◆ height

GLint cOglFb::height
protected

◆ initiated

bool cOglFb::initiated
protected

◆ scrollable

bool cOglFb::scrollable
protected

Definition at line 266 of file openglosd.h.

Referenced by cOglFb(), and Scrollable().

◆ texture

GLuint cOglFb::texture
protected

Definition at line 263 of file openglosd.h.

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

◆ viewPortHeight

GLint cOglFb::viewPortHeight
protected

Definition at line 265 of file openglosd.h.

Referenced by cOglFb(), and ViewportHeight().

◆ viewPortWidth

GLint cOglFb::viewPortWidth
protected

Definition at line 265 of file openglosd.h.

Referenced by cOglFb(), and ViewportWidth().

◆ width

GLint cOglFb::width
protected

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