22 #ifndef STARK_GFX_OPENGL_S_SURFACE_H 23 #define STARK_GFX_OPENGL_S_SURFACE_H 25 #include "engines/stark/gfx/surfacerenderer.h" 27 #include "math/vector2d.h" 29 #if defined(USE_OPENGL_SHADERS) 44 class OpenGLSSurfaceRenderer :
public SurfaceRenderer {
46 OpenGLSSurfaceRenderer(OpenGLSDriver *gfx);
47 virtual ~OpenGLSSurfaceRenderer();
50 void render(
const Bitmap *bitmap,
const Common::Point &dest)
override;
51 void render(
const Bitmap *bitmap,
const Common::Point &dest, uint width, uint height)
override;
52 void fill(
const Color &color,
const Common::Point &dest, uint width, uint height)
override;
55 Math::Vector2d normalizeOriginalCoordinates(
int x,
int y)
const;
56 Math::Vector2d normalizeCurrentCoordinates(
int x,
int y)
const;
66 #endif // defined(USE_OPENGL_SHADERS) 68 #endif // STARK_GFX_OPENGL_S_SURFACE_H
Definition: renderbuffer.h:27
signed char * fill(signed char *first, signed char *last, Value val)
Definition: algorithm.h:168