Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkStrike.cpp25 SkStrike::SkStrike( in SkStrike() function in SkStrike
39 const SkDescriptor& SkStrike::getDescriptor() const { in getDescriptor()
49 unsigned SkStrike::getGlyphCount() const { in getGlyphCount()
53 int SkStrike::countCachedGlyphs() const { in countCachedGlyphs()
57 bool SkStrike::isGlyphCached(SkGlyphID glyphID, SkFixed x, SkFixed y) const { in isGlyphCached()
62 SkGlyph* SkStrike::getRawGlyphByID(SkPackedGlyphID id) { in getRawGlyphByID()
66 const SkGlyph& SkStrike::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance()
72 const SkGlyph& SkStrike::getGlyphIDMetrics(uint16_t glyphID) { in getGlyphIDMetrics()
78 const SkGlyph& SkStrike::getGlyphIDMetrics(uint16_t glyphID, SkFixed x, SkFixed y) { in getGlyphIDMetrics()
84 void SkStrike::getAdvances(SkSpan<const SkGlyphID> glyphIDs, SkPoint advances[]) { in getAdvances()
[all …]
DSkStrikeCache.h19 class SkStrike; variable
59 SkStrike* get() const;
60 SkStrike* operator -> () const;
61 SkStrike& operator * () const;
114 SkStrike* targetCache);
187 void forEachStrike(std::function<void(const SkStrike&)> visitor) const;
DSkFindAndPlaceGlyph.h42 SkStrike* cache, ProcessOneGlyph&& processOneGlyph);
229 explicit GlyphFindAndPlaceSubpixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceSubpixel()
246 SkStrike* fCache;
254 explicit GlyphFindAndPlaceFullPixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceFullPixel()
270 SkStrike* fCache;
275 SkArenaAlloc* arena, SkAxisAlignment axisAlignment, SkStrike* cache) in getSubpixel()
297 SkStrike* cache, ProcessOneGlyph&& processOneGlyph) { in ProcessPosText()
DSkStrike.h35 class SkStrike : public SkStrikeInterface {
37 SkStrike(const SkDescriptor& desc,
150 AutoValidate(const SkStrike* cache) : fCache(cache) { in AutoValidate()
164 const SkStrike* fCache;
DSkStrikeCache.cpp50 SkStrike fCache;
86 SkStrike* SkStrikeCache::ExclusiveStrikePtr::get() const { in get()
90 SkStrike* SkStrikeCache::ExclusiveStrikePtr::operator -> () const { in operator ->()
94 SkStrike& SkStrikeCache::ExclusiveStrikePtr::operator * () const { in operator *()
226 auto visitor = [&counter](const SkStrike& cache) { in Dump()
255 auto visitor = [&dump](const SkStrike& cache) { in DumpMemoryStatistics()
340 SkStrike* targetCache) { in desperationSearchForImage()
500 void SkStrikeCache::forEachStrike(std::function<void(const SkStrike&)> visitor) const { in forEachStrike()
609 [](const SkStrike& cache) { cache.forceValidate(); in validateGlyphCacheDataSize()
DSkTypeface_remote.h30 void initCache(SkStrike*, SkStrikeCache*);
44 SkStrike* fCache = nullptr;
DSkGlyph.h19 class SkStrike; variable
220 friend class SkStrike; variable
DSkTypeface_remote.cpp22 void SkScalerContextProxy::initCache(SkStrike* cache, SkStrikeCache* strikeCache) { in initCache()
DSkFont.cpp316 (SkStrike* cache, const uint16_t glyphs[], int count, SkScalar scale) { in getWidthsBounds()
334 (SkStrike* cache, const uint16_t glyphs[], int count, SkScalar scale) { in getPos()
345 (SkStrike* cache, const uint16_t glyphs[], int count, SkScalar scale) { in getXPos()
DSkRemoteGlyphCache.h30 class SkStrike; variable
DSkRemoteGlyphCache.cpp166 bool read_path(Deserializer* deserializer, SkGlyph* glyph, SkStrike* cache) { in read_path()
/external/skia/src/core/
DSkStrikeSpec.h85 sk_sp<SkStrike> findOrCreateStrike(
119 sk_sp<SkStrike> fStrike;
125 explicit SkBulkGlyphMetricsAndPaths(sk_sp<SkStrike>&& strike);
134 sk_sp<SkStrike> fStrike;
140 explicit SkBulkGlyphMetricsAndImages(sk_sp<SkStrike>&& strike);
148 sk_sp<SkStrike> fStrike;
DSkStrikeSpec.cpp217 sk_sp<SkStrike> SkStrikeSpec::findOrCreateStrike(SkStrikeCache* cache) const { in findOrCreateStrike()
237 SkBulkGlyphMetricsAndPaths::SkBulkGlyphMetricsAndPaths(sk_sp<SkStrike>&& strike) in SkBulkGlyphMetricsAndPaths()
260 SkBulkGlyphMetricsAndImages::SkBulkGlyphMetricsAndImages(sk_sp<SkStrike>&& strike) in SkBulkGlyphMetricsAndImages()
DSkStrikeCache.cpp122 sk_sp<SkStrike> SkStrikeCache::findStrike(const SkDescriptor& desc) { in findStrike()
124 sk_sp<SkStrike> result = this->internalFindStrikeOrNull(desc); in findStrike()
155 sk_sp<SkStrike> SkStrikeCache::createStrike( in createStrike()
DSkStrikeCache.h222 using SkStrike = SkStrikeCache::Strike; variable
/external/skqp/src/gpu/text/
DGrStrikeCache.h46 SkStrike* cache) { in getGlyph()
65 SkStrike*, GrMaskFormat expectedMaskFormat,
91 static const SkGlyph& GrToSkGlyph(SkStrike* cache, SkPackedGlyphID id) { in GrToSkGlyph()
115 sk_sp<GrTextStrike> getStrike(const SkStrike* cache) { in getStrike()
130 sk_sp<GrTextStrike> generateStrike(const SkStrike* cache) { in generateStrike()
DGrStrikeCache.cpp83 static bool get_packed_glyph_image(SkStrike* cache, const SkGlyph& glyph, int width, in get_packed_glyph_image()
199 SkStrike* cache, in addGlyphToAtlas()
/external/skqp/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.h12 class SkStrike; variable
18 std::unique_ptr<SkPDFArray> SkPDFMakeCIDGlyphWidthsArray(SkStrike* cache,
DSkPDFFont.h87 SkStrike* cache,
DSkPDFFont.cpp183 static bool has_outline_glyph(SkGlyphID gid, SkStrike* cache) { in has_outline_glyph()
189 SkStrike* cache, in GetFontResource()
564 static ImageAndOffset to_image(SkGlyphID gid, SkStrike* cache) { in to_image()
607 SkStrike* cache) { in type3_descriptor()
DSkPDFMakeCIDGlyphWidthsArray.cpp146 std::unique_ptr<SkPDFArray> SkPDFMakeCIDGlyphWidthsArray(SkStrike* cache, in SkPDFMakeCIDGlyphWidthsArray()
DSkPDFDevice.cpp991 static SkRect get_glyph_bounds_device_space(SkGlyphID gid, SkStrike* cache, in get_glyph_bounds_device_space()
1050 static bool needs_new_font(SkPDFFont* font, SkGlyphID gid, SkStrike* cache, in needs_new_font()
/external/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()
/external/skqp/gn/
Dcore.gni135 "$_src/core/SkStrike.cpp",
136 "$_src/core/SkStrike.h",
/external/skqp/
DAndroid.bp760 "src/core/SkStrike.cpp",