aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-04-01 08:09:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-01 08:09:44 -0700
commit4eb4964e1802d6f222c47e9158636e1ae80bb4b7 (patch)
tree50abc321286d10a8842e8fa48dc9fe5738d4a50a /include/effects
parent7c62b47800bc145369504feb3e127a70724655d4 (diff)
Revert of Switch SkDownSampleImageFilter over to new onFilterImage interface (patchset #2 id:20001 of https://codereview.chromium.org/1851583002/ )
Reason for revert: Some images are incorrect Original issue's description: > Switch SkDownSampleImageFilter over to new onFilterImage interface > > This will slightly change the testimagefilters GM images > > TBR=reed@google.com > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1851583002 > > Committed: https://skia.googlesource.com/skia/+/daa9da4937b6dfc9e1047239b4afd41b1c5474d5 TBR=senorblanco@chromium.org,reed@google.com,senorblanco@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1853823002
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/SkTestImageFilters.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/effects/SkTestImageFilters.h b/include/effects/SkTestImageFilters.h
index 943bb53356..2b3ca84da8 100644
--- a/include/effects/SkTestImageFilters.h
+++ b/include/effects/SkTestImageFilters.h
@@ -30,9 +30,8 @@ public:
protected:
void flatten(SkWriteBuffer&) const override;
-
- sk_sp<SkSpecialImage> onFilterImage(SkSpecialImage* source, const Context&,
- SkIPoint* offset) const override;
+ bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&, SkBitmap* result,
+ SkIPoint* loc) const override;
private:
SkDownSampleImageFilter(SkScalar scale, SkImageFilter* input)