Searched refs:runSize (Results 1 - 7 of 7) sorted by relevance
/third_party/skia/src/core/ |
H A D | SkGlyphRun.cpp | 43 SkASSERT(this->runSize() > 0); in sourceBounds() 149 buffer = builder.allocRunPos(run.font(), run.runSize(), nullptr); in makeBlob() 151 buffer = builder.allocRunTextPos(run.font(), run.runSize(), run.text().size(), nullptr); in makeBlob() 160 buffer = builder.allocRunRSXform(run.font(), run.runSize()); in makeBlob() 218 size_t runSize = it.glyphCount(); in blobToGlyphRunList() local 219 if (runSize == 0 || !SkFontPriv::IsFinite(it.font())) { in blobToGlyphRunList() 225 auto glyphIDs = SkSpan<const SkGlyphID>{it.glyphs(), runSize}; in blobToGlyphRunList() 236 positions = SkMakeSpan(positionCursor, runSize); in blobToGlyphRunList() 243 positions = SkMakeSpan(it.points(), runSize); in blobToGlyphRunList() 247 positions = SkMakeSpan(positionCursor, runSize); in blobToGlyphRunList() [all...] |
H A D | SkGlyphRun.h | 40 size_t runSize() const { return fSource.size(); } in runSize() function in SkGlyphRun 88 glyphCount += run.runSize(); in totalGlyphCount()
|
H A D | SkTextBlob.cpp | 489 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal() local 495 this->reserve(runSize); in allocInternal() 498 SkASSERT(fStorageUsed + runSize <= fStorageSize); in allocInternal() 508 fStorageUsed += runSize; in allocInternal() 1023 size_t runSize = it.glyphCount(); in GetGlyphIDforTextBlob() local 1025 for (size_t i = 0; i < runSize; ++i) { in GetGlyphIDforTextBlob()
|
H A D | SkGlyphRunPainter.cpp | 378 size = std::max(run.runSize(), size); 384 return ScopedBuffers(this, glyphRun.runSize());
|
H A D | SkBlitter.cpp | 74 int runSize = bounds.width() + 1; // +1 so we can set runs[bounds.width()] = 0 in blitFatAntiRect() local 75 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitFatAntiRect() 77 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect()
|
/third_party/skia/src/svg/ |
H A D | SkSVGDevice.cpp | 989 auto runSize = glyphRun.runSize(); 990 SkAutoSTArray<64, SkUnichar> unichars(runSize); 992 runSize, unichars.get()); 994 for (size_t i = 0; i < runSize; ++i) {
|
/third_party/skia/tests/ |
H A D | SkRemoteGlyphCacheTest.cpp | 514 int runSize = strlen(s); in make_blob_causing_fallback() local 518 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds); in make_blob_causing_fallback() 523 runBuffer.glyphs, runSize); in make_blob_causing_fallback() 530 for (int i = 0; i < runSize; i++) { in make_blob_causing_fallback()
|
Completed in 8 milliseconds