Home
last modified time | relevance | path

Searched refs:minAllocSize (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/gpu/
H A DGrMemoryPool.cpp21 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()
H A DGrMemoryPool.h50 static std::unique_ptr<GrMemoryPool> Make(size_t preallocSize, size_t minAllocSize);
119 GrMemoryPool(size_t preallocSize, size_t minAllocSize);
/third_party/skia/tests/
H A DGrMemoryPoolTest.cpp47 static void SetAllocator(size_t preallocSize, size_t minAllocSize) { in SetAllocator() argument
48 gPool = GrMemoryPool::Make(preallocSize, minAllocSize); in SetAllocator()
282 // Pool allocates exactly minAllocSize when it expands. in DEF_TEST()
296 // When asked to allocate amount > minAllocSize, pool allocates larger block in DEF_TEST()

Completed in 2 milliseconds