Searched refs:kHSL (Results 1 – 10 of 10) sorted by relevance
/external/skia/modules/skottie/src/effects/ |
D | InvertEffect.cpp | 44 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/ |
D | SkGradientShaderBase.cpp | 438 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/ |
D | GradientsSlide.cpp | 87 { CS::kHSL, "HSL" }, in draw()
|
/external/skia/include/effects/ |
D | SkGradientShader.h | 76 kHSL, enumerator
|
/external/skia/src/gpu/ganesh/gradients/ |
D | GrGradientShader.cpp | 682 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/ |
D | sksl_shared.sksl | 427 const int kHSL = 7; 436 case kHSL: 445 case kHSL: { color.rgb = $css_hsl_to_srgb(color.rgb); break; }
|
/external/skia/gm/ |
D | gradients.cpp | 1099 { CS::kHSL, "HSL" }, 1142 interpolation.fColorSpace = SkGradientShader::Interpolation::ColorSpace::kHSL;
|
D | mesh.cpp | 1068 interpolation.fColorSpace = SkGradientShader::Interpolation::ColorSpace::kHSL; in onOnceBeforeDraw()
|
/external/skia/src/gpu/graphite/ |
D | KeyHelpers.cpp | 96 static_assert(static_cast<int>(ColorSpace::kHSL) == 7); in add_gradient_postamble()
|
/external/skia/src/sksl/generated/ |
D | sksl_shared.unoptimized.sksl | 156 " kOKLab=3;const int kLCH=4;const int kOKLCH=5;const int kSRGB=6;const int kHSL"
|