#include "include/core/SkTypes.h"
#include "src/sksl/SkSLMemoryPool.h"
#include "src/sksl/SkSLPool.h"
#define SkVLOG(...) …
namespace SkSL {
static thread_local MemoryPool* sMemPool = …;
static MemoryPool* get_thread_local_memory_pool() { … }
static void set_thread_local_memory_pool(MemoryPool* memPool) { … }
Pool::Pool() = default;
Pool::~Pool() { … }
std::unique_ptr<Pool> Pool::Create() { … }
bool Pool::IsAttached() { … }
void Pool::attachToThread() { … }
void Pool::detachFromThread() { … }
void* Pool::AllocMemory(size_t size) { … }
void Pool::FreeMemory(void* ptr) { … }
}