openMSX
video
ld
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
7
namespace
openmsx
{
8
9
class
RawFrame;
10
class
PostProcessor;
11
15
class
LDSDLRasterizer
final :
public
LDRasterizer
16
{
17
public
:
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
27
private
:
31
const
std::unique_ptr<PostProcessor> postProcessor;
32
35
std::unique_ptr<RawFrame> workFrame;
36
};
37
38
}
// namespace openmsx
39
40
#endif
LDRasterizer.hh
g
int g
Definition
ScopedAssign_test.cc:20
openmsx::LDRasterizer
Definition
LDRasterizer.hh:12
openmsx::LDSDLRasterizer
Rasterizer using a frame buffer approach: it writes pixels to a single rectangular pixel buffer.
Definition
LDSDLRasterizer.hh:16
openmsx::LDSDLRasterizer::~LDSDLRasterizer
~LDSDLRasterizer() override
openmsx::LDSDLRasterizer::drawBlank
void drawBlank(int r, int g, int b) override
Definition
LDSDLRasterizer.cc:28
openmsx::LDSDLRasterizer::getPostProcessor
PostProcessor * getPostProcessor() const override
Definition
LDSDLRasterizer.cc:18
openmsx::LDSDLRasterizer::getRawFrame
RawFrame * getRawFrame() override
Definition
LDSDLRasterizer.cc:40
openmsx::LDSDLRasterizer::frameStart
void frameStart(EmuTime::param time) override
Definition
LDSDLRasterizer.cc:23
openmsx::PostProcessor
A post processor builds the frame that is displayed from the MSX frame, while applying effects such a...
Definition
PostProcessor.hh:35
openmsx::RawFrame
A video frame as output by the VDP scanline conversion unit, before any postprocessing filters are ap...
Definition
RawFrame.hh:16
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
Generated on Sat Dec 21 2024 14:13:52 for openMSX by
1.9.8