Skip to content

Commit 5582c3d

Browse files
committed
Skia: reduce the minimum sigma threshold to use BoxBlur
1 parent 11f4d9f commit 5582c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/ThirdParty/skia/src/core/SkBlurEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ class RasterShaderBlurAlgorithm : public SkShaderBlurAlgorithm {
879879
class RasterBlurEngine : public SkBlurEngine {
880880
public:
881881
const Algorithm* findAlgorithm(SkSize sigma, SkColorType colorType) const override {
882-
static constexpr float kBoxBlurMinSigma = 2.f;
882+
static constexpr float kBoxBlurMinSigma = 1.5f;
883883

884884
// If the sigma is larger than kBoxBlurMinSigma, we should assume that we won't encounter
885885
// an identity window assertion later on.

0 commit comments

Comments
 (0)