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

/external/skia/src/gpu/
H A DGrMemoryPool.h150 * Preallocates memory for preallocCount objects, and sets new block size to be
153 GrObjectMemoryPool(size_t preallocCount, size_t minAllocCount) argument
154 : GrMemoryPool(CountToSize(preallocCount),
/external/skia/tests/
H A DGrMemoryPoolTest.cpp349 size_t preallocCount = allocateObjects(pool, r); local
350 REPORTER_ASSERT(reporter, preallocCount == kSmallestMinAllocCount);
358 size_t preallocCount = allocateObjects(pool, r); local
359 REPORTER_ASSERT(reporter, preallocCount == 2 * kSmallestMinAllocCount);
374 // Pool allocates space for exactly preallocCount objects on creation.
380 size_t preallocCount = allocateObjects(pool, r); local
381 REPORTER_ASSERT(reporter, preallocCount == kPreallocCount);
/external/skia/include/private/
H A DSkTArray.h441 void initWithPreallocatedStorage(int count, void* preallocStorage, int preallocCount) { argument
443 SkASSERT(preallocCount > 0);
447 if (count > preallocCount) {
452 fAllocCount = preallocCount;

Completed in 133 milliseconds