Searched refs:SkBufferBlock (Results 1 - 4 of 4) sorted by relevance

/external/skia/include/core/
H A DSkRWBuffer.h13 struct SkBufferBlock;
55 const SkBufferBlock* fBlock;
61 SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* fTail);
66 const SkBufferBlock* fTail;
107 SkBufferBlock* fTail;
/external/skqp/include/core/
H A DSkRWBuffer.h13 struct SkBufferBlock;
55 const SkBufferBlock* fBlock;
61 SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* fTail);
66 const SkBufferBlock* fTail;
107 SkBufferBlock* fTail;
/external/skia/src/core/
H A DSkRWBuffer.cpp20 struct SkBufferBlock { struct
21 SkBufferBlock* fNext; // updated by the writer
25 SkBufferBlock(size_t capacity) : fNext(nullptr), fUsed(0), fCapacity(capacity) {} function in struct:SkBufferBlock
32 static SkBufferBlock* Alloc(size_t length) {
34 void* buffer = sk_malloc_throw(sizeof(SkBufferBlock) + capacity);
35 return new (buffer) SkBufferBlock(capacity);
61 const size_t minSize = kMinAllocSize - sizeof(SkBufferBlock);
68 SkBufferBlock fBlock;
94 SkBufferBlock* block = fBlock.fNext;
97 SkBufferBlock* nex
[all...]
/external/skqp/src/core/
H A DSkRWBuffer.cpp20 struct SkBufferBlock { struct
21 SkBufferBlock* fNext; // updated by the writer
25 SkBufferBlock(size_t capacity) : fNext(nullptr), fUsed(0), fCapacity(capacity) {} function in struct:SkBufferBlock
32 static SkBufferBlock* Alloc(size_t length) {
34 void* buffer = sk_malloc_throw(sizeof(SkBufferBlock) + capacity);
35 return new (buffer) SkBufferBlock(capacity);
61 const size_t minSize = kMinAllocSize - sizeof(SkBufferBlock);
68 SkBufferBlock fBlock;
94 SkBufferBlock* block = fBlock.fNext;
97 SkBufferBlock* nex
[all...]

Completed in 82 milliseconds