summaryrefslogtreecommitdiff
path: root/src/safeopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-17 21:20:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-18 15:08:47 +0300
commit09ec2b1ecc1a812e03878ccc07708a0aad02896a (patch)
treeefc3406706d2471d22cc427299dd48455bf8048a /src/safeopenglgraphics.h
parent5c278653704d4f4b90ebc99bcef2f37c5a208a72 (diff)
downloadmv-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.gz
mv-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.bz2
mv-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.xz
mv-09ec2b1ecc1a812e03878ccc07708a0aad02896a.zip
Split from Graphics SDL related code into SDLGraphics.
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r--src/safeopenglgraphics.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h
index c134caa2d..469c4cda0 100644
--- a/src/safeopenglgraphics.h
+++ b/src/safeopenglgraphics.h
@@ -89,10 +89,27 @@ class SafeOpenGLGraphics final : public Graphics
void calcTile(ImageCollection *const vertCol,
const Image *const image, int x, int y) override;
+ void calcImagePattern(ImageVertexes *const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const;
+
+ void calcImagePattern(ImageCollection *const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const;
+
void drawTile(const ImageVertexes *const vert) override;
+ void drawTile(const ImageCollection *const vertCol) override;
+
void updateScreen() override;
+ bool calcWindow(ImageCollection *const vertCol,
+ const int x, const int y,
+ const int w, const int h,
+ const ImageRect &imgRect);
+
void _beginDraw();
void _endDraw();