diff options
author | 2015-11-03 05:07:43 -0800 | |
---|---|---|
committer | 2015-11-03 05:07:43 -0800 | |
commit | 48343eea6f40a523306069e917ed9a1d6c39434c (patch) | |
tree | d624e4baa22a3ad75cc3fecba13481c6f9e47857 /src/pdf | |
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
Diffstat (limited to 'src/pdf')
0 files changed, 0 insertions, 0 deletions