Cherry-pick 15bb26ec70c9df6dbfc259918d9d9b0d8b2fcccc into origin/chrome/m61.

Add an average mode for sigma < 2

The original code had an optimization when sigma < 2 that averaged
pixels instead of Gaussian bluring them. This CL adds that
behavior back to the new implementation.

Add the flag SK_LEGACY_USE_GAUSS_FOR_SMALL_RADII to control the
new behavior.

BUG=chromium:745290

Cherry-Pick: 15bb26ec70c9df6dbfc259918d9d9b0d8b2fcccc
Approval: 745290
No-Tree-Checks: true
No-Try: true
No-Presubmit: true
Change-Id: I26b41990be894d2cec6ee75627dfae6068ede350
Reviewed-on: https://skia-review.googlesource.com/36542
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Herb Derby <herb@google.com>
2 files changed