openMSX
LDSDLRasterizer.hh
Go to the documentation of this file.
1#ifndef LDSDLRASTERIZER_HH
2#define LDSDLRASTERIZER_HH
3
4#include "LDRasterizer.hh"
5#include <memory>
6
7namespace openmsx {
8
9class RawFrame;
10class PostProcessor;
11
15class LDSDLRasterizer final : public LDRasterizer
16{
17public:
18 explicit LDSDLRasterizer(std::unique_ptr<PostProcessor> postProcessor);
19 ~LDSDLRasterizer() override;
20
21 // Rasterizer interface:
22 [[nodiscard]] PostProcessor* getPostProcessor() const override;
23 void frameStart(EmuTime::param time) override;
24 void drawBlank(int r, int g, int b) override;
25 [[nodiscard]] RawFrame* getRawFrame() override;
26
27private:
31 const std::unique_ptr<PostProcessor> postProcessor;
32
35 std::unique_ptr<RawFrame> workFrame;
36};
37
38} // namespace openmsx
39
40#endif
int g
Rasterizer using a frame buffer approach: it writes pixels to a single rectangular pixel buffer.
void drawBlank(int r, int g, int b) override
PostProcessor * getPostProcessor() const override
RawFrame * getRawFrame() override
void frameStart(EmuTime::param time) override
A post processor builds the frame that is displayed from the MSX frame, while applying effects such a...
A video frame as output by the VDP scanline conversion unit, before any postprocessing filters are ap...
Definition RawFrame.hh:16
This file implemented 3 utility functions:
Definition Autofire.cc:11