Searched refs:firstHeapAllocation (Results 1 - 5 of 5) sorted by relevance
/third_party/skia/src/gpu/ |
H A D | GrSubRunAllocator.cpp | 16 GrBagOfBytes::GrBagOfBytes(char* bytes, size_t size, size_t firstHeapAllocation) in GrBagOfBytes() argument 17 : fFibProgression(size, firstHeapAllocation) { in GrBagOfBytes() 19 SkASSERT_RELEASE(firstHeapAllocation < kMaxByteSize); in GrBagOfBytes() 29 GrBagOfBytes::GrBagOfBytes(size_t firstHeapAllocation) 30 : GrBagOfBytes(nullptr, 0, firstHeapAllocation) {} 79 GrSubRunAllocator::GrSubRunAllocator(char* bytes, int size, int firstHeapAllocation) 80 : fAlloc{bytes, SkTo<size_t>(size), SkTo<size_t>(firstHeapAllocation)} {} 82 GrSubRunAllocator::GrSubRunAllocator(int firstHeapAllocation) 83 : GrSubRunAllocator(nullptr, 0, firstHeapAllocation) {}
|
H A D | GrSubRunAllocator.h | 21 GrBagOfBytes(char* block, size_t blockSize, size_t firstHeapAllocation); 22 explicit GrBagOfBytes(size_t firstHeapAllocation = 0); 175 GrSubRunAllocator(char* block, int blockSize, int firstHeapAllocation); 176 explicit GrSubRunAllocator(int firstHeapAllocation = 0);
|
/third_party/skia/src/core/ |
H A D | SkArenaAlloc.h | 69 // starting with an allocation of firstHeapAllocation bytes. If your data (plus a small overhead) 71 // firstHeapAllocation bytes, it'll use the heap only once. If 0 is specified for 72 // firstHeapAllocation, then blockSize is used unless that too is 0, then 1024 is used. 108 SkArenaAlloc(char* block, size_t blockSize, size_t firstHeapAllocation); 110 explicit SkArenaAlloc(size_t firstHeapAllocation) 111 : SkArenaAlloc(nullptr, 0, firstHeapAllocation) {} 287 SkArenaAllocWithReset(char* block, size_t blockSize, size_t firstHeapAllocation); 289 explicit SkArenaAllocWithReset(size_t firstHeapAllocation) 290 : SkArenaAllocWithReset(nullptr, 0, firstHeapAllocation) {} 309 explicit SkSTArenaAlloc(size_t firstHeapAllocation [all...] |
H A D | SkArenaAlloc.cpp | 14 SkArenaAlloc::SkArenaAlloc(char* block, size_t size, size_t firstHeapAllocation) in SkArenaAlloc() argument 18 , fFibonacciProgression{SkToU32(size), SkToU32(firstHeapAllocation)} 140 size_t firstHeapAllocation) in SkArenaAllocWithReset() 141 : SkArenaAlloc(block, size, firstHeapAllocation) in SkArenaAllocWithReset() 144 , fFirstHeapAllocationSize{SkToU32(firstHeapAllocation)} {} 138 SkArenaAllocWithReset(char* block, size_t size, size_t firstHeapAllocation) SkArenaAllocWithReset() argument
|
/third_party/skia/tests/ |
H A D | GrTextBlobTest.cpp | 211 explicit GrSTSubRunAllocator(int firstHeapAllocation = in GrSTSubRunAllocator() 213 : GrSubRunAllocator{this->data(), SkTo<int>(this->size()), firstHeapAllocation} {} in GrSTSubRunAllocator()
|
Completed in 3 milliseconds