summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-28 13:27:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-28 13:27:26 +0300
commit8f018529676006ed744138a929fcc621694d6d75 (patch)
tree03ef706a48100c1bb42a4611add5601844d2cbf5 /src/render/normalopenglgraphics.cpp
parentad43ff0ddf9b0484e00db7b7f0930bad975bf21a (diff)
downloadplus-8f018529676006ed744138a929fcc621694d6d75.tar.gz
plus-8f018529676006ed744138a929fcc621694d6d75.tar.bz2
plus-8f018529676006ed744138a929fcc621694d6d75.tar.xz
plus-8f018529676006ed744138a929fcc621694d6d75.zip
In renderers replace ImagePattern in methods into Pattern.
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r--src/render/normalopenglgraphics.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index 76f95cf9c..88a9f448f 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -338,11 +338,11 @@ bool NormalOpenGLGraphics::drawRescaledImage(const Image *const image,
return true;
}
-void NormalOpenGLGraphics::drawImagePattern(const Image *const image,
- const int x, const int y,
- const int w, const int h)
+void NormalOpenGLGraphics::drawPattern(const Image *const image,
+ const int x, const int y,
+ const int w, const int h)
{
- FUNC_BLOCK("Graphics::drawImagePattern", 1)
+ FUNC_BLOCK("Graphics::drawPattern", 1)
if (!image)
return;
@@ -470,11 +470,11 @@ void NormalOpenGLGraphics::drawImagePattern(const Image *const image,
}
}
-void NormalOpenGLGraphics::drawRescaledImagePattern(const Image *const image,
- const int x, const int y,
- const int w, const int h,
- const int scaledWidth,
- const int scaledHeight)
+void NormalOpenGLGraphics::drawRescaledPattern(const Image *const image,
+ const int x, const int y,
+ const int w, const int h,
+ const int scaledWidth,
+ const int scaledHeight)
{
if (!image)
return;
@@ -665,10 +665,10 @@ inline void NormalOpenGLGraphics::drawVertexes(const
}
}
-void NormalOpenGLGraphics::calcImagePattern(ImageVertexes* const vert,
- const Image *const image,
- const int x, const int y,
- const int w, const int h) const
+void NormalOpenGLGraphics::calcPattern(ImageVertexes* const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const
{
if (!image || !vert)
return;
@@ -836,10 +836,10 @@ void NormalOpenGLGraphics::drawTileCollection(const ImageCollection
}
}
-void NormalOpenGLGraphics::calcImagePattern(ImageCollection* const vertCol,
- const Image *const image,
- const int x, const int y,
- const int w, const int h) const
+void NormalOpenGLGraphics::calcPattern(ImageCollection* const vertCol,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const
{
ImageVertexes *vert = nullptr;
if (vertCol->currentGLImage != image->mGLImage)
@@ -855,7 +855,7 @@ void NormalOpenGLGraphics::calcImagePattern(ImageCollection* const vertCol,
vert = vertCol->currentVert;
}
- calcImagePattern(vert, image, x, y, w, h);
+ calcPattern(vert, image, x, y, w, h);
}
void NormalOpenGLGraphics::calcTileVertexes(ImageVertexes *const vert,