• Home
  • Raw
  • Download

Lines Matching refs:SkShader

49     void gradCheck(skiatest::Reporter* reporter, const sk_sp<SkShader>& shader,  in gradCheck()
50 SkShader::GradientInfo* info, in gradCheck()
51 SkShader::GradientType gt) const { in gradCheck()
71 sk_sp<SkShader> s(SkShaders::Empty()); in none_gradproc()
72 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(nullptr)); in none_gradproc()
76 sk_sp<SkShader> s(new SkColorShader(rec.fColors[0])); in color_gradproc()
77 REPORTER_ASSERT(reporter, SkShader::kColor_GradientType == s->asAGradient(nullptr)); in color_gradproc()
79 SkShader::GradientInfo info; in color_gradproc()
88 sk_sp<SkShader> s(SkGradientShader::MakeLinear(buildRec.fPoint, buildRec.fColors, buildRec.fPos, in linear_gradproc()
91 SkShader::GradientInfo info; in linear_gradproc()
92 checkRec.gradCheck(reporter, s, &info, SkShader::kLinear_GradientType); in linear_gradproc()
98 sk_sp<SkShader> s(SkGradientShader::MakeRadial(buildRec.fPoint[0], buildRec.fRadius[0], in radial_gradproc()
102 SkShader::GradientInfo info; in radial_gradproc()
103 checkRec.gradCheck(reporter, s, &info, SkShader::kRadial_GradientType); in radial_gradproc()
110 sk_sp<SkShader> s(SkGradientShader::MakeSweep(buildRec.fPoint[0].fX, buildRec.fPoint[0].fY, in sweep_gradproc()
114 SkShader::GradientInfo info; in sweep_gradproc()
115 checkRec.gradCheck(reporter, s, &info, SkShader::kSweep_GradientType); in sweep_gradproc()
121 sk_sp<SkShader> s(SkGradientShader::MakeTwoPointConical(buildRec.fPoint[0], in conical_gradproc()
130 SkShader::GradientInfo info; in conical_gradproc()
131 checkRec.gradCheck(reporter, s, &info, SkShader::kConical_GradientType); in conical_gradproc()