Home
last modified time | relevance | path

Searched refs:runBuffer (Results 1 – 4 of 4) sorted by relevance

/external/skia/tools/shape/
DSkShaper_primitive.cpp54 const SkTextBlobBuilder::RunBuffer& runBuffer = in shape() local
56 memcpy(runBuffer.utf8text, utf8text, textBytes); in shape()
60 runBuffer.clusters[i] = SkToU32(txtPtr - utf8text); in shape()
65 (void)paint.textToGlyphs(utf8text, textBytes, runBuffer.glyphs); in shape()
66 (void)paint.getTextWidths(utf8text, textBytes, runBuffer.pos); in shape()
69 SkScalar w = runBuffer.pos[i]; in shape()
70 runBuffer.pos[i] = x; in shape()
DSkShaper_harfbuzz.cpp381 auto runBuffer = b->allocRunTextPos(run.fPaint, len, run.fUtf8End - run.fUtf8Start, SkString()); in append() local
382 memcpy(runBuffer.utf8text, run.fUtf8Start, run.fUtf8End - run.fUtf8Start); in append()
387 runBuffer.glyphs[i] = glyph.fID; in append()
388 runBuffer.clusters[i] = glyph.fCluster; in append()
389 reinterpret_cast<SkPoint*>(runBuffer.pos)[i] = in append()
/external/skqp/tools/shape/
DSkShaper_primitive.cpp54 const SkTextBlobBuilder::RunBuffer& runBuffer = in shape() local
56 memcpy(runBuffer.utf8text, utf8text, textBytes); in shape()
60 runBuffer.clusters[i] = SkToU32(txtPtr - utf8text); in shape()
65 (void)paint.textToGlyphs(utf8text, textBytes, runBuffer.glyphs); in shape()
66 (void)paint.getTextWidths(utf8text, textBytes, runBuffer.pos); in shape()
69 SkScalar w = runBuffer.pos[i]; in shape()
70 runBuffer.pos[i] = x; in shape()
DSkShaper_harfbuzz.cpp379 auto runBuffer = b->allocRunTextPos(run.fPaint, len, run.fUtf8End - run.fUtf8Start, SkString()); in append() local
380 memcpy(runBuffer.utf8text, run.fUtf8Start, run.fUtf8End - run.fUtf8Start); in append()
385 runBuffer.glyphs[i] = glyph.fID; in append()
386 runBuffer.clusters[i] = glyph.fCluster; in append()
387 reinterpret_cast<SkPoint*>(runBuffer.pos)[i] = in append()