openMSX
Public Member Functions | List of all members
openmsx::LDPixelRenderer Class Referencefinal

Generic implementation of a pixel-based Renderer. More...

#include <LDPixelRenderer.hh>

Inheritance diagram for openmsx::LDPixelRenderer:
Inheritance graph
[legend]
Collaboration diagram for openmsx::LDPixelRenderer:
Collaboration graph
[legend]

Public Member Functions

 LDPixelRenderer (LaserdiscPlayer &ld, Display &display)
 
 ~LDPixelRenderer () 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
 
RawFramegetRawFrame () override
 
- Public Member Functions inherited from openmsx::LDRenderer
virtual ~LDRenderer ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::LDRenderer
 LDRenderer ()=default
 

Detailed Description

Generic implementation of a pixel-based Renderer.

Uses a Rasterizer to plot actual pixels for a specific video system.

Definition at line 18 of file LDPixelRenderer.hh.

Constructor & Destructor Documentation

◆ LDPixelRenderer()

openmsx::LDPixelRenderer::LDPixelRenderer ( LaserdiscPlayer ld,
Display display 
)

Definition at line 15 of file LDPixelRenderer.cc.

◆ ~LDPixelRenderer()

openmsx::LDPixelRenderer::~LDPixelRenderer ( )
overridedefault

Member Function Documentation

◆ drawBlank()

void openmsx::LDPixelRenderer::drawBlank ( int  r,
int  g,
int  b 
)
overridevirtual

Implements openmsx::LDRenderer.

Definition at line 42 of file LDPixelRenderer.cc.

References g.

◆ frameEnd()

void openmsx::LDPixelRenderer::frameEnd ( )
overridevirtual

◆ frameStart()

void openmsx::LDPixelRenderer::frameStart ( EmuTime::param  time)
overridevirtual

Signals the start of a new frame.

The LDRenderer can use this to get fixed-per-frame settings from the VDP, such as PAL/NTSC timing.

Parameters
timeThe moment in emulated time the frame starts.

Implements openmsx::LDRenderer.

Definition at line 24 of file LDPixelRenderer.cc.

◆ getRawFrame()

RawFrame * openmsx::LDPixelRenderer::getRawFrame ( )
overridevirtual

Implements openmsx::LDRenderer.

Definition at line 47 of file LDPixelRenderer.cc.


The documentation for this class was generated from the following files: