openMSX
StretchScalerOutput.hh
Go to the documentation of this file.
1 #ifndef STRETCHSCALEROUTPUT_HH
2 #define STRETCHSCALEROUTPUT_HH
3 
4 #include <memory>
5 
6 namespace openmsx {
7 
8 class OutputSurface;
9 template<typename Pixel> class PixelOperations;
10 template<typename Pixel> class ScalerOutput;
11 
12 template<typename Pixel>
14 {
15  static std::unique_ptr<ScalerOutput<Pixel>> create(
16  OutputSurface& output,
17  PixelOperations<Pixel> pixelOps,
18  unsigned inWidth);
19 };
20 
21 } // namespace openmsx
22 
23 #endif
A frame buffer where pixels can be written to.
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
static std::unique_ptr< ScalerOutput< Pixel > > create(OutputSurface &output, PixelOperations< Pixel > pixelOps, unsigned inWidth)