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

Unified Diff: src/core/SkMatrixImageFilter.h

Issue 1899263002: post apply non-scale transforms after imagefilters have run (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fission out gm to separate pre-CL Created 4 years, 8 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
Index: src/core/SkMatrixImageFilter.h
diff --git a/src/core/SkMatrixImageFilter.h b/src/core/SkMatrixImageFilter.h
index e02541c12ece7a96e212c3f0c23aeed8519c51ff..26f5658704e3dca97b41e5b64db1fb3ff1822f69 100644
--- a/src/core/SkMatrixImageFilter.h
+++ b/src/core/SkMatrixImageFilter.h
@@ -27,6 +27,7 @@ public:
static sk_sp<SkImageFilter> Make(const SkMatrix& transform,
SkFilterQuality filterQuality,
+ bool doAntiAlias,
sk_sp<SkImageFilter> input);
SkRect computeFastBounds(const SkRect&) const override;
@@ -45,6 +46,7 @@ public:
protected:
SkMatrixImageFilter(const SkMatrix& transform,
SkFilterQuality,
+ bool doAntiAlias,
sk_sp<SkImageFilter> input);
void flatten(SkWriteBuffer&) const override;
@@ -55,6 +57,7 @@ protected:
private:
SkMatrix fTransform;
SkFilterQuality fFilterQuality;
+ bool fDoAntiAlias;
typedef SkImageFilter INHERITED;
};

Powered by Google App Engine
This is Rietveld 408576698