Lines Matching refs:SkColorSpace
29 GammaEncodedPremulGM(sk_sp<SkColorSpace> dst, sk_sp<SkColorSpace> src, const char* desc) in GammaEncodedPremulGM()
109 sk_sp<SkColorSpace> fDstSpace;
110 sk_sp<SkColorSpace> fSrcSpace;
118 DEF_GM(return new GammaEncodedPremulGM(SkColorSpace::MakeSRGB(),
119 SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, SkColorSpace::kRec2020_Gamut),
121 DEF_GM(return new GammaEncodedPremulGM(SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma,
122 SkColorSpace::kRec2020_Gamut), SkColorSpace::MakeSRGB(), "fromWideGamut");)
123 DEF_GM(return new GammaEncodedPremulGM(SkColorSpace::MakeSRGB(),
124 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, SkColorSpace::kSRGB_Gamut),
127 SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma, SkColorSpace::kSRGB_Gamut),
128 SkColorSpace::MakeSRGB(), "fromLinear");)
130 SkColorSpace::MakeRGB({ 1.8f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f },
131 SkColorSpace::kSRGB_Gamut), SkColorSpace::MakeSRGB(), "from1.8");)