Searched refs:fNoise (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 95 fNoiseBitmap.installPixels(info, fNoise[0][0], info.minRowBytes()); in PaintingData() 109 memcpy(fNoise, that.fNoise, sizeof(fNoise)); in PaintingData() 116 uint16_t fNoise[4][kBlockSize][2]; member 159 fNoise[channel][i][0] = (random() % (2 * kBlockSize)); in init() 160 fNoise[channel][i][1] = (random() % (2 * kBlockSize)); in init() 179 noise[channel][i][j] = fNoise[channel][i][j]; in init() 187 fNoise[channel][i][j] = noise[channel][fLatticeSelector[i]][j]; in init() 201 (fNoise[channel][i][0] - kBlockSize) * kInvBlockSizef, in init() 202 (fNoise[channel][i][1] - kBlockSize) * kInvBlockSizef); in init() 205 fNoise[channel][i][0] = in init() [all …]
|
/external/skqp/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 123 SkPixmap noisePixmap(info, fNoise[0][0], info.minRowBytes()); in PaintingData() 164 memcpy(fNoise, that.fNoise, sizeof(fNoise)); in PaintingData() 171 uint16_t fNoise[4][kBlockSize][2]; member 215 fNoise[channel][i][0] = (random() % (2 * kBlockSize)); in init() 216 fNoise[channel][i][1] = (random() % (2 * kBlockSize)); in init() 235 noise[channel][i][j] = fNoise[channel][i][j]; in init() 243 fNoise[channel][i][j] = noise[channel][fLatticeSelector[i]][j]; in init() 256 (fNoise[channel][i][0] - kBlockSize) * gInvBlockSizef, in init() 257 (fNoise[channel][i][1] - kBlockSize) * gInvBlockSizef); in init() 260 fNoise[channel][i][0] = SkScalarRoundToInt( in init() [all …]
|