26void JsonWriteBuffer::append(
const char*
type) {
34 const uint8_t* bytes =
reinterpret_cast<const uint8_t*
>(
data);
35 for (
size_t i = 0;
i <
size; ++
i) {
45 const uint8_t* bytes =
reinterpret_cast<const uint8_t*
>(
data);
46 for (
size_t i = 0;
i <
size; ++
i) {
64 this->
append(
"scalarArray");
66 for (uint32_t
i = 0;
i <
count; ++
i) {
80 for (uint32_t
i = 0;
i <
count; ++
i) {
101 flattenable->
flatten(flattenableBuffer);
104 this->
append(
"flattenable");
115 this->
append(
"colorArray");
117 for (uint32_t
i = 0;
i <
count; ++
i) {
129 this->
append(
"colorArray");
131 for (uint32_t
i = 0;
i <
count; ++
i) {
148 this->
append(
"pointArray");
150 for (uint32_t
i = 0;
i <
count; ++
i) {
159 for (
int r = 0; r < 4; ++r) {
162 for (
int c = 0; c < 4; ++c) {
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
static void MakeJsonPoint3(SkJSONWriter &, const SkPoint3 &point)
static void MakeJsonPoint(SkJSONWriter &, const SkPoint &point)
static void MakeJsonColor(SkJSONWriter &, const SkColor color)
static void MakeJsonPaint(SkJSONWriter &, const SkPaint &paint, UrlDataManager &urlDataManager)
static void MakeJsonRect(SkJSONWriter &, const SkRect &rect)
static void flatten(const SkFlattenable *flattenable, SkJSONWriter &writer, UrlDataManager &urlDataManager)
static void MakeJsonSampling(SkJSONWriter &, const SkSamplingOptions &sampling)
static void MakeJsonMatrix(SkJSONWriter &, const SkMatrix &)
static void MakeJsonIRect(SkJSONWriter &, const SkIRect &)
static void MakeJsonRegion(SkJSONWriter &, const SkRegion ®ion)
static void MakeJsonColor4f(SkJSONWriter &, const SkColor4f &color)
static void MakeJsonPath(SkJSONWriter &, const SkPath &path)
void writeIRect(const SkIRect &rect) override
void writeColorArray(const SkColor *color, uint32_t count) override
void writeRect(const SkRect &rect) override
void writeMatrix(const SkMatrix &matrix) override
void writeFlattenable(const SkFlattenable *flattenable) override
size_t writeStream(SkStream *stream, size_t length) override
void writeString(std::string_view value) override
void writeColor(SkColor color) override
void writeIntArray(const int32_t *value, uint32_t count) override
void writePointArray(const SkPoint *point, uint32_t count) override
void writeColor4fArray(const SkColor4f *color, uint32_t count) override
void writePath(const SkPath &path) override
void writeBool(bool value) override
void writeRegion(const SkRegion ®ion) override
void writeInt(int32_t value) override
void writeColor4f(const SkColor4f &color) override
void writeImage(const SkImage *) override
void writeScalar(SkScalar value) override
void writeSampling(const SkSamplingOptions &) override
void writeTypeface(SkTypeface *typeface) override
void writeUInt(uint32_t value) override
void writeByteArray(const void *data, size_t size) override
void writeScalarArray(const SkScalar *value, uint32_t count) override
void writePaint(const SkPaint &paint) override
void writePoint3(const SkPoint3 &point) override
void writePoint(const SkPoint &point) override
void writePad32(const void *buffer, size_t bytes) override
void write(const SkM44 &) override
virtual void flatten(SkWriteBuffer &) const
virtual const char * getTypeName() const =0
void appendS32(int32_t value)
void beginArray(const char *name=nullptr, bool multiline=true)
void appendU32(uint32_t value)
void beginObject(const char *name=nullptr, bool multiline=true)
void appendU64(uint64_t value)
void appendFloat(float value)
void appendPointer(const void *value)
void appendBool(bool value)
void appendName(const char *name)
void appendString(const char *value, size_t size)
const char * c_str() const
static void append(char **dst, size_t *count, const char *src, size_t n)
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< const SkImage > image
ClipOpAndAA opAA SkRegion region
sk_sp< SkBlender > blender SkRect rect
SkSamplingOptions sampling
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
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
std::shared_ptr< const fml::Mapping > data