Home
last modified time | relevance | path

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

/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp500 static bool valid_grad(const SkColor4f colors[], const SkScalar pos[], int count, in valid_grad() function
683 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeLinear()
730 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeRadial()
782 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeTwoPointConical()
853 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeSweep()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp674 static bool valid_grad(const SkColor4f colors[], const SkScalar pos[], int count, in valid_grad() function
864 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeLinear()
911 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeRadial()
963 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeTwoPointConical()
1034 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeSweep()