26Pool::Pool() =
default;
30 SkDEBUGFAIL(
"SkSL pool is being destroyed while it is still attached to the thread");
34 SkVLOG(
"DELETE Pool:0x%016llX\n", (uint64_t)fMemPool.get());
38 auto pool = std::unique_ptr<Pool>(
new Pool);
40 SkVLOG(
"CREATE Pool:0x%016llX\n", (uint64_t)
pool->fMemPool.get());
49 SkVLOG(
"ATTACH Pool:0x%016llX\n", (uint64_t)fMemPool.get());
55 SkVLOG(
"DETACH Pool:0x%016llX\n", (uint64_t)memPool);
65 SkVLOG(
"ALLOC Pool:0x%016llX 0x%016llX\n", (uint64_t)memPool, (uint64_t)ptr);
70 void* ptr = ::operator
new(
size);
71 SkVLOG(
"ALLOC Pool:__________________ 0x%016llX\n", (uint64_t)ptr);
79 SkVLOG(
"FREE Pool:0x%016llX 0x%016llX\n", (uint64_t)memPool, (uint64_t)ptr);
80 memPool->release(ptr);
85 SkVLOG(
"FREE Pool:__________________ 0x%016llX\n", (uint64_t)ptr);
86 ::operator
delete(ptr);
#define SkDEBUGFAIL(message)
static std::unique_ptr< MemoryPool > Make()
void * allocate(size_t size)
static std::unique_ptr< Pool > Create()
static void * AllocMemory(size_t size)
static void FreeMemory(void *ptr)
static thread_local MemoryPool * sMemPool
static MemoryPool * get_thread_local_memory_pool()
static void set_thread_local_memory_pool(MemoryPool *memPool)
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