openMSX
Functions
openmsx::RendererFactory Namespace Reference

Interface for renderer factories. More...

Functions

unique_ptr< VideoSystemcreateVideoSystem (Reactor &reactor)
 Create the video system required by the current renderer setting. More...
 
unique_ptr< RenderercreateRenderer (VDP &vdp, Display &display)
 Create the Renderer selected by the current renderer setting. More...
 
unique_ptr< V9990RenderercreateV9990Renderer (V9990 &vdp, Display &display)
 Create the V9990 Renderer selected by the current renderer setting. More...
 
unique_ptr< LDRenderercreateLDRenderer (LaserdiscPlayer &ld, Display &display)
 Create the Laserdisc Renderer. More...
 

Detailed Description

Interface for renderer factories.

Every Renderer type has its own RendererFactory. A RendererFactory can be queried about the availability of the associated Renderer and can instantiate that Renderer.

Function Documentation

◆ createLDRenderer()

std::unique_ptr< LDRenderer > openmsx::RendererFactory::createLDRenderer ( LaserdiscPlayer ld,
Display display 
)

Create the Laserdisc Renderer.

Parameters
ldThe Laserdisc player whose display will be rendered.
displayTODO

Definition at line 70 of file RendererFactory.cc.

References openmsx::RenderSettings::DUMMY, openmsx::RenderSettings::getRenderer(), openmsx::Display::getRenderSettings(), openmsx::RenderSettings::SDL, openmsx::RenderSettings::SDLGL_PP, and UNREACHABLE.

◆ createRenderer()

std::unique_ptr< Renderer > openmsx::RendererFactory::createRenderer ( VDP vdp,
Display display 
)

Create the Renderer selected by the current renderer setting.

Parameters
vdpThe VDP whose display will be rendered.
displayTODO

Definition at line 43 of file RendererFactory.cc.

References openmsx::RenderSettings::DUMMY, openmsx::RenderSettings::getRenderer(), openmsx::Display::getRenderSettings(), openmsx::RenderSettings::SDL, openmsx::RenderSettings::SDLGL_PP, and UNREACHABLE.

◆ createV9990Renderer()

std::unique_ptr< V9990Renderer > openmsx::RendererFactory::createV9990Renderer ( V9990 vdp,
Display display 
)

Create the V9990 Renderer selected by the current renderer setting.

Parameters
vdpThe V9990 VDP whose display will be rendered.
displayTODO

Definition at line 56 of file RendererFactory.cc.

References openmsx::RenderSettings::DUMMY, openmsx::RenderSettings::getRenderer(), openmsx::Display::getRenderSettings(), openmsx::RenderSettings::SDL, openmsx::RenderSettings::SDLGL_PP, and UNREACHABLE.

◆ createVideoSystem()

std::unique_ptr< VideoSystem > openmsx::RendererFactory::createVideoSystem ( Reactor reactor)