diff options
author | lsalzman <lsalzman@mozilla.com> | 2016-01-14 13:06:41 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-14 13:06:41 -0800 |
commit | 973ed24fcb58db36588a19c18ae56af8f8adbba3 (patch) | |
tree | 555c814db37aea16535cc41714a00ca566aa9e3c /src | |
parent | 576c206d29b9de406e7faf6a93c416290b2c08b5 (diff) |
fix SkGpuDevice::drawBitmapRect to always update clips
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1584073007
Review URL: https://codereview.chromium.org/1584073007
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index a3f00c1434..0359b57ca5 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1223,8 +1223,8 @@ void SkGpuDevice::drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, const SkRect* src, const SkRect& origDst, const SkPaint& paint, SkCanvas::SrcRectConstraint constraint) { ASSERT_SINGLE_OWNER + CHECK_SHOULD_DRAW(draw); if (bitmap.getTexture()) { - CHECK_SHOULD_DRAW(draw); GrBitmapTextureAdjuster adjuster(&bitmap); this->drawTextureProducer(&adjuster, src, &origDst, constraint, *draw.fMatrix, fClip, paint); |