openMSX
|
Interface for renderer factories. More...
Functions | |
std::unique_ptr< VideoSystem > | createVideoSystem (Reactor &reactor) |
Create the video system required by the current renderer setting. | |
std::unique_ptr< Renderer > | createRenderer (VDP &vdp, Display &display) |
Create the Renderer selected by the current renderer setting. | |
std::unique_ptr< V9990Renderer > | createV9990Renderer (V9990 &vdp, Display &display) |
Create the V9990 Renderer selected by the current renderer setting. | |
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.
std::unique_ptr< Renderer > openmsx::RendererFactory::createRenderer | ( | VDP & | vdp, |
Display & | display | ||
) |
Create the Renderer selected by the current renderer setting.
vdp | The VDP whose display will be rendered. |
display | TODO |
Definition at line 39 of file RendererFactory.cc.
References openmsx::RenderSettings::DUMMY, openmsx::RenderSettings::getRenderer(), openmsx::Display::getRenderSettings(), openmsx::RenderSettings::SDLGL_PP, and UNREACHABLE.
std::unique_ptr< V9990Renderer > openmsx::RendererFactory::createV9990Renderer | ( | V9990 & | vdp, |
Display & | display | ||
) |
Create the V9990 Renderer selected by the current renderer setting.
Definition at line 51 of file RendererFactory.cc.
References openmsx::RenderSettings::DUMMY, openmsx::RenderSettings::getRenderer(), openmsx::Display::getRenderSettings(), openmsx::RenderSettings::SDLGL_PP, and UNREACHABLE.
std::unique_ptr< VideoSystem > openmsx::RendererFactory::createVideoSystem | ( | Reactor & | reactor | ) |
Create the video system required by the current renderer setting.
Definition at line 26 of file RendererFactory.cc.
References openmsx::RenderSettings::DUMMY, openmsx::Reactor::getDisplay(), openmsx::RenderSettings::getRenderer(), openmsx::Display::getRenderSettings(), openmsx::RenderSettings::SDLGL_PP, and UNREACHABLE.