Lines Matching refs:GrMemoryPool
48 gPool = GrMemoryPool::Make(preallocSize, minAllocSize); in SetAllocator()
60 static std::unique_ptr<GrMemoryPool> gPool;
64 std::unique_ptr<GrMemoryPool> A::gPool;
175 DEF_TEST(GrMemoryPool, reporter) { in DEF_TEST() argument
236 AutoPoolReleaser(GrMemoryPool& pool): fPool(pool) { in AutoPoolReleaser()
247 GrMemoryPool& fPool;
252 constexpr size_t kSmallestMinAllocSize = GrMemoryPool::kMinAllocationSize; in DEF_TEST()
255 auto allocateMemory = [](GrMemoryPool& pool, AutoPoolReleaser& r) { in DEF_TEST()
264 auto pool = GrMemoryPool::Make(0, 0); in DEF_TEST()
270 auto pool = GrMemoryPool::Make(kSmallestMinAllocSize, kSmallestMinAllocSize / 2); in DEF_TEST()
280 auto pool = GrMemoryPool::Make(kPreallocSize, 0); in DEF_TEST()
287 auto pool = GrMemoryPool::Make(0, kMinAllocSize); in DEF_TEST()
302 auto pool = GrMemoryPool::Make(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST()