diff options
author | senorblanco <senorblanco@chromium.org> | 2015-11-02 12:55:47 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-02 12:55:47 -0800 |
commit | 29a440d2d6f306498a7b54e978e3b034bd625c19 (patch) | |
tree | 91146ce2aaf66d90a716f2d583ded6ab79252746 /dm | |
parent | 9c58654fa27d85f51f54e904fbfa4e250921c261 (diff) |
Make SkBlurImageFilter capable of cropping during blur (raster path)
SkBlurImageFilter can currently only process a source image
which is larger than or equal to the destination rect. If
the source image (or crop rect) is smaller, it is padded
out to dest size with transparent black via the 6-param
version of applyCropRect().
Fixing this requires modifying all the flavours of RGBA
box_blur() to accept a src crop rect.
BUG=skia:4502, skia:4526
CQ_EXTRA_TRYBOTS=client.skia.android:Test-Android-GCC-Nexus5-CPU-NEON-Arm7-Release-Trybot;client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Committed: https://skia.googlesource.com/skia/+/1b82ceb737c73327412f2e8a91748481e1aec9e4
Review URL: https://codereview.chromium.org/1415653003
Diffstat (limited to 'dm')
0 files changed, 0 insertions, 0 deletions