21 {
22 static const struct Rec {
27
28
33 { kN32_SkColorType, 0xFFFFFFFF, 0xFFFFFFFF },
34 { kN32_SkColorType, 0, 0 },
35 { kN32_SkColorType, 0xFF224466, 0xFF224466 },
36 };
37
38
39
40 const SkColor initColor = 0xFF0000FF;
41 const SkIRect area = { 1, 1, 3, 3 };
42
47 uint32_t storage[4];
49
52
55 }
56}
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
static const struct @223 gRec[]
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
@ kAlpha_8_SkColorType
pixel with alpha in 8-bit byte
@ kRGB_565_SkColorType
pixel with 5 bits red, 6 bits green, 5 bits blue, in 16-bit word
#define REPORTER_ASSERT(r, cond,...)
bool installPixels(const SkImageInfo &info, void *pixels, size_t rowBytes, void(*releaseProc)(void *addr, void *context), void *context)
void eraseArea(const SkIRect &area, SkColor c) const
SkColor getColor(int x, int y) const
void eraseColor(SkColor4f) const
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at)