commit | 48343eea6f40a523306069e917ed9a1d6c39434c | [log] [tgz] |
---|---|---|
author | senorblanco <senorblanco@chromium.org> | Tue Nov 03 05:07:43 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Nov 03 05:07:43 2015 -0800 |
tree | d624e4baa22a3ad75cc3fecba13481c6f9e47857 | |
parent | 21b766347064837e6b78d600755901aad88cd6e0 [diff] |
Simplify SkGpuBlurUtils. We compute a lot of { srcRect, dstRect } pairs in this code, but they're always the same width and height, and dstRect often has a zero origin. So pass only one or the other and an offset, where required. Among other things, this simplifies the code in convolve_gaussian(), since we only have to 3-patch the dstRect. BUG=skia:4502 Review URL: https://codereview.chromium.org/1430593006