Home
last modified time | relevance | path

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

/external/skia/tests/
DGrMemoryPoolTest.cpp30 if (!gPool) { in operator new()
33 return gPool->allocate(size); in operator new()
38 if (!gPool) { in operator delete()
41 return gPool->release(p); in operator delete()
48 gPool = GrMemoryPool::Make(preallocSize, minAllocSize); in SetAllocator()
51 static void ResetAllocator() { gPool.reset(); } in ResetAllocator()
54 static std::unique_ptr<GrMemoryPool> gPool; member in A
58 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.cpp112 static SkDiscardableMemoryPool* gPool = nullptr; variable
114 SkASSERT(gPool); in pool_factory()
115 return gPool->create(bytes); in pool_factory()
132 gPool = pool.get(); in DEF_TEST()
/external/skqp/tests/
DGrMemoryPoolTest.cpp30 if (!gPool.get()) { in operator new()
33 return gPool->allocate(size); in operator new()
38 if (!gPool.get()) { in operator delete()
41 return gPool->release(p); in operator delete()
49 gPool.reset(pool); in SetAllocator()
53 gPool.reset(nullptr); in ResetAllocator()
57 static std::unique_ptr<GrMemoryPool> gPool; member in A
61 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.cpp115 static SkDiscardableMemoryPool* gPool = nullptr; variable
117 SkASSERT(gPool); in pool_factory()
118 return gPool->create(bytes); in pool_factory()
135 gPool = pool.get(); in DEF_TEST()
/external/skia/src/gpu/
DGrProcessor.cpp39 static GrMemoryPool* gPool = GrMemoryPool::Make(4096, 4096).release(); in pool() local
40 return gPool; in pool()
/external/skqp/src/gpu/
DGrProcessor.cpp115 static GrMemoryPool gPool(4096, 4096); in pool() local
116 return &gPool; in pool()