From 3c935bc87020bfd19a08922f7394db3a801d168b Mon Sep 17 00:00:00 2001 From: robertphillips Date: Wed, 23 Mar 2016 12:50:46 -0700 Subject: 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 --- src/gpu/SkGpuDevice.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gpu/SkGpuDevice.h') 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; -- cgit v1.2.3