Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkPerlinNoiseShader.cpp381 SkScalar turbulenceFunctionResult = 0; in calculateTurbulenceValueForPoint() local
389 turbulenceFunctionResult += numer / ratio; in calculateTurbulenceValueForPoint()
405 turbulenceFunctionResult = in calculateTurbulenceValueForPoint()
406 SkScalarMul(turbulenceFunctionResult, SK_ScalarHalf) + SK_ScalarHalf; in calculateTurbulenceValueForPoint()
410 turbulenceFunctionResult *= SkIntToScalar(getPaintAlpha()) / 255; in calculateTurbulenceValueForPoint()
414 return SkScalarPin(turbulenceFunctionResult, 0, SK_Scalar1); in calculateTurbulenceValueForPoint()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp449 SkScalar turbulenceFunctionResult = 0; in calculateTurbulenceValueForPoint() local
457 turbulenceFunctionResult += numer / ratio; in calculateTurbulenceValueForPoint()
473 turbulenceFunctionResult = in calculateTurbulenceValueForPoint()
474 SkScalarMul(turbulenceFunctionResult, SK_ScalarHalf) + SK_ScalarHalf; in calculateTurbulenceValueForPoint()
478 turbulenceFunctionResult *= SkIntToScalar(getPaintAlpha()) / 255; in calculateTurbulenceValueForPoint()
482 return SkScalarPin(turbulenceFunctionResult, 0, SK_Scalar1); in calculateTurbulenceValueForPoint()