Searched refs:fCurrentOffset (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/gpu/graphite/ |
D | BufferManager.cpp | 322 , fCurrentOffset(0) {} in StaticBufferManager() 355 !can_fit(size, fCurrentTransferBuffer.get(), fCurrentOffset, info->fAlignment)) { in prepareStaticData() 365 fCurrentOffset = 0; in prepareStaticData() 368 fCurrentOffset = SkAlignTo(fCurrentOffset, info->fAlignment); in prepareStaticData() 369 info->fData.push_back({BindBufferInfo{fCurrentTransferBuffer.get(), fCurrentOffset}, in prepareStaticData() 372 static_cast<ptrdiff_t>(fCurrentOffset)); in prepareStaticData() 373 fCurrentOffset += size; in prepareStaticData() 449 fCurrentOffset = 0; in finalize()
|
D | BufferManager.h | 174 size_t fCurrentOffset; variable
|
/external/skia/src/core/ |
D | SkStream.cpp | 764 , fSize(size) , fOffset(0), fCurrentOffset(0) { } in SkBlockMemoryStream() 773 size_t bytesLeftInCurrent = fCurrent->written() - fCurrentOffset; in read() 776 memcpy(buffer, fCurrent->start() + fCurrentOffset, bytesFromCurrent); in read() 780 fCurrentOffset += bytesFromCurrent; in read() 786 fCurrentOffset = 0; in read() 804 size_t currentOffset = fCurrentOffset; in peek() 820 fCurrentOffset = 0; in rewind() 840 if (moveBackAmount <= fCurrentOffset) { in seek() 841 fCurrentOffset -= moveBackAmount; in seek() 857 that->fCurrentOffset = this->fCurrentOffset; in onFork() [all …]
|