xbmc
Public Member Functions | Protected Attributes | List of all members
KODI::RETRO::IRenderBuffer Class Referenceabstract
Inheritance diagram for KODI::RETRO::IRenderBuffer:
Inheritance graph
[legend]

Public Member Functions

virtual void Acquire ()=0
 
virtual void Acquire (std::shared_ptr< IRenderBufferPool > pool)=0
 
virtual void Release ()=0
 
virtual IRenderBufferPoolGetPool ()=0
 
virtual bool Allocate (AVPixelFormat format, unsigned int width, unsigned int height)=0
 
virtual void Update ()
 
virtual size_t GetFrameSize () const =0
 
virtual uint8_t * GetMemory ()=0
 
virtual DataAccess GetMemoryAccess () const =0
 
virtual DataAlignment GetMemoryAlignment () const
 
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
 

Member Function Documentation

◆ GetFrameSize()

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

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