Home
last modified time | relevance | path

Searched refs:GrTextBlob (Results 1 – 25 of 25) sorted by relevance

/third_party/flutter/skia/src/gpu/text/
DGrTextBlobCache.h36 sk_sp<GrTextBlob> makeBlob(const SkGlyphRunList& glyphRunList, in makeBlob()
39 return GrTextBlob::Make( in makeBlob()
43 sk_sp<GrTextBlob> makeCachedBlob(const SkGlyphRunList& glyphRunList, in makeCachedBlob()
44 const GrTextBlob::Key& key, in makeCachedBlob()
49 sk_sp<GrTextBlob> cacheBlob(makeBlob(glyphRunList, color, strikeCache)); in makeCachedBlob()
56 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const { in find()
61 void remove(GrTextBlob* blob) { in remove()
62 auto id = GrTextBlob::GetKey(*blob).fUniqueID; in remove()
74 void makeMRU(GrTextBlob* blob) { in makeMRU()
113 using BitmapBlobList = SkTInternalLList<GrTextBlob>;
[all …]
DGrTextBlob.cpp26 sk_sp<GrTextBlob> GrTextBlob::Make(int glyphCount, in Make()
35 size_t vertex = sk_align<alignof(char)> (blobStart + sizeof(GrTextBlob) * 1); in Make()
37 size_t runs = sk_align<alignof(GrTextBlob::Run)>(glyphs + sizeof(GrGlyph*) * glyphCount); in Make()
38 size_t size = (runs + sizeof(GrTextBlob::Run) * runCount); in Make()
46 sk_sp<GrTextBlob> blob{new (allocation) GrTextBlob{strikeCache}}; in Make()
52 blob->fRuns = SkTAddOffset<GrTextBlob::Run>(blob.get(), runs); in Make()
56 new (&blob->fRuns[i]) GrTextBlob::Run{blob.get(), color}; in Make()
62 void GrTextBlob::Run::setupFont(const SkStrikeSpec& strikeSpec) { in setupFont()
71 void GrTextBlob::Run::appendPathGlyph(const SkPath& path, SkPoint position, in appendPathGlyph()
76 bool GrTextBlob::mustRegenerate(const SkPaint& paint, bool anyRunHasSubpixelPosition, in mustRegenerate()
[all …]
DGrTextBlob.h52 class GrTextBlob : public SkNVRefCnt<GrTextBlob>, public SkGlyphRunPainterInterface {
55 SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrTextBlob);
68 static sk_sp<GrTextBlob> Make(
100 void setupKey(const GrTextBlob::Key& key, in setupKey()
114 static const Key& GetKey(const GrTextBlob& blob) { in GetKey()
222 static void AssertEqual(const GrTextBlob&, const GrTextBlob&);
241 ~GrTextBlob() override { in ~GrTextBlob()
256 GrTextBlob(GrStrikeCache* strikeCache) : fStrikeCache{strikeCache} { } in GrTextBlob() function
403 explicit Run(GrTextBlob* blob, GrColor color) in Run()
504 GrTextBlob* const fBlob;
[all …]
DGrTextBlobVertexRegenerator.cpp131 GrTextBlob::VertexRegenerator::VertexRegenerator(GrResourceProvider* resourceProvider, in VertexRegenerator()
132 GrTextBlob* blob, in VertexRegenerator()
174 bool GrTextBlob::VertexRegenerator::doRegen(GrTextBlob::VertexRegenerator::Result* result, in doRegen()
274 bool GrTextBlob::VertexRegenerator::regenerate(GrTextBlob::VertexRegenerator::Result* result) { in regenerate()
DGrTextBlobCache.cpp63 void GrTextBlobCache::checkPurge(GrTextBlob* blob) { in checkPurge()
71 GrTextBlob* lruBlob = nullptr; in checkPurge()
DGrTextContext.h24 class GrTextBlob; variable
/third_party/skia/src/gpu/text/
DGrTextBlobCache.h26 sk_sp<GrTextBlob> addOrReturnExisting(
27 const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) SK_EXCLUDES(fSpinLock);
29 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) SK_EXCLUDES(fSpinLock);
31 void remove(GrTextBlob* blob) SK_EXCLUDES(fSpinLock);
53 using TextBlobList = SkTInternalLList<GrTextBlob>;
61 void addBlob(sk_sp<GrTextBlob> blob);
63 void removeBlob(GrTextBlob* blob);
65 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const;
67 int findBlobIndex(const GrTextBlob::Key& key) const;
72 SkSTArray<1, sk_sp<GrTextBlob>> fBlobs;
[all …]
DGrTextBlobCache.cpp23 sk_sp<GrTextBlob> GrTextBlobCache::addOrReturnExisting( in addOrReturnExisting()
24 const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) { in addOrReturnExisting()
31 sk_sp<GrTextBlob> GrTextBlobCache::find(const GrTextBlob::Key& key) { in find()
38 sk_sp<GrTextBlob> blob = idEntry->find(key); in find()
39 GrTextBlob* blobPtr = blob.get(); in find()
47 void GrTextBlobCache::remove(GrTextBlob* blob) { in remove()
52 void GrTextBlobCache::internalRemove(GrTextBlob* blob) { in internalRemove()
57 sk_sp<GrTextBlob> stillExists = idEntry->find(blob->key()); in internalRemove()
118 void GrTextBlobCache::internalCheckPurge(GrTextBlob* blob) { in internalCheckPurge()
126 GrTextBlob* lruBlob = nullptr; in internalCheckPurge()
[all …]
DGrTextBlob.cpp174 const GrTextBlob& blob,
191 const GrTextBlob& blob,
209 const GrTextBlob& blob, in PathSubRun()
278 const GrTextBlob& blob, in Make()
449 GrTextBlob* blob,
459 GrTextBlob* blob,
496 GrTextBlob* const fBlob;
509 GrTextBlob* blob, in DirectMaskSubRun()
525 GrTextBlob* blob, in Make()
687 sk_ref_sp<GrTextBlob>(fBlob), in makeAtlasTextOp()
[all …]
DGrTextBlob.h181 class GrTextBlob final : public SkRefCnt, public SkGlyphRunPainterInterface {
214 SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrTextBlob);
217 static sk_sp<GrTextBlob> Make(const SkGlyphRunList& glyphRunList,
223 ~GrTextBlob() override;
246 GrTextBlob(int allocSize, const SkMatrix& drawMatrix, SkColor initialLuminance);
/third_party/flutter/skia/src/core/
DSkGlyphRunPainter.cpp650 sk_sp<GrTextBlob> cacheBlob; in drawGlyphRunList()
651 GrTextBlob::Key key; in drawGlyphRunList()
691 sk_sp<GrTextBlob> sanityBlob(textBlobCache->makeBlob( in drawGlyphRunList()
698 GrTextBlob::AssertEqual(*sanityBlob, *cacheBlob); in drawGlyphRunList()
718 void GrTextBlob::SubRun::appendGlyph(GrGlyph* glyph, SkRect dstRect) { in appendGlyph()
722 GrTextBlob* blob = fRun->fBlob; in appendGlyph()
759 void GrTextBlob::Run::switchSubRunIfNeededAndAppendGlyph(GrGlyph* glyph, in switchSubRunIfNeededAndAppendGlyph()
779 void GrTextBlob::Run::appendDeviceSpaceGlyph(const sk_sp<GrTextStrike>& strike, in appendDeviceSpaceGlyph()
791 void GrTextBlob::Run::appendSourceSpaceGlyph(const sk_sp<GrTextStrike>& strike, in appendSourceSpaceGlyph()
805 void GrTextBlob::generateFromGlyphRunList(const GrShaderCaps& shaderCaps, in generateFromGlyphRunList()
[all …]
/third_party/skia/bench/
DGlyphQuadFillBench.cpp54 fBlob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &painter); in onPerCanvasPreDraw()
79 sk_sp<GrTextBlob> fBlob;
/third_party/flutter/skia/src/gpu/ops/
DGrAtlasTextOp.h28 static const int kVerticesPerGlyph = GrTextBlob::kVerticesPerGlyph;
31 typedef GrTextBlob Blob;
DGrAtlasTextOp.cpp362 GrTextBlob::VertexRegenerator regenerator( in onPrepareDraws()
368 GrTextBlob::VertexRegenerator::Result result; in onPrepareDraws()
/third_party/skia/src/gpu/ops/
DAtlasTextOp.h43 sk_sp<GrTextBlob> blob, in Geometry()
61 sk_sp<GrTextBlob> blob,
DAtlasTextOp.cpp110 sk_sp<GrTextBlob> blob, in MakeForBlob()
510 sk_sp<GrTextBlob> blob = GrTextBlob::Make(glyphRunList, skPaint, drawMatrix, control, painter); in CreateOpTestingOnly()
/third_party/flutter/skia/src/atlastext/
DSkAtlasTextTarget.cpp236 GrTextBlob::VertexRegenerator regenerator( in executeForTextTarget()
243 GrTextBlob::VertexRegenerator::Result result; in executeForTextTarget()
/third_party/flutter/skia/include/core/
DSkFont.h511 friend class GrTextBlob; variable
/third_party/skia/src/gpu/
DBUILD.bazel426 "text/GrTextBlob.cpp",
427 "text/GrTextBlob.h",
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp360 auto [canCache, key] = GrTextBlob::Key::Make(glyphRunList, in drawGlyphRunListWithCache()
367 sk_sp<GrTextBlob> blob; in drawGlyphRunListWithCache()
381 blob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &fGlyphPainter); in drawGlyphRunListWithCache()
/third_party/flutter/skia/gn/
Dgpu.gni476 "$_src/gpu/text/GrTextBlob.cpp",
477 "$_src/gpu/text/GrTextBlob.h",
/third_party/skia/gn/
Dgpu.gni364 "$_src/gpu/text/GrTextBlob.cpp",
365 "$_src/gpu/text/GrTextBlob.h",
/third_party/flutter/build/skia/ohos/
DBUILD.gn928 "$flutter_root/skia/src/gpu/text/GrTextBlob.cpp",
/third_party/flutter/build/skia/
DBUILD.gn1563 "$flutter_root/skia/src/gpu/text/GrTextBlob.cpp",
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_skia2904 FILE: ../../../third_party/skia/src/gpu/text/GrTextBlob.cpp
2905 FILE: ../../../third_party/skia/src/gpu/text/GrTextBlob.h