Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <RPWinRenderer.h>
Public Member Functions | |
CWinRenderBufferPool () | |
~CWinRenderBufferPool () override=default | |
bool | IsCompatible (const CRenderVideoSettings &renderSettings) const override |
IRenderBuffer * | CreateRenderBuffer (void *header=nullptr) override |
bool | ConfigureDX () |
CRPWinOutputShader * | GetShader (SCALINGMETHOD scalingMethod) const |
Public Member Functions inherited from KODI::RETRO::CBaseRenderBufferPool | |
CBaseRenderBufferPool ()=default | |
~CBaseRenderBufferPool () override | |
void | RegisterRenderer (CRPBaseRenderer *renderer) override |
void | UnregisterRenderer (CRPBaseRenderer *renderer) override |
bool | HasVisibleRenderer () const override |
bool | Configure (AVPixelFormat format) override |
bool | IsConfigured () const override |
IRenderBuffer * | GetBuffer (unsigned int width, unsigned int height) override |
Get a free buffer from the pool, sets ref count to 1. | |
void | Return (IRenderBuffer *buffer) override |
Called by buffer when ref count goes to zero. | |
void | Prime (unsigned int width, unsigned int height) override |
void | Flush () override |
AVPixelFormat | Format () const |
Public Member Functions inherited from KODI::RETRO::IRenderBufferPool | |
virtual | ~IRenderBufferPool ()=default |
virtual DataAccess | GetMemoryAccess () const |
virtual DataAlignment | GetMemoryAlignment () const |
virtual std::shared_ptr< IRenderBufferPool > | GetPtr () |
Call in GetBuffer() before returning buffer to caller. | |
Additional Inherited Members | |
Protected Member Functions inherited from KODI::RETRO::CBaseRenderBufferPool | |
virtual bool | ConfigureInternal () |
virtual void * | GetHeader (unsigned int timeoutMs=0) |
virtual bool | GetHeaderWithTimeout (void *&header) |
virtual bool | SendBuffer (IRenderBuffer *buffer) |
Protected Attributes inherited from KODI::RETRO::CBaseRenderBufferPool | |
bool | m_bConfigured = false |
AVPixelFormat | m_format = AV_PIX_FMT_NONE |
CWinRenderBufferPool::CWinRenderBufferPool | ( | ) |
|
overridedefault |
bool CWinRenderBufferPool::ConfigureDX | ( | ) |
|
overridevirtual |
Implements KODI::RETRO::CBaseRenderBufferPool.
CRPWinOutputShader * CWinRenderBufferPool::GetShader | ( | SCALINGMETHOD | scalingMethod | ) | const |
|
overridevirtual |
Implements KODI::RETRO::IRenderBufferPool.