openMSX
LDPixelRenderer.hh
Go to the documentation of this file.
1#ifndef LDPIXELRENDERER_HH
2#define LDPIXELRENDERER_HH
3
4#include "LDRenderer.hh"
5#include <memory>
6
7namespace openmsx {
8
9class MSXMotherBoard;
10class EventDistributor;
11class Display;
12class LDRasterizer;
13class LaserdiscPlayer;
14
18class LDPixelRenderer final : public LDRenderer
19{
20public:
22 ~LDPixelRenderer() override;
23
24 // Renderer interface:
25 void frameStart(EmuTime::param time) override;
26 void frameEnd() override;
27 void drawBlank(int r, int g, int b) override;
28 [[nodiscard]] RawFrame* getRawFrame() override;
29
30private:
31 [[nodiscard]] bool isActive() const;
32
33private:
34 MSXMotherBoard& motherboard;
35 EventDistributor& eventDistributor;
36 const std::unique_ptr<LDRasterizer> rasterizer;
37};
38
39} // namespace openmsx
40
41#endif
int g
Represents the output window/screen of openMSX.
Definition Display.hh:32
Generic implementation of a pixel-based Renderer.
RawFrame * getRawFrame() override
void frameStart(EmuTime::param time) override
Signals the start of a new frame.
void frameEnd() override
Signals the end of a frame.
void drawBlank(int r, int g, int b) override
Abstract base class for LDRenderers.
Definition LDRenderer.hh:19
A video frame as output by the VDP scanline conversion unit, before any postprocessing filters are ap...
Definition RawFrame.hh:15
This file implemented 3 utility functions:
Definition Autofire.cc:9