Home
last modified time | relevance | path

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

/external/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()
/external/skqp/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()