diff options
author | robertphillips <robertphillips@google.com> | 2016-02-17 13:57:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-17 13:57:17 -0800 |
commit | 48e78468f5f6b900d476e616bdb1ba457c8f0b2a (patch) | |
tree | 69aae45ffdf900a73e98502a8067ce836f4a81f9 /src/effects/SkComposeImageFilter.cpp | |
parent | b65fcd42830316414fb06d9b6b3cd080021f5097 (diff) |
Mark existing image filter entry points that will be going away with Deprecated
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1709753002
Review URL: https://codereview.chromium.org/1709753002
Diffstat (limited to 'src/effects/SkComposeImageFilter.cpp')
-rw-r--r-- | src/effects/SkComposeImageFilter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/effects/SkComposeImageFilter.cpp b/src/effects/SkComposeImageFilter.cpp index f7fc6c09c4..2ec7683e9b 100644 --- a/src/effects/SkComposeImageFilter.cpp +++ b/src/effects/SkComposeImageFilter.cpp @@ -22,15 +22,15 @@ void SkComposeImageFilter::computeFastBounds(const SkRect& src, SkRect* dst) con outer->computeFastBounds(tmp, dst); } -bool SkComposeImageFilter::onFilterImage(Proxy* proxy, - const SkBitmap& src, - const Context& ctx, - SkBitmap* result, - SkIPoint* offset) const { +bool SkComposeImageFilter::onFilterImageDeprecated(Proxy* proxy, + const SkBitmap& src, + const Context& ctx, + SkBitmap* result, + SkIPoint* offset) const { SkBitmap tmp; SkIPoint innerOffset = SkIPoint::Make(0, 0); SkIPoint outerOffset = SkIPoint::Make(0, 0); - if (!this->filterInput(1, proxy, src, ctx, &tmp, &innerOffset)) + if (!this->filterInputDeprecated(1, proxy, src, ctx, &tmp, &innerOffset)) return false; SkMatrix outerMatrix(ctx.ctm()); @@ -38,7 +38,7 @@ bool SkComposeImageFilter::onFilterImage(Proxy* proxy, SkIRect clipBounds = ctx.clipBounds(); clipBounds.offset(-innerOffset.x(), -innerOffset.y()); Context outerContext(outerMatrix, clipBounds, ctx.cache()); - if (!this->filterInput(0, proxy, tmp, outerContext, result, &outerOffset)) { + if (!this->filterInputDeprecated(0, proxy, tmp, outerContext, result, &outerOffset)) { return false; } |