Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: src/core/SkDeviceImageFilterProxy.h

Issue 1169923002: remove Proxy entrypoints for canHandleFilter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove flag Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkImageFilter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkDeviceImageFilterProxy.h
diff --git a/src/core/SkDeviceImageFilterProxy.h b/src/core/SkDeviceImageFilterProxy.h
index 79ff957564c48af5661dff3e3e5d0296499e2070..5d0a61eddf9ae11a3e4f8ba7b72ac149336f635b 100644
--- a/src/core/SkDeviceImageFilterProxy.h
+++ b/src/core/SkDeviceImageFilterProxy.h
@@ -31,15 +31,10 @@ public:
}
return dev;
}
- bool canHandleImageFilter(const SkImageFilter* filter) override {
- return fDevice->canHandleImageFilter(filter);
+ bool filterImage(const SkImageFilter* filter, const SkBitmap& src,
+ const SkImageFilter::Context& ctx, SkBitmap* res, SkIPoint* offset) override {
+ return fDevice->filterImage(filter, src, ctx, res, offset);
}
- virtual bool filterImage(const SkImageFilter* filter, const SkBitmap& src,
- const SkImageFilter::Context& ctx,
- SkBitmap* result, SkIPoint* offset) override {
- return fDevice->filterImage(filter, src, ctx, result, offset);
- }
-
const SkSurfaceProps* surfaceProps() const override {
return &fProps;
}
« no previous file with comments | « include/core/SkImageFilter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698