diff options
author | vjiaoblack <vjiaoblack@google.com> | 2016-08-23 11:13:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-23 11:13:14 -0700 |
commit | e1e5c74086ceb7143bf2f7968a324e8c06d33914 (patch) | |
tree | b38e28f9ce48c6bd1c2f754be77a43c38dfe1150 /include/core | |
parent | d805f20c8de2164c6f665535e3c278ddfdc6e294 (diff) |
Moving SkBlurImageFilter into core
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2255803003
Committed: https://skia.googlesource.com/skia/+/dd3259eb95c3b47e11eefa3b176365a112a32b48
Committed: https://skia.googlesource.com/skia/+/e426babe7552b1cb4e27cdf4e90826feabb9e3b0
Committed: https://skia.googlesource.com/skia/+/4d760175686df8f61a11b66946eb307d89dd2c75
Committed: https://skia.googlesource.com/skia/+/a97a1ab5719d5c355f7900b7f17dec1e467cf57e
Review-Url: https://codereview.chromium.org/2255803003
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkImageFilter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h index 6210073bf4..97f84dc596 100644 --- a/include/core/SkImageFilter.h +++ b/include/core/SkImageFilter.h @@ -152,6 +152,10 @@ public: return this->isColorFilterNode(filterPtr); } + static sk_sp<SkImageFilter> MakeBlur(SkScalar sigmaX, SkScalar sigmaY, + sk_sp<SkImageFilter> input, + const CropRect* cropRect = nullptr); + /** * Returns true (and optionally returns a ref'd filter) if this imagefilter can be completely * replaced by the returned colorfilter. i.e. the two effects will affect drawing in the @@ -229,6 +233,7 @@ public: SK_TO_STRING_PUREVIRT() SK_DEFINE_FLATTENABLE_TYPE(SkImageFilter) + SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() protected: class Common { |