diff options
author | 2014-08-25 12:46:58 -0700 | |
---|---|---|
committer | 2014-08-25 12:46:58 -0700 | |
commit | 1150a6d151571fb6ee816dadec844ae7ab53948a (patch) | |
tree | 76ad93e09377fc5a4dcb93e63992fcf55c21634f /make.bat | |
parent | 5387c83f819ab9c138e8669ae60811b9b5967d0f (diff) |
Fix recursive computation of filter bounds for drop shadow,
morphology, blur.
[Reland with fixed tests.]
Because we're computing "backwards" from a clip rect of destination
pixels to be filled to the required source pixels, we should use tail
recursion rather than head recursion in onFilterBounds().
This actually only makes a difference for drop-shadow, where
the computation is non-commutative. Blur and morphology commute, but I
moved them to tail recursion anyway for clarity (so all onFilterBounds
use tail recursion).
BUG=skia:
R=bsalomon@google.com
Author: senorblanco@chromium.org
Review URL: https://codereview.chromium.org/481273005
Diffstat (limited to 'make.bat')
0 files changed, 0 insertions, 0 deletions