Home
last modified time | relevance | path

Searched refs:fCache (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/core/
DSkGlyphCache.h169 AutoValidate(const SkGlyphCache* cache) : fCache(cache) { in AutoValidate()
170 if (fCache) { in AutoValidate()
171 fCache->validate(); in AutoValidate()
175 if (fCache) { in ~AutoValidate()
176 fCache->validate(); in ~AutoValidate()
180 fCache = NULL; in forget()
183 const SkGlyphCache* fCache;
275 SkAutoGlyphCache(SkGlyphCache* cache) : fCache(cache) {} in SkAutoGlyphCache()
277 fCache = SkGlyphCache::DetachCache(desc); in SkAutoGlyphCache()
282 fCache = paint.detachCache(deviceProperties, matrix); in SkAutoGlyphCache()
[all …]
DSkDrawProcs.h22 SkGlyphCache* fCache; member
DSkTextToPathIter.h36 SkGlyphCache* fCache;
DSkPaint.cpp2319 fCache = fPaint.detachCache(NULL, NULL); in SkTextToPathIter()
2337 SkScalar width = SkScalarMul(fPaint.measure_text(fCache, text, length, in SkTextToPathIter()
2354 SkGlyphCache::AttachCache(fCache); in ~SkTextToPathIter()
2359 const SkGlyph& glyph = fGlyphCacheProc(fCache, &fText); in next()
2366 *path = fCache->findPath(glyph); in next()
DSkDraw.cpp1510 aa = (uint8_t*)state.fCache->findImage(glyph); in D1G_NoBounder_RectClip()
1543 aa = (uint8_t*)state.fCache->findImage(glyph); in D1G_NoBounder_RgnClip()
1578 aa = (uint8_t*)state.fCache->findImage(glyph); in D1G_Bounder()
1626 fCache = cache; in init()
/external/skia/legacy/src/core/
DSkGlyphCache.h181 AutoValidate(const SkGlyphCache* cache) : fCache(cache) { in AutoValidate()
182 if (fCache) { in AutoValidate()
183 fCache->validate(); in AutoValidate()
187 if (fCache) { in ~AutoValidate()
188 fCache->validate(); in ~AutoValidate()
192 fCache = NULL; in forget()
195 const SkGlyphCache* fCache;
288 SkAutoGlyphCache(SkGlyphCache* cache) : fCache(cache) {} in SkAutoGlyphCache()
290 fCache = SkGlyphCache::DetachCache(desc); in SkAutoGlyphCache()
293 fCache = paint.detachCache(matrix); in SkAutoGlyphCache()
[all …]
DSkDrawProcs.h22 SkGlyphCache* fCache; member
DSkPaint.cpp2120 fCache = fPaint.detachCache(NULL); in SkTextToPathIter()
2138 SkScalar width = SkScalarMul(fPaint.measure_text(fCache, text, length, in SkTextToPathIter()
2155 SkGlyphCache::AttachCache(fCache); in ~SkTextToPathIter()
2160 const SkGlyph& glyph = fGlyphCacheProc(fCache, &fText); in next()
2169 return fCache->findPath(glyph); in next()
DSkDraw.cpp1372 aa = (uint8_t*)state.fCache->findImage(glyph); in D1G_NoBounder_RectClip()
1405 aa = (uint8_t*)state.fCache->findImage(glyph); in D1G_NoBounder_RgnClip()
1440 aa = (uint8_t*)state.fCache->findImage(glyph); in D1G_Bounder()
1488 fCache = cache; in init()
/external/skia/src/gpu/
DGrTextStrike.cpp31 fCache.deleteAll(); in ~GrFontCache()
44 fCache.insert(key, strike); in generateStrike()
60 fCache.deleteAll(); in freeAll()
77 int index = fCache.slowFindIndex(strikeToPurge); in purgeExceptFor()
79 fCache.removeAt(index, strikeToPurge->fFontScalerKey->getHash()); in purgeExceptFor()
87 int count = fCache.count(); in validate()
152 fCache.getArray().visitAll(FreeGlyph); in ~GrTextStrike()
169 fCache.insert(packed, glyph); in generateGlyph()
181 GrAssert(fCache.contains(glyph)); in getGlyphAtlas()
DGrTextStrike.h43 int countGlyphs() const { return fCache.getArray().count(); } in countGlyphs()
45 return fCache.getArray()[index]; in glyphAt()
56 GrTHashTable<GrGlyph, Key, 7> fCache; variable
85 int countStrikes() const { return fCache.getArray().count(); } in countStrikes()
87 return fCache.getArray()[index]; in strikeAt()
101 GrTHashTable<GrTextStrike, Key, 8> fCache; variable
DGrResourceCache.cpp78 fCache.remove(entry->fKey, entry); in ~GrResourceCache()
176 entry = fCache.find<GrTFindUnreffedFunctor>(key, functor); in find()
178 entry = fCache.find(key); in find()
197 return NULL != fCache.find(key); in hasKey()
215 fCache.insert(key, entry); in addResource()
234 fCache.remove(entry->key(), entry); in makeExclusive()
266 fCache.insert(entry->key(), entry); in makeNonExclusive()
314 fCache.remove(entry->key(), entry); in purgeAsNeeded()
351 if (!fCache.count()) { in purgeAllUnlocked()
393 GrAssert((fEntryCount - fClientDetachedCount) == fCache.count()); in validate()
[all …]
DGrResourceCache.h330 GrTHashTable<GrResourceEntry, GrResourceKey, 8> fCache; variable
371 GrAutoResourceCacheValidate(GrResourceCache* cache) : fCache(cache) { in GrAutoResourceCacheValidate()
375 fCache->validate(); in ~GrAutoResourceCacheValidate()
378 GrResourceCache* fCache;
DGrTextStrike_impl.h55 GrTextStrike* strike = fCache.find(key); in getStrike()
98 GrGlyph* glyph = fCache.find(packed); in getGlyph()
DSkGpuDevice.cpp1687 procs->fFontScaler = get_gr_font_scaler(state.fCache); in SkGPU_Draw1Glyph()
/external/junit/src/junit/framework/
DJUnit4TestAdapter.java21 private final JUnit4TestAdapterCache fCache; field in JUnit4TestAdapter
29 fCache = cache; in JUnit4TestAdapter()
39 fRunner.run(fCache.getNotifier(result, this)); in run()
44 return fCache.asTestList(getDescription()); in getTests()
/external/skia/legacy/include/core/
DSkDraw.h141 SkGlyphCache* fCache;
/external/skia/src/device/xps/
DSkXPSDevice.cpp2185 if (state.fCache->isSubpixel()) { in xps_draw_1_glyph()