Searched refs:SkGlyphCache (Results 1 - 25 of 27) sorted by relevance

12

/external/skia/src/core/
H A DSkGlyphCache_Globals.h11 #include "SkGlyphCache.h"
37 SkGlyphCache* cache = fHead;
39 SkGlyphCache* next = cache->fNext;
47 SkGlyphCache* internalGetHead() const { return fHead; }
48 SkGlyphCache* internalGetTail() const;
68 void attachCacheToHead(SkGlyphCache*);
71 void internalDetachCache(SkGlyphCache*);
72 void internalAttachCacheToHead(SkGlyphCache*);
75 SkGlyphCache* fHead;
H A DSkGlyphCache.h25 /** \class SkGlyphCache
35 class SkGlyphCache { class
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,
148 typedef void (*Visitor)(const SkGlyphCache&, void* context);
159 AutoValidate(const SkGlyphCache* cache) : fCache(cache) {
173 const SkGlyphCache* fCach
210 DetachProc(const SkGlyphCache*, void*) argument
[all...]
H A DSkGlyphCache.cpp8 #include "SkGlyphCache.h"
36 SkGlyphCache::SkGlyphCache(const SkDescriptor* desc, std::unique_ptr<SkScalerContext> ctx) function in class:SkGlyphCache
49 SkGlyphCache::~SkGlyphCache() {
57 SkGlyphCache::CharGlyphRec* SkGlyphCache::getCharGlyphRec(SkPackedUnicharID packedUnicharID) {
73 SkGlyphID SkGlyphCache::unicharToGlyph(SkUnichar charCode) {
90 SkUnichar SkGlyphCache::glyphToUnichar(SkGlyphID glyphID) {
94 unsigned SkGlyphCache
462 VisitCache(SkTypeface* typeface, const SkScalerContextEffects& effects, const SkDescriptor* desc, bool (*proc)(const SkGlyphCache*, void*), void* context) argument
[all...]
H A DSkTextToPathIter.h14 class SkGlyphCache;
22 SkGlyphCache* fCache;
H A DSkGraphics.cpp15 #include "SkGlyphCache.h"
56 SkGlyphCache::DumpMemoryStatistics(dump);
H A DSkFindAndPlaceGlyph.h13 #include "SkGlyphCache.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* fCach
[all...]
H A DSkPaint.cpp15 #include "SkGlyphCache.h"
397 #include "SkGlyphCache.h"
402 *((SkGlyphCache**)context) = SkGlyphCache::DetachCache(typeface, effects, desc);
438 SkGlyphCache* cache = autoCache.getCache();
496 SkGlyphCache* cache = autoCache.getCache();
546 SkGlyphCache* cache = autoCache.getCache();
555 static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache,
563 static const SkGlyph& sk_getMetrics_utf16_next(SkGlyphCache* cache,
571 static const SkGlyph& sk_getMetrics_utf32_next(SkGlyphCache* cach
[all...]
H A DSkGlyph.h19 class SkGlyphCache;
256 // TODO(herb) remove friend statement after SkGlyphCache cleanup.
257 friend class SkGlyphCache;
/external/skia/src/pdf/
H A DSkPDFMakeCIDGlyphWidthsArray.h13 class SkGlyphCache;
18 sk_sp<SkPDFArray> SkPDFMakeCIDGlyphWidthsArray(SkGlyphCache* cache,
H A DSkPDFMakeCIDGlyphWidthsArray.cpp11 #include "SkGlyphCache.h"
142 sk_sp<SkPDFArray> SkPDFMakeCIDGlyphWidthsArray(SkGlyphCache* cache,
/external/skia/src/gpu/text/
H A DGrAtlasGlyphCache.h14 #include "SkGlyphCache.h"
23 * is indexed by a PackedID and SkGlyphCache. The SkGlyphCache is what actually creates the mask.
24 * The GrAtlasTextStrike may outlive the generating SkGlyphCache. However, it retains a copy
25 * of it's SkDescriptor as a key to access (or regenerate) the SkGlyphCache. GrAtlasTextStrike are
35 SkGlyphCache* cache) {
49 SkGlyphCache* cache) {
67 bool addGlyphToAtlas(GrDrawOp::Target*, GrGlyph*, SkGlyphCache*,
94 static const SkGlyph& GrToSkGlyph(SkGlyphCache* cache, GrGlyph::PackedID id) {
100 GrGlyph* generateGlyph(const SkGlyph&, GrGlyph::PackedID, SkGlyphCache*);
[all...]
H A DGrTextUtils.cpp20 #include "SkGlyphCache.h"
92 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix);
106 SkGlyphCache::AttachCache(cache);
127 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix);
142 SkGlyphCache::AttachCache(cache);
148 int vx, int vy, GrColor color, SkGlyphCache* cache) {
294 SkGlyphCache* origPaintCache = SkGlyphCache::DetachCache(skPaint.getTypeface(), effects,
327 SkGlyphCache::AttachCache(origPaintCache);
374 SkGlyphCache* cach
[all...]
H A DGrTextUtils.h31 class SkGlyphCache;
155 GrColor color, SkGlyphCache*);
160 SkGlyphCache* cache,
H A DGrAtlasGlyphCache.cpp214 static inline bool get_packed_glyph_bounds(SkGlyphCache* cache, const SkGlyph& glyph,
226 static inline bool get_packed_glyph_df_bounds(SkGlyphCache* cache, const SkGlyph& glyph,
263 static bool get_packed_glyph_image(SkGlyphCache* cache, const SkGlyph& glyph, int width,
319 static bool get_packed_glyph_df_image(SkGlyphCache* cache, const SkGlyph& glyph,
403 SkGlyphCache* cache) {
436 SkGlyphCache* cache,
H A DGrStencilAndCoverTextContext.h91 SkGlyphCache* getGlyphCache() const;
105 mutable SkGlyphCache* fDetachedGlyphCache;
H A DGrStencilAndCoverTextContext.cpp21 #include "SkGlyphCache.h"
414 SkGlyphCache* glyphCache = this->getGlyphCache();
438 SkGlyphCache* glyphCache = this->getGlyphCache();
500 SkGlyphCache* glyphCache = this->getGlyphCache();
540 SkGlyphCache* cache = this->getGlyphCache();
630 SkGlyphCache* GrStencilAndCoverTextContext::TextRun::getGlyphCache() const {
641 SkGlyphCache::AttachCache(fDetachedGlyphCache);
H A DGrAtlasTextBlob.h155 SkGlyphCache* setupCache(int runIndex,
168 SkGlyphCache*, const SkGlyph& skGlyph,
254 * Consecutive calls to regenInOp often use the same SkGlyphCache. If the same instance of
256 * multiple detach/attach operations of SkGlyphCache.
286 void appendLargeGlyph(GrGlyph* glyph, SkGlyphCache* cache, const SkGlyph& skGlyph,
H A DGrAtlasTextBlob.cpp16 #include "SkGlyphCache.h"
52 SkGlyphCache* GrAtlasTextBlob::setupCache(int runIndex,
68 return SkGlyphCache::DetachCache(run->fTypeface.get(), effects, desc->getDesc());
76 SkGlyphCache* cache, const SkGlyph& skGlyph,
162 void GrAtlasTextBlob::appendLargeGlyph(GrGlyph* glyph, SkGlyphCache* cache, const SkGlyph& skGlyph,
H A DGrAtlasTextBlob_regenInOp.cpp14 #include "SkGlyphCache.h"
160 lazyCache->reset(SkGlyphCache::DetachCache(run->fTypeface.get(), effects, desc));
/external/skia/bench/
H A DSkGlyphCacheBench.cpp9 #include "SkGlyphCache.h"
24 SkGlyphCache* cache = autoCache.getCache();
/external/skia/include/core/
H A DSkPaint.h27 class SkGlyphCache;
1046 typedef const SkGlyph& (*GlyphCacheProc)(SkGlyphCache*, const char**);
1087 SkScalar measure_text(SkGlyphCache*, const char* text, size_t length,
1108 SkGlyphCache* detachCache(const SkSurfaceProps* surfaceProps, uint32_t scalerContextFlags,
H A DSkTypeface.h417 friend class SkGlyphCache; // GetDefaultTypeface
/external/skia/samplecode/
H A DSamplePictFile.cpp31 #include "SkGlyphCache.h"
142 SkGlyphCache::Dump();
H A DSamplePathText.cpp11 #include "SkGlyphCache.h"
27 SkGlyphCache* cache = agc.getCache();
/external/skia/src/xps/
H A DSkXPSDevice.cpp31 #include "SkGlyphCache.h"
1921 SkGlyphCache* glyphCache = agc.getCache();
2109 SkGlyphCache* cache = autoCache.getCache();
2167 SkGlyphCache* cache = autoCache.getCache();

Completed in 1570 milliseconds

12