8#ifndef SkShaperJSONWriter_DEFINED
9#define SkShaperJSONWriter_DEFINED
21template <
typename T>
class SkSpan;
51 size_t utf8Begin,
size_t utf8End,
57 void displayMToN(
size_t codePointCount,
62 std::vector<SkGlyphID> fGlyphs;
63 std::vector<SkPoint> fPositions;
64 std::vector<uint32_t> fClusters;
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
void commitRunInfo() override
std::function< void(size_t, SkSpan< const char >, SkSpan< const SkGlyphID >)> VisualizeClustersCallback
SkShaperJSONWriter(SkJSONWriter *JSONWriter, const char *utf8, size_t size)
static void BreakupClusters(size_t utf8Begin, size_t utf8End, SkSpan< const uint32_t > clusters, const BreakupClustersCallback &processMToN)
void commitRunBuffer(const RunInfo &info) override
void runInfo(const RunInfo &info) override
std::function< void(size_t, size_t, uint32_t, uint32_t)> BreakupClustersCallback
void beginLine() override
void commitLine() override
Buffer runBuffer(const RunInfo &info) override
static void VisualizeClusters(const char utf8[], size_t utf8Begin, size_t utf8End, SkSpan< const SkGlyphID > glyphIDs, SkSpan< const uint32_t > clusters, const VisualizeClustersCallback &processMToN)
Dart_NativeFunction function
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