DescriptionSkBlurImageFilter returns input when sigma = 0
In the current implementation, a blur filter is always created even in the
case when sigma.fX == 0 && sigma.fY == 0. This CL makes the blur filter
return input in this case.
BUG=568393
Committed: https://skia.googlesource.com/skia/+/467ddc0b24a63ee1525fa18d1dcf62e47975588a
Patch Set 1 #
Total comments: 5
Patch Set 2 : move the check to SkBlurImageFilter #Patch Set 3 : clean up code #
Total comments: 2
Patch Set 4 : better coding style #Patch Set 5 : use 0 instead of 0.0f #
Total comments: 2
Patch Set 6 : braces :) #Patch Set 7 : fix call sites #
Total comments: 1
Patch Set 8 : safe refcnt #
Total comments: 2
Patch Set 9 : clean up #
Messages
Total messages: 32 (10 generated)
|