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  virtual RawFrame* getRawFrame() = 0;
37 
38 protected:
39  LDRenderer() = default;
40 };
41 
42 } // namespace openmsx
43 
44 #endif
virtual void frameStart(EmuTime::param time)=0
Signals the start of a new frame.
virtual void frameEnd()=0
Signals the end of a frame.
virtual void drawBlank(int r, int g, int b)=0
A video frame as output by the VDP scanline conversion unit, before any postprocessing filters are ap...
Definition: RawFrame.hh:25
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
virtual ~LDRenderer()=default
int g
Abstract base class for LDRenderers.
Definition: LDRenderer.hh:18
virtual RawFrame * getRawFrame()=0