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

Rendering factory. More...

#include <RPProcessInfo.h>

Inheritance diagram for KODI::RETRO::IRendererFactory:
KODI::RETRO::CRendererFactoryDMA KODI::RETRO::CRendererFactoryGuiTexture KODI::RETRO::CRendererFactoryOpenGL KODI::RETRO::CRendererFactoryOpenGLES KODI::RETRO::CWinRendererFactory

Public Member Functions

virtual ~IRendererFactory ()=default
 
virtual std::string RenderSystemName () const =0
 Get a description name of the rendering system.
 
virtual CRPBaseRendererCreateRenderer (const CRenderSettings &settings, CRenderContext &context, std::shared_ptr< IRenderBufferPool > bufferPool)=0
 Create a renderer.
 
virtual RenderBufferPoolVector CreateBufferPools (CRenderContext &context)=0
 Create buffer pools to manager buffers.
 

Detailed Description

Rendering factory.

Constructor & Destructor Documentation

◆ ~IRendererFactory()

virtual KODI::RETRO::IRendererFactory::~IRendererFactory ( )
virtualdefault

Member Function Documentation

◆ CreateBufferPools()

virtual RenderBufferPoolVector KODI::RETRO::IRendererFactory::CreateBufferPools ( CRenderContext & context)
pure virtual

Create buffer pools to manager buffers.

Parameters
contextThe rendering context shared with the buffer pools
Returns
The buffer pools supported by the rendering system

Implemented in KODI::RETRO::CRendererFactoryDMA, KODI::RETRO::CRendererFactoryGuiTexture, KODI::RETRO::CRendererFactoryOpenGL, KODI::RETRO::CRendererFactoryOpenGLES, and KODI::RETRO::CWinRendererFactory.

◆ CreateRenderer()

virtual CRPBaseRenderer * KODI::RETRO::IRendererFactory::CreateRenderer ( const CRenderSettings & settings,
CRenderContext & context,
std::shared_ptr< IRenderBufferPool > bufferPool )
pure virtual

Create a renderer.

Parameters
settingsThe renderer's initial settings
contextThe rendering context
bufferPoolThe buffer pool to which buffers are returned

Implemented in KODI::RETRO::CRendererFactoryDMA, KODI::RETRO::CRendererFactoryGuiTexture, KODI::RETRO::CRendererFactoryOpenGL, KODI::RETRO::CRendererFactoryOpenGLES, and KODI::RETRO::CWinRendererFactory.

◆ RenderSystemName()

virtual std::string KODI::RETRO::IRendererFactory::RenderSystemName ( ) const
pure virtual

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