Lines Matching refs:GrMemoryPool
18 struct alignas(GrMemoryPool::kAlignment) Aligned {
22 static_assert(sizeof(Aligned) % GrMemoryPool::kAlignment == 0);
30 static_assert(sizeof(Unaligned) % GrMemoryPool::kAlignment != 0);
33 static_assert(GrAlignTo(sizeof(Unaligned), GrMemoryPool::kAlignment) == sizeof(Aligned));
37 typedef void (*RunBenchProc)(GrMemoryPool*, int);
44 static void run_stack(GrMemoryPool* pool, int loops) { in run_stack()
68 static void run_queue(GrMemoryPool* pool, int loops) { in run_queue()
92 static void run_pushpop(GrMemoryPool* pool, int loops) { in run_pushpop()
113 static void run_random(GrMemoryPool* pool, int loops) { in run_random()
173 std::unique_ptr<GrMemoryPool> pool; in onDraw()
175 pool = GrMemoryPool::Make(fPoolSize, fPoolSize); in onDraw()
191 static const int kSmallPool = GrMemoryPool::kMinAllocationSize;