Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/shaders/gradients/
DSkGradientShader.cpp486 static bool valid_grad(const SkColor4f colors[], const SkScalar pos[], int count, in valid_grad() function
665 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeLinear()
712 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeRadial()
764 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeTwoPointConical()
835 if (!valid_grad(colors, pos, colorCount, mode)) { in MakeSweep()
/third_party/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()