/external/skia/src/core/ |
D | SkGlyphCache.h | 35 class SkGlyphCache { 119 static SkGlyphCache* VisitCache(SkTypeface*, const SkScalerContextEffects&, const SkDescriptor*, 120 bool (*proc)(const SkGlyphCache*, void*), 126 static void AttachCache(SkGlyphCache*); 127 using AttachCacheFunctor = SkFunctionWrapper<void, SkGlyphCache, AttachCache>; 136 static SkGlyphCache* DetachCache(SkTypeface* typeface, const SkScalerContextEffects& effects, in DetachCache() 148 typedef void (*Visitor)(const SkGlyphCache&, void* context); 159 AutoValidate(const SkGlyphCache* cache) : fCache(cache) { in AutoValidate() 173 const SkGlyphCache* fCache; 195 SkGlyphCache(const SkDescriptor*, std::unique_ptr<SkScalerContext>); [all …]
|
D | SkGlyphCache.cpp | 36 SkGlyphCache::SkGlyphCache(const SkDescriptor* desc, std::unique_ptr<SkScalerContext> ctx) in SkGlyphCache() function in SkGlyphCache 49 SkGlyphCache::~SkGlyphCache() { in ~SkGlyphCache() 57 SkGlyphCache::CharGlyphRec* SkGlyphCache::getCharGlyphRec(SkPackedUnicharID packedUnicharID) { in getCharGlyphRec() 73 SkGlyphID SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph() 90 SkUnichar SkGlyphCache::glyphToUnichar(SkGlyphID glyphID) { in glyphToUnichar() 94 unsigned SkGlyphCache::getGlyphCount() const { in getGlyphCount() 98 int SkGlyphCache::countCachedGlyphs() const { in countCachedGlyphs() 104 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() 109 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance() 117 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics() [all …]
|
D | SkGlyphCache_Globals.h | 42 SkGlyphCache* cache = fHead; in ~SkGlyphCache_Globals() 44 SkGlyphCache* next = cache->fNext; in ~SkGlyphCache_Globals() 52 SkGlyphCache* internalGetHead() const { return fHead; } in internalGetHead() 53 SkGlyphCache* internalGetTail() const; 76 void attachCacheToHead(SkGlyphCache*); 79 void internalDetachCache(SkGlyphCache*); 80 void internalAttachCacheToHead(SkGlyphCache*); 83 SkGlyphCache* fHead;
|
D | SkFindAndPlaceGlyph.h | 26 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph); 48 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph); 64 explicit UtfNGlyphFinder(SkGlyphCache* cache) in UtfNGlyphFinder() 80 SkGlyphCache* fCache; 85 explicit Utf8GlyphFinder(SkGlyphCache* cache) : UtfNGlyphFinder(cache) { } in Utf8GlyphFinder() 93 explicit Utf16GlyphFinder(SkGlyphCache* cache) : UtfNGlyphFinder(cache) { } in Utf16GlyphFinder() 103 explicit Utf32GlyphFinder(SkGlyphCache* cache) : UtfNGlyphFinder(cache) { } in Utf32GlyphFinder() 116 explicit GlyphIdGlyphFinder(SkGlyphCache* cache) in GlyphIdGlyphFinder() 138 SkGlyphCache* fCache; 142 SkArenaAlloc* arena, SkPaint::TextEncoding encoding, SkGlyphCache* cache) { in getGlyphFinder() [all …]
|
D | SkPaint.cpp | 410 *((SkGlyphCache**)context) = SkGlyphCache::DetachCache(typeface, effects, desc); in DetachDescProc() 446 SkGlyphCache* cache = autoCache.getCache(); in textToGlyphs() 504 SkGlyphCache* cache = autoCache.getCache(); in containsText() 554 SkGlyphCache* cache = autoCache.getCache(); in glyphsToUnichars() 563 static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache, in sk_getMetrics_utf8_next() 571 static const SkGlyph& sk_getMetrics_utf16_next(SkGlyphCache* cache, in sk_getMetrics_utf16_next() 579 static const SkGlyph& sk_getMetrics_utf32_next(SkGlyphCache* cache, in sk_getMetrics_utf32_next() 590 static const SkGlyph& sk_getMetrics_glyph_next(SkGlyphCache* cache, in sk_getMetrics_glyph_next() 602 static const SkGlyph& sk_getAdvance_utf8_next(SkGlyphCache* cache, in sk_getAdvance_utf8_next() 610 static const SkGlyph& sk_getAdvance_utf16_next(SkGlyphCache* cache, in sk_getAdvance_utf16_next() [all …]
|
D | SkTextToPathIter.h | 14 class SkGlyphCache; variable 22 SkGlyphCache* fCache;
|
D | SkGlyph.h | 19 class SkGlyphCache; variable 257 friend class SkGlyphCache;
|
D | SkGraphics.cpp | 56 SkGlyphCache::DumpMemoryStatistics(dump); in DumpMemoryStatistics()
|
/external/skia/src/gpu/text/ |
D | GrAtlasGlyphCache.h | 35 SkGlyphCache* cache) { in getGlyph() 49 SkGlyphCache* cache) { in getGlyph() 67 bool addGlyphToAtlas(GrDrawOp::Target*, GrGlyph*, SkGlyphCache*, 94 static const SkGlyph& GrToSkGlyph(SkGlyphCache* cache, GrGlyph::PackedID id) { in GrToSkGlyph() 100 GrGlyph* generateGlyph(const SkGlyph&, GrGlyph::PackedID, SkGlyphCache*); 119 inline GrAtlasTextStrike* getStrike(const SkGlyphCache* cache) { in getStrike() 220 GrAtlasTextStrike* generateStrike(const SkGlyphCache* cache) { in generateStrike()
|
D | GrTextUtils.cpp | 111 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix); in DrawBmpText() 125 SkGlyphCache::AttachCache(cache); in DrawBmpText() 146 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix); in DrawBmpPosText() 161 SkGlyphCache::AttachCache(cache); in DrawBmpPosText() 167 int vx, int vy, GrColor color, SkGlyphCache* cache) { in BmpAppendGlyph() 316 SkGlyphCache* origPaintCache = SkGlyphCache::DetachCache(skPaint.getTypeface(), effects, in DrawDFText() 349 SkGlyphCache::AttachCache(origPaintCache); in DrawDFText() 397 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::kNone_ScalerContextFlags, in DrawDFPosText() 457 SkGlyphCache::AttachCache(cache); in DrawDFPosText() 469 SkGlyphCache* glyphCache, in DfAppendGlyph() [all …]
|
D | GrAtlasGlyphCache.cpp | 230 static inline bool get_packed_glyph_bounds(SkGlyphCache* cache, const SkGlyph& glyph, in get_packed_glyph_bounds() 242 static inline bool get_packed_glyph_df_bounds(SkGlyphCache* cache, const SkGlyph& glyph, in get_packed_glyph_df_bounds() 279 static bool get_packed_glyph_image(SkGlyphCache* cache, const SkGlyph& glyph, int width, in get_packed_glyph_image() 335 static bool get_packed_glyph_df_image(SkGlyphCache* cache, const SkGlyph& glyph, in get_packed_glyph_df_image() 419 SkGlyphCache* cache) { in generateGlyph() 452 SkGlyphCache* cache, in addGlyphToAtlas()
|
D | GrTextUtils.h | 33 class SkGlyphCache; variable 164 GrColor color, SkGlyphCache*); 169 SkGlyphCache* cache,
|
D | GrStencilAndCoverTextContext.h | 91 SkGlyphCache* getGlyphCache() const; 105 mutable SkGlyphCache* fDetachedGlyphCache;
|
D | GrStencilAndCoverTextContext.cpp | 413 SkGlyphCache* glyphCache = this->getGlyphCache(); in TextRun() 437 SkGlyphCache* glyphCache = this->getGlyphCache(); in setText() 499 SkGlyphCache* glyphCache = this->getGlyphCache(); in setPosText() 541 SkGlyphCache* cache = this->getGlyphCache(); in createGlyphs() 632 SkGlyphCache* GrStencilAndCoverTextContext::TextRun::getGlyphCache() const { in getGlyphCache() 643 SkGlyphCache::AttachCache(fDetachedGlyphCache); in releaseGlyphCache()
|
D | GrAtlasTextBlob.cpp | 51 SkGlyphCache* GrAtlasTextBlob::setupCache(int runIndex, in setupCache() 67 return SkGlyphCache::DetachCache(run->fTypeface.get(), effects, desc->getDesc()); in setupCache() 75 SkGlyphCache* cache, const SkGlyph& skGlyph, in appendGlyph() 161 void GrAtlasTextBlob::appendLargeGlyph(GrGlyph* glyph, SkGlyphCache* cache, const SkGlyph& skGlyph, in appendLargeGlyph()
|
D | GrAtlasTextBlob.h | 155 SkGlyphCache* setupCache(int runIndex, 168 SkGlyphCache*, const SkGlyph& skGlyph, 285 void appendLargeGlyph(GrGlyph* glyph, SkGlyphCache* cache, const SkGlyph& skGlyph,
|
D | GrAtlasTextBlob_regenInOp.cpp | 160 lazyCache->reset(SkGlyphCache::DetachCache(run->fTypeface.get(), effects, desc)); in regenInOp()
|
/external/skia/src/pdf/ |
D | SkPDFMakeCIDGlyphWidthsArray.h | 13 class SkGlyphCache; variable 18 sk_sp<SkPDFArray> SkPDFMakeCIDGlyphWidthsArray(SkGlyphCache* cache,
|
D | SkPDFMakeCIDGlyphWidthsArray.cpp | 142 sk_sp<SkPDFArray> SkPDFMakeCIDGlyphWidthsArray(SkGlyphCache* cache, in SkPDFMakeCIDGlyphWidthsArray()
|
/external/skia/include/core/ |
D | SkPaint.h | 27 class SkGlyphCache; variable 1022 typedef const SkGlyph& (*GlyphCacheProc)(SkGlyphCache*, const char**); 1060 SkScalar measure_text(SkGlyphCache*, const char* text, size_t length, 1081 SkGlyphCache* detachCache(const SkSurfaceProps* surfaceProps, uint32_t scalerContextFlags,
|
D | SkTypeface.h | 401 friend class SkGlyphCache; // GetDefaultTypeface variable
|
/external/skia/bench/ |
D | SkGlyphCacheBench.cpp | 24 SkGlyphCache* cache = autoCache.getCache(); in do_font_stuff()
|
D | PathTextBench.cpp | 41 SkGlyphCache* cache = agc.getCache(); in onDelayedSetup()
|
/external/skia/samplecode/ |
D | SamplePictFile.cpp | 126 SkGlyphCache::Dump(); in onDrawContent()
|
D | SamplePathText.cpp | 27 SkGlyphCache* cache = agc.getCache(); in PathText()
|