50DEF_TEST(Descriptor_valid_simple_extra_space, r) {
51 const size_t extra_space = 100;
66 const size_t effectSize = 16;
67 const size_t testSize = 32;
96 const size_t effect_size = 1000;
143 desc->computeChecksum();
144 desc->flatten(writer);
145 auto data = writer.snapshotAsData();
155 auto data = writer.snapshotAsData();
165 writer.writeInt(4000);
167 auto data = writer.snapshotAsData();
179 auto data = writer.snapshotAsData();
193 auto data = writer.snapshotAsData();
DEF_TEST(Descriptor_empty, r)
#define kRec_SkDescriptorTag
#define kEffects_SkDescriptorTag
static constexpr SkFourByteTag SkSetFourByteTag(char a, char b, char c, char d)
#define REPORTER_ASSERT(r, cond,...)
static std::optional< SkAutoDescriptor > MakeFromBuffer(SkReadBuffer &buffer)
void writeInt(int32_t value) override
static void SetLength(SkDescriptor *desc, size_t length)
static void SetCount(SkDescriptor *desc, uint32_t count)
static std::unique_ptr< SkDescriptor > Alloc(size_t length)
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