Lines Matching refs:GrMemoryPool
48 GrMemoryPool* pool = new GrMemoryPool(preallocSize, minAllocSize); in SetAllocator()
57 static std::unique_ptr<GrMemoryPool> gPool;
61 std::unique_ptr<GrMemoryPool> A::gPool;
175 DEF_TEST(GrMemoryPool, reporter) { in DEF_TEST() argument
233 AutoPoolReleaser(GrMemoryPool& pool): fPool(pool) { in AutoPoolReleaser()
244 GrMemoryPool& fPool;
249 constexpr size_t kSmallestMinAllocSize = GrMemoryPool::kSmallestMinAllocSize; in DEF_TEST()
252 auto allocateMemory = [](GrMemoryPool& pool, AutoPoolReleaser& r) { in DEF_TEST()
261 GrMemoryPool pool(0, 0); in DEF_TEST()
268 GrMemoryPool pool(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST()
274 GrMemoryPool pool(kSmallestMinAllocSize, kSmallestMinAllocSize / 2); in DEF_TEST()
284 GrMemoryPool pool(kPreallocSize, 0); in DEF_TEST()
291 GrMemoryPool pool(0, kMinAllocSize); in DEF_TEST()
305 GrMemoryPool pool(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST()