openMSX
Public Member Functions | List of all members
openmsx::DirectScalerOutput< Pixel > Class Template Referencefinal

#include <DirectScalerOutput.hh>

Inheritance diagram for openmsx::DirectScalerOutput< Pixel >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::DirectScalerOutput< Pixel >:
Collaboration graph
[legend]

Public Member Functions

 DirectScalerOutput (SDLOutputSurface &output)
 
unsigned getWidth () const override
 
unsigned getHeight () const override
 
void frameStart () override
 
void frameStop () override
 
std::span< PixelacquireLine (unsigned y) override
 
void releaseLine (unsigned y, std::span< Pixel > buf) override
 
void fillLine (unsigned y, Pixel color) override
 
- Public Member Functions inherited from openmsx::ScalerOutput< Pixel >
virtual ~ScalerOutput ()=default
 
virtual unsigned getWidth () const =0
 
virtual unsigned getHeight () const =0
 
virtual void frameStart ()=0
 
virtual void frameStop ()=0
 
virtual std::span< PixelacquireLine (unsigned y)=0
 
virtual void releaseLine (unsigned y, std::span< Pixel > buf)=0
 
virtual void fillLine (unsigned y, Pixel color)=0
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::ScalerOutput< Pixel >
 ScalerOutput ()=default
 

Detailed Description

template<std::unsigned_integral Pixel>
class openmsx::DirectScalerOutput< Pixel >

Definition at line 12 of file DirectScalerOutput.hh.

Constructor & Destructor Documentation

◆ DirectScalerOutput()

template<std::unsigned_integral Pixel>
openmsx::DirectScalerOutput< Pixel >::DirectScalerOutput ( SDLOutputSurface output)
explicit

Definition at line 11 of file DirectScalerOutput.cc.

Member Function Documentation

◆ acquireLine()

template<std::unsigned_integral Pixel>
std::span< Pixel > openmsx::DirectScalerOutput< Pixel >::acquireLine ( unsigned  y)
overridevirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 17 of file DirectScalerOutput.cc.

References subspan().

◆ fillLine()

template<std::unsigned_integral Pixel>
void openmsx::DirectScalerOutput< Pixel >::fillLine ( unsigned  y,
Pixel  color 
)
overridevirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 34 of file DirectScalerOutput.cc.

References subspan().

◆ frameStart()

template<std::unsigned_integral Pixel>
void openmsx::DirectScalerOutput< Pixel >::frameStart ( )
inlineoverridevirtual

◆ frameStop()

template<std::unsigned_integral Pixel>
void openmsx::DirectScalerOutput< Pixel >::frameStop ( )
inlineoverridevirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 27 of file DirectScalerOutput.hh.

◆ getHeight()

template<std::unsigned_integral Pixel>
unsigned openmsx::DirectScalerOutput< Pixel >::getHeight ( ) const
inlineoverridevirtual

◆ getWidth()

template<std::unsigned_integral Pixel>
unsigned openmsx::DirectScalerOutput< Pixel >::getWidth ( ) const
inlineoverridevirtual

◆ releaseLine()

template<std::unsigned_integral Pixel>
void openmsx::DirectScalerOutput< Pixel >::releaseLine ( unsigned  y,
std::span< Pixel buf 
)
overridevirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 24 of file DirectScalerOutput.cc.


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