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

#include <RPRendererGuiTexture.h>

Inheritance diagram for KODI::RETRO::CRPRendererGuiTexture:

Public Member Functions

 CRPRendererGuiTexture (const CRenderSettings &renderSettings, CRenderContext &context, std::shared_ptr< IRenderBufferPool > bufferPool)
 ~CRPRendererGuiTexture () 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

Protected Member Functions

void RenderInternal (bool clear, uint8_t alpha) override
- Protected Member Functions inherited from KODI::RETRO::CRPBaseRenderer
virtual bool ConfigureInternal ()
virtual void FlushInternal ()

Additional Inherited Members

- Protected Attributes inherited from KODI::RETRO::CRPBaseRenderer
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

◆ CRPRendererGuiTexture()

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

◆ ~CRPRendererGuiTexture()

KODI::RETRO::CRPRendererGuiTexture::~CRPRendererGuiTexture ( )

Member Function Documentation

◆ GetDefaultScalingMethod()

SCALINGMETHOD KODI::RETRO::CRPRendererGuiTexture::GetDefaultScalingMethod ( ) const

◆ RenderInternal()

void CRPRendererGuiTexture::RenderInternal ( bool clear,
uint8_t alpha )

◆ Supports()

bool CRPRendererGuiTexture::Supports ( RENDERFEATURE feature) const

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