openMSX
LDRenderer.hh
Go to the documentation of this file.
1 #ifndef LDRENDERER_HH
2 #define LDRENDERER_HH
3 
4 #include "EmuTime.hh"
5 
6 namespace openmsx {
7 
8 class RawFrame;
9 
19 {
20 public:
21  virtual ~LDRenderer() = default;
22 
28  virtual void frameStart(EmuTime::param time) = 0;
29 
32  virtual void frameEnd() = 0;
33 
34  virtual void drawBlank(int r, int g, int b) = 0;
35 
36  [[nodiscard]] virtual RawFrame* getRawFrame() = 0;
37 
38 protected:
39  LDRenderer() = default;
40 };
41 
42 } // namespace openmsx
43 
44 #endif
openmsx::LDRenderer
Abstract base class for LDRenderers.
Definition: LDRenderer.hh:19
openmsx::LDRenderer::LDRenderer
LDRenderer()=default
openmsx::LDRenderer::getRawFrame
virtual RawFrame * getRawFrame()=0
openmsx::LDRenderer::frameStart
virtual void frameStart(EmuTime::param time)=0
Signals the start of a new frame.
openmsx::LDRenderer::frameEnd
virtual void frameEnd()=0
Signals the end of a frame.
openmsx::LDRenderer::~LDRenderer
virtual ~LDRenderer()=default
openmsx::RawFrame
A video frame as output by the VDP scanline conversion unit, before any postprocessing filters are ap...
Definition: RawFrame.hh:26
g
int g
Definition: ScopedAssign_test.cc:20
EmuTime.hh
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5
openmsx::LDRenderer::drawBlank
virtual void drawBlank(int r, int g, int b)=0