Home
last modified time | relevance | path

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

/third_party/skia/src/shaders/
DSkPerlinNoiseShader.cpp37 static const int kRandMaximum = SK_MaxS32; // 2**31 - 1 variable
138 result += kRandMaximum; in random()
151 fSeed = -(fSeed % (kRandMaximum - 1)) + 1; in init()
153 if (fSeed > kRandMaximum - 1) { in init()
154 fSeed = kRandMaximum - 1; in init()