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

#include <RPWinRenderer.h>

Inheritance diagram for KODI::RETRO::CRPWinRenderer:
KODI::RETRO::CRPBaseRenderer

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 ()
 
IRenderBufferPoolGetBufferPool ()
 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 CRenderSettingsGetRenderSettings () const
 
void SetScalingMethod (SCALINGMETHOD method)
 
void SetStretchMode (STRETCHMODE stretchMode)
 
void SetRenderRotation (unsigned int rotationDegCCW)
 
void SetPixels (const std::string &pixelPath)
 
bool IsVisible () const
 
IRenderBufferGetRenderBuffer () 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
CRenderContextm_context
 
std::shared_ptr< IRenderBufferPoolm_bufferPool
 
bool m_bConfigured = false
 
AVPixelFormat m_format = AV_PIX_FMT_NONE
 
CRenderSettings m_renderSettings
 
IRenderBufferm_renderBuffer = nullptr
 
CRect m_sourceRect
 
std::array< CPoint, 4 > m_rotatedDestCoords {}
 

Constructor & Destructor Documentation

◆ CRPWinRenderer()

CRPWinRenderer::CRPWinRenderer ( const CRenderSettings & renderSettings,
CRenderContext & context,
std::shared_ptr< IRenderBufferPool > bufferPool )

◆ ~CRPWinRenderer()

KODI::RETRO::CRPWinRenderer::~CRPWinRenderer ( )
overridedefault

Member Function Documentation

◆ ConfigureInternal()

bool CRPWinRenderer::ConfigureInternal ( )
overrideprotectedvirtual

Reimplemented from KODI::RETRO::CRPBaseRenderer.

◆ GetDefaultScalingMethod()

SCALINGMETHOD KODI::RETRO::CRPWinRenderer::GetDefaultScalingMethod ( ) const
inlineoverridevirtual

◆ RenderInternal()

void CRPWinRenderer::RenderInternal ( bool clear,
uint8_t alpha )
overrideprotectedvirtual

◆ Supports()

bool CRPWinRenderer::Supports ( RENDERFEATURE feature) const
overridevirtual

◆ SupportsScalingMethod()

bool CRPWinRenderer::SupportsScalingMethod ( SCALINGMETHOD method)
static

Member Data Documentation

◆ DEFAULT_SCALING_METHOD

const SCALINGMETHOD KODI::RETRO::CRPWinRenderer::DEFAULT_SCALING_METHOD = SCALINGMETHOD::NEAREST
static

The default scaling method of the renderer.


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