Home
last modified time | relevance | path

Searched refs:fSeed (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/effects/
DSkDiscretePathEffect.cpp42 LCGRandom(uint32_t seed) : fSeed(seed) {} in LCGRandom()
52 uint32_t nextU() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; } in nextU()
68 uint32_t fSeed; member in LCGRandom
DSkPerlinNoiseShader.cpp103 int fSeed; member
123 int result = gRandAmplitude * (fSeed % gRandQ) - gRandR * (fSeed / gRandQ); in random()
126 fSeed = result; in random()
136 fSeed = SkScalarTruncToInt(seed); in init()
138 if (fSeed <= 0) { in init()
139 fSeed = -(fSeed % (kRandMaximum - 1)) + 1; in init()
141 if (fSeed > kRandMaximum - 1) { in init()
142 fSeed = kRandMaximum - 1; in init()
274 , fSeed(seed) in SkPerlinNoiseShader()
309 buffer.writeScalar(fSeed); in flatten()
[all …]
/external/skia/samplecode/
DSamplePathFuzz.cpp621 int fSeed; member
628 fuzzPath.setSeed(data->fSeed); in test_fuzz()
637 int x = data->fSeed / 4 % 4; in test_fuzz()
638 int y = data->fSeed % 4; in test_fuzz()
651 states[i].fSeed = seed + (int) i; in path_fuzz_stroker()
/external/skia/include/effects/
DSkPerlinNoiseShader.h120 const SkScalar fSeed; variable