Searched refs:fSeed (Results 1 – 6 of 6) sorted by relevance
/third_party/flutter/skia/src/effects/ |
D | SkDiscretePathEffect.cpp | 55 LCGRandom(uint32_t seed) : fSeed(seed) {} in LCGRandom() 65 uint32_t nextU() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; } in nextU() 81 uint32_t fSeed; member in LCGRandom
|
/third_party/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 102 : fSeed(that.fSeed) in PaintingData() 114 int fSeed; member 136 int result = kRandAmplitude * (fSeed % kRandQ) - kRandR * (fSeed / kRandQ); in random() 140 fSeed = result; in random() 148 fSeed = SkScalarTruncToInt(seed); in init() 150 if (fSeed <= 0) { in init() 151 fSeed = -(fSeed % (kRandMaximum - 1)) + 1; in init() 153 if (fSeed > kRandMaximum - 1) { in init() 154 fSeed = kRandMaximum - 1; in init() 325 const SkScalar fSeed; member in SkPerlinNoiseShaderImpl [all …]
|
/third_party/skia/src/effects/ |
D | SkDiscretePathEffect.cpp | 30 LCGRandom(uint32_t seed) : fSeed(seed) {} in LCGRandom() 40 uint32_t nextU() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; } in nextU() 56 uint32_t fSeed; member in LCGRandom
|
/third_party/flutter/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 155 : fSeed(that.fSeed) in PaintingData() 169 int fSeed; member 191 int result = gRandAmplitude * (fSeed % gRandQ) - gRandR * (fSeed / gRandQ); in random() 194 fSeed = result; in random() 204 fSeed = SkScalarTruncToInt(seed); in init() 206 if (fSeed <= 0) { in init() 207 fSeed = -(fSeed % (kRandMaximum - 1)) + 1; in init() 209 if (fSeed > kRandMaximum - 1) { in init() 210 fSeed = kRandMaximum - 1; in init() 384 const SkScalar fSeed; member in SkPerlinNoiseShaderImpl [all …]
|
/third_party/flutter/skia/samplecode/ |
D | PerlinPatch.cpp | 68 SkScalar fSeed; member in PerlinPatchView 77 PerlinPatchView() : fXFreq(0.025f), fYFreq(0.025f), fSeed(0.0f), in PerlinPatchView() 124 fSeed += 0.005f; in onAnimate() 146 fSeed); in onDrawContent()
|
/third_party/skia/modules/svg/src/ |
D | SkSVGFeTurbulence.cpp | 69 fBaseFrequency.freqX(), fBaseFrequency.freqY(), fNumOctaves, fSeed, tileSize); in onMakeImageFilter() 73 fBaseFrequency.freqX(), fBaseFrequency.freqY(), fNumOctaves, fSeed, tileSize); in onMakeImageFilter()
|