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 void repaint() override;
28};
29
30} // namespace openmsx
31
32#endif
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:35
Unified implementation of MSX Video Display Processors (VDPs).
Definition: VDP.hh:64
Video back-end system.
Definition: VideoSystem.hh:23
Like std::string_view, but with the extra guarantee that it refers to a zero-terminated string.
Definition: zstring_view.hh:22
This file implemented 3 utility functions:
Definition: Autofire.cc:9