openMSX
GLTVScaler.hh
Go to the documentation of this file.
1 #ifndef GLTVSCALER_HH
2 #define GLTVSCALER_HH
3 
4 #include "GLScaler.hh"
5 #include "GLUtil.hh"
6 
7 namespace openmsx {
8 
9 class RenderSettings;
10 
11 class GLTVScaler final : public GLScaler
12 {
13 public:
14  explicit GLTVScaler(RenderSettings& renderSettings);
15 
16  void scaleImage(
17  gl::ColorTexture& src, gl::ColorTexture* superImpose,
18  unsigned srcStartY, unsigned srcEndY, unsigned srcWidth,
19  unsigned dstStartY, unsigned dstEndY, unsigned dstWidth,
20  unsigned logSrcHeight) override;
21 
22 private:
23  RenderSettings& renderSettings;
24  GLint unifMinScanline [2];
25  GLint unifSizeVariance[2];
26 };
27 
28 } // namespace openmsx
29 
30 #endif // GLTVSCALER_HH
openmsx::RenderSettings
Class containing all settings for renderers.
Definition: RenderSettings.hh:22
gl::ColorTexture
Definition: GLUtil.hh:100
GLScaler.hh
openmsx::GLTVScaler::scaleImage
void scaleImage(gl::ColorTexture &src, gl::ColorTexture *superImpose, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, unsigned dstStartY, unsigned dstEndY, unsigned dstWidth, unsigned logSrcHeight) override
Scales the image in the given area, which must consist of lines which are all equally wide.
Definition: GLTVScaler.cc:19
openmsx::GLTVScaler
Definition: GLTVScaler.hh:12
openmsx::GLTVScaler::GLTVScaler
GLTVScaler(RenderSettings &renderSettings)
Definition: GLTVScaler.cc:6
openmsx::GLScaler
Abstract base class for OpenGL scalers.
Definition: GLScaler.hh:14
GLUtil.hh
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5