256 {
258 *errorMsg = "This gm is only interesting in color correct modes.";
260 }
261
264 };
268 };
273 };
278 };
282 };
283
291 dstColorSpace, hint);
293 }
294 }
295 }
298 }
299 }
301 }
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
@ kBGRA_8888_SkColorType
pixel with 8 bits for blue, green, red, alpha; in 32-bit word
@ kRGBA_F16_SkColorType
pixel with half floats for red, green, blue, alpha;
@ kRGBA_8888_SkColorType
pixel with 8 bits for red, green, blue, alpha; in 32-bit word
void translate(SkScalar dx, SkScalar dy)
SkImageInfo imageInfo() const
static sk_sp< SkColorSpace > MakeSRGB()
@ kDisallow_CachingHint
disallows internally caching decoded and copied pixels
@ kAllow_CachingHint
allows internally caching decoded and copied pixels
std::array< MockImage, 3 > images
sk_sp< const SkImage > image
static void draw_image(GrDirectContext *dContext, SkCanvas *canvas, SkImage *image, SkColorType dstColorType, SkAlphaType dstAlphaType, sk_sp< SkColorSpace > dstColorSpace, SkImage::CachingHint hint)
static sk_sp< SkColorSpace > make_wide_gamut()
static sk_sp< SkImage > make_picture_image()
static sk_sp< SkColorSpace > make_small_gamut()
SkColorSpace * colorSpace() const