aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkColorFilterImageFilter.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-04-19 10:21:02 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-19 10:21:03 -0700
commit718a5adc6da857f08578cae434bcf81ea3f5aa3d (patch)
treed5cc9d479af9fa37b86d7377938afcb475078169 /include/effects/SkColorFilterImageFilter.h
parent7831295c63b57efca6e4331b9d66df66985ca805 (diff)
Switch SkColorFilterImageFilter over to new onFilterImage interface (again)
Back when this was originally reverted I was able to easily repro the perf regression locally. At ToT Skia/Chrome I can no longer repro the perf regression with this CL (in fact there is a modest perf improvement). I propose landing this and then watching the Chromium perf bots. BUG=602300,598028 TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1901513002 Review URL: https://codereview.chromium.org/1901513002
Diffstat (limited to 'include/effects/SkColorFilterImageFilter.h')
-rw-r--r--include/effects/SkColorFilterImageFilter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/effects/SkColorFilterImageFilter.h b/include/effects/SkColorFilterImageFilter.h
index 2aa04d1644..5ed051c0de 100644
--- a/include/effects/SkColorFilterImageFilter.h
+++ b/include/effects/SkColorFilterImageFilter.h
@@ -33,8 +33,8 @@ public:
protected:
void flatten(SkWriteBuffer&) const override;
- bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&, SkBitmap* result,
- SkIPoint* loc) const override;
+ sk_sp<SkSpecialImage> onFilterImage(SkSpecialImage* source, const Context&,
+ SkIPoint* offset) const override;
bool onIsColorFilterNode(SkColorFilter**) const override;
bool affectsTransparentBlack() const override;