Lines Matching refs:GrTextBlob
26 sk_sp<GrTextBlob> GrTextBlob::Make(int glyphCount, int runCount, GrColor color) { in Make()
32 size_t vertex = sk_align<alignof(char)> (blobStart + sizeof(GrTextBlob) * 1); in Make()
34 size_t runs = sk_align<alignof(GrTextBlob::Run)>(glyphs + sizeof(GrGlyph*) * glyphCount); in Make()
35 size_t size = (runs + sizeof(GrTextBlob::Run) * runCount); in Make()
43 sk_sp<GrTextBlob> blob{new (allocation) GrTextBlob{}}; in Make()
49 blob->fRuns = SkTAddOffset<GrTextBlob::Run>(blob.get(), runs); in Make()
53 new (&blob->fRuns[i]) GrTextBlob::Run{blob.get(), color}; in Make()
59 void GrTextBlob::Run::setupFont(const SkPaint& skPaint, in setupFont()
73 void GrTextBlob::Run::appendPathGlyph(const SkPath& path, SkPoint position, in appendPathGlyph()
78 bool GrTextBlob::mustRegenerate(const SkPaint& paint, bool anyRunHasSubpixelPosition, in mustRegenerate()
166 inline std::unique_ptr<GrAtlasTextOp> GrTextBlob::makeOp( in makeOp()
220 void GrTextBlob::flush(GrTextTarget* target, const SkSurfaceProps& props, in flush()
240 GrTextBlob::Run::PathGlyph& pathGlyph = run.fPathGlyphs[i]; in flush()
371 std::unique_ptr<GrDrawOp> GrTextBlob::test_makeOp( in test_makeOp()
376 const GrTextBlob::SubRun& info = fRuns[run].fSubRunInfo[subRun]; in test_makeOp()
382 void GrTextBlob::AssertEqual(const GrTextBlob& l, const GrTextBlob& r) { in AssertEqual()
465 void GrTextBlob::SubRun::computeTranslation(const SkMatrix& viewMatrix, in computeTranslation()