Home
last modified time | relevance | path

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

/third_party/skia/src/shaders/
DSkPerlinNoiseShader.cpp476 SkScalar turbulenceFunctionResult = 0; in calculateTurbulenceValueForPoint() local
484 turbulenceFunctionResult += numer / ratio; in calculateTurbulenceValueForPoint()
498 turbulenceFunctionResult = SkScalarHalf(turbulenceFunctionResult + 1); in calculateTurbulenceValueForPoint()
502 turbulenceFunctionResult *= SkIntToScalar(getPaintAlpha()) / 255; in calculateTurbulenceValueForPoint()
506 return SkTPin(turbulenceFunctionResult, 0.0f, SK_Scalar1); in calculateTurbulenceValueForPoint()
/third_party/flutter/skia/src/shaders/
DSkPerlinNoiseShader.cpp537 SkScalar turbulenceFunctionResult = 0; in calculateTurbulenceValueForPoint() local
545 turbulenceFunctionResult += numer / ratio; in calculateTurbulenceValueForPoint()
559 turbulenceFunctionResult = SkScalarHalf(turbulenceFunctionResult + 1); in calculateTurbulenceValueForPoint()
563 turbulenceFunctionResult *= SkIntToScalar(getPaintAlpha()) / 255; in calculateTurbulenceValueForPoint()
567 return SkScalarPin(turbulenceFunctionResult, 0, SK_Scalar1); in calculateTurbulenceValueForPoint()