openMSX
DummyVideoSystem.cc
Go to the documentation of this file.
1#include "DummyVideoSystem.hh"
2#include "Rasterizer.hh"
3#include "V9990Rasterizer.hh"
4#include "LDRasterizer.hh"
5#include "components.hh"
6#include "unreachable.hh"
7
8namespace openmsx {
9
10std::unique_ptr<Rasterizer> DummyVideoSystem::createRasterizer(VDP& /*vdp*/)
11{
13}
14
15std::unique_ptr<V9990Rasterizer> DummyVideoSystem::createV9990Rasterizer(
16 V9990& /*vdp*/)
17{
19}
20
21#if COMPONENT_LASERDISC
22std::unique_ptr<LDRasterizer> DummyVideoSystem::createLDRasterizer(
23 LaserdiscPlayer& /*ld*/)
24{
26}
27#endif
28
32
34{
35 return {0, 0};
36}
37
42
44{
45}
46
48{
49 return false;
50}
51
53{
54 return "";
55}
56
60
61std::optional<gl::ivec2> DummyVideoSystem::getWindowPosition()
62{
63 return {};
64}
65
69
73
74} // namespace openmsx
std::string getClipboardText() override
std::optional< gl::ivec2 > getWindowPosition() override
void setClipboardText(zstring_view text) override
void setWindowPosition(gl::ivec2 pos) override
void flush() override
Finish pending drawing operations and make them visible to the user.
void repaint() override
Requests a repaint of the output surface.
std::unique_ptr< Rasterizer > createRasterizer(VDP &vdp) override
Create the rasterizer selected by the current renderer setting.
void showCursor(bool show) override
OutputSurface * getOutputSurface() override
TODO.
gl::ivec2 getMouseCoord() override
Returns the current mouse pointer coordinates.
std::unique_ptr< V9990Rasterizer > createV9990Rasterizer(V9990 &vdp) override
Create the V9990 rasterizer selected by the current renderer setting.
A frame buffer where pixels can be written to.
Implementation of the Yamaha V9990 VDP as used in the GFX9000 cartridge by Sunrise.
Definition V9990.hh:35
Unified implementation of MSX Video Display Processors (VDPs).
Definition VDP.hh:67
Like std::string_view, but with the extra guarantee that it refers to a zero-terminated string.
This file implemented 3 utility functions:
Definition Autofire.cc:11
#define UNREACHABLE