commit | 5788faaa2ac4203827c68006b669e277d441e2e4 | [log] [tgz] |
---|---|---|
author | ajuma <ajuma@chromium.org> | Fri Feb 13 09:05:47 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 13 09:05:47 2015 -0800 |
tree | cdd8db5b902775e6ed9363b583195db6ab5d7cfc | |
parent | 95f192d19938b98a45dd1fa4112d965f60d10516 [diff] |
Fix SkComposeImageFilter's bounds computation and offset handling This makes SkComposeImageFilter::computeFastBounds compose its filters' bounds (rather than falling back to SkImageFilter::computeFastBounds, which takes the union of the bounds). This also makes SkComposeImageFilter::onFilterImage correctly handle an offset produced when applying the inner filter; such offsets were previously ignored. BUG=chromium:453924 Review URL: https://codereview.chromium.org/908273002