aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImageFilter.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-04-20 16:36:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-20 16:36:51 -0700
commit8c30a8196dd5903d2d23b4d0a5dc888e802bf698 (patch)
tree090b251c192c0f20cd74fc5bd46ca689fadc621a /include/core/SkImageFilter.h
parenta814000cbb0e90624a410b4359fff7f3ec66f0e0 (diff)
post apply non-scale transforms after imagefilters have run
may choose to eliminate the final matrix-filter buffer before the sprite blit, but at the moment want to defer that change to a 2nd CL. heavily inspired by https://codereview.chromium.org/1140943004 Need these CLs to land first: https://codereview.chromium.org/1898193005/# https://codereview.chromium.org/1902253003/ BUG=skia:3288 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1899263002 Review URL: https://codereview.chromium.org/1899263002
Diffstat (limited to 'include/core/SkImageFilter.h')
-rw-r--r--include/core/SkImageFilter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index 8cab6ef3a7..43369d364d 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -222,11 +222,12 @@ public:
#endif
/**
- * Create an SkMatrixImageFilter, which transforms its input by the given matrix.
+ * Return an imagefilter which transforms its input by the given matrix.
*/
static sk_sp<SkImageFilter> MakeMatrixFilter(const SkMatrix& matrix,
- SkFilterQuality,
+ SkFilterQuality quality,
sk_sp<SkImageFilter> input);
+
#ifdef SK_SUPPORT_LEGACY_IMAGEFILTER_PTR
static SkImageFilter* CreateMatrixFilter(const SkMatrix& matrix,
SkFilterQuality filterQuality,