OXYGENHUB
◆ main openmsx / src / video / scalers / GLScalerFactory.hh
434 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef GLSCALERFACTORY_HH
2
#define GLSCALERFACTORY_HH
3
4
#include <memory>
5
6
namespace openmsx {
7
8
class GLScaler;
9
class RenderSettings;
10
11
namespace GLScalerFactory
12
{
13
	/** Instantiates a Scaler.
14
	  * @return A Scaler object, owned by the caller.
15
	  */
16
	[[nodiscard]] std::unique_ptr<GLScaler> createScaler(
17
		RenderSettings& renderSettings,
18
		unsigned maxWidth, unsigned maxHeight);
19
}
20
21
} // namespace openmsx
22
23
#endif // GLSCALERFACTORY_HH