openMSX
StretchScalerOutput.hh
Go to the documentation of this file.
1 #ifndef STRETCHSCALEROUTPUT_HH
2 #define STRETCHSCALEROUTPUT_HH
3 
4 #include <concepts>
5 #include <memory>
6 
7 namespace openmsx {
8 
9 class SDLOutputSurface;
10 template<std::unsigned_integral Pixel> class PixelOperations;
11 template<std::unsigned_integral Pixel> class ScalerOutput;
12 
13 template<std::unsigned_integral Pixel>
15 {
16  [[nodiscard]] static std::unique_ptr<ScalerOutput<Pixel>> create(
17  SDLOutputSurface& output,
18  PixelOperations<Pixel> pixelOps,
19  unsigned inWidth);
20 };
21 
22 } // namespace openmsx
23 
24 #endif
A frame buffer where pixels can be written to.
This file implemented 3 utility functions:
Definition: Autofire.cc:9
static std::unique_ptr< ScalerOutput< Pixel > > create(SDLOutputSurface &output, PixelOperations< Pixel > pixelOps, unsigned inWidth)