Compute the correct dst->src rect for bitmap tiles in SkGpuDevice
authorBrian Salomon <bsalomon@google.com>
Tue, 15 Nov 2016 17:11:17 +0000 (12:11 -0500)
committerBrian Salomon <bsalomon@google.com>
Tue, 15 Nov 2016 17:24:20 +0000 (17:24 +0000)
commit71bbd67b5ad911269b9582f6c20cc0cc2de1a02f
tree4eb21d6ff7a22bd5b1ca6ff5edd84da67ef1777d
parent7e8b81e06a0e9a64a94e58a8e263fa53546e7c8c
Compute the correct dst->src rect for bitmap tiles in SkGpuDevice

Use anisotropic scale to show bug in verylargebitmap test.

Cherry pick to M55

BUG=chromium:664615

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4774

Change-Id: If92eab6d26b9fb506670412a80df259f99db2a21
Reviewed-on: https://skia-review.googlesource.com/4774
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-on: https://skia-review.googlesource.com/4825
Reviewed-by: Brian Salomon <bsalomon@google.com>
gm/verylargebitmap.cpp
src/gpu/SkGpuDevice.cpp