• Home
  • Raw
  • Download

Lines Matching refs:SkShader

19 static uint32_t hash(const SkShader::GradientInfo& v) {  in hash()
139 static void gradient_function_code(const SkShader::GradientInfo& info, in gradient_function_code()
222 static std::unique_ptr<SkPDFDict> gradientStitchCode(const SkShader::GradientInfo& info) { in gradientStitchCode()
365 static void linearCode(const SkShader::GradientInfo& info, in linearCode()
378 static void radialCode(const SkShader::GradientInfo& info, in radialCode()
402 static void twoPointConicalCode(const SkShader::GradientInfo& info, in twoPointConicalCode()
513 static void sweepCode(const SkShader::GradientInfo& info, in sweepCode()
590 const SkShader::GradientInfo& info = state.fInfo; in make_function_shader()
594 bool doStitchFunctions = (state.fType == SkShader::kLinear_GradientType || in make_function_shader()
595 state.fType == SkShader::kRadial_GradientType || in make_function_shader()
596 state.fType == SkShader::kConical_GradientType) && in make_function_shader()
608 shadingType = (state.fType == SkShader::kLinear_GradientType) ? 2 : 3; in make_function_shader()
617 if (state.fType == SkShader::kConical_GradientType) { in make_function_shader()
630 } else if (state.fType == SkShader::kRadial_GradientType) { in make_function_shader()
654 case SkShader::kLinear_GradientType: in make_function_shader()
656 case SkShader::kRadial_GradientType: in make_function_shader()
660 case SkShader::kConical_GradientType: { in make_function_shader()
665 case SkShader::kSweep_GradientType: in make_function_shader()
669 case SkShader::kColor_GradientType: in make_function_shader()
670 case SkShader::kNone_GradientType: in make_function_shader()
704 SkShader::GradientInfo infoCopy = info; in make_function_shader()
706 if (state.fType == SkShader::kConical_GradientType) { in make_function_shader()
716 case SkShader::kLinear_GradientType: in make_function_shader()
719 case SkShader::kRadial_GradientType: in make_function_shader()
722 case SkShader::kConical_GradientType: in make_function_shader()
725 case SkShader::kSweep_GradientType: in make_function_shader()
788 SkASSERT(key.fType != SkShader::kNone_GradientType); in gradient_has_alpha()
818 SkASSERT(state.fType != SkShader::kNone_GradientType); in create_smask_graphic_state()
844 SkASSERT(state.fType != SkShader::kNone_GradientType); in make_alpha_function_shader()
871 static SkPDFGradientShader::Key make_key(const SkShader* shader, in make_key()
875 SkShader::kNone_GradientType, in make_key()
883 SkASSERT(SkShader::kNone_GradientType != key.fType); in make_key()
913 SkShader* shader, in Make()
917 SkASSERT(SkShader::kNone_GradientType != shader->asAGradient(nullptr)); in Make()