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
This commit is contained in:
parent
576c206d29
commit
973ed24fcb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user