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 
8 namespace openmsx {
9 
10 std::unique_ptr<Rasterizer> DummyVideoSystem::createRasterizer(VDP& /*vdp*/)
11 {
13  return nullptr;
14 }
15 
16 std::unique_ptr<V9990Rasterizer> DummyVideoSystem::createV9990Rasterizer(
17  V9990& /*vdp*/)
18 {
20  return nullptr;
21 }
22 
23 #if COMPONENT_LASERDISC
24 std::unique_ptr<LDRasterizer> DummyVideoSystem::createLDRasterizer(
25  LaserdiscPlayer& /*ld*/)
26 {
28  return nullptr;
29 }
30 #endif
31 
33 {
34 }
35 
37 {
38  return gl::ivec2(0, 0);
39 }
40 
42 {
43  return nullptr;
44 }
45 
46 void DummyVideoSystem::showCursor(bool /*show*/)
47 {
48 }
49 
51 {
52  return false;
53 }
54 
56 {
57  return "";
58 }
59 
61 {
62 }
63 
65 {
66 }
67 
68 } // namespace openmsx
std::string getClipboardText() override
void setClipboardText(zstring_view text) 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.
bool getCursorEnabled() override
std::unique_ptr< Rasterizer > createRasterizer(VDP &vdp) override
Create the rasterizer selected by the current renderer setting.
void showCursor(bool show) override
std::unique_ptr< LDRasterizer > createLDRasterizer(LaserdiscPlayer &ld) 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:32
Unified implementation of MSX Video Display Processors (VDPs).
Definition: VDP.hh:63
Like std::string_view, but with the extra guarantee that it refers to a zero-terminated string.
Definition: zstring_view.hh:22
vecN< 2, int > ivec2
Definition: gl_vec.hh:142
This file implemented 3 utility functions:
Definition: Autofire.cc:9
#define UNREACHABLE
Definition: unreachable.hh:38