/external/skia/src/core/ |
D | SkGlyphCache.h | 34 class SkGlyphCache { 132 static SkGlyphCache* VisitCache(SkTypeface*, const SkDescriptor* desc, 133 bool (*proc)(const SkGlyphCache*, void*), 139 static void AttachCache(SkGlyphCache*); 140 using AttachCacheFunctor = SkFunctionWrapper<void, SkGlyphCache, AttachCache>; 149 static SkGlyphCache* DetachCache(SkTypeface* typeface, const SkDescriptor* desc) { in DetachCache() 160 typedef void (*Visitor)(const SkGlyphCache&, void* context); 171 AutoValidate(const SkGlyphCache* cache) : fCache(cache) { in AutoValidate() 185 const SkGlyphCache* fCache; 217 SkGlyphCache(SkTypeface*, const SkDescriptor*, SkScalerContext*); [all …]
|
D | SkGlyphCache.cpp | 38 SkGlyphCache::SkGlyphCache(SkTypeface* typeface, const SkDescriptor* desc, SkScalerContext* ctx) in SkGlyphCache() function in SkGlyphCache 55 SkGlyphCache::~SkGlyphCache() { in ~SkGlyphCache() 65 SkGlyphCache::CharGlyphRec* SkGlyphCache::getCharGlyphRec(PackedUnicharID packedUnicharID) { in getCharGlyphRec() 88 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph() 100 SkUnichar SkGlyphCache::glyphToUnichar(uint16_t glyphID) { in glyphToUnichar() 104 unsigned SkGlyphCache::getGlyphCount() const { in getGlyphCount() 108 int SkGlyphCache::countCachedGlyphs() const { in countCachedGlyphs() 114 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() 119 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance() 127 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics() [all …]
|
D | SkGlyphCache_Globals.h | 37 SkGlyphCache* cache = fHead; in ~SkGlyphCache_Globals() 39 SkGlyphCache* next = cache->fNext; in ~SkGlyphCache_Globals() 47 SkGlyphCache* internalGetHead() const { return fHead; } in internalGetHead() 48 SkGlyphCache* internalGetTail() const; 75 void attachCacheToHead(SkGlyphCache*); 78 void internalDetachCache(SkGlyphCache*); 79 void internalAttachCacheToHead(SkGlyphCache*); 82 SkGlyphCache* fHead;
|
D | SkFindAndPlaceGlyph.h | 50 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph); 72 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph); 135 UtfNGlyphFinder(SkGlyphCache* cache) : fCache(cache) { SkASSERT(cache != nullptr); } 148 SkGlyphCache* fCache; 153 Utf8GlyphFinder(SkGlyphCache* cache) : UtfNGlyphFinder(cache) { } 161 Utf16GlyphFinder(SkGlyphCache* cache) : UtfNGlyphFinder(cache) { } 171 Utf32GlyphFinder(SkGlyphCache* cache) : UtfNGlyphFinder(cache) { } 184 GlyphIdGlyphFinder(SkGlyphCache* cache) : fCache(cache) { SkASSERT(cache != nullptr); } 203 SkGlyphCache* fCache; 215 LookupGlyph(SkPaint::TextEncoding encoding, SkGlyphCache* cache) [all …]
|
D | SkPaint.cpp | 457 *((SkGlyphCache**)context) = SkGlyphCache::DetachCache(typeface, desc); in DetachDescProc() 494 SkGlyphCache* cache = autoCache.getCache(); in textToGlyphs() 548 SkGlyphCache* cache = autoCache.getCache(); in containsText() 598 SkGlyphCache* cache = autoCache.getCache(); in glyphsToUnichars() 607 static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache, in sk_getMetrics_utf8_next() 615 static const SkGlyph& sk_getMetrics_utf16_next(SkGlyphCache* cache, in sk_getMetrics_utf16_next() 623 static const SkGlyph& sk_getMetrics_utf32_next(SkGlyphCache* cache, in sk_getMetrics_utf32_next() 634 static const SkGlyph& sk_getMetrics_glyph_next(SkGlyphCache* cache, in sk_getMetrics_glyph_next() 646 static const SkGlyph& sk_getAdvance_utf8_next(SkGlyphCache* cache, in sk_getAdvance_utf8_next() 654 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 | 17 class SkGlyphCache; variable 147 friend class SkGlyphCache;
|
D | SkGraphics.cpp | 66 SkGlyphCache::DumpMemoryStatistics(dump); in DumpMemoryStatistics()
|
/external/skia/src/gpu/text/ |
D | GrTextUtils.cpp | 60 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::FakeGamma::On, in DrawBmpText() 77 SkGlyphCache::AttachCache(cache); in DrawBmpText() 102 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::FakeGamma::On, in DrawBmpPosText() 119 SkGlyphCache::AttachCache(cache); in DrawBmpPosText() 264 SkGlyphCache* origPaintCache = SkGlyphCache::DetachCache(skPaint.getTypeface(), in DrawDFText() 297 SkGlyphCache::AttachCache(origPaintCache); in DrawDFText() 344 SkGlyphCache* cache = blob->setupCache(runIndex, props, SkPaint::FakeGamma::Off, in DrawDFPosText() 414 SkGlyphCache::AttachCache(cache); in DrawDFPosText() 512 SkGlyphCache* cache = autoCache.getCache(); in DrawPosTextAsPath() 571 GrFontScaler* GrTextUtils::GetGrFontScaler(SkGlyphCache* cache) { in GetGrFontScaler()
|
D | GrFontScaler.h | 48 explicit GrFontScaler(SkGlyphCache* strike); 63 SkGlyphCache* fStrike;
|
D | GrAtlasTextBlob_regenInBatch.cpp | 145 Run::SubRunInfo* info, SkGlyphCache** cache, in regenInBatch() 165 SkGlyphCache::AttachCache(*cache); in regenInBatch() 168 *cache = SkGlyphCache::DetachCache(run->fTypeface, *desc); in regenInBatch() 257 int runIndex, int subRunIndex, SkGlyphCache** cache, in regenInBatch()
|
D | GrTextUtils.h | 27 class SkGlyphCache; variable 87 static GrFontScaler* GetGrFontScaler(SkGlyphCache* cache);
|
D | GrStencilAndCoverTextContext.h | 93 SkGlyphCache* getGlyphCache() const; 107 mutable SkGlyphCache* fDetachedGlyphCache;
|
D | GrStencilAndCoverTextContext.cpp | 420 SkGlyphCache* glyphCache = this->getGlyphCache(); in TextRun() 442 SkGlyphCache* glyphCache = this->getGlyphCache(); in setText() 507 SkGlyphCache* glyphCache = this->getGlyphCache(); in setPosText() 542 SkGlyphCache* cache = this->getGlyphCache(); in createGlyphs() 630 SkGlyphCache* GrStencilAndCoverTextContext::TextRun::getGlyphCache() const { in getGlyphCache() 640 SkGlyphCache::AttachCache(fDetachedGlyphCache); in releaseGlyphCache()
|
D | GrAtlasTextBlob.h | 149 SkGlyphCache* setupCache(int runIndex, 259 GrBlobRegenHelper *helper, int run, int subRun, SkGlyphCache** cache, 491 Run* run, Run::SubRunInfo* info, SkGlyphCache** cache,
|
D | GrFontScaler.cpp | 16 GrFontScaler::GrFontScaler(SkGlyphCache* strike) { in GrFontScaler()
|
D | GrAtlasTextBlob.cpp | 52 SkGlyphCache* GrAtlasTextBlob::setupCache(int runIndex, in setupCache() 64 return SkGlyphCache::DetachCache(run->fTypeface, desc->getDesc()); in setupCache()
|
/external/skia/include/core/ |
D | SkPaint.h | 27 class SkGlyphCache; variable 1028 typedef const SkGlyph& (*GlyphCacheProc)(SkGlyphCache*, const char**); 1068 SkScalar measure_text(SkGlyphCache*, const char* text, size_t length, 1082 SkGlyphCache* detachCache(const SkSurfaceProps* surfaceProps, FakeGamma fakeGamma,
|
D | SkTypeface.h | 407 friend class SkGlyphCache; // GetDefaultTypeface variable
|
/external/skia/gyp/ |
D | xps.gyp | 22 '../src/core', # needed to get SkGlyphCache.h
|
D | pdf.gyp | 30 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
|
D | core.gypi | 136 '<(skia_src_path)/core/SkGlyphCache.cpp', 137 '<(skia_src_path)/core/SkGlyphCache.h',
|
/external/skia/src/gpu/batches/ |
D | GrAtlasTextBatch.cpp | 140 SkGlyphCache* cache = nullptr; in onPrepareDraws() 177 SkGlyphCache::AttachCache(cache); in onPrepareDraws()
|
/external/skia/bench/ |
D | SkGlyphCacheBench.cpp | 24 SkGlyphCache* cache = autoCache.getCache(); in do_font_stuff()
|
/external/skia/samplecode/ |
D | SamplePictFile.cpp | 133 SkGlyphCache::Dump(); in onDrawContent()
|