26 static SkMutex& mutex = *(
new SkMutex);
39 if (0 == strcmp(
dir,
"")) {
50 for (
int i = 1;
i < properties.
size();
i += 2) {
55 for (
int i = 1;
i <
key.size();
i += 2) {
61 if (maxResidentSetSizeMB != -1) {
62 writer.
appendS32(
"max_rss_MB", maxResidentSetSizeMB);
118 const ArrayValue* results = (*root)[
"results"];
static SkMD5::Digest md5(const SkBitmap &bm)
static SkColorType colorType(AImageDecoder *decoder, const AImageDecoderHeaderInfo *headerInfo)
bool sk_mkdir(const char *path)
static void AddBitmapResult(const BitmapResult &)
static bool ReadJson(const char *path, void(*callback)(BitmapResult))
static void DumpJson(const char *dir, CommandLineFlags::StringArray key, CommandLineFlags::StringArray properties)
const void * data() const
static sk_sp< SkData > MakeFromFileName(const char path[])
void appendS32(int32_t value)
void beginArray(const char *name=nullptr, bool multiline=true)
void beginObject(const char *name=nullptr, bool multiline=true)
void appendCString(const char *value)
void appendString(const char *value, size_t size)
static SkString Join(const char *rootPath, const char *relativePath)
static const char * begin(const StringSlice &s)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
TArray< JsonWriter::BitmapResult > gBitmapResults
static SkMutex & bitmap_result_mutex()
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
DEF_SWITCHES_START aot vmservice shared library name
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace Enable an endless trace buffer The default is a ring buffer This is useful when very old events need to viewed For during application launch Memory usage will continue to grow indefinitely however Start app with an specific route defined on the framework flutter assets dir