Searched refs:gPool (Results 1 – 5 of 5) sorted by relevance
32 if (!gPool.get()) { in operator new()35 return gPool->allocate(size); in operator new()40 if (!gPool.get()) { in operator delete()43 return gPool->release(p); in operator delete()51 gPool.reset(pool); in SetAllocator()55 gPool.reset(nullptr); in ResetAllocator()59 static std::unique_ptr<GrMemoryPool> gPool; member in A63 std::unique_ptr<GrMemoryPool> A::gPool; member in A
110 static SkDiscardableMemoryPool* gPool; variable112 SkASSERT(gPool); in pool_factory()113 return gPool->create(bytes); in pool_factory()125 gPool = pool.get(); in DEF_TEST()
110 static SkDiscardableMemoryPool* gPool = 0; variable112 SkASSERT(gPool); in pool_factory()113 return gPool->create(bytes); in pool_factory()130 gPool = pool.get(); in DEF_TEST()
37 static GrMemoryPool gPool(16384, 16384); in pool() local38 return &gPool; in pool()
113 static GrMemoryPool gPool(4096, 4096); in pool() local114 return &gPool; in pool()