Home
last modified time | relevance | path

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

/external/skia/tests/
DGrMemoryPoolTest.cpp32 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 A
63 std::unique_ptr<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()
125 gPool = pool.get(); in DEF_TEST()
DSkResourceCacheTest.cpp110 static SkDiscardableMemoryPool* gPool = 0; variable
112 SkASSERT(gPool); in pool_factory()
113 return gPool->create(bytes); in pool_factory()
130 gPool = pool.get(); in DEF_TEST()
/external/skia/src/gpu/ops/
DGrOp.cpp37 static GrMemoryPool gPool(16384, 16384); in pool() local
38 return &gPool; in pool()
/external/skia/src/gpu/
DGrProcessor.cpp113 static GrMemoryPool gPool(4096, 4096); in pool() local
114 return &gPool; in pool()