diff options
author | 2016-03-23 12:50:46 -0700 | |
---|---|---|
committer | 2016-03-23 12:50:46 -0700 | |
commit | 3c935bc87020bfd19a08922f7394db3a801d168b (patch) | |
tree | b0d8eeac4413f5331c395362180185a0d2db7b4d /src/gpu/SkGpuDevice.h | |
parent | 83aa9208dab96f1b6affa8167522e9a94afd70a5 (diff) |
Switch SkBlurImageFilter over to new onFilterImage interface
This CL relies on:
https://codereview.chromium.org/1787883002/ (Add SkSpecialImage::extractSubset & NewFromPixmap)
https://codereview.chromium.org/1808743003/ (Allow SkGpuDevice::drawSprite to handle subset SkBitmaps)
https://codereview.chromium.org/1813813002/ (Add SkSpecialImage::makeTextureImage entry point)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1785643003
Review URL: https://codereview.chromium.org/1785643003
Diffstat (limited to 'src/gpu/SkGpuDevice.h')
-rw-r--r-- | src/gpu/SkGpuDevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h index e57da44c69..81bbedbd67 100644 --- a/src/gpu/SkGpuDevice.h +++ b/src/gpu/SkGpuDevice.h @@ -262,6 +262,9 @@ private: static GrRenderTarget* CreateRenderTarget(GrContext*, SkBudgeted, const SkImageInfo&, int sampleCount, GrTextureStorageAllocator); + void drawBitmapAsSpriteWithImageFilter(const SkDraw&, const SkBitmap&, int x, int y, + const SkPaint&) override; + friend class GrAtlasTextContext; friend class SkSurface_Gpu; // for access to surfaceProps typedef SkBaseDevice INHERITED; |