HomeSort by relevance Sort by last modified time
    Searched defs:GrMemoryPool (Results 1 - 2 of 2) sorted by null

  /external/skia/src/gpu/
GrMemoryPool.cpp 8 #include "GrMemoryPool.h"
20 constexpr size_t GrMemoryPool::kSmallestMinAllocSize;
22 GrMemoryPool::GrMemoryPool(size_t preallocSize, size_t minAllocSize) {
39 GrMemoryPool::~GrMemoryPool() {
60 void* GrMemoryPool::allocate(size_t size) {
98 void GrMemoryPool::release(void* p) {
140 GrMemoryPool::BlockHeader* GrMemoryPool::CreateBlock(size_t blockSize)
    [all...]
GrMemoryPool.h 23 class GrMemoryPool {
37 GrMemoryPool(size_t preallocSize, size_t minAllocSize);
39 ~GrMemoryPool();
57 * Returns the total allocated size of the GrMemoryPool minus any preallocated amount
62 * Returns the preallocated size of the GrMemoryPool
125 * Variant of GrMemoryPool that can only allocate objects of a single type. It is
126 * not as flexible as GrMemoryPool, but it has more convenient allocate() method,
130 * GrMemoryPool pool(3 * sizeof(T), 1000 * sizeof(T));
149 * GrMemoryPool does not.
152 class GrObjectMemoryPool: public GrMemoryPool {
    [all...]

Completed in 103 milliseconds