Home
last modified time | relevance | path

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

/external/skia/src/shaders/
DSkPerlinNoiseShader.cpp472 int noisePositionIntegerValue; in noise2D() member
478 noisePositionIntegerValue = SkScalarFloorToInt(position); in noise2D()
479 noisePositionFractionValue = position - SkIntToScalar(noisePositionIntegerValue); in noise2D()
480 nextNoisePositionIntegerValue = noisePositionIntegerValue + 1; in noise2D()
489 noiseX.noisePositionIntegerValue = in noise2D()
490 checkNoise(noiseX.noisePositionIntegerValue, stitchData.fWrapX, stitchData.fWidth); in noise2D()
491 noiseY.noisePositionIntegerValue = in noise2D()
492 checkNoise(noiseY.noisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
498 noiseX.noisePositionIntegerValue &= kBlockMask; in noise2D()
499 noiseY.noisePositionIntegerValue &= kBlockMask; in noise2D()
[all …]
/external/skqp/src/shaders/
DSkPerlinNoiseShader.cpp472 int noisePositionIntegerValue; in noise2D() member
478 noisePositionIntegerValue = SkScalarFloorToInt(position); in noise2D()
479 noisePositionFractionValue = position - SkIntToScalar(noisePositionIntegerValue); in noise2D()
480 nextNoisePositionIntegerValue = noisePositionIntegerValue + 1; in noise2D()
489 noiseX.noisePositionIntegerValue = in noise2D()
490 checkNoise(noiseX.noisePositionIntegerValue, stitchData.fWrapX, stitchData.fWidth); in noise2D()
491 noiseY.noisePositionIntegerValue = in noise2D()
492 checkNoise(noiseY.noisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
498 noiseX.noisePositionIntegerValue &= kBlockMask; in noise2D()
499 noiseY.noisePositionIntegerValue &= kBlockMask; in noise2D()
[all …]