openMSX
GLScaleNxScaler.hh
Go to the documentation of this file.
1 #ifndef GLSCALENXSCALER_HH
2 #define GLSCALENXSCALER_HH
3 
4 #include "GLScaler.hh"
5 
6 namespace openmsx {
7 
8 class GLScaleNxScaler final : public GLScaler
9 {
10 public:
11  explicit GLScaleNxScaler(GLScaler& fallback);
12 
13  void scaleImage(
14  gl::ColorTexture& src, gl::ColorTexture* superImpose,
15  unsigned srcStartY, unsigned srcEndY, unsigned srcWidth,
16  unsigned dstStartY, unsigned dstEndY, unsigned dstWidth,
17  unsigned logSrcHeight) override;
18 
19 private:
20  GLScaler& fallback;
21 };
22 
23 } // namespace openmsx
24 
25 #endif // GLSCALENXSCALER_HH
openmsx::GLScaleNxScaler::GLScaleNxScaler
GLScaleNxScaler(GLScaler &fallback)
Definition: GLScaleNxScaler.cc:5
gl::ColorTexture
Definition: GLUtil.hh:100
openmsx::GLScaleNxScaler
Definition: GLScaleNxScaler.hh:9
GLScaler.hh
openmsx::GLScaleNxScaler::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: GLScaleNxScaler.cc:11
openmsx::GLScaler
Abstract base class for OpenGL scalers.
Definition: GLScaler.hh:14
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5