Searched refs:gPool (Results 1 – 5 of 5) sorted by relevance
31 if (!gPool.get()) { in operator new()34 return gPool->allocate(size); in operator new()39 if (!gPool.get()) { in operator delete()42 return gPool->release(p); in operator delete()50 gPool.reset(pool); in SetAllocator()54 gPool.reset(nullptr); in ResetAllocator()58 static SkAutoTDelete<GrMemoryPool> gPool; member in A62 SkAutoTDelete<GrMemoryPool> A::gPool; member in A
110 static SkDiscardableMemoryPool* gPool; variable112 SkASSERT(gPool); in pool_factory()113 return gPool->create(bytes); in pool_factory()126 gPool = pool.get(); in DEF_TEST()
185 static SkDiscardableMemoryPool* gPool = 0; variable187 SkASSERT(gPool); in pool_factory()188 return gPool->create(bytes); in pool_factory()225 REPORTER_ASSERT(reporter, gPool->getRAMUsed() > 0); in testBitmapCache_discarded_bitmap()226 gPool->dumpPool(); in testBitmapCache_discarded_bitmap()258 gPool = pool.get(); in DEF_TEST()
31 static GrMemoryPool gPool(16384, 16384); in pool() local32 return &gPool; in pool()
92 static GrMemoryPool gPool(4096, 4096); in pool() local93 return &gPool; in pool()