Home
last modified time | relevance | path

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

/external/skia/tests/
DGrMemoryPoolTest.cpp31 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 A
62 SkAutoTDelete<GrMemoryPool> A::gPool; member in A
DImageCacheTest.cpp110 static SkDiscardableMemoryPool* gPool; variable
112 SkASSERT(gPool); in pool_factory()
113 return gPool->create(bytes); in pool_factory()
126 gPool = pool.get(); in DEF_TEST()
DSkResourceCacheTest.cpp185 static SkDiscardableMemoryPool* gPool = 0; variable
187 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()
/external/skia/src/gpu/batches/
DGrBatch.cpp31 static GrMemoryPool gPool(16384, 16384); in pool() local
32 return &gPool; in pool()
/external/skia/src/gpu/
DGrProcessor.cpp92 static GrMemoryPool gPool(4096, 4096); in pool() local
93 return &gPool; in pool()