Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkGlyphCache.h40 class SkGlyphCache {
129 static SkGlyphCache* VisitCache(SkTypeface*, const SkDescriptor* desc,
130 bool (*proc)(const SkGlyphCache*, void*),
137 static void AttachCache(SkGlyphCache*);
148 static SkGlyphCache* DetachCache(SkTypeface* typeface, in DetachCache()
163 AutoValidate(const SkGlyphCache* cache) : fCache(cache) { in AutoValidate()
177 const SkGlyphCache* fCache;
182 SkGlyphCache(SkTypeface*, const SkDescriptor*, SkScalerContext*);
183 ~SkGlyphCache();
200 static bool DetachProc(const SkGlyphCache*, void*) { return true; } in DetachProc() argument
[all …]
DSkGlyphCache.cpp59 SkGlyphCache::SkGlyphCache(SkTypeface* typeface, const SkDescriptor* desc, SkScalerContext* ctx) in SkGlyphCache() function in SkGlyphCache
88 SkGlyphCache::~SkGlyphCache() { in ~SkGlyphCache()
127 SkGlyphCache::CharGlyphRec* SkGlyphCache::getCharGlyphRec(uint32_t id) { in getCharGlyphRec()
142 void SkGlyphCache::adjustCaches(int insertion_index) { in adjustCaches()
165 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph()
177 SkUnichar SkGlyphCache::glyphToUnichar(uint16_t glyphID) { in glyphToUnichar()
181 unsigned SkGlyphCache::getGlyphCount() { in getGlyphCount()
187 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance()
192 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance()
200 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics()
[all …]
DSkGlyphCache_Globals.h44 SkGlyphCache* cache = fHead; in ~SkGlyphCache_Globals()
46 SkGlyphCache* next = cache->fNext; in ~SkGlyphCache_Globals()
56 SkGlyphCache* internalGetHead() const { return fHead; } in internalGetHead()
57 SkGlyphCache* internalGetTail() const;
84 void attachCacheToHead(SkGlyphCache*);
87 void internalDetachCache(SkGlyphCache*);
88 void internalAttachCacheToHead(SkGlyphCache*);
102 SkGlyphCache* fHead;
DSkTextToPathIter.h14 class SkGlyphCache; variable
36 SkGlyphCache* fCache;
DSkPaint.cpp395 *((SkGlyphCache**)context) = SkGlyphCache::DetachCache(typeface, desc); in DetachDescProc()
432 SkGlyphCache* cache = autoCache.getCache(); in textToGlyphs()
486 SkGlyphCache* cache = autoCache.getCache(); in containsText()
536 SkGlyphCache* cache = autoCache.getCache(); in glyphsToUnichars()
545 static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache, in sk_getMetrics_utf8_next()
553 static const SkGlyph& sk_getMetrics_utf16_next(SkGlyphCache* cache, in sk_getMetrics_utf16_next()
561 static const SkGlyph& sk_getMetrics_utf32_next(SkGlyphCache* cache, in sk_getMetrics_utf32_next()
572 static const SkGlyph& sk_getMetrics_glyph_next(SkGlyphCache* cache, in sk_getMetrics_glyph_next()
584 static const SkGlyph& sk_getAdvance_utf8_next(SkGlyphCache* cache, in sk_getAdvance_utf8_next()
592 static const SkGlyph& sk_getAdvance_utf16_next(SkGlyphCache* cache, in sk_getAdvance_utf16_next()
[all …]
DSkDrawProcs.h23 SkGlyphCache* fCache;
40 Proc init(const SkDraw* draw, SkBlitter* blitter, SkGlyphCache* cache,
DSkGlyph.h16 class SkGlyphCache; variable
119 friend class SkGlyphCache;
DSkDraw.cpp1371 static void measure_text(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc, in measure_text()
1534 SkDraw1Glyph::Proc SkDraw1Glyph::init(const SkDraw* draw, SkBlitter* blitter, SkGlyphCache* cache, in init()
1604 SkGlyphCache* cache = autoCache.getCache(); in drawText()
1697 SkGlyphCache* cache = autoCache.getCache(); in drawPosText_asPaths()
1750 SkGlyphCache* cache = autoCache.getCache(); in drawPosText()
/external/skia/src/gpu/
DGrAtlasTextContext.h260 const SkMatrix& viewMatrix, SkGlyphCache** cache,
305 void internalDrawBMPText(BitmapTextBlob*, int runIndex, SkGlyphCache*, const SkPaint&,
309 void internalDrawBMPPosText(BitmapTextBlob*, int runIndex, SkGlyphCache*, const SkPaint&,
315 void internalDrawDFText(BitmapTextBlob*, int runIndex, SkGlyphCache*, const SkPaint&,
323 void internalDrawDFPosText(BitmapTextBlob*, int runIndex, SkGlyphCache*, const SkPaint&,
334 inline SkGlyphCache* setupCache(Run*, const SkPaint&, const SkMatrix* viewMatrix, bool noGamma);
DGrAtlasTextContext.cpp339 inline SkGlyphCache* GrAtlasTextContext::setupCache(BitmapTextBlob::Run* run, in setupCache()
345 return SkGlyphCache::DetachCache(run->fTypeface, run->fDescriptor.getDesc()); in setupCache()
522 SkGlyphCache* cache = this->setupCache(&cacheBlob->fRuns[run], dfPaint, NULL, true); in regenerateTextBlob()
560 SkGlyphCache::AttachCache(cache); in regenerateTextBlob()
565 SkGlyphCache* cache = this->setupCache(&cacheBlob->fRuns[run], runPaint, &viewMatrix, in regenerateTextBlob()
584 SkGlyphCache::AttachCache(cache); in regenerateTextBlob()
667 SkGlyphCache* cache = SkGlyphCache::DetachCache(run.fTypeface, in fallbackDrawPosText()
672 SkGlyphCache::AttachCache(cache); in fallbackDrawPosText()
677 const SkMatrix& viewMatrix, SkGlyphCache** cache, in setupDFBlob()
707 SkGlyphCache* cache; in createDrawTextBlob()
[all …]
DGrFontScaler.h65 explicit GrFontScaler(SkGlyphCache* strike);
80 SkGlyphCache* fStrike;
DGrTextContext.h88 static GrFontScaler* GetGrFontScaler(SkGlyphCache* cache);
90 static int MeasureText(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc,
DGrTextContext.cpp188 SkGlyphCache* cache = autoCache.getCache(); in drawPosTextAsPath()
218 int GrTextContext::MeasureText(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc, in MeasureText()
247 GrFontScaler* GrTextContext::GetGrFontScaler(SkGlyphCache* cache) { in GetGrFontScaler()
DGrStencilAndCoverTextContext.h59 SkGlyphCache* fGlyphCache;
DGrFontScaler.cpp53 GrFontScaler::GrFontScaler(SkGlyphCache* strike) { in GrFontScaler()
DGrStencilAndCoverTextContext.cpp477 SkGlyphCache::AttachCache(fGlyphCache); in finish()
/external/skia/include/core/
DSkPaint.h28 class SkGlyphCache; variable
38 typedef const SkGlyph& (*SkDrawCacheProc)(SkGlyphCache*, const char**,
41 typedef const SkGlyph& (*SkMeasureCacheProc)(SkGlyphCache*, const char**);
1062 SkScalar measure_text(SkGlyphCache*, const char* text, size_t length,
1072 SkGlyphCache* detachCache(const SkDeviceProperties* deviceProperties, const SkMatrix*,
DSkTypeface.h399 friend class SkGlyphCache; // GetDefaultTypeface variable
/external/skia/gyp/
Dxps.gyp21 '../src/core', # needed to get SkGlyphCache.h
Dpdf.gyp21 '../src/core', # needed to get SkGlyphCache.h and SkTextFormatParams.h
Dcore.gypi109 '<(skia_src_path)/core/SkGlyphCache.cpp',
110 '<(skia_src_path)/core/SkGlyphCache.h',
/external/skia/include/gpu/
DSkGr.h102 class SkGlyphCache; variable
/external/skia/samplecode/
DSamplePictFile.cpp106 SkGlyphCache::Dump(); in onDrawContent()
/external/skia/src/pdf/
DSkPDFFont.cpp1342 SkGlyphCache* cache = autoCache.getCache(); in populate()
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj97 …02D213B1225D0064D447 /* SkGlyphCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 260E024F13…
744 …5D0064D447 /* SkGlyphCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
745 …1225D0064D447 /* SkGlyphCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
1792 260E024F13B1225D0064D447 /* SkGlyphCache.cpp */,
1793 260E025013B1225D0064D447 /* SkGlyphCache.h */,
2994 260E02D213B1225D0064D447 /* SkGlyphCache.cpp in Sources */,

12