DescriptionFix for crash on large image blur sigma values.
This was crashing on the GPU path, due to a failed texture allocation.
The belt-and-suspenders fix is to:
1) Limit the GPU path to only allocate up to maxTextureSize.
2) Limit both the raster and GPU paths to reasonable blur sizes (box blur
kernel size of 1000, resulting in a sigma limit of 532).
R=bsalomon@google.com
BUG=skia:
Committed: https://code.google.com/p/skia/source/detail?r=13923
Patch Set 1 #Patch Set 2 : Remove spurious #include. #Patch Set 3 : Tweak #
Messages
Total messages: 5 (0 generated)
|