diff options
author | 2018-05-17 11:17:39 -0400 | |
---|---|---|
committer | 2018-05-17 17:06:24 +0000 | |
commit | 120784394c160d009bc3aa88dd217c13c105a6ca (patch) | |
tree | c2f3406ff37360a511af362138938e754c057619 /include/effects/SkTileImageFilter.h | |
parent | ffb3d688b0e76ad7d1517657b00e4525cc603f40 (diff) |
Fix srcBounds computation in SkMatrixConvolutionImageFilter
Note that this does change the behavior of the cropRect for the repeated case. The cropRect now only acts as a hard clip on the output.
BUG= skia:7766
Change-Id: I1d66678bc797cd4835701cd20c36e68b22ac880a
Reviewed-on: https://skia-review.googlesource.com/127338
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/effects/SkTileImageFilter.h')
-rw-r--r-- | include/effects/SkTileImageFilter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/effects/SkTileImageFilter.h b/include/effects/SkTileImageFilter.h index f37982bbb9..f62d8a02d4 100644 --- a/include/effects/SkTileImageFilter.h +++ b/include/effects/SkTileImageFilter.h @@ -21,8 +21,10 @@ public: const SkRect& dst, sk_sp<SkImageFilter> input); - SkIRect onFilterBounds(const SkIRect& src, const SkMatrix&, MapDirection) const override; - SkIRect onFilterNodeBounds(const SkIRect&, const SkMatrix&, MapDirection) const override; + SkIRect onFilterBounds(const SkIRect& src, const SkMatrix& ctm, + MapDirection, const SkIRect* inputRect) const override; + SkIRect onFilterNodeBounds(const SkIRect&, const SkMatrix& ctm, + MapDirection, const SkIRect* inputRect) const override; SkRect computeFastBounds(const SkRect& src) const override; void toString(SkString* str) const override; |