104 {
105 const struct {
108 } recs[] = {
114
120 };
121
126
127
129
130 for (const auto& rec : recs) {
133 }
134}
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
static sk_sp< SkPicture > make_picture()
@ 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
@ kRGBA_F32_SkColorType
pixel using C float for red, green, blue, alpha; in 128-bit word
@ kRGBA_1010102_SkColorType
10 bits for red, green, blue; 2 bits for alpha; in 32-bit word
SK_API int SkColorTypeBytesPerPixel(SkColorType ct)
#define REPORTER_ASSERT(r, cond,...)
static sk_sp< SkColorSpace > MakeSRGB()
std::unique_ptr< SkImageGenerator > MakeFromPicture(const SkISize &, sk_sp< SkPicture >, const SkMatrix *, const SkPaint *, SkImages::BitDepth, sk_sp< SkColorSpace >, SkSurfaceProps props)
@ kU8
uses 8-bit unsigned int per color component
sk_sp< const SkPicture > picture
static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at)