Home
last modified time | relevance | path

Searched refs:runSize (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/core/
DSkGlyphRun.cpp43 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 …]
DSkGlyphRun.h40 size_t runSize() const { return fSource.size(); } in runSize() function
88 glyphCount += run.runSize(); in totalGlyphCount()
DSkTextBlob.cpp504 size_t runSize = SkTextBlob::RunRecord::StorageSize(count, textSize, positioning, &safe); in allocInternal() local
510 this->reserve(runSize); in allocInternal()
513 SkASSERT(fStorageUsed + runSize <= fStorageSize); in allocInternal()
523 fStorageUsed += runSize; in allocInternal()
1049 size_t runSize = it.glyphCount(); in GetGlyphIDforTextBlob() local
1051 for (size_t i = 0; i < runSize; ++i) { in GetGlyphIDforTextBlob()
DSkGlyphRunPainter.cpp378 size = std::max(run.runSize(), size); in ensureBuffers()
384 return ScopedBuffers(this, glyphRun.runSize()); in ensureBuffers()
DSkBlitter.cpp74 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/tests/
DGlyphRunTest.cpp53 REPORTER_ASSERT(reporter, run.runSize() == count);
DSkRemoteGlyphCacheTest.cpp514 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()
/third_party/skia/src/svg/
DSkSVGDevice.cpp989 auto runSize = glyphRun.runSize(); in SVGTextBuilder() local
990 SkAutoSTArray<64, SkUnichar> unichars(runSize); in SVGTextBuilder()
992 runSize, unichars.get()); in SVGTextBuilder()
994 for (size_t i = 0; i < runSize; ++i) { in SVGTextBuilder()