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
 
PixelacquireLine (unsigned y) override
 
void releaseLine (unsigned y, 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 PixelacquireLine (unsigned y)=0
 
virtual void releaseLine (unsigned y, 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 11 of file DirectScalerOutput.hh.

Constructor & Destructor Documentation

◆ DirectScalerOutput()

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

Definition at line 10 of file DirectScalerOutput.cc.

Member Function Documentation

◆ acquireLine()

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

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 28 of file DirectScalerOutput.cc.

◆ fillLine()

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

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 40 of file DirectScalerOutput.cc.

◆ getHeight()

template<std::unsigned_integral Pixel>
unsigned openmsx::DirectScalerOutput< Pixel >::getHeight
overridevirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 22 of file DirectScalerOutput.cc.

◆ getWidth()

template<std::unsigned_integral Pixel>
unsigned openmsx::DirectScalerOutput< Pixel >::getWidth
overridevirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 16 of file DirectScalerOutput.cc.

◆ releaseLine()

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

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 34 of file DirectScalerOutput.cc.


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