OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kRandMaximum
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/skia/src/effects/
SkPerlinNoiseShader.cpp
27
static const int
kRandMaximum
= SK_MaxS32; // 2**31 - 1
118
result +=
kRandMaximum
;
127
// The seed value clamp to the range [1,
kRandMaximum
- 1].
130
fSeed = -(fSeed % (
kRandMaximum
- 1)) + 1;
132
if (fSeed >
kRandMaximum
- 1) {
133
fSeed =
kRandMaximum
- 1;
[
all
...]
/external/skia/src/effects/
SkPerlinNoiseShader.cpp
27
static const int
kRandMaximum
= SK_MaxS32; // 2**31 - 1
118
result +=
kRandMaximum
;
127
// The seed value clamp to the range [1,
kRandMaximum
- 1].
130
fSeed = -(fSeed % (
kRandMaximum
- 1)) + 1;
132
if (fSeed >
kRandMaximum
- 1) {
133
fSeed =
kRandMaximum
- 1;
[
all
...]
Completed in 29 milliseconds