Home
last modified time | relevance | path

Searched refs:SkROBuffer (Results 1 – 3 of 3) 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/skia/src/core/
DSkRWBuffer.cpp126 SkROBuffer::SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* tail) in SkROBuffer() function in SkROBuffer
139 SkROBuffer::~SkROBuffer() { in ~SkROBuffer()
145 SkROBuffer::Iter::Iter(const SkROBuffer* buffer) { in Iter()
149 SkROBuffer::Iter::Iter(const sk_sp<SkROBuffer>& buffer) { in Iter()
153 void SkROBuffer::Iter::reset(const SkROBuffer* buffer) { in reset()
164 const void* SkROBuffer::Iter::data() const { in data()
168 size_t SkROBuffer::Iter::size() const { in size()
175 bool SkROBuffer::Iter::next() { in next()
272 SkROBufferStreamAsset(sk_sp<SkROBuffer> buffer) : fBuffer(std::move(buffer)), fIter(fBuffer) { in SkROBufferStreamAsset()
352 sk_sp<SkROBuffer> fBuffer;
[all …]
/external/skia/tests/
DDataRefTest.cpp238 static void check_alphabet_buffer(skiatest::Reporter* reporter, const SkROBuffer* reader) { in check_alphabet_buffer()
243 SkROBuffer::Iter iter(reader); in check_alphabet_buffer()
260 SkSTArray<N, sk_sp<SkROBuffer>> readers; in DEF_TEST()
289 sk_sp<SkROBuffer> reader = buffer.makeROBufferSnapshot(); in DEF_TEST()
315 sk_sp<SkROBuffer> roBuffer(buffer.makeROBufferSnapshot()); in DEF_TEST()
316 SkROBuffer::Iter iter(roBuffer.get()); in DEF_TEST()
331 sk_sp<SkROBuffer> roBuffer = buffer.makeROBufferSnapshot(); in DEF_TEST()
335 SkROBuffer::Iter iter(roBuffer.get()); in DEF_TEST()