Lines Matching refs:RunRecord
111 class SkTextBlob::RunRecord { class in SkTextBlob
113 RunRecord(uint32_t count, const SkPoint& offset, const SkPaint& font, GlyphPositioning pos) in RunRecord() function in SkTextBlob::RunRecord
139 return reinterpret_cast<uint16_t*>(const_cast<RunRecord*>(this) + 1); in glyphBuffer()
150 return SkAlignPtr(sizeof(SkTextBlob::RunRecord) in StorageSize()
155 static const RunRecord* First(const SkTextBlob* blob) { in First()
157 return reinterpret_cast<const RunRecord*>(blob + 1); in First()
160 static const RunRecord* Next(const RunRecord* run) { in Next()
161 return reinterpret_cast<const RunRecord*>(reinterpret_cast<const uint8_t*>(run) in Next()
212 const RunRecord* run = RunRecord::First(this); in ~SkTextBlob()
214 const RunRecord* nextRun = RunRecord::Next(run); in ~SkTextBlob()
216 run->~RunRecord(); in ~SkTextBlob()
303 : fCurrentRun(SkTextBlob::RunRecord::First(blob)) in SkTextBlobRunIterator()
317 fCurrentRun = SkTextBlob::RunRecord::Next(fCurrentRun); in next()
374 SkRect SkTextBlobBuilder::TightRunBounds(const SkTextBlob::RunRecord& run) { in TightRunBounds()
410 SkASSERT((void*)glyphPosX <= SkTextBlob::RunRecord::Next(&run)); in TightRunBounds()
415 SkRect SkTextBlobBuilder::ConservativeRunBounds(const SkTextBlob::RunRecord& run) { in ConservativeRunBounds()
434 SkASSERT((void*)(glyphPos + run.glyphCount()) <= SkTextBlob::RunRecord::Next(&run)); in ConservativeRunBounds()
448 SkASSERT((void*)(glyphPosPts + run.glyphCount()) <= SkTextBlob::RunRecord::Next(&run)); in ConservativeRunBounds()
474 SkTextBlob::RunRecord* run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + in updateDeferredBounds()
512 SkTextBlob::RunRecord* run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + in mergeRun()
532 size_t sizeDelta = SkTextBlob::RunRecord::StorageSize(run->glyphCount() + count, positioning) - in mergeRun()
533 SkTextBlob::RunRecord::StorageSize(run->glyphCount(), positioning); in mergeRun()
537 run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + fLastRun); in mergeRun()
563 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, positioning); in allocInternal()
569 SkTextBlob::RunRecord* run = new (fStorage.get() + fStorageUsed) in allocInternal()
570 SkTextBlob::RunRecord(count, offset, font, positioning); in allocInternal()
632 const SkTextBlob::RunRecord* run = SkTextBlob::RunRecord::First(blob); in build()
634 validateSize += SkTextBlob::RunRecord::StorageSize(run->fCount, run->fPositioning); in build()
636 run = SkTextBlob::RunRecord::Next(run); in build()