Searched refs:GrTextStrike (Results 1 – 18 of 18) sorted by relevance
/third_party/skia/src/gpu/text/ |
D | GrStrikeCache.cpp | 21 sk_sp<GrTextStrike> GrStrikeCache::findOrCreateStrike(const SkStrikeSpec& strikeSpec) { in findOrCreateStrike() 22 if (sk_sp<GrTextStrike>* cached = fCache.find(strikeSpec.descriptor())) { in findOrCreateStrike() 28 sk_sp<GrTextStrike> GrStrikeCache::generateStrike(const SkStrikeSpec& strikeSpec) { in generateStrike() 29 sk_sp<GrTextStrike> strike = sk_make_sp<GrTextStrike>(strikeSpec); in generateStrike() 34 const SkDescriptor& GrStrikeCache::HashTraits::GetKey(const sk_sp<GrTextStrike>& strike) { in GetKey() 42 GrTextStrike::GrTextStrike(const SkStrikeSpec& strikeSpec) : fStrikeSpec{strikeSpec} {} in GrTextStrike() function in GrTextStrike 44 GrGlyph* GrTextStrike::getGlyph(SkPackedGlyphID packedGlyphID) { in getGlyph() 53 const SkPackedGlyphID& GrTextStrike::HashTraits::GetKey(const GrGlyph* glyph) { in GetKey() 57 uint32_t GrTextStrike::HashTraits::Hash(SkPackedGlyphID key) { in Hash()
|
D | GrStrikeCache.h | 23 class GrTextStrike : public SkNVRefCnt<GrTextStrike> { 25 GrTextStrike(const SkStrikeSpec& strikeSpec); 54 sk_sp<GrTextStrike> findOrCreateStrike(const SkStrikeSpec& strikeSpec); 59 sk_sp<GrTextStrike> generateStrike(const SkStrikeSpec& strikeSpec); 62 static const SkDescriptor& GetKey(const sk_sp<GrTextStrike>& strike); 66 using StrikeHash = SkTHashTable<sk_sp<GrTextStrike>, const SkDescriptor&, HashTraits>;
|
D | GrAtlasManager.h | 19 class GrTextStrike; variable
|
D | GrTextBlob.cpp | 338 sk_sp<GrTextStrike> fGrStrike{nullptr};
|
/third_party/flutter/skia/src/gpu/text/ |
D | GrStrikeCache.h | 29 class GrTextStrike : public SkNVRefCnt<GrTextStrike> { 31 GrTextStrike(const SkDescriptor& fontScalerKey); 77 static const SkDescriptor& GetKey(const GrTextStrike& strike) { in GetKey() 103 void setStrikeToPreserve(GrTextStrike* strike) { fPreserveStrike = strike; } in setStrikeToPreserve() 109 sk_sp<GrTextStrike> getStrike(const SkDescriptor& desc) { in getStrike() 110 sk_sp<GrTextStrike> strike = sk_ref_sp(fCache.find(desc)); in getStrike() 124 sk_sp<GrTextStrike> generateStrike(const SkDescriptor& desc) { in generateStrike() 126 sk_sp<GrTextStrike> strike = sk_ref_sp(new GrTextStrike(desc)); in generateStrike() 131 using StrikeHash = SkTDynamicHash<GrTextStrike, SkDescriptor>; 134 GrTextStrike* fPreserveStrike;
|
D | GrStrikeCache.cpp | 46 GrTextStrike* strike = &*iter; in HandleEviction() 52 grStrikeCache->fCache.remove(GrTextStrike::GetKey(*strike)); in HandleEviction() 172 GrTextStrike::GrTextStrike(const SkDescriptor& key) in GrTextStrike() function in GrTextStrike 175 void GrTextStrike::removeID(GrDrawOpAtlas::AtlasID id) { in removeID() 187 GrDrawOpAtlas::ErrorCode GrTextStrike::addGlyphToAtlas( in addGlyphToAtlas()
|
D | GrTextBlob.h | 292 void setStrike(sk_sp<GrTextStrike> strike) { fStrike = std::move(strike); } in setStrike() 293 GrTextStrike* strike() const { return fStrike.get(); } in strike() 294 sk_sp<GrTextStrike> refStrike() const { return fStrike; } in refStrike() 355 sk_sp<GrTextStrike> fStrike; 432 const sk_sp<GrTextStrike>& strike, 438 void appendDeviceSpaceGlyph(const sk_sp<GrTextStrike>& strike, 443 void appendSourceSpaceGlyph(const sk_sp<GrTextStrike>& strike,
|
D | GrAtlasManager.h | 17 class GrTextStrike; variable 91 GrResourceProvider*, GrStrikeCache*, GrTextStrike*,
|
D | GrTextBlob.cpp | 417 SkASSERT_RELEASE(GrTextStrike::GetKey(*lSubRun.strike()) == in AssertEqual() 418 GrTextStrike::GetKey(*rSubRun.strike())); in AssertEqual()
|
D | GrAtlasManager.cpp | 57 GrTextStrike* strike, GrDrawOpAtlas::AtlasID* id, in addToAtlas()
|
D | GrTextBlobVertexRegenerator.cpp | 178 sk_sp<GrTextStrike> strike; in doRegen()
|
/third_party/skia/src/core/ |
D | SkStrikeSpec.h | 21 class GrTextStrike; variable 81 sk_sp<GrTextStrike> findOrCreateGrStrike(GrStrikeCache* cache) const;
|
D | SkStrikeCache.h | 117 sk_sp<GrTextStrike> findOrCreateGrStrike(GrStrikeCache* grStrikeCache) const;
|
D | SkStrikeSpec.cpp | 195 sk_sp<GrTextStrike> SkStrikeSpec::findOrCreateGrStrike(GrStrikeCache* cache) const { in findOrCreateGrStrike()
|
D | SkStrikeCache.cpp | 348 sk_sp<GrTextStrike> SkStrike::findOrCreateGrStrike(GrStrikeCache* grStrikeCache) const { in findOrCreateGrStrike()
|
/third_party/flutter/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 760 const sk_sp<GrTextStrike>& strike, 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() 843 sk_sp<GrTextStrike> currStrike = strikeSpec.findOrCreateGrStrike(fStrikeCache); in processDeviceMasks() 891 sk_sp<GrTextStrike> currStrike = strikeSpec.findOrCreateGrStrike(fStrikeCache); in processSourceSDFT() 904 sk_sp<GrTextStrike> grStrike = strikeSpec.findOrCreateGrStrike(fStrikeCache); in processSourceFallback() 920 sk_sp<GrTextStrike> grStrike = strikeSpec.findOrCreateGrStrike(fStrikeCache); in processDeviceFallback()
|
D | SkStrikeSpec.h | 71 sk_sp<GrTextStrike> findOrCreateGrStrike(GrStrikeCache* cache) const;
|
D | SkStrikeSpec.cpp | 202 sk_sp<GrTextStrike> SkStrikeSpec::findOrCreateGrStrike(GrStrikeCache* cache) const { in findOrCreateGrStrike()
|