Searched refs:valid_grad (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 762 static bool valid_grad(const SkColor colors[], const SkScalar pos[], int count, unsigned tileMode) { in valid_grad() function 798 if (!valid_grad(colors, pos, colorCount, mode)) { in CreateLinear() 817 if (!valid_grad(colors, pos, colorCount, mode)) { in CreateRadial() 840 if (!valid_grad(colors, pos, colorCount, mode)) { in CreateTwoPointConical() 884 if (!valid_grad(colors, pos, colorCount, SkShader::kClamp_TileMode)) { in CreateSweep()
|