Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkPerlinNoiseShader.cpp321 int nextNoisePositionIntegerValue; in noise2D() member
328 nextNoisePositionIntegerValue = noisePositionIntegerValue + 1; in noise2D()
341 noiseX.nextNoisePositionIntegerValue = in noise2D()
342 checkNoise(noiseX.nextNoisePositionIntegerValue, stitchData.fWrapX, stitchData.fWidth); in noise2D()
343 noiseY.nextNoisePositionIntegerValue = in noise2D()
344 checkNoise(noiseY.nextNoisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
348 noiseX.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
349 noiseY.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
353 fPaintingData->fLatticeSelector[noiseX.nextNoisePositionIntegerValue]; in noise2D()
356 int b01 = (i + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()
[all …]
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp387 int nextNoisePositionIntegerValue; in noise2D() member
394 nextNoisePositionIntegerValue = noisePositionIntegerValue + 1; in noise2D()
407 noiseX.nextNoisePositionIntegerValue = in noise2D()
408 checkNoise(noiseX.nextNoisePositionIntegerValue, stitchData.fWrapX, stitchData.fWidth); in noise2D()
409 noiseY.nextNoisePositionIntegerValue = in noise2D()
410 checkNoise(noiseY.nextNoisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
414 noiseX.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
415 noiseY.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
419 fPaintingData->fLatticeSelector[noiseX.nextNoisePositionIntegerValue]; in noise2D()
422 int b01 = (i + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()
[all …]