Lines Matching refs:SkColorSpace
42 sk_sp<SkColorSpace> fix_for_colortype(SkColorSpace* colorSpace, SkColorType colorType) { in fix_for_colortype()
91 SkColorSpace::MakeSRGB()); in make_picture_image()
94 static sk_sp<SkColorSpace> make_srgb_transfer_fn(const SkColorSpacePrimaries& primaries) { in make_srgb_transfer_fn()
97 return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50); in make_srgb_transfer_fn()
100 static sk_sp<SkColorSpace> make_wide_gamut() { in make_wide_gamut()
114 static sk_sp<SkColorSpace> make_small_gamut() { in make_small_gamut()
128 SkAlphaType dstAlphaType, sk_sp<SkColorSpace> dstColorSpace, in draw_image()
154 sk_sp<SkColorSpace> srgb = fix_for_colortype( in draw_image()
155 SkColorSpace::MakeSRGB().get(), dstColorType); in draw_image()
188 const sk_sp<SkColorSpace> colorSpaces[] = { in onDraw()
190 SkColorSpace::MakeSRGB(), in onDraw()
194 for (sk_sp<SkColorSpace> dstColorSpace : colorSpaces) { in onDraw()
249 const sk_sp<SkColorSpace> colorSpaces[] = { in onDraw()
251 SkColorSpace::MakeSRGB(), in onDraw()
260 for (sk_sp<SkColorSpace> dstColorSpace : colorSpaces) { in onDraw()
315 const sk_sp<SkColorSpace> colorSpaces[] = { in onDraw()
317 SkColorSpace::MakeSRGB(), in onDraw()
326 for (sk_sp<SkColorSpace> dstColorSpace : colorSpaces) { in onDraw()