Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <RPWinRenderer.h>
Public Member Functions | |
CRPWinRenderer (const CRenderSettings &renderSettings, CRenderContext &context, std::shared_ptr< IRenderBufferPool > bufferPool) | |
~CRPWinRenderer () override=default | |
bool | Supports (RENDERFEATURE feature) const override |
SCALINGMETHOD | GetDefaultScalingMethod () const override |
Public Member Functions inherited from KODI::RETRO::CRPBaseRenderer | |
CRPBaseRenderer (const CRenderSettings &renderSettings, CRenderContext &context, std::shared_ptr< IRenderBufferPool > bufferPool) | |
virtual | ~CRPBaseRenderer () |
IRenderBufferPool * | GetBufferPool () |
Get the buffer pool used by this renderer. | |
bool | Configure (AVPixelFormat format) |
void | FrameMove () |
void | PreRender (bool clear) |
Performs whatever necessary before rendering the frame. | |
void | SetBuffer (IRenderBuffer *buffer) |
void | RenderFrame (bool clear, uint8_t alpha) |
bool | IsCompatible (const CRenderVideoSettings &settings) const |
virtual void | Flush () |
const CRenderSettings & | GetRenderSettings () const |
void | SetScalingMethod (SCALINGMETHOD method) |
void | SetStretchMode (STRETCHMODE stretchMode) |
void | SetRenderRotation (unsigned int rotationDegCCW) |
void | SetPixels (const std::string &pixelPath) |
bool | IsVisible () const |
IRenderBuffer * | GetRenderBuffer () const |
Static Public Member Functions | |
static bool | SupportsScalingMethod (SCALINGMETHOD method) |
Static Public Attributes | |
static const SCALINGMETHOD | DEFAULT_SCALING_METHOD = SCALINGMETHOD::NEAREST |
The default scaling method of the renderer. | |
Protected Member Functions | |
bool | ConfigureInternal () override |
void | RenderInternal (bool clear, uint8_t alpha) override |
Protected Member Functions inherited from KODI::RETRO::CRPBaseRenderer | |
virtual void | FlushInternal () |
Additional Inherited Members | |
Protected Attributes inherited from KODI::RETRO::CRPBaseRenderer | |
CRenderContext & | m_context |
std::shared_ptr< IRenderBufferPool > | m_bufferPool |
bool | m_bConfigured = false |
AVPixelFormat | m_format = AV_PIX_FMT_NONE |
CRenderSettings | m_renderSettings |
IRenderBuffer * | m_renderBuffer = nullptr |
CRect | m_sourceRect |
std::array< CPoint, 4 > | m_rotatedDestCoords {} |
CRPWinRenderer::CRPWinRenderer | ( | const CRenderSettings & | renderSettings, |
CRenderContext & | context, | ||
std::shared_ptr< IRenderBufferPool > | bufferPool ) |
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from KODI::RETRO::CRPBaseRenderer.
|
inlineoverridevirtual |
Implements KODI::RETRO::CRPBaseRenderer.
Implements KODI::RETRO::CRPBaseRenderer.
|
overridevirtual |
Implements KODI::RETRO::CRPBaseRenderer.
|
static |
|
static |
The default scaling method of the renderer.