/external/skqp/src/gpu/text/ |
D | GrTextBlobCache.h | 36 sk_sp<GrTextBlob> makeBlob(const SkGlyphRunList& glyphRunList, GrColor color) { in makeBlob() 37 return GrTextBlob::Make(glyphRunList.totalGlyphCount(), glyphRunList.size(), color); in makeBlob() 40 sk_sp<GrTextBlob> makeCachedBlob(const SkGlyphRunList& glyphRunList, in makeCachedBlob() 41 const GrTextBlob::Key& key, in makeCachedBlob() 45 sk_sp<GrTextBlob> cacheBlob(makeBlob(glyphRunList, color)); in makeCachedBlob() 52 sk_sp<GrTextBlob> find(const GrTextBlob::Key& key) const { in find() 57 void remove(GrTextBlob* blob) { in remove() 58 auto id = GrTextBlob::GetKey(*blob).fUniqueID; in remove() 70 void makeMRU(GrTextBlob* blob) { in makeMRU() 109 using BitmapBlobList = SkTInternalLList<GrTextBlob>; [all …]
|
D | GrTextBlob.cpp | 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() [all …]
|
D | GrTextBlob.h | 51 class GrTextBlob : public SkNVRefCnt<GrTextBlob> { 54 SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrTextBlob); 68 static sk_sp<GrTextBlob> Make(int glyphCount, int runCount, GrColor color); 96 void setupKey(const GrTextBlob::Key& key, in setupKey() 110 static const Key& GetKey(const GrTextBlob& blob) { in GetKey() 219 static void AssertEqual(const GrTextBlob&, const GrTextBlob&); 238 ~GrTextBlob() { in ~GrTextBlob() 253 GrTextBlob() in GrTextBlob() function 403 explicit Run(GrTextBlob* blob, GrColor color) in Run() 512 GrTextBlob* const fBlob; [all …]
|
D | GrTextBlobVertexRegenerator.cpp | 118 GrTextBlob::VertexRegenerator::VertexRegenerator(GrResourceProvider* resourceProvider, in VertexRegenerator() 119 GrTextBlob* blob, in VertexRegenerator() 160 bool GrTextBlob::VertexRegenerator::doRegen(GrTextBlob::VertexRegenerator::Result* result, in doRegen() 260 bool GrTextBlob::VertexRegenerator::regenerate(GrTextBlob::VertexRegenerator::Result* result) { in regenerate()
|
D | GrTextContext.h | 23 class GrTextBlob; variable 67 GrTextBlob* blob,
|
D | GrTextBlobCache.cpp | 63 void GrTextBlobCache::checkPurge(GrTextBlob* blob) { in checkPurge() 71 GrTextBlob* lruBlob = nullptr; in checkPurge()
|
D | GrTextContext.cpp | 135 GrTextBlob* blob, in InitDistanceFieldPaint()
|
/external/skia/src/gpu/text/ |
D | GrTextBlobCache.h | 26 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 …]
|
D | GrTextBlobCache.cpp | 23 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 …]
|
D | GrTextBlob.cpp | 169 const GrTextBlob& blob, 186 const GrTextBlob& blob, 204 const GrTextBlob& blob, in PathSubRun() 274 const GrTextBlob& blob, in Make() 438 GrTextBlob* blob, 447 GrTextBlob* blob, 484 GrTextBlob* const fBlob; 497 GrTextBlob* blob, in DirectMaskSubRun() 512 GrTextBlob* blob, in Make() 675 sk_ref_sp<GrTextBlob>(fBlob), in makeAtlasTextOp() [all …]
|
D | GrTextBlob.h | 170 class GrTextBlob final : public SkNVRefCnt<GrTextBlob>, public SkGlyphRunPainterInterface { 203 SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrTextBlob); 206 static sk_sp<GrTextBlob> Make(const SkGlyphRunList& glyphRunList, 212 ~GrTextBlob() override; 240 GrTextBlob(int allocSize, const SkMatrix& drawMatrix, SkColor initialLuminance);
|
/external/skia/bench/ |
D | GlyphQuadFillBench.cpp | 55 fBlob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &painter); in onPerCanvasPreDraw() 80 sk_sp<GrTextBlob> fBlob;
|
/external/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 534 sk_sp<GrTextBlob> cacheBlob; in drawGlyphRunList() 535 GrTextBlob::Key key; in drawGlyphRunList() 574 sk_sp<GrTextBlob> sanityBlob(textBlobCache->makeBlob(glyphRunList, color)); in drawGlyphRunList() 580 GrTextBlob::AssertEqual(*sanityBlob, *cacheBlob); in drawGlyphRunList() 599 void GrTextBlob::SubRun::appendGlyph(GrGlyph* glyph, SkRect dstRect) { in appendGlyph() 603 GrTextBlob* blob = fRun->fBlob; in appendGlyph() 640 void GrTextBlob::Run::switchSubRunIfNeededAndAppendGlyph(GrGlyph* glyph, in switchSubRunIfNeededAndAppendGlyph() 660 void GrTextBlob::Run::appendDeviceSpaceGlyph(const sk_sp<GrTextStrike>& strike, in appendDeviceSpaceGlyph() 672 void GrTextBlob::Run::appendSourceSpaceGlyph(const sk_sp<GrTextStrike>& strike, in appendSourceSpaceGlyph() 686 void GrTextBlob::generateFromGlyphRunList(GrStrikeCache* glyphCache, in generateFromGlyphRunList() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrAtlasTextOp.h | 51 sk_sp<GrTextBlob> blob, in Geometry() 69 sk_sp<GrTextBlob> blob, 80 sk_sp<GrTextBlob> fBlob; // mutable to make unref call in Op dtor.
|
D | GrAtlasTextOp.cpp | 114 sk_sp<GrTextBlob> blob, in MakeForBlob() 512 sk_sp<GrTextBlob> blob = GrTextBlob::Make(glyphRunList, skPaint, drawMatrix, control, painter); in CreateOpTestingOnly()
|
/external/skqp/src/gpu/ops/ |
D | GrAtlasTextOp.h | 28 static const int kVerticesPerGlyph = GrTextBlob::kVerticesPerGlyph; 31 typedef GrTextBlob Blob;
|
D | GrAtlasTextOp.cpp | 345 GrTextBlob::VertexRegenerator regenerator( in onPrepareDraws() 351 GrTextBlob::VertexRegenerator::Result result; in onPrepareDraws()
|
/external/skqp/src/atlastext/ |
D | SkAtlasTextTarget.cpp | 233 GrTextBlob::VertexRegenerator regenerator( in executeForTextTarget() 240 GrTextBlob::VertexRegenerator::Result result; in executeForTextTarget()
|
/external/skqp/include/core/ |
D | SkFont.h | 510 friend class GrTextBlob; variable
|
/external/skia/src/gpu/ |
D | GrSurfaceDrawContext.cpp | 388 auto [canCache, key] = GrTextBlob::Key::Make(glyphRunList, in drawGlyphRunListWithCache() 395 sk_sp<GrTextBlob> blob; in drawGlyphRunListWithCache() 409 blob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &fGlyphPainter); in drawGlyphRunListWithCache()
|
/external/skqp/gn/ |
D | gpu.gni | 405 "$_src/gpu/text/GrTextBlob.cpp", 406 "$_src/gpu/text/GrTextBlob.h",
|
/external/skia/gn/ |
D | gpu.gni | 498 "$_src/gpu/text/GrTextBlob.cpp", 499 "$_src/gpu/text/GrTextBlob.h",
|
/external/skqp/ |
D | Android.bp | 1057 "src/gpu/text/GrTextBlob.cpp",
|
/external/skia/ |
D | Android.bp | 683 "src/gpu/text/GrTextBlob.cpp", 1667 "src/gpu/text/GrTextBlob.cpp",
|