openMSX
ScalerFactory.hh
Go to the documentation of this file.
1 #ifndef SCALERFACTORY_HH
2 #define SCALERFACTORY_HH
3 
4 #include <memory>
5 
6 namespace openmsx {
7 
8 class RenderSettings;
9 template<typename Pixel> class Scaler;
10 template<typename Pixel> class PixelOperations;
11 
15 template <class Pixel>
17 {
18 public:
22  static std::unique_ptr<Scaler<Pixel>> createScaler(
23  const PixelOperations<Pixel>& pixelOps,
24  RenderSettings& renderSettings);
25 };
26 
27 } // namespace openmsx
28 
29 #endif
Abstract base class for scalers.
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
Class containing all settings for renderers.
static std::unique_ptr< Scaler< Pixel > > createScaler(const PixelOperations< Pixel > &pixelOps, RenderSettings &renderSettings)
Instantiates a Scaler.