diff options
author | senorblanco <senorblanco@chromium.org> | 2015-11-05 14:48:43 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-05 14:48:43 -0800 |
commit | c57e0ded7d535523cfc6bf07c78e5f3479bb8c42 (patch) | |
tree | af4fd9ca03e47cacb1075f80e036e8c4c3edf232 /tools/skp/page_sets/skia_gamedeksiam_nexus10.py | |
parent | fca294b83b9ffd77cab6326a8a76eb472b2b78d6 (diff) |
Make SkBlurImageFilter capable of cropping during blur (GPU path).
This is the GPU equivalent of https://codereview.chromium.org/1415653003/.
It requires passing down the bounds of the crop rect (srcBounds), and
turning the blur 3-patch optimization in convolve_gaussian() into a 5-patch:
clear above and below srcBounds, blur with bounds checks inside left and
right rects, blur without bounds checks in middle rect.
Note: this change causes minor pixels diffs in the
imagefilterscropexpand GM: for odd crop positions relative to the
dstBounds, we are now correctly resampling at an even pixel boundary.
BUG=skia:4502, skia:4526
Review URL: https://codereview.chromium.org/1431593002
Diffstat (limited to 'tools/skp/page_sets/skia_gamedeksiam_nexus10.py')
0 files changed, 0 insertions, 0 deletions