Home
last modified time | relevance | path

Searched refs:asGradient (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/shaders/
DSkLocalMatrixShader.cpp25 SkShaderBase::GradientType SkLocalMatrixShader::asGradient(GradientInfo* info, in asGradient() function in SkLocalMatrixShader
27 GradientType type = as_SB(fWrappedShader)->asGradient(info, localMatrix); in asGradient()
157 GradientType asGradient(GradientInfo* info, SkMatrix* localMatrix) const override { in asGradient() function in SkCTMShader
158 return as_SB(fProxyShader)->asGradient(info, localMatrix); in asGradient()
DSkColorShader.cpp41 GradientType asGradient(GradientInfo* info, SkMatrix* localMatrix) const override;
130 SkShaderBase::GradientType SkColorShader::asGradient(GradientInfo* info, in asGradient() function in SkColorShader
DSkLocalMatrixShader.h33 GradientType asGradient(GradientInfo* info, SkMatrix* localMatrix) const override;
DSkShaderBase.h107 virtual GradientType asGradient(GradientInfo* info = nullptr,
/external/skia/src/shaders/gradients/
DSkRadialGradient.cpp39 GradientType asGradient(GradientInfo* info, SkMatrix* matrix) const override;
73 SkShaderBase::GradientType SkRadialGradient::asGradient(GradientInfo* info, in asGradient() function in SkRadialGradient
DSkLinearGradient.h17 GradientType asGradient(GradientInfo* info, SkMatrix* localMatrix) const override;
DSkSweepGradient.cpp26 GradientType asGradient(GradientInfo* info, SkMatrix* localMatrix) const override;
65 SkShaderBase::GradientType SkSweepGradient::asGradient(GradientInfo* info, in asGradient() function in SkSweepGradient
DSkLinearGradient.cpp77 SkShaderBase::GradientType SkLinearGradient::asGradient(GradientInfo* info, in asGradient() function in SkLinearGradient
DSkTwoPointConicalGradient.cpp62 GradientType asGradient(GradientInfo* info, SkMatrix* localMatrix) const override;
216 SkShaderBase::GradientType SkTwoPointConicalGradient::asGradient(GradientInfo* info, in asGradient() function in SkTwoPointConicalGradient
/external/skia/tests/
DGradientTest.cpp88 REPORTER_ASSERT(reporter, as_SB(shader)->asGradient(info, &shaderLocalMatrix) == gt); in gradCheck()
103 REPORTER_ASSERT(reporter, SkShaderBase::GradientType::kNone == as_SB(s)->asGradient()); in none_gradproc()
108 REPORTER_ASSERT(reporter, SkShaderBase::GradientType::kColor == as_SB(s)->asGradient()); in color_gradproc()
111 as_SB(s)->asGradient(&info); in color_gradproc()
/external/skia/src/android/
DSkAndroidFrameworkUtils.cpp62 if (as_SB(shader)->asGradient(baseInfo.getMaybeNull()) != SkShaderBase::GradientType::kLinear) { in ShaderAsALinearGradient()
/external/skia/src/svg/
DSkSVGDevice.cpp445 const auto gradient_type = as_SB(shader)->asGradient(&grInfo); in addGradientShaderResources()
460 as_SB(shader)->asGradient(&grInfo, &localMatrix); in addGradientShaderResources()
610 if (as_SB(shader)->asGradient() != SkShaderBase::GradientType::kNone) { in addShaderResources()
/external/skia/src/pdf/
DSkPDFGradientShader.cpp974 key.fType = as_SB(shader)->asGradient(&key.fInfo); in make_key()
981 as_SB(shader)->asGradient(&key.fInfo); in make_key()
1009 SkASSERT(as_SB(shader)->asGradient() != SkShaderBase::GradientType::kNone); in Make()
DSkPDFShader.cpp331 if (as_SB(shader)->asGradient() != SkShaderBase::GradientType::kNone) { in SkPDFMakeShader()
DSkPDFDevice.cpp1175 if (as_SB(shader)->asGradient() == SkShaderBase::GradientType::kColor) { in populate_graphic_state_entry_from_paint()
1182 SkAssertResult(as_SB(shader)->asGradient(&gradientInfo) == in populate_graphic_state_entry_from_paint()
/external/skia/src/xps/
DSkXPSDevice.cpp981 SkShaderBase::GradientType gradientType = as_SB(shader)->asGradient(&info); in createXpsBrush()
990 as_SB(shader)->asGradient(&info); in createXpsBrush()
1007 as_SB(shader)->asGradient(&info, &localMatrix); in createXpsBrush()