Searched refs:GrSBlockAllocator (Results 1 – 3 of 3) sorted by relevance
18 static int block_count(const GrSBlockAllocator<N>& pool) { in block_count()28 static Block* get_block(GrSBlockAllocator<N>& pool, int blockIndex) { in get_block()47 static size_t total_size(GrSBlockAllocator<N>& pool) { in total_size()52 static size_t add_block(GrSBlockAllocator<N>& pool) { in add_block()62 static void* alloc_byte(GrSBlockAllocator<N>& pool) { in alloc_byte()85 GrSBlockAllocator<2048> inlined{}; in DEF_TEST()93 GrSBlockAllocator<1024> pool{}; in DEF_TEST()174 GrSBlockAllocator<1024> pool{}; in DEF_TEST()227 GrSBlockAllocator<1024> pool{}; in DEF_TEST()261 GrSBlockAllocator<1024> pool{}; in DEF_TEST()[all …]
474 class GrSBlockAllocator : SkNoncopyable {478 GrSBlockAllocator() { in GrSBlockAllocator() function481 explicit GrSBlockAllocator(GrowthPolicy policy) { in GrSBlockAllocator() function485 GrSBlockAllocator(GrowthPolicy policy, size_t blockIncrementBytes) { in GrSBlockAllocator() function489 ~GrSBlockAllocator() { in ~GrSBlockAllocator()
268 GrSBlockAllocator<StartingSize> fAllocator;