Home | History | Annotate | Download | only in effects

Lines Matching refs:Noise

32 // limitValue is the maximum perlin noise array index value allowed
33 // newValue is the current noise dimension (either width or height)
35 // If the noise value would bring us out of bounds of the current noise array while we are
36 // stiching noise tiles together, wrap the noise around the current dimension of the noise to
153 // Copy noise data
154 uint16_t noise[4][kBlockSize][2];
158 noise[channel][i][j] = fNoise[channel][i][j];
162 // Do permutations on noise data
166 fNoise[channel][i][j] = noise[channel][fLatticeSelector[i]][j];
175 // Compute gradients from permutated noise data
184 // Put the normalized gradient back into the noise data
363 struct Noise {
366 Noise(SkScalar component)
373 Noise noiseX(noiseVector.x());
374 Noise noiseY(noiseVector.y());
420 SkScalar noise = noise2D(channel, paintingData, stitchData, noiseVector);
422 (fType == kFractalNoise_Type) ? noise : SkScalarAbs(noise), ratio);
459 // This (1,1) translation is due to WebKit's 1 based coordinates for the noise
593 *validFlags = 0; // This is noise. Nothing is constant.
615 // This (1,1) translation is due to WebKit's 1 based coordinates for the noise
822 // Add vec3 noise function
898 // Mix final noise value
925 // Perturb the texcoords with three components of noise
1025 // Add noise function
1086 // affecting the result of the noise by making sure that we only have multiples of 1/255.
1151 // Compute the noise as a linear interpolation of 'a' and 'b'
1320 // Simplex noise is currently disabled but can be enabled by defining SK_USE_SIMPLEX_NOISE
1370 str->append("\"fractal noise\"");