Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
KODI::RETRO::CWinRenderBuffer Class Reference

#include <RPWinRenderer.h>

Inheritance diagram for KODI::RETRO::CWinRenderBuffer:
KODI::RETRO::CRenderBufferSysMem KODI::RETRO::CBaseRenderBuffer KODI::RETRO::IRenderBuffer

Public Member Functions

 CWinRenderBuffer (AVPixelFormat pixFormat, DXGI_FORMAT dxFormat)
 ~CWinRenderBuffer () override
bool UploadTexture () override
CD3DTextureGetTarget ()
- Public Member Functions inherited from KODI::RETRO::CRenderBufferSysMem
 CRenderBufferSysMem ()=default
 ~CRenderBufferSysMem () override=default
bool Allocate (AVPixelFormat format, unsigned int width, unsigned int height) override
size_t GetFrameSize () const override
uint8_tGetMemory () override
- Public Member Functions inherited from KODI::RETRO::CBaseRenderBuffer
 CBaseRenderBuffer ()
 ~CBaseRenderBuffer () override=default
void Acquire () override
void Acquire (std::shared_ptr< IRenderBufferPool > pool) override
void Release () override
IRenderBufferPoolGetPool () override
DataAccess GetMemoryAccess () const override
DataAlignment GetMemoryAlignment () const override
- Public Member Functions inherited from KODI::RETRO::IRenderBuffer
virtual ~IRenderBuffer ()=default
virtual void Update ()
virtual void ReleaseMemory ()
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)

Additional Inherited Members

- Static Public Member Functions inherited from KODI::RETRO::CRenderBufferSysMem
static size_t GetBufferSize (AVPixelFormat format, unsigned int width, unsigned int height)
- Protected Attributes inherited from KODI::RETRO::CRenderBufferSysMem
std::vector< uint8_tm_data
- Protected Attributes inherited from KODI::RETRO::CBaseRenderBuffer
std::atomic_int m_refCount
std::shared_ptr< IRenderBufferPoolm_pool
- Protected Attributes inherited from KODI::RETRO::IRenderBuffer
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

◆ CWinRenderBuffer()

CWinRenderBuffer::CWinRenderBuffer ( AVPixelFormat pixFormat,
DXGI_FORMAT dxFormat )

◆ ~CWinRenderBuffer()

CWinRenderBuffer::~CWinRenderBuffer ( )

Member Function Documentation

◆ GetTarget()

CD3DTexture * KODI::RETRO::CWinRenderBuffer::GetTarget ( )

◆ UploadTexture()

bool CWinRenderBuffer::UploadTexture ( )

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