Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkPerlinNoiseShader.cpp332 Noise noiseY(noiseVector.y()); in noise2D() local
339 noiseY.noisePositionIntegerValue = in noise2D()
340 checkNoise(noiseY.noisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
343 noiseY.nextNoisePositionIntegerValue = in noise2D()
344 checkNoise(noiseY.nextNoisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
347 noiseY.noisePositionIntegerValue &= kBlockMask; in noise2D()
349 noiseY.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
354 int b00 = (i + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()
355 int b10 = (j + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()
356 int b01 = (i + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()
[all …]
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp398 Noise noiseY(noiseVector.y()); in noise2D() local
405 noiseY.noisePositionIntegerValue = in noise2D()
406 checkNoise(noiseY.noisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
409 noiseY.nextNoisePositionIntegerValue = in noise2D()
410 checkNoise(noiseY.nextNoisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
413 noiseY.noisePositionIntegerValue &= kBlockMask; in noise2D()
415 noiseY.nextNoisePositionIntegerValue &= kBlockMask; in noise2D()
420 int b00 = (i + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()
421 int b10 = (j + noiseY.noisePositionIntegerValue) & kBlockMask; in noise2D()
422 int b01 = (i + noiseY.nextNoisePositionIntegerValue) & kBlockMask; in noise2D()
[all …]