// $Id: GLSimpleScaler.hh 5740 2006-10-03 16:51:29Z m9710797 $ #ifndef GLSIMPLESCALER_HH #define GLSIMPLESCALER_HH #include "GLScaler.hh" #include "noncopyable.hh" #include namespace openmsx { class RenderSettings; class ShaderProgram; class GLSimpleScaler: public GLScaler, private noncopyable { public: explicit GLSimpleScaler(RenderSettings& renderSettings); virtual void scaleImage( ColourTexture& src, unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, unsigned dstStartY, unsigned dstEndY, unsigned dstWidth); private: RenderSettings& renderSettings; std::auto_ptr scalerProgram; int texSizeLoc; int alphaLoc; int scanALoc; int scanBLoc; int scanCLoc; }; } // namespace openmsx #endif // GLSIMPLESCALER_HH