Searched refs:kMaxOctaves (Results 1 – 1 of 1) sorted by relevance
274 static const int kMaxOctaves = 255; // numOctaves must be <= 0 and <= kMaxOctaves member in SkPerlinNoiseShaderImpl364 , fNumOctaves(numOctaves > kMaxOctaves ? kMaxOctaves : numOctaves/*[0,255] octaves allowed*/) in SkPerlinNoiseShaderImpl()369 SkASSERT(numOctaves >= 0 && numOctaves <= kMaxOctaves); in SkPerlinNoiseShaderImpl()379 int octaves = buffer.read32LE<int>(kMaxOctaves); in CreateProc()982 if (!(numOctaves >= 0 && numOctaves <= SkPerlinNoiseShaderImpl::kMaxOctaves)) { in valid_input()