Home
last modified time | relevance | path

Searched refs:minAllocSize (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/gpu/
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()
DGrMemoryPool.h50 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/
DGrMemoryPool.h40 GrMemoryPool(size_t preallocSize, size_t minAllocSize);
133 GrOpMemoryPool(size_t preallocSize, size_t minAllocSize) in GrOpMemoryPool() argument
134 : fMemoryPool(preallocSize, minAllocSize) { in GrOpMemoryPool()
DGrMemoryPool.cpp30 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/
DGrMemoryPoolTest.cpp47 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/
DGrMemoryPoolTest.cpp47 static void SetAllocator(size_t preallocSize, size_t minAllocSize) { in SetAllocator() argument
48 GrMemoryPool* pool = new GrMemoryPool(preallocSize, minAllocSize); in SetAllocator()