Lines Matching full:srgb
247 sk_sp<SkColorSpace> sRGB) {
251 hasLinearBlending ? sRGB : nullptr));
304 // RGBA16F is always linear extended sRGB
312 // If an RGBA16F bitmap needs conversion, we know the target will be sRGB
315 // If the bitmap is sRGB we don't need conversion
331 mConnector.reset(new ColorSpaceConnector(src, ColorSpace::sRGB()));
333 // A non-sRGB color space might have a transfer function close enough to sRGB
334 // that we can save shader instructions by using an sRGB sampler
335 // This is only possible if we have hardware support for sRGB textures
351 // TODO: Handle sRGB gray bitmaps
355 sk_sp<SkColorSpace> sRGB = SkColorSpace::MakeSRGB();
356 SkBitmap rgbaBitmap = uploadToN32(skBitmap, hasLinearBlending, std::move(sRGB));