Video back-end system.
More...
#include <VideoSystem.hh>
Video back-end system.
Definition at line 22 of file VideoSystem.hh.
◆ ~VideoSystem()
virtual openmsx::VideoSystem::~VideoSystem |
( |
| ) |
|
|
virtualdefault |
◆ VideoSystem()
openmsx::VideoSystem::VideoSystem |
( |
| ) |
|
|
protecteddefault |
◆ checkSettings()
bool openmsx::VideoSystem::checkSettings |
( |
| ) |
|
|
virtual |
Requests that this renderer checks its settings against the current RenderSettings.
If possible, update the settings of this renderer. The implementation in the Renderer base class checks whether the right renderer is selected. Subclasses are encouraged to check more settings.
- Returns
- True if the settings were still in sync or were successfully synced; false if the renderer is unable to bring the settings in sync. TODO: Text copied from Renderer interface, if this stays here then rewrite text accordingly.
Reimplemented in openmsx::SDLVideoSystem.
Definition at line 6 of file VideoSystem.cc.
◆ createLDRasterizer()
◆ createRasterizer()
virtual std::unique_ptr< Rasterizer > openmsx::VideoSystem::createRasterizer |
( |
VDP & |
vdp | ) |
|
|
pure virtual |
Create the rasterizer selected by the current renderer setting.
Video systems that use a rasterizer must override this method.
- Parameters
-
vdp | The VDP whose display will be rendered. |
- Returns
- The rasterizer created.
Implemented in openmsx::DummyVideoSystem, and openmsx::SDLVideoSystem.
◆ createV9990Rasterizer()
virtual std::unique_ptr< V9990Rasterizer > openmsx::VideoSystem::createV9990Rasterizer |
( |
V9990 & |
vdp | ) |
|
|
pure virtual |
Create the V9990 rasterizer selected by the current renderer setting.
Video systems that use a rasterizer must override this method.
- Parameters
-
vdp | The V9990 whose display will be rendered. |
- Returns
- The rasterizer created.
Implemented in openmsx::DummyVideoSystem, and openmsx::SDLVideoSystem.
◆ flush()
virtual void openmsx::VideoSystem::flush |
( |
| ) |
|
|
pure virtual |
◆ getClipboardText()
virtual std::string openmsx::VideoSystem::getClipboardText |
( |
| ) |
|
|
pure virtual |
◆ getCursorEnabled()
virtual bool openmsx::VideoSystem::getCursorEnabled |
( |
| ) |
|
|
pure virtual |
◆ getMouseCoord()
virtual gl::ivec2 openmsx::VideoSystem::getMouseCoord |
( |
| ) |
|
|
pure virtual |
◆ getOutputSurface()
virtual OutputSurface * openmsx::VideoSystem::getOutputSurface |
( |
| ) |
|
|
pure virtual |
◆ repaint()
virtual void openmsx::VideoSystem::repaint |
( |
| ) |
|
|
pure virtual |
◆ setClipboardText()
virtual void openmsx::VideoSystem::setClipboardText |
( |
zstring_view |
text | ) |
|
|
pure virtual |
◆ showCursor()
virtual void openmsx::VideoSystem::showCursor |
( |
bool |
show | ) |
|
|
pure virtual |
◆ takeScreenShot()
void openmsx::VideoSystem::takeScreenShot |
( |
const std::string & |
filename, |
|
|
bool |
withOsd |
|
) |
| |
|
virtual |
Take a screenshot.
The default implementation throws an exception.
- Parameters
-
filename | Name of the file to save the screenshot to. |
withOsd | Should OSD elements be included in the screenshot. |
- Exceptions
-
Reimplemented in openmsx::SDLVideoSystem.
Definition at line 11 of file VideoSystem.cc.
◆ updateWindowTitle()
void openmsx::VideoSystem::updateWindowTitle |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: