Lines Matching defs:mode
773 static sk_sp<SkShader> make_linear(const GradRun& run, SkTileMode mode) {
775 return SkGradientShader::MakeLinear(pts, run.fColors, run.fPos, run.fCount, mode);
778 static sk_sp<SkShader> make_radial(const GradRun& run, SkTileMode mode) {
781 run.fCount, mode);
784 static sk_sp<SkShader> make_conical(const GradRun& run, SkTileMode mode) {
788 run.fColors, run.fPos, run.fCount, mode);
838 const SkTileMode mode = SkTileMode::kClamp;
846 paint.setShader(factory(run, mode));
1004 for (auto mode : modes) {
1010 SK_ARRAY_COUNT(colors), mode,
1058 for (auto mode : modes) {
1060 mode));