OXYGENHUB
◆ main openmsx / src / video / DummyVideoSystem.cc
1.2 KiB · C++ · last changed chore(): initial commit 1 month ago source blame history raw
e8555c89 Andy McCall 1
#include "DummyVideoSystem.hh"
2
3
#include "LDRasterizer.hh"
4
#include "Rasterizer.hh"
5
#include "V9990Rasterizer.hh"
6
7
#include "unreachable.hh"
8
9
#include "components.hh"
10
11
namespace openmsx {
12
13
std::unique_ptr<Rasterizer> DummyVideoSystem::createRasterizer(VDP& /*vdp*/)
14
{
15
	UNREACHABLE;
16
}
17
18
std::unique_ptr<V9990Rasterizer> DummyVideoSystem::createV9990Rasterizer(
19
	V9990& /*vdp*/)
20
{
21
	UNREACHABLE;
22
}
23
24
#if COMPONENT_LASERDISC
25
std::unique_ptr<LDRasterizer> DummyVideoSystem::createLDRasterizer(
26
	LaserdiscPlayer& /*ld*/)
27
{
28
	UNREACHABLE;
29
}
30
#endif
31
32
void DummyVideoSystem::flush()
33
{
34
}
35
36
std::optional<gl::ivec2> DummyVideoSystem::getMouseCoord()
37
{
38
	return {};
39
}
40
41
std::optional<gl::vec2> DummyVideoSystem::getMsxPixelSize()
42
{
43
	return {};
44
}
45
46
OutputSurface* DummyVideoSystem::getOutputSurface()
47
{
48
	return nullptr;
49
}
50
51
void DummyVideoSystem::showCursor(bool /*show*/)
52
{
53
}
54
55
bool DummyVideoSystem::getCursorEnabled()
56
{
57
	return false;
58
}
59
60
std::string DummyVideoSystem::getClipboardText()
61
{
62
	return "";
63
}
64
65
void DummyVideoSystem::setClipboardText(zstring_view /*text*/)
66
{
67
}
68
69
std::optional<gl::ivec2> DummyVideoSystem::getWindowPosition()
70
{
71
	return {};
72
}
73
74
void DummyVideoSystem::setWindowPosition(gl::ivec2 /*pos*/)
75
{
76
}
77
78
void DummyVideoSystem::repaint()
79
{
80
}
81
82
} // namespace openmsx