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

Unified Diff: include/core/SkImageFilter.h

Issue 1128823010: Revert of antialias matrix-image-filter to get smooth diagonals (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImageFilter.h
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index bc2fae89f54723268c7a2a49ae4bd1498664626e..dab46ae716b69ffb76f9adcf726342289ecda4cb 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -81,9 +81,6 @@
public:
virtual ~Proxy() {};
- /**
- * The returned device will be zero-initialized (transparent black)
- */
virtual SkBaseDevice* createDevice(int width, int height) = 0;
// returns true if the proxy can handle this filter natively
virtual bool canHandleImageFilter(const SkImageFilter*) = 0;
@@ -347,12 +344,6 @@
private:
bool usesSrcInput() const { return fUsesSrcInput; }
- // Hack to optimize how we saveLayer, remove when no longer needed by SkCanvas
- bool mayDrawWithMatrix() const { return this->onMayDrawWithMatrix(); }
- // Return true if the subclass may draw the src transformed (e.g. w/ matrix)
- virtual bool onMayDrawWithMatrix() const { return false; }
- friend class SkCanvas;
-
typedef SkFlattenable INHERITED;
int fInputCount;
SkImageFilter** fInputs;
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698