Searched refs:SkGlyphCache (Results 1 – 14 of 14) sorted by relevance
/external/skia/src/core/ |
D | SkGlyphCache.h | 42 class SkGlyphCache { 111 static void VisitAllCaches(bool (*proc)(SkGlyphCache*, void*), void* ctx); 117 static SkGlyphCache* VisitCache(const SkDescriptor* desc, 118 bool (*proc)(const SkGlyphCache*, void*), 125 static void AttachCache(SkGlyphCache*); 136 static SkGlyphCache* DetachCache(const SkDescriptor* desc) { in DetachCache() 153 SkGlyphCache(const SkDescriptor*); 154 ~SkGlyphCache(); 162 static bool DetachProc(const SkGlyphCache*, void*) { return true; } in DetachProc() argument 164 void detach(SkGlyphCache** head) { in detach() [all …]
|
D | SkGlyphCache.cpp | 59 SkGlyphCache::SkGlyphCache(const SkDescriptor* desc) in SkGlyphCache() function in SkGlyphCache 81 SkGlyphCache::~SkGlyphCache() { in ~SkGlyphCache() 119 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph() 133 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance() 148 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance() 163 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics() 185 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode, in getUnicharMetrics() 208 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID) { in getGlyphIDMetrics() 228 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID, in getGlyphIDMetrics() 249 SkGlyph* SkGlyphCache::lookupMetrics(uint32_t id, MetricsType mtype) { in lookupMetrics() [all …]
|
D | SkPaint.cpp | 342 SkGlyphCache* cache = autoCache.getCache(); in textToGlyphs() 370 static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache, const char** text) in sk_getMetrics_utf8_next() 378 static const SkGlyph& sk_getMetrics_utf8_prev(SkGlyphCache* cache, const char** text) in sk_getMetrics_utf8_prev() 386 static const SkGlyph& sk_getMetrics_utf16_next(SkGlyphCache* cache, const char** text) in sk_getMetrics_utf16_next() 394 static const SkGlyph& sk_getMetrics_utf16_prev(SkGlyphCache* cache, const char** text) in sk_getMetrics_utf16_prev() 402 static const SkGlyph& sk_getMetrics_glyph_next(SkGlyphCache* cache, const char** text) in sk_getMetrics_glyph_next() 414 static const SkGlyph& sk_getMetrics_glyph_prev(SkGlyphCache* cache, const char** text) in sk_getMetrics_glyph_prev() 428 static const SkGlyph& sk_getAdvance_utf8_next(SkGlyphCache* cache, const char** text) in sk_getAdvance_utf8_next() 436 static const SkGlyph& sk_getAdvance_utf8_prev(SkGlyphCache* cache, const char** text) in sk_getAdvance_utf8_prev() 444 static const SkGlyph& sk_getAdvance_utf16_next(SkGlyphCache* cache, const char** text) in sk_getAdvance_utf16_next() [all …]
|
D | SkDrawProcs.h | 13 SkGlyphCache* fCache; 18 Proc init(const SkDraw* draw, SkBlitter* blitter, SkGlyphCache* cache);
|
D | SkGraphics.cpp | 499 return SkGlyphCache::GetCacheUsed(); in GetFontCacheUsed() 503 return SkGlyphCache::SetCacheUsed(usageInBytes); in SetFontCacheUsed()
|
D | SkDraw.cpp | 1123 static void measure_text(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc, in measure_text() 1327 SkGlyphCache* cache) { in init() 1410 SkGlyphCache* cache = autoCache.getCache(); in drawText() 1593 SkGlyphCache* cache = autoCache.getCache(); in drawPosText()
|
/external/skia/src/gl/ |
D | SkGLCanvas.cpp | 142 static bool deleteCachesProc(SkGlyphCache* cache, void* texturesAreValid) { in deleteCachesProc() 166 SkGlyphCache::VisitAllCaches(deleteCachesProc, reinterpret_cast<void*>(true)); in DeleteAllTextures() 178 SkGlyphCache::VisitAllCaches(deleteCachesProc, reinterpret_cast<void*>(false)); in AbandonAllTextures()
|
D | SkGLDevice.cpp | 568 SkGlyphCache* gcache = state.fCache; in SkGL_Draw1Glyph()
|
/external/skia/include/core/ |
D | SkPaint.h | 31 class SkGlyphCache; variable 42 typedef const SkGlyph& (*SkDrawCacheProc)(SkGlyphCache*, const char**, 45 typedef const SkGlyph& (*SkMeasureCacheProc)(SkGlyphCache*, const char**); 754 SkScalar measure_text(SkGlyphCache*, const char* text, size_t length, 757 SkGlyphCache* detachCache(const SkMatrix*) const;
|
D | SkDraw.h | 95 class SkGlyphCache; variable 109 SkGlyphCache* fCache;
|
/external/skia/xcode/graphics.xcodeproj/ |
D | project.pbxproj | 119 …E0440EDCA64500F77EA2 /* SkGlyphCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 00B7DFE90E… 120 …7E0450EDCA64500F77EA2 /* SkGlyphCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 00B7DFEA0ED… 270 …SkGlyphCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cp… 271 …SkGlyphCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h;… 415 00B7DFE90EDCA64500F77EA2 /* SkGlyphCache.cpp */, 416 00B7DFEA0EDCA64500F77EA2 /* SkGlyphCache.h */, 564 00B7E0450EDCA64500F77EA2 /* SkGlyphCache.h in Headers */, 695 00B7E0440EDCA64500F77EA2 /* SkGlyphCache.cpp in Sources */,
|
/external/skia/src/views/ |
D | SkTextBox.cpp | 33 SkGlyphCache* cache = ac.getCache(); in linebreak()
|
/external/skia/xcode/skia2.xcodeproj/ |
D | project.pbxproj | 173 …43FB0EE9CDFA0008420F /* SkGlyphCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 00BE43220E… 174 …E43FC0EE9CDFA0008420F /* SkGlyphCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 00BE43230EE… 487 …SkGlyphCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cp… 488 …SkGlyphCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h;… 786 00BE43220EE9CDFA0008420F /* SkGlyphCache.cpp */, 787 00BE43230EE9CDFA0008420F /* SkGlyphCache.h */, 952 00BE43FC0EE9CDFA0008420F /* SkGlyphCache.h in Headers */, 1198 00BE43FB0EE9CDFA0008420F /* SkGlyphCache.cpp in Sources */,
|
/external/skia/ |
D | Android.mk | 136 src/core/SkGlyphCache.cpp \
|