Searched refs:minAllocSize (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/src/gpu/ |
D | GrMemoryPool.cpp | 21 std::unique_ptr<GrMemoryPool> GrMemoryPool::Make(size_t preallocSize, size_t minAllocSize) { in Make() argument 26 minAllocSize = SkTPin(minAllocSize, kMinAllocationSize, in Make() 29 return std::unique_ptr<GrMemoryPool>(new (mem) GrMemoryPool(preallocSize, minAllocSize)); in Make() 32 GrMemoryPool::GrMemoryPool(size_t preallocSize, size_t minAllocSize) in GrMemoryPool() argument 33 : fAllocator(SkBlockAllocator::GrowthPolicy::kFixed, minAllocSize, in GrMemoryPool()
|
D | GrMemoryPool.h | 50 static std::unique_ptr<GrMemoryPool> Make(size_t preallocSize, size_t minAllocSize); 119 GrMemoryPool(size_t preallocSize, size_t minAllocSize);
|
/third_party/flutter/skia/src/gpu/ |
D | GrMemoryPool.h | 40 GrMemoryPool(size_t preallocSize, size_t minAllocSize); 133 GrOpMemoryPool(size_t preallocSize, size_t minAllocSize) in GrOpMemoryPool() argument 134 : fMemoryPool(preallocSize, minAllocSize) { in GrOpMemoryPool()
|
D | GrMemoryPool.cpp | 30 GrMemoryPool::GrMemoryPool(size_t preallocSize, size_t minAllocSize) { in GrMemoryPool() argument 34 minAllocSize = SkTMax<size_t>(GrSizeAlignUp(minAllocSize, kAlignment), kSmallestMinAllocSize); in GrMemoryPool() 35 preallocSize = SkTMax<size_t>(GrSizeAlignUp(preallocSize, kAlignment), minAllocSize); in GrMemoryPool() 37 fMinAllocSize = minAllocSize; in GrMemoryPool()
|
/third_party/skia/tests/ |
D | GrMemoryPoolTest.cpp | 47 static void SetAllocator(size_t preallocSize, size_t minAllocSize) { in SetAllocator() argument 48 gPool = GrMemoryPool::Make(preallocSize, minAllocSize); in SetAllocator()
|
/third_party/flutter/skia/tests/ |
D | GrMemoryPoolTest.cpp | 47 static void SetAllocator(size_t preallocSize, size_t minAllocSize) { in SetAllocator() argument 48 GrMemoryPool* pool = new GrMemoryPool(preallocSize, minAllocSize); in SetAllocator()
|