DescriptionAllow SkGpuDevice::drawSprite to handle subset SkBitmaps
With the upcoming switch to SkSpecialImage in the blur image filter, it is possible for drawSprite calls to use an SkBitmap with an offset (e.g., a blur image filter with a cropRect and 0 blur radii). This simply updates the drawSprite code path to be origin aware.
This is calved off of: https://codereview.chromium.org/1785643003/ (Switch SkBlurImageFilter over to new onFilterImage interface)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1808743003
Committed: https://skia.googlesource.com/skia/+/e1849d14b9b50ba0346840f74adfcd7052603b43
Patch Set 1 #Patch Set 2 : allos SkGpuDevice::drawSprite to handle subset SkBitmaps #
Messages
Total messages: 15 (8 generated)
|