Searched refs:SkBufferBlock (Results 1 – 4 of 4) sorted by relevance
21 struct SkBufferBlock { struct22 SkBufferBlock* fNext; // updated by the writer argument26 SkBufferBlock(size_t capacity) : fNext(nullptr), fUsed(0), fCapacity(capacity) {} in SkBufferBlock() argument33 static SkBufferBlock* Alloc(size_t length) { in Alloc() argument35 void* buffer = sk_malloc_throw(sizeof(SkBufferBlock) + capacity); in Alloc()36 return new (buffer) SkBufferBlock(capacity); in Alloc()62 const size_t minSize = kMinAllocSize - sizeof(SkBufferBlock); in LengthToCapacity() argument69 SkBufferBlock fBlock;95 SkBufferBlock* block = fBlock.fNext; in unref()98 SkBufferBlock* next = block->fNext; in unref()[all …]
13 struct SkBufferBlock;55 const SkBufferBlock* fBlock;61 SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* fTail);66 const SkBufferBlock* fTail;107 SkBufferBlock* fTail;