7#ifndef CodecPriv_DEFINED
8#define CodecPriv_DEFINED
19 "Dump image decodes from codec unit tests here.");
34 if (FLAGS_codecWritePath.isEmpty()) {
void write_bm(const char *name, const SkBitmap &bm)
static DEFINE_string(codecWritePath, "", "Dump image decodes from codec unit tests here.")
bool decode_memory(const void *mem, size_t size, SkBitmap *bm)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
void allocPixels(const SkImageInfo &info, size_t rowBytes)
const SkPixmap & pixmap() const
static std::unique_ptr< SkCodec > MakeFromData(sk_sp< SkData >, SkSpan< const SkCodecs::Decoder > decoders, SkPngChunkReader *=nullptr)
static sk_sp< SkData > MakeWithoutCopy(const void *data, size_t length)
static SkString Join(const char *rootPath, const char *relativePath)
const char * c_str() const
void void void appendf(const char format[],...) SK_PRINTF_LIKE(2
SK_API bool Encode(SkWStream *dst, const SkPixmap &src, const Options &options)
DEF_SWITCHES_START aot vmservice shared library name
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