| 1 |
#include "GLDefaultScaler.hh" |
| 2 |
|
| 3 |
namespace openmsx { |
| 4 |
|
| 5 |
GLDefaultScaler::GLDefaultScaler() |
| 6 |
: GLScaler("default") |
| 7 |
{ |
| 8 |
} |
| 9 |
|
| 10 |
void GLDefaultScaler::scaleImage( |
| 11 |
gl::ColorTexture& src, gl::ColorTexture* superImpose, |
| 12 |
unsigned srcStartY, unsigned srcEndY, unsigned srcWidth, |
| 13 |
unsigned dstStartY, unsigned dstEndY, unsigned dstWidth, |
| 14 |
unsigned logSrcHeight) |
| 15 |
{ |
| 16 |
setup(superImpose != nullptr); |
| 17 |
execute(src, superImpose, |
| 18 |
srcStartY, srcEndY, srcWidth, |
| 19 |
dstStartY, dstEndY, dstWidth, |
| 20 |
logSrcHeight); |
| 21 |
} |
| 22 |
|
| 23 |
} |