Home
last modified time | relevance | path

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

/external/skia/tests/
DGrBlockAllocatorTest.cpp18 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 …]
/external/skia/src/gpu/
DGrBlockAllocator.h474 class GrSBlockAllocator : SkNoncopyable {
478 GrSBlockAllocator() { in GrSBlockAllocator() function
481 explicit GrSBlockAllocator(GrowthPolicy policy) { in GrSBlockAllocator() function
485 GrSBlockAllocator(GrowthPolicy policy, size_t blockIncrementBytes) { in GrSBlockAllocator() function
489 ~GrSBlockAllocator() { in ~GrSBlockAllocator()
DGrTBlockList.h268 GrSBlockAllocator<StartingSize> fAllocator;