Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::RETRO::IRenderBuffer Class Referenceabstract

#include <IRenderBuffer.h>

Inheritance diagram for KODI::RETRO::IRenderBuffer:
KODI::RETRO::CBaseRenderBuffer KODI::RETRO::CRenderBufferDMA KODI::RETRO::CRenderBufferGuiTexture KODI::RETRO::CRenderBufferSysMem KODI::RETRO::CRenderBufferOpenGL KODI::RETRO::CRenderBufferOpenGLES KODI::RETRO::CWinRenderBuffer

Public Member Functions

virtual ~IRenderBuffer ()=default
 
virtual void Acquire ()=0
 
virtual void Acquire (std::shared_ptr< IRenderBufferPool > pool)=0
 
virtual void Release ()=0
 
virtual IRenderBufferPoolGetPool ()=0
 
virtual DataAccess GetMemoryAccess () const =0
 
virtual DataAlignment GetMemoryAlignment () const =0
 
virtual bool Allocate (AVPixelFormat format, unsigned int width, unsigned int height)=0
 
virtual void Update ()
 
virtual size_t GetFrameSize () const =0
 
virtual uint8_tGetMemory ()=0
 
virtual void ReleaseMemory ()
 
virtual bool UploadTexture ()=0
 
virtual void BindToUnit (unsigned int unit)
 
virtual void SetHeader (void *header)
 
AVPixelFormat GetFormat () const
 
unsigned int GetWidth () const
 
unsigned int GetHeight () const
 
bool IsLoaded () const
 
void SetLoaded (bool bLoaded)
 
bool IsRendered () const
 
void SetRendered (bool bRendered)
 
unsigned int GetRotation () const
 
void SetRotation (unsigned int rotationDegCCW)
 

Protected Attributes

AVPixelFormat m_format = AV_PIX_FMT_NONE
 
unsigned int m_width = 0
 
unsigned int m_height = 0
 
bool m_bLoaded = false
 
bool m_bRendered = false
 
unsigned int m_rotationDegCCW = 0
 

Constructor & Destructor Documentation

◆ ~IRenderBuffer()

virtual KODI::RETRO::IRenderBuffer::~IRenderBuffer ( )
virtualdefault

Member Function Documentation

◆ Acquire() [1/2]

virtual void KODI::RETRO::IRenderBuffer::Acquire ( )
pure virtual

◆ Acquire() [2/2]

virtual void KODI::RETRO::IRenderBuffer::Acquire ( std::shared_ptr< IRenderBufferPool > pool)
pure virtual

◆ Allocate()

virtual bool KODI::RETRO::IRenderBuffer::Allocate ( AVPixelFormat format,
unsigned int width,
unsigned int height )
pure virtual

◆ BindToUnit()

virtual void KODI::RETRO::IRenderBuffer::BindToUnit ( unsigned int unit)
inlinevirtual

◆ GetFormat()

AVPixelFormat KODI::RETRO::IRenderBuffer::GetFormat ( ) const
inline

◆ GetFrameSize()

virtual size_t KODI::RETRO::IRenderBuffer::GetFrameSize ( ) const
pure virtual

◆ GetHeight()

unsigned int KODI::RETRO::IRenderBuffer::GetHeight ( ) const
inline

◆ GetMemory()

virtual uint8_t * KODI::RETRO::IRenderBuffer::GetMemory ( )
pure virtual

◆ GetMemoryAccess()

virtual DataAccess KODI::RETRO::IRenderBuffer::GetMemoryAccess ( ) const
pure virtual

◆ GetMemoryAlignment()

virtual DataAlignment KODI::RETRO::IRenderBuffer::GetMemoryAlignment ( ) const
pure virtual

◆ GetPool()

virtual IRenderBufferPool * KODI::RETRO::IRenderBuffer::GetPool ( )
pure virtual

◆ GetRotation()

unsigned int KODI::RETRO::IRenderBuffer::GetRotation ( ) const
inline

◆ GetWidth()

unsigned int KODI::RETRO::IRenderBuffer::GetWidth ( ) const
inline

◆ IsLoaded()

bool KODI::RETRO::IRenderBuffer::IsLoaded ( ) const
inline

◆ IsRendered()

bool KODI::RETRO::IRenderBuffer::IsRendered ( ) const
inline

◆ Release()

virtual void KODI::RETRO::IRenderBuffer::Release ( )
pure virtual

◆ ReleaseMemory()

virtual void KODI::RETRO::IRenderBuffer::ReleaseMemory ( )
inlinevirtual

Reimplemented in KODI::RETRO::CRenderBufferDMA.

◆ SetHeader()

virtual void KODI::RETRO::IRenderBuffer::SetHeader ( void * header)
inlinevirtual

◆ SetLoaded()

void KODI::RETRO::IRenderBuffer::SetLoaded ( bool bLoaded)
inline

◆ SetRendered()

void KODI::RETRO::IRenderBuffer::SetRendered ( bool bRendered)
inline

◆ SetRotation()

void KODI::RETRO::IRenderBuffer::SetRotation ( unsigned int rotationDegCCW)
inline

◆ Update()

virtual void KODI::RETRO::IRenderBuffer::Update ( )
inlinevirtual

◆ UploadTexture()

Member Data Documentation

◆ m_bLoaded

bool KODI::RETRO::IRenderBuffer::m_bLoaded = false
protected

◆ m_bRendered

bool KODI::RETRO::IRenderBuffer::m_bRendered = false
protected

◆ m_format

AVPixelFormat KODI::RETRO::IRenderBuffer::m_format = AV_PIX_FMT_NONE
protected

◆ m_height

unsigned int KODI::RETRO::IRenderBuffer::m_height = 0
protected

◆ m_rotationDegCCW

unsigned int KODI::RETRO::IRenderBuffer::m_rotationDegCCW = 0
protected

◆ m_width

unsigned int KODI::RETRO::IRenderBuffer::m_width = 0
protected

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