Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/core/
DSkStrike.cpp19 SkStrike::SkStrike( in SkStrike() function in SkStrike
40 SkGlyph* SkStrike::makeGlyph(SkPackedGlyphID packedGlyphID) { in makeGlyph()
47 SkGlyph* SkStrike::glyph(SkPackedGlyphID packedGlyphID) { in glyph()
57 SkGlyph* SkStrike::glyph(SkGlyphID glyphID) { in glyph()
61 SkGlyph* SkStrike::glyph(SkGlyphID glyphID, SkPoint position) { in glyph()
69 SkGlyph* SkStrike::glyphFromPrototype(const SkGlyphPrototype& p, void* image) { in glyphFromPrototype()
82 SkGlyph* SkStrike::glyphOrNull(SkPackedGlyphID id) const { in glyphOrNull()
86 const SkPath* SkStrike::preparePath(SkGlyph* glyph) { in preparePath()
93 const SkPath* SkStrike::preparePath(SkGlyph* glyph, const SkPath* path) { in preparePath()
100 const SkDescriptor& SkStrike::getDescriptor() const { in getDescriptor()
[all …]
DSkStrikeCache.h58 SkStrike* get() const;
59 SkStrike* operator -> () const;
60 SkStrike& operator * () const;
89 SkStrike* targetCache);
154 void forEachStrike(std::function<void(const SkStrike&)> visitor) const;
DSkStrikeCache.cpp65 SkStrike fStrike;
101 SkStrike* SkStrikeCache::ExclusiveStrikePtr::get() const { in get()
105 SkStrike* SkStrikeCache::ExclusiveStrikePtr::operator -> () const { in operator ->()
109 SkStrike& SkStrikeCache::ExclusiveStrikePtr::operator * () const { in operator *()
192 auto visitor = [&counter](const SkStrike& cache) { in Dump()
221 auto visitor = [&dump](const SkStrike& cache) { in DumpMemoryStatistics()
306 SkStrike* targetCache) { in desperationSearchForImage()
450 void SkStrikeCache::forEachStrike(std::function<void(const SkStrike&)> visitor) const { in forEachStrike()
559 [](const SkStrike& cache) { cache.forceValidate(); in validateGlyphCacheDataSize()
DSkStrike.h36 class SkStrike final : public SkStrikeInterface {
38 SkStrike(const SkDescriptor& desc,
147 AutoValidate(const SkStrike* cache) : fCache(cache) { in AutoValidate()
161 const SkStrike* fCache;
DSkTypeface_remote.h30 void initCache(SkStrike*, SkStrikeCache*);
43 SkStrike* fCache = nullptr;
DSkTypeface_remote.cpp22 void SkScalerContextProxy::initCache(SkStrike* cache, SkStrikeCache* strikeCache) { in initCache()
DSkRemoteGlyphCache.h32 class SkStrike; variable
DSkGlyph.h19 class SkStrike; variable
/third_party/skia/src/core/
DSkStrikeCache.cpp36 auto SkStrikeCache::findOrCreateStrike(const SkStrikeSpec& strikeSpec) -> sk_sp<SkStrike> { in findOrCreateStrike()
38 sk_sp<SkStrike> strike = this->internalFindStrikeOrNull(strikeSpec.descriptor()); in findOrCreateStrike()
63 auto visitor = [&counter](const SkStrike& strike) { in Dump()
92 auto visitor = [&dump](const SkStrike& strike) { in DumpMemoryStatistics()
119 sk_sp<SkStrike> SkStrikeCache::findStrike(const SkDescriptor& desc) { in findStrike()
121 sk_sp<SkStrike> result = this->internalFindStrikeOrNull(desc); in findStrike()
126 auto SkStrikeCache::internalFindStrikeOrNull(const SkDescriptor& desc) -> sk_sp<SkStrike> { in internalFindStrikeOrNull()
132 sk_sp<SkStrike>* strikeHandle = fStrikeLookup.find(desc); in internalFindStrikeOrNull()
134 SkStrike* strikePtr = strikeHandle->get(); in internalFindStrikeOrNull()
152 sk_sp<SkStrike> SkStrikeCache::createStrike( in createStrike()
[all …]
DSkStrikeCache.h40 class SkStrike final : public SkRefCnt, public SkStrikeForGPU {
42 SkStrike(SkStrikeCache* strikeCache, in SkStrike() function
142 sk_sp<SkStrike> getUnderlyingStrike() const override { in getUnderlyingStrike()
150 SkStrike* fNext{nullptr};
151 SkStrike* fPrev{nullptr};
164 sk_sp<SkStrike> findStrike(const SkDescriptor& desc) SK_EXCLUDES(fLock);
166 sk_sp<SkStrike> createStrike(
171 sk_sp<SkStrike> findOrCreateStrike(const SkStrikeSpec& strikeSpec) SK_EXCLUDES(fLock);
194 friend class SkStrike; // for SkStrike::updateDelta
195 sk_sp<SkStrike> internalFindStrikeOrNull(const SkDescriptor& desc) SK_REQUIRES(fLock);
[all …]
DSkStrikeSpec.h86 sk_sp<SkStrike> findOrCreateStrike() const;
88 sk_sp<SkStrike> findOrCreateStrike(SkStrikeCache* cache) const;
123 sk_sp<SkStrike> fStrike;
129 explicit SkBulkGlyphMetricsAndPaths(sk_sp<SkStrike>&& strike);
139 sk_sp<SkStrike> fStrike;
145 explicit SkBulkGlyphMetricsAndImages(sk_sp<SkStrike>&& strike);
154 sk_sp<SkStrike> fStrike;
DSkGlyphRunPainter.h143 sk_sp<SkStrike>&& strike) = 0;
146 sk_sp<SkStrike>&& strike,
154 sk_sp<SkStrike>&& strike,
DSkStrikeForGPU.h25 class SkStrike; variable
51 virtual sk_sp<SkStrike> getUnderlyingStrike() const = 0;
DSkStrikeSpec.cpp220 sk_sp<SkStrike> SkStrikeSpec::findOrCreateStrike() const { in findOrCreateStrike()
225 sk_sp<SkStrike> SkStrikeSpec::findOrCreateStrike(SkStrikeCache* cache) const { in findOrCreateStrike()
245 SkBulkGlyphMetricsAndPaths::SkBulkGlyphMetricsAndPaths(sk_sp<SkStrike>&& strike) in SkBulkGlyphMetricsAndPaths()
270 SkBulkGlyphMetricsAndImages::SkBulkGlyphMetricsAndImages(sk_sp<SkStrike>&& strike) in SkBulkGlyphMetricsAndImages()
DSkRemoteGlyphCache.cpp268 sk_sp<SkStrike> getUnderlyingStrike() const override { return nullptr; } in getUnderlyingStrike()
/third_party/skia/src/gpu/text/
DGrTextBlob.h252 sk_sp<SkStrike>&& strike,
257 sk_sp<SkStrike>&& strike) override;
262 sk_sp<SkStrike>&& strike,
268 sk_sp<SkStrike>&& strike,
307 sk_sp<SkStrike>&& strike) override;
309 sk_sp<SkStrike>&& strike,
315 sk_sp<SkStrike>&& strike,
DGrTextBlob.cpp316 GlyphVector(sk_sp<SkStrike>&& strike, SkSpan<Variant> glyphs);
319 sk_sp<SkStrike>&& strike, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc);
336 sk_sp<SkStrike> fStrike;
343 GlyphVector::GlyphVector(sk_sp<SkStrike>&& strike, SkSpan<Variant> glyphs) in GlyphVector()
350 sk_sp<SkStrike>&& strike, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc) { in Make()
464 sk_sp<SkStrike>&& strike,
530 sk_sp<SkStrike>&& strike, in Make()
858 sk_sp<SkStrike>&& strike,
926 sk_sp<SkStrike>&& strike, in Make()
1118 sk_sp<SkStrike>&& strike,
[all …]
/third_party/skia/tests/
DSkStrikeCacheTest.cpp33 sk_sp<SkStrike> strike = strikeSpec.findOrCreateStrike(&cache); in DEF_TEST()
47 sk_sp<SkStrike> strike = strikeSpec.findOrCreateStrike(&cache); in DEF_TEST()
/third_party/flutter/skia/src/gpu/text/
DGrStrikeCache.h46 GrGlyph* getGlyph(SkPackedGlyphID packed, SkStrike* skStrike) { in getGlyph()
65 SkStrike*, GrMaskFormat expectedMaskFormat,
DGrStrikeCache.cpp83 static bool get_packed_glyph_image(SkStrike* cache, SkGlyph* glyph, int width, in get_packed_glyph_image()
193 SkStrike* skStrikeCache, in addGlyphToAtlas()
/third_party/flutter/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.h12 class SkStrike; variable
DSkPDFFont.h21 class SkStrike; variable
DSkPDFFont.cpp441 static ImageAndOffset to_image(SkGlyphID gid, SkStrike* cache) { in to_image()
483 SkStrike* cache) { in type3_descriptor()
/third_party/flutter/skia/gn/
Dcore.gni344 "$_src/core/SkStrike.cpp",
345 "$_src/core/SkStrike.h",
/third_party/flutter/build/skia/ohos/
DBUILD.gn401 "$flutter_root/skia/src/core/SkStrike.cpp",

12