Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyphCache.h42 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 …]
DSkGlyphCache.cpp59 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 …]
DSkPaint.cpp342 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 …]
DSkDrawProcs.h13 SkGlyphCache* fCache;
18 Proc init(const SkDraw* draw, SkBlitter* blitter, SkGlyphCache* cache);
DSkGraphics.cpp499 return SkGlyphCache::GetCacheUsed(); in GetFontCacheUsed()
503 return SkGlyphCache::SetCacheUsed(usageInBytes); in SetFontCacheUsed()
DSkDraw.cpp1123 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/
DSkGLCanvas.cpp142 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()
DSkGLDevice.cpp568 SkGlyphCache* gcache = state.fCache; in SkGL_Draw1Glyph()
/external/skia/include/core/
DSkPaint.h31 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;
DSkDraw.h95 class SkGlyphCache; variable
109 SkGlyphCache* fCache;
/external/skia/xcode/graphics.xcodeproj/
Dproject.pbxproj119 …E0440EDCA64500F77EA2 /* SkGlyphCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 00B7DFE90E…
120 …7E0450EDCA64500F77EA2 /* SkGlyphCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 00B7DFEA0ED…
270SkGlyphCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cp…
271SkGlyphCache.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/
DSkTextBox.cpp33 SkGlyphCache* cache = ac.getCache(); in linebreak()
/external/skia/xcode/skia2.xcodeproj/
Dproject.pbxproj173 …43FB0EE9CDFA0008420F /* SkGlyphCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 00BE43220E…
174 …E43FC0EE9CDFA0008420F /* SkGlyphCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 00BE43230EE…
487SkGlyphCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cp…
488SkGlyphCache.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/
DAndroid.mk136 src/core/SkGlyphCache.cpp \