Video back-end system.
More...
#include <VideoSystem.hh>
Video back-end system.
Definition at line 25 of file VideoSystem.hh.
◆ ~VideoSystem()
virtual openmsx::VideoSystem::~VideoSystem |
( |
| ) |
|
|
virtualdefault |
◆ VideoSystem()
openmsx::VideoSystem::VideoSystem |
( |
| ) |
|
|
protecteddefault |
◆ 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 |
◆ getWindowPosition()
virtual std::optional< gl::ivec2 > openmsx::VideoSystem::getWindowPosition |
( |
| ) |
|
|
pure virtual |
◆ repaint()
virtual void openmsx::VideoSystem::repaint |
( |
| ) |
|
|
pure virtual |
◆ setClipboardText()
virtual void openmsx::VideoSystem::setClipboardText |
( |
zstring_view |
text | ) |
|
|
pure virtual |
◆ setWindowPosition()
virtual void openmsx::VideoSystem::setWindowPosition |
( |
gl::ivec2 |
pos | ) |
|
|
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 6 of file VideoSystem.cc.
◆ updateWindowTitle()
void openmsx::VideoSystem::updateWindowTitle |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: