• Home
  • Raw
  • Download

Lines Matching refs:RunRecord

133 class SkTextBlob::RunRecord {  class in SkTextBlob
135RunRecord(uint32_t count, uint32_t textSize, const SkPoint& offset, const SkPaint& font, GlyphPos… in RunRecord() function in SkTextBlob::RunRecord
166 static_assert(SkIsAlignPtr(sizeof(RunRecord)), ""); in glyphBuffer()
168 return reinterpret_cast<uint16_t*>(const_cast<RunRecord*>(this) + 1); in glyphBuffer()
194 size_t size = sizeof(SkTextBlob::RunRecord) in StorageSize()
205 static const RunRecord* First(const SkTextBlob* blob) { in First()
207 return reinterpret_cast<const RunRecord*>(blob + 1); in First()
210 static const RunRecord* Next(const RunRecord* run) { in Next()
227 static_assert(sizeof(SkTextBlob::RunRecord) == sizeof(RunRecordStorageEquivalent), in validate()
240 static const RunRecord* NextUnchecked(const RunRecord* run) { in NextUnchecked()
241 return reinterpret_cast<const RunRecord*>( in NextUnchecked()
303 const auto* run = RunRecord::First(this); in ~SkTextBlob()
305 const auto* nextRun = RunRecord::Next(run); in ~SkTextBlob()
307 run->~RunRecord(); in ~SkTextBlob()
330 : fCurrentRun(SkTextBlob::RunRecord::First(blob)) { in SkTextBlobRunIterator()
343 fCurrentRun = SkTextBlob::RunRecord::Next(fCurrentRun); in next()
413 SkRect SkTextBlobBuilder::TightRunBounds(const SkTextBlob::RunRecord& run) { in TightRunBounds()
449 SkASSERT((void*)glyphPosX <= SkTextBlob::RunRecord::Next(&run)); in TightRunBounds()
454 SkRect SkTextBlobBuilder::ConservativeRunBounds(const SkTextBlob::RunRecord& run) { in ConservativeRunBounds()
473 SkASSERT((void*)(glyphPos + run.glyphCount()) <= SkTextBlob::RunRecord::Next(&run)); in ConservativeRunBounds()
487 SkASSERT((void*)(glyphPosPts + run.glyphCount()) <= SkTextBlob::RunRecord::Next(&run)); in ConservativeRunBounds()
513 SkTextBlob::RunRecord* run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + in updateDeferredBounds()
551 SkTextBlob::RunRecord* run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + in mergeRun()
575 … size_t sizeDelta = SkTextBlob::RunRecord::StorageSize(run->glyphCount() + count, 0, positioning) - in mergeRun()
576 SkTextBlob::RunRecord::StorageSize(run->glyphCount(), 0, positioning); in mergeRun()
580 run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + fLastRun); in mergeRun()
606 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning); in allocInternal()
612 SkTextBlob::RunRecord* run = new (fStorage.get() + fStorageUsed) in allocInternal()
613 SkTextBlob::RunRecord(count, textSize, offset, font, positioning); in allocInternal()
680 auto* lastRun = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + fLastRun); in make()
681 lastRun->fFlags |= SkTextBlob::RunRecord::kLast_Flag; in make()
688 for (const auto* run = SkTextBlob::RunRecord::First(blob); run; in make()
689 run = SkTextBlob::RunRecord::Next(run)) { in make()
690 validateSize += SkTextBlob::RunRecord::StorageSize( in make()