Home
last modified time | relevance | path

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

/external/skia/modules/svg/src/
DSkSVGFilterContext.cpp19 SkSVGColorspace src, in ConvertFilterColorspace()
20 SkSVGColorspace dst) { in ConvertFilterColorspace()
23 } else if (src == SkSVGColorspace::kSRGB && dst == SkSVGColorspace::kLinearRGB) { in ConvertFilterColorspace()
26 SkASSERT(src == SkSVGColorspace::kLinearRGB && dst == SkSVGColorspace::kSRGB); in ConvertFilterColorspace()
51 SkSVGColorspace resultColorspace) { in registerResult()
58 SkSVGColorspace resultColorspace) { in setPreviousResult()
67 std::tuple<sk_sp<SkImageFilter>, SkSVGColorspace> SkSVGFilterContext::getInput( in getInput()
69 SkSVGColorspace inputCS = SkSVGColorspace::kSRGB; in getInput()
122 SkSVGColorspace SkSVGFilterContext::resolveInputColorspace( in resolveInputColorspace()
134 SkSVGColorspace colorspace) const { in resolveInput()
DSkSVGFe.cpp84 SkSVGColorspace SkSVGFe::resolveColorspace(const SkSVGRenderContext& ctx, in resolveColorspace()
86 constexpr SkSVGColorspace kDefaultCS = SkSVGColorspace::kSRGB; in resolveColorspace()
87 const SkSVGColorspace cs = *ctx.presentationContext().fInherited.fColorInterpolationFilters; in resolveColorspace()
88 return cs == SkSVGColorspace::kAuto ? kDefaultCS : cs; in resolveColorspace()
DSkSVGFilter.cpp32 SkSVGColorspace cs = SkSVGColorspace::kSRGB; in buildFilterDAG()
61 if (cs != SkSVGColorspace::kSRGB) { in buildFilterDAG()
DSkSVGFeDisplacementMap.cpp30 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter()
49 SkSVGColorspace SkSVGFeDisplacementMap::resolveColorspace(const SkSVGRenderContext& ctx, in resolveColorspace()
DSkSVGAttribute.cpp30 result.fColorInterpolation.set(SkSVGColorspace::kSRGB); in MakeInitial()
31 result.fColorInterpolationFilters.set(SkSVGColorspace::kLinearRGB); in MakeInitial()
DSkSVGAttributeParser.cpp957 bool SkSVGAttributeParser::parse(SkSVGColorspace* colorspace) { in parse()
958 static constexpr std::tuple<const char*, SkSVGColorspace> gColorspaceMap[] = { in parse()
959 { "auto" , SkSVGColorspace::kAuto }, in parse()
960 { "sRGB" , SkSVGColorspace::kSRGB }, in parse()
961 { "linearRGB", SkSVGColorspace::kLinearRGB }, in parse()
DSkSVGFeMorphology.cpp26 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter()
DSkSVGMask.cpp42 auto ci_filter = (ci == SkSVGColorspace::kLinearRGB) in renderMask()
DSkSVGFeBlend.cpp42 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter()
DSkSVGFeComposite.cpp50 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter()
/external/skia/modules/svg/include/
DSkSVGFilterContext.h27 , fPreviousResult({nullptr, filterEffectsRegion, SkSVGColorspace::kSRGB}) {} in SkSVGFilterContext()
35 …egisterResult(const SkSVGStringType&, const sk_sp<SkImageFilter>&, const SkRect&, SkSVGColorspace);
37 void setPreviousResult(const sk_sp<SkImageFilter>&, const SkRect&, SkSVGColorspace);
41 SkSVGColorspace resolveInputColorspace(const SkSVGRenderContext&,
46 …ageFilter> resolveInput(const SkSVGRenderContext&, const SkSVGFeInputType&, SkSVGColorspace) const;
52 SkSVGColorspace fColorspace;
57 std::tuple<sk_sp<SkImageFilter>, SkSVGColorspace> getInput(const SkSVGRenderContext&,
DSkSVGAttribute.h91 SkSVGProperty<SkSVGColorspace, true> fColorInterpolation;
92 SkSVGProperty<SkSVGColorspace, true> fColorInterpolationFilters;
DSkSVGFeDisplacementMap.h22 SkSVGColorspace resolveColorspace(const SkSVGRenderContext&,
DSkSVGNode.h117 SVG_PRES_ATTR(ColorInterpolation , SkSVGColorspace, true)
118 SVG_PRES_ATTR(ColorInterpolationFilters, SkSVGColorspace, true)
DSkSVGFe.h51 virtual SkSVGColorspace resolveColorspace(const SkSVGRenderContext&,
DSkSVGTypes.h679 enum class SkSVGColorspace { enum