Searched refs:GrMemoryPool (Results 1 – 11 of 11) sorted by relevance
/external/skia/src/gpu/ |
D | GrMemoryPool.h | 23 class GrMemoryPool { 37 GrMemoryPool(size_t preallocSize, size_t minAllocSize); 39 ~GrMemoryPool(); 152 class GrObjectMemoryPool: public GrMemoryPool { 159 : GrMemoryPool(CountToSize(preallocCount), in GrObjectMemoryPool() 167 T* allocate() { return static_cast<T*>(GrMemoryPool::allocate(sizeof(T))); } in allocate() 182 (GrMemoryPool::kSmallestMinAllocSize - kHeaderSize + kTotalObjectSize - 1) /
|
D | GrMemoryPool.cpp | 20 constexpr size_t GrMemoryPool::kSmallestMinAllocSize; 22 GrMemoryPool::GrMemoryPool(size_t preallocSize, size_t minAllocSize) { in GrMemoryPool() function in GrMemoryPool 39 GrMemoryPool::~GrMemoryPool() { in ~GrMemoryPool() 60 void* GrMemoryPool::allocate(size_t size) { in allocate() 98 void GrMemoryPool::release(void* p) { in release() 140 GrMemoryPool::BlockHeader* GrMemoryPool::CreateBlock(size_t blockSize) { in CreateBlock() 155 void GrMemoryPool::DeleteBlock(BlockHeader* block) { in DeleteBlock() 161 void GrMemoryPool::validate() { in validate()
|
D | GrProcessor.cpp | 112 GrMemoryPool* pool() const { in pool() 113 static GrMemoryPool gPool(4096, 4096); in pool()
|
/external/skia/tests/ |
D | GrMemoryPoolTest.cpp | 50 GrMemoryPool* pool = new GrMemoryPool(preallocSize, minAllocSize); in SetAllocator() 59 static std::unique_ptr<GrMemoryPool> gPool; 63 std::unique_ptr<GrMemoryPool> A::gPool; 177 DEF_TEST(GrMemoryPool, reporter) { in DEF_TEST() argument 235 AutoPoolReleaser(GrMemoryPool& pool): fPool(pool) { in AutoPoolReleaser() 246 GrMemoryPool& fPool; 251 constexpr size_t kSmallestMinAllocSize = GrMemoryPool::kSmallestMinAllocSize; in DEF_TEST() 254 auto allocateMemory = [](GrMemoryPool& pool, AutoPoolReleaser& r) { in DEF_TEST() 263 GrMemoryPool pool(0, 0); in DEF_TEST() 270 GrMemoryPool pool(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST() [all …]
|
/external/skia/bench/ |
D | GrMemoryPoolBench.cpp | 28 static GrMemoryPool gBenchPool; 30 GrMemoryPool A::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); 90 static GrMemoryPool gBenchPool; 92 GrMemoryPool B::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); 135 static GrMemoryPool gBenchPool; 137 GrMemoryPool C::gBenchPool(10 * (1 << 10), 10 * (1 << 10));
|
/external/skia/src/gpu/ops/ |
D | GrOp.cpp | 36 GrMemoryPool* pool() const { in pool() 37 static GrMemoryPool gPool(16384, 16384); in pool()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextBlob.h | 26 class GrMemoryPool; variable 53 static sk_sp<GrAtlasTextBlob> Make(GrMemoryPool* pool, int glyphCount, int runCount); 536 GrMemoryPool* fPool;
|
D | GrTextBlobCache.h | 221 GrMemoryPool fPool;
|
D | GrAtlasTextBlob.cpp | 19 sk_sp<GrAtlasTextBlob> GrAtlasTextBlob::Make(GrMemoryPool* pool, int glyphCount, int runCount) { in Make()
|
/external/skia/gn/ |
D | gpu.gni | 101 "$_src/gpu/GrMemoryPool.cpp", 102 "$_src/gpu/GrMemoryPool.h",
|
/external/skia/ |
D | Android.bp | 369 "src/gpu/GrMemoryPool.cpp",
|