openMSX
DummyVideoSystem.hh
Go to the documentation of this file.
1#ifndef DUMMYVIDEOSYSTEM_HH
2#define DUMMYVIDEOSYSTEM_HH
3
4#include "VideoSystem.hh"
5#include "components.hh"
6
7namespace openmsx {
8
9class DummyVideoSystem final : public VideoSystem
10{
11public:
12 // VideoSystem interface:
13 [[nodiscard]] std::unique_ptr<Rasterizer> createRasterizer(VDP& vdp) override;
14 [[nodiscard]] std::unique_ptr<V9990Rasterizer> createV9990Rasterizer(
15 V9990& vdp) override;
16#if COMPONENT_LASERDISC
17 [[nodiscard]] std::unique_ptr<LDRasterizer> createLDRasterizer(
18 LaserdiscPlayer& ld) override;
19#endif
20 void flush() override;
21 [[nodiscard]] gl::ivec2 getMouseCoord() override;
22 [[nodiscard]] OutputSurface* getOutputSurface() override;
23 void showCursor(bool show) override;
24 [[nodiscard]] bool getCursorEnabled() override;
25 [[nodiscard]] std::string getClipboardText() override;
26 void setClipboardText(zstring_view text) override;
27 [[nodiscard]] std::optional<gl::ivec2> getWindowPosition() override;
28 void setWindowPosition(gl::ivec2 pos) override;
29 void repaint() override;
30};
31
32} // namespace openmsx
33
34#endif
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:66
Video back-end system.
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