#include "src/gpu/ganesh/GrMemoryPool.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkTPin.h"
#include <cstring>
#include <new>
#ifdef SK_DEBUG
#include <atomic>
#endif
std::unique_ptr<GrMemoryPool> GrMemoryPool::Make(size_t preallocSize, size_t minAllocSize) { … }
GrMemoryPool::GrMemoryPool(size_t preallocSize, size_t minAllocSize)
: … { … }
GrMemoryPool::~GrMemoryPool() { … }
void GrMemoryPool::reportLeaks() const { … }
void* GrMemoryPool::allocate(size_t size) { … }
void GrMemoryPool::release(void* p) { … }
#ifdef SK_DEBUG
void GrMemoryPool::validate() const { … }
#endif