openMSX
Functions
openmsx::RendererFactory Namespace Reference

Interface for renderer factories. More...

Functions

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

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

◆ 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 39 of file RendererFactory.cc.

References openmsx::RenderSettings::DUMMY, openmsx::RenderSettings::getRenderer(), openmsx::Display::getRenderSettings(), 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 51 of file RendererFactory.cc.

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

◆ createVideoSystem()

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