Home
last modified time | relevance | path

Searched refs:devBlurRadius (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/core/
DSkBlurMF.cpp178 unsigned int devBlurRadius = 3*SkScalarCeilToInt(xformedSigma-1/6.0f); in SkComputeBlurredRRectParams() local
193 if (devOrig.fLeft + devLeft + devBlurRadius >= devOrig.fRight - devRight - devBlurRadius || in SkComputeBlurredRRectParams()
194 devOrig.fTop + devTop + devBlurRadius >= devOrig.fBottom - devBot - devBlurRadius) { in SkComputeBlurredRRectParams()
208 int newRRWidth = 2*devBlurRadius + devLeft + devRight + 1; in SkComputeBlurredRRectParams()
209 int newRRHeight = 2*devBlurRadius + devTop + devBot + 1; in SkComputeBlurredRRectParams()
210 widthHeight->fWidth = newRRWidth + 2 * devBlurRadius; in SkComputeBlurredRRectParams()
211 widthHeight->fHeight = newRRHeight + 2 * devBlurRadius; in SkComputeBlurredRRectParams()
226 texXs[1] = 2.0f*devBlurRadius + devLeft; in SkComputeBlurredRRectParams()
227 texXs[2] = 2.0f*devBlurRadius + devLeft + 1; in SkComputeBlurredRRectParams()
231 texYs[1] = 2.0f*devBlurRadius + devTop; in SkComputeBlurredRRectParams()
[all …]
/external/skia/src/core/
DSkGpuBlurUtils.cpp722 unsigned int devBlurRadius = 3*SkScalarCeilToInt(xformedSigma-1/6.0f); in ComputeBlurredRRectParams() local
737 if (devOrig.fLeft + devLeft + devBlurRadius >= devOrig.fRight - devRight - devBlurRadius || in ComputeBlurredRRectParams()
738 devOrig.fTop + devTop + devBlurRadius >= devOrig.fBottom - devBot - devBlurRadius) { in ComputeBlurredRRectParams()
752 int newRRWidth = 2*devBlurRadius + devLeft + devRight + 1; in ComputeBlurredRRectParams()
753 int newRRHeight = 2*devBlurRadius + devTop + devBot + 1; in ComputeBlurredRRectParams()
754 widthHeight->fWidth = newRRWidth + 2 * devBlurRadius; in ComputeBlurredRRectParams()
755 widthHeight->fHeight = newRRHeight + 2 * devBlurRadius; in ComputeBlurredRRectParams()
770 texXs[1] = 2.0f*devBlurRadius + devLeft; in ComputeBlurredRRectParams()
771 texXs[2] = 2.0f*devBlurRadius + devLeft + 1; in ComputeBlurredRRectParams()
775 texYs[1] = 2.0f*devBlurRadius + devTop; in ComputeBlurredRRectParams()
[all …]