Home
last modified time | relevance | path

Searched refs:gBenchPool (Results 1 – 1 of 1) sorted by relevance

/external/skqp/bench/
DGrMemoryPoolBench.cpp24 void* operator new (size_t size) { return gBenchPool.allocate(size); } in operator new()
25 void operator delete (void* mem) { if (mem) { return gBenchPool.release(mem); } } in operator delete()
27 static GrMemoryPool gBenchPool; member
29 GrMemoryPool A::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); member in A
86 void* operator new (size_t size) { return gBenchPool.allocate(size); } in operator new()
87 void operator delete (void* mem) { if (mem) { return gBenchPool.release(mem); } } in operator delete()
89 static GrMemoryPool gBenchPool; member
91 GrMemoryPool B::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); member in B
131 void* operator new (size_t size) { return gBenchPool.allocate(size); } in operator new()
132 void operator delete (void* mem) { if (mem) { return gBenchPool.release(mem); } } in operator delete()
[all …]