Home
last modified time | relevance | path

Searched refs:kHSL (Results 1 – 10 of 10) sorted by relevance

/external/skia/modules/skottie/src/effects/
DInvertEffect.cpp44 enum class CS { kRGB, kHSL, kYIQ }; in onSync() enumerator
81 case kH_Channel: return { {-1, 1, 1, 1}, {.5f,0,0,0}, CS::kHSL }; // h' = .5 - h in onSync()
82 case kS_Channel: return { { 1,-1, 1, 1}, { 0,1,0,0}, CS::kHSL }; // s' = 1 - s in onSync()
83 case kL_Channel: return { { 1, 1,-1, 1}, { 0,0,1,0}, CS::kHSL }; // l' = 1 - l in onSync()
84 case kHLS_Channel: return { {-1,-1,-1, 1}, {.5f,1,1,0}, CS::kHSL }; in onSync()
124 fColorFilter->setColorFilter(stcm.cs == CS::kHSL ? SkColorFilters::HSLAMatrix(m) in onSync()
/external/skia/src/shaders/gradients/
DSkGradientShaderBase.cpp438 case ColorSpace::kHSL: in appendStages()
455 case ColorSpace::kHSL: p->append(SkRasterPipelineOp::css_hsl_to_srgb); break; in appendStages()
759 case ColorSpace::kHSL: in program()
777 case ColorSpace::kHSL: color = css_hsl_to_srgb(color); break; in program()
844 case ColorSpace::kHSL: in intermediate_color_space()
961 case ColorSpace::kHSL: in color_space_is_polar()
1015 case ColorSpace::kHSL: convertFn = srgb_to_hsl; break; in SkColor4fXformer()
1085 case ColorSpace::kHSL: in SkColor4fXformer()
1293 case ColorSpace::kHSL: in MakeInterpolatedToDst()
/external/skia/tools/viewer/
DGradientsSlide.cpp87 { CS::kHSL, "HSL" }, in draw()
/external/skia/include/effects/
DSkGradientShader.h76 kHSL, enumerator
/external/skia/src/gpu/ganesh/gradients/
DGrGradientShader.cpp682 static_assert(static_cast<int>(ColorSpace::kHSL) == 7); in make_interpolated_to_dst()
703 case ColorSpace::kHSL: in make_interpolated_to_dst()
/external/skia/src/sksl/
Dsksl_shared.sksl427 const int kHSL = 7;
436 case kHSL:
445 case kHSL: { color.rgb = $css_hsl_to_srgb(color.rgb); break; }
/external/skia/gm/
Dgradients.cpp1099 { CS::kHSL, "HSL" },
1142 interpolation.fColorSpace = SkGradientShader::Interpolation::ColorSpace::kHSL;
Dmesh.cpp1068 interpolation.fColorSpace = SkGradientShader::Interpolation::ColorSpace::kHSL; in onOnceBeforeDraw()
/external/skia/src/gpu/graphite/
DKeyHelpers.cpp96 static_assert(static_cast<int>(ColorSpace::kHSL) == 7); in add_gradient_postamble()
/external/skia/src/sksl/generated/
Dsksl_shared.unoptimized.sksl156 " kOKLab=3;const int kLCH=4;const int kOKLCH=5;const int kSRGB=6;const int kHSL"