Lines Matching defs:buffer
146 SkTextBlobBuilder::RunBuffer buffer;
149 buffer = builder.allocRunPos(run.font(), run.runSize(), nullptr);
151 buffer = builder.allocRunTextPos(run.font(), run.runSize(), run.text().size(), nullptr);
153 memcpy(buffer.utf8text, text.data(), text.size_bytes());
155 memcpy(buffer.clusters, clusters.data(), clusters.size_bytes());
158 memcpy(buffer.points(), positions.data(), positions.size_bytes());
160 buffer = builder.allocRunRSXform(run.font(), run.runSize());
161 for (auto [xform, pos, sr] : SkMakeZip(buffer.xforms(),
168 memcpy(buffer.glyphs, glyphIDs.data(), glyphIDs.size_bytes());
175 const SkFont& font, SkSpan<const SkGlyphID> glyphIDs, SkPoint origin, SkPoint* buffer) {
180 SkPoint* positionCursor = buffer;
186 return SkMakeSpan(buffer, glyphIDs.size());