Home
last modified time | relevance | path

Searched refs:SkROBuffer (Results 1 – 6 of 6) sorted by relevance

/external/skia/include/core/
DSkRWBuffer.h22 class SK_API SkROBuffer : public SkRefCnt {
32 Iter(const SkROBuffer*);
33 Iter(const sk_sp<SkROBuffer>&);
35 void reset(const SkROBuffer*);
57 const SkROBuffer* fBuffer;
61 SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* fTail);
62 virtual ~SkROBuffer();
93 sk_sp<SkROBuffer> makeROBufferSnapshot() const { in makeROBufferSnapshot()
94 return sk_sp<SkROBuffer>(new SkROBuffer(fHead, fTotalUsed, fTail)); in makeROBufferSnapshot()
/external/skqp/include/core/
DSkRWBuffer.h22 class SK_API SkROBuffer : public SkRefCnt {
32 Iter(const SkROBuffer*);
33 Iter(const sk_sp<SkROBuffer>&);
35 void reset(const SkROBuffer*);
57 const SkROBuffer* fBuffer;
61 SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* fTail);
62 virtual ~SkROBuffer();
93 sk_sp<SkROBuffer> makeROBufferSnapshot() const { in makeROBufferSnapshot()
94 return sk_sp<SkROBuffer>(new SkROBuffer(fHead, fTotalUsed, fTail)); in makeROBufferSnapshot()
/external/skia/src/core/
DSkRWBuffer.cpp129 SkROBuffer::SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* tail) in SkROBuffer() function in SkROBuffer
142 SkROBuffer::~SkROBuffer() { in ~SkROBuffer()
148 SkROBuffer::Iter::Iter(const SkROBuffer* buffer) { in Iter()
152 SkROBuffer::Iter::Iter(const sk_sp<SkROBuffer>& buffer) { in Iter()
156 void SkROBuffer::Iter::reset(const SkROBuffer* buffer) { in reset()
167 const void* SkROBuffer::Iter::data() const { in data()
171 size_t SkROBuffer::Iter::size() const { in size()
178 bool SkROBuffer::Iter::next() { in next()
275 SkROBufferStreamAsset(sk_sp<SkROBuffer> buffer) : fBuffer(std::move(buffer)), fIter(fBuffer) { in SkROBufferStreamAsset()
356 sk_sp<SkROBuffer> fBuffer;
[all …]
/external/skqp/src/core/
DSkRWBuffer.cpp129 SkROBuffer::SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* tail) in SkROBuffer() function in SkROBuffer
142 SkROBuffer::~SkROBuffer() { in ~SkROBuffer()
148 SkROBuffer::Iter::Iter(const SkROBuffer* buffer) { in Iter()
152 SkROBuffer::Iter::Iter(const sk_sp<SkROBuffer>& buffer) { in Iter()
156 void SkROBuffer::Iter::reset(const SkROBuffer* buffer) { in reset()
167 const void* SkROBuffer::Iter::data() const { in data()
171 size_t SkROBuffer::Iter::size() const { in size()
178 bool SkROBuffer::Iter::next() { in next()
275 SkROBufferStreamAsset(sk_sp<SkROBuffer> buffer) : fBuffer(std::move(buffer)), fIter(fBuffer) { in SkROBufferStreamAsset()
356 sk_sp<SkROBuffer> fBuffer;
[all …]
/external/skia/tests/
DDataRefTest.cpp246 static void check_alphabet_buffer(skiatest::Reporter* reporter, const SkROBuffer* reader) { in check_alphabet_buffer()
251 SkROBuffer::Iter iter(reader); in check_alphabet_buffer()
266 SkSTArray<N, sk_sp<SkROBuffer>> readers; in DEF_TEST()
295 sk_sp<SkROBuffer> reader = buffer.makeROBufferSnapshot(); in DEF_TEST()
321 sk_sp<SkROBuffer> roBuffer(buffer.makeROBufferSnapshot()); in DEF_TEST()
322 SkROBuffer::Iter iter(roBuffer.get()); in DEF_TEST()
337 sk_sp<SkROBuffer> roBuffer = buffer.makeROBufferSnapshot(); in DEF_TEST()
341 SkROBuffer::Iter iter(roBuffer.get()); in DEF_TEST()
/external/skqp/tests/
DDataRefTest.cpp246 static void check_alphabet_buffer(skiatest::Reporter* reporter, const SkROBuffer* reader) { in check_alphabet_buffer()
251 SkROBuffer::Iter iter(reader); in check_alphabet_buffer()
266 SkSTArray<N, sk_sp<SkROBuffer>> readers; in DEF_TEST()
295 sk_sp<SkROBuffer> reader = buffer.makeROBufferSnapshot(); in DEF_TEST()
321 sk_sp<SkROBuffer> roBuffer(buffer.makeROBufferSnapshot()); in DEF_TEST()
322 SkROBuffer::Iter iter(roBuffer.get()); in DEF_TEST()
337 sk_sp<SkROBuffer> roBuffer = buffer.makeROBufferSnapshot(); in DEF_TEST()
341 SkROBuffer::Iter iter(roBuffer.get()); in DEF_TEST()