45#if COMPONENT_LASERDISC
46 [[nodiscard]]
virtual std::unique_ptr<LDRasterizer> createLDRasterizer(
60 virtual void takeScreenShot(
const std::string& filename,
bool withOsd);
A frame buffer where pixels can be written to.
Implementation of the Yamaha V9990 VDP as used in the GFX9000 cartridge by Sunrise.
Unified implementation of MSX Video Display Processors (VDPs).
virtual void updateWindowTitle()
Called when the window title string has changed.
virtual void flush()=0
Finish pending drawing operations and make them visible to the user.
virtual bool getCursorEnabled()=0
virtual std::optional< gl::ivec2 > getWindowPosition()=0
virtual void takeScreenShot(const std::string &filename, bool withOsd)
Take a screenshot.
virtual std::unique_ptr< V9990Rasterizer > createV9990Rasterizer(V9990 &vdp)=0
Create the V9990 rasterizer selected by the current renderer setting.
virtual gl::ivec2 getMouseCoord()=0
Returns the current mouse pointer coordinates.
virtual void setClipboardText(zstring_view text)=0
virtual void repaint()=0
Requests a repaint of the output surface.
virtual OutputSurface * getOutputSurface()=0
TODO.
virtual void setWindowPosition(gl::ivec2 pos)=0
virtual std::string getClipboardText()=0
virtual void showCursor(bool show)=0
virtual ~VideoSystem()=default
virtual std::unique_ptr< Rasterizer > createRasterizer(VDP &vdp)=0
Create the rasterizer selected by the current renderer setting.
Like std::string_view, but with the extra guarantee that it refers to a zero-terminated string.
This file implemented 3 utility functions: