Home
last modified time | relevance | path

Searched refs:kMaxSigma (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/gm/
Dgpu_blur_utils.cpp87 if (stepX > SkGpuBlurUtils::kMaxSigma) { in slow_blur()
88 stepX = SkGpuBlurUtils::kMaxSigma; in slow_blur()
91 sigmaX = sqrt(sigmaX*sigmaX - SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur()
96 if (stepY > SkGpuBlurUtils::kMaxSigma) { in slow_blur()
97 stepY = SkGpuBlurUtils::kMaxSigma; in slow_blur()
98 sigmaY = sqrt(sigmaY*sigmaY- SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur()
/third_party/skia/src/core/
DSkGpuBlurUtils.cpp549 if (sigmaX <= kMaxSigma && sigmaY <= kMaxSigma) { in GaussianBlur()
574 float scaleX = sigmaX > kMaxSigma ? kMaxSigma/sigmaX : 1.f; in GaussianBlur()
575 float scaleY = sigmaY > kMaxSigma ? kMaxSigma/sigmaY : 1.f; in GaussianBlur()
605 (mode == SkTileMode::kDecal && sigmaX > kMaxSigma) ? 1 : 0; in GaussianBlur()
607 (mode == SkTileMode::kDecal && sigmaY > kMaxSigma) ? 1 : 0; in GaussianBlur()
DSkGpuBlurUtils.h27 static constexpr float kMaxSigma = 4.f; variable