aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBitmapDevice.cpp
diff options
context:
space:
mode:
authorGravatar Yuqian Li <liyuqian@google.com>2018-04-10 12:52:20 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-10 17:41:02 +0000
commit321fb4e456526f58815f95299c1dd4d54a81ed18 (patch)
tree09f4641f6cbd6632ea422d383b3eea370d9d7b16 /src/core/SkBitmapDevice.cpp
parent1b49a05a60d56c6a71c21b8876cd24550a41d4da (diff)
Merge drawDevice and respect ctm for the paint
See GM savelayer_maskfilter Bug: skia: Change-Id: I70ce73f19067fc8c097a55e99e305e14e8a320ac Reviewed-on: https://skia-review.googlesource.com/120182 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'src/core/SkBitmapDevice.cpp')
-rw-r--r--src/core/SkBitmapDevice.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp
index dd01a3795e..5f84ba1aec 100644
--- a/src/core/SkBitmapDevice.cpp
+++ b/src/core/SkBitmapDevice.cpp
@@ -489,9 +489,7 @@ void SkBitmapDevice::drawDevice(SkBaseDevice* device, int x, int y, const SkPain
if (paint->getMaskFilter()) {
paint.writable()->setMaskFilter(paint->getMaskFilter()->makeWithLocalMatrix(this->ctm()));
}
-
- LOOP_TILER( drawSprite(static_cast<SkBitmapDevice*>(device)->fBitmap,
- TILER_X(x), TILER_Y(y), *paint))
+ this->drawSprite(static_cast<SkBitmapDevice*>(device)->fBitmap, x, y, *paint);
}
///////////////////////////////////////////////////////////////////////////////