summaryrefslogtreecommitdiff
path: root/src/mobileopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-21 21:13:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-01 22:58:18 +0300
commit04916c1b451e4400a496ae210b3faa10154c65ac (patch)
treefe7414434dcb6bcc1405b0d608d82348bc3ca466 /src/mobileopenglgraphics.h
parentd48e360ea40536e9f3e7fb4ce381b7fdc2ee5954 (diff)
downloadplus-04916c1b451e4400a496ae210b3faa10154c65ac.tar.gz
plus-04916c1b451e4400a496ae210b3faa10154c65ac.tar.bz2
plus-04916c1b451e4400a496ae210b3faa10154c65ac.tar.xz
plus-04916c1b451e4400a496ae210b3faa10154c65ac.zip
Add batch drawing for any images.
Add this drawing to Button.
Diffstat (limited to 'src/mobileopenglgraphics.h')
-rw-r--r--src/mobileopenglgraphics.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mobileopenglgraphics.h b/src/mobileopenglgraphics.h
index 78d24d5fc..ad630c6b7 100644
--- a/src/mobileopenglgraphics.h
+++ b/src/mobileopenglgraphics.h
@@ -95,14 +95,34 @@ class MobileOpenGLGraphics final : public Graphics
const int x, const int y,
const int w, const int h) const override;
+ void calcImagePattern(ImageVertexes *const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const override;
+
+ void calcImagePattern(ImageCollection *const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const override;
+
void calcTile(ImageVertexes *const vert, const Image *const image,
int x, int y) const override;
+ void drawTile(const ImageCollection *const vertCol);
+
+ void calcTile(ImageCollection *const vertCol,
+ const Image *const image, int x, int y) override;
+
void drawTile(const ImageVertexes *const vert) override;
void drawImagePattern2(const GraphicsVertexes *const vert,
const Image *const image) override;
+ bool calcWindow(ImageCollection *const vertCol,
+ const int x, const int y,
+ const int w, const int h,
+ const ImageRect &imgRect);
+
void updateScreen() override;
void _beginDraw();