Home
last modified time | relevance | path

Searched refs:kSmallestMinAllocSize (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DGrMemoryPoolTest.cpp251 constexpr size_t kSmallestMinAllocSize = GrMemoryPool::kSmallestMinAllocSize; in DEF_TEST() local
264 REPORTER_ASSERT(reporter, pool.preallocSize() == kSmallestMinAllocSize); in DEF_TEST()
269 constexpr size_t kMinAllocSize = kSmallestMinAllocSize * 2; in DEF_TEST()
270 GrMemoryPool pool(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST()
276 GrMemoryPool pool(kSmallestMinAllocSize, kSmallestMinAllocSize / 2); in DEF_TEST()
280 REPORTER_ASSERT(reporter, pool.size() == kSmallestMinAllocSize); in DEF_TEST()
285 constexpr size_t kPreallocSize = kSmallestMinAllocSize * 5; in DEF_TEST()
292 constexpr size_t kMinAllocSize = kSmallestMinAllocSize * 7; in DEF_TEST()
306 constexpr size_t kMinAllocSize = kSmallestMinAllocSize * 2; in DEF_TEST()
307 GrMemoryPool pool(kSmallestMinAllocSize, kMinAllocSize); in DEF_TEST()
/external/skia/src/gpu/
DGrMemoryPool.h66 constexpr static size_t kSmallestMinAllocSize = 1 << 10; variable
177 (GrMemoryPool::kSmallestMinAllocSize - kHeaderSize + kTotalObjectSize - 1) /
DGrMemoryPool.cpp18 constexpr size_t GrMemoryPool::kSmallestMinAllocSize; member in GrMemoryPool
24 minAllocSize = SkTMax<size_t>(GrSizeAlignUp(minAllocSize, kAlignment), kSmallestMinAllocSize); in GrMemoryPool()