Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrResourceCache.h434 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess()
435 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess()
441 void insertResource(GrGpuResource* resource) { fCache->insertResource(resource); } in insertResource()
446 void removeResource(GrGpuResource* resource) { fCache->removeResource(resource); } in removeResource()
452 void refResource(GrGpuResource* resource) { fCache->refResource(resource); } in refResource()
457 GrGpuResourceTag getCurrentGrResourceTag() const { return fCache->getCurrentGrResourceTag(); } in getCurrentGrResourceTag()
475 fCache->notifyARefCntReachedZero(resource, removedRef); in notifyARefCntReachedZero()
482 fCache->changeUniqueKey(resource, newKey); in changeUniqueKey()
488 void removeUniqueKey(GrGpuResource* resource) { fCache->removeUniqueKey(resource); } in removeUniqueKey()
494 fCache->willRemoveScratchKey(resource); in willRemoveScratchKey()
[all …]
DGrResourceProvider.h327 fCache = nullptr; in abandon()
331 uint32_t contextUniqueID() const { return fCache->contextUniqueID(); } in contextUniqueID()
333 bool overBudget() const { return fCache->overBudget(); } in overBudget()
387 GrResourceCache* cache() { return fCache; } in cache()
388 const GrResourceCache* cache() const { return fCache; } in cache()
397 SkASSERT(SkToBool(fGpu) == SkToBool(fCache)); in isAbandoned()
398 return !SkToBool(fCache); in isAbandoned()
410 GrResourceCache* fCache; variable
DGrResourceProvider.cpp35 : fCache(cache) in GrResourceProvider()
312 if (GrGpuResource* resource = fCache->findAndRefScratchResource(key)) { in findAndRefScratchTexture()
405 : sk_sp<GrGpuResource>(fCache->findAndRefUniqueResource(key)); in findResourceByUniqueKey()
738 GrGpuResource* resource = fCache->findAndRefScratchResource(key); in refScratchMSAAAttachment()
DGrResourceCache.cpp70 AutoValidate(GrResourceCache* cache) : fCache(cache) { cache->validate(); } in AutoValidate()
71 ~AutoValidate() { fCache->validate(); } in ~AutoValidate()
73 GrResourceCache* fCache; member in GrResourceCache::AutoValidate
/third_party/skia/src/gpu/text/
DGrStrikeCache.cpp18 fCache.reset(); in freeAll()
22 if (sk_sp<GrTextStrike>* cached = fCache.find(strikeSpec.descriptor())) { in findOrCreateStrike()
30 fCache.set(strike); in generateStrike()
45 GrGlyph* grGlyph = fCache.findOrNull(packedGlyphID); in getGlyph()
48 fCache.set(grGlyph); in getGlyph()
DGrStrikeCache.h39 SkTHashTable<GrGlyph*, SkPackedGlyphID, HashTraits> fCache; variable
68 StrikeHash fCache; variable
/third_party/skia/bench/
DImageCacheBench.cpp39 SkResourceCache fCache; member in ImageCacheBench
45 ImageCacheBench() : fCache(CACHE_COUNT * 100) {} in ImageCacheBench()
49 fCache.add(new TestRec(TestKey(i), i)); in populateCache()
59 if (fCache.getTotalBytesUsed() == 0) { in onDraw()
66 SkDEBUGCODE(bool found =) fCache.find(key, TestRec::Visitor, nullptr); in onDraw()
DCmapBench.cpp22 const SkCharToGlyphCache& fCache; member
63 r.fCache.findGlyphIndex(r.fText[i]); in findcache_proc()
73 SkCharToGlyphCache fCache; member in CMAPBench
87 fCache.addCharAndGlyph(fText[i], i); in CMAPBench()
102 fProc({fCache, loops, fFont, fText, fCount}); in onDraw()
DGlyphQuadFillBench.cpp59 subRun->testingOnly_packedGlyphIDToGrGlyph(&fCache); in onPerCanvasPreDraw()
80 GrStrikeCache fCache; member in DirectMaskGlyphVertexFillBenchmark
/third_party/skia/tools/
DUrlDataManager.cpp19 UrlData* urlData = fCache.find(*data); in addData()
20 if (fCache.find(*data)) { in addData()
30 fCache.add(urlData); in addData()
38 fCache.foreach([&](UrlData* urlData) { in reset()
41 fCache.rewind(); in reset()
DUrlDataManager.h95 SkTDynamicHash<UrlData, SkData, LookupTrait> fCache; variable
/third_party/skia/experimental/xform/
DXContext.cpp46 fCache.reset(nullptr); in clipRect()
51 fCache.reset(nullptr); in clipRRect()
55 fCache.reset(nullptr); in clipPath()
61 if (!fCache) { in snapCache()
62 fCache = sk_sp<ClipCache>(new RasterClipCache(fRC)); in snapCache()
64 return fCache; in snapCache()
71 sk_sp<ClipCache> fCache; member in RasterXformResolver
/third_party/skia/third_party/externals/icu/source/i18n/
Dreldatefmt.cpp750 fCache(nullptr), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
761 fCache(nullptr), in RelativeDateTimeFormatter()
773 fCache(nullptr), in RelativeDateTimeFormatter()
789 fCache(nullptr), in RelativeDateTimeFormatter()
817 fCache(other.fCache), in RelativeDateTimeFormatter()
824 fCache->addRef(); in RelativeDateTimeFormatter()
835 SharedObject::copyPtr(other.fCache, fCache); in operator =()
847 if (fCache != nullptr) { in ~RelativeDateTimeFormatter()
848 fCache->removeRef(); in ~RelativeDateTimeFormatter()
966 fCache->getRelativeUnitFormatter(fStyle, unit, bFuture, pluralForm); in formatImpl()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dreldatefmt.cpp758 fCache(nullptr), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
770 fCache(nullptr), in RelativeDateTimeFormatter()
782 fCache(nullptr), in RelativeDateTimeFormatter()
798 fCache(nullptr), in RelativeDateTimeFormatter()
835 fCache(other.fCache), in RelativeDateTimeFormatter()
842 fCache->addRef(); in RelativeDateTimeFormatter()
855 SharedObject::copyPtr(other.fCache, fCache); in operator =()
869 if (fCache != nullptr) { in ~RelativeDateTimeFormatter()
870 fCache->removeRef(); in ~RelativeDateTimeFormatter()
990 fCache->getRelativeUnitFormatter(fStyle, unit, bFuture, pluralForm); in formatImpl()
[all …]
/third_party/icu/icu4c/source/i18n/
Dreldatefmt.cpp758 fCache(nullptr), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
769 fCache(nullptr), in RelativeDateTimeFormatter()
781 fCache(nullptr), in RelativeDateTimeFormatter()
797 fCache(nullptr), in RelativeDateTimeFormatter()
829 fCache(other.fCache), in RelativeDateTimeFormatter()
836 fCache->addRef(); in RelativeDateTimeFormatter()
847 SharedObject::copyPtr(other.fCache, fCache); in operator =()
859 if (fCache != nullptr) { in ~RelativeDateTimeFormatter()
860 fCache->removeRef(); in ~RelativeDateTimeFormatter()
978 fCache->getRelativeUnitFormatter(fStyle, unit, bFuture, pluralForm); in formatImpl()
[all …]
/third_party/skia/src/ports/
DSkFontMgr_FontConfigInterface.cpp164 mutable SkFontRequestCache fCache; member in SkFontMgr_FCI
169 , fCache(kMaxSize) in SkFontMgr_FCI()
292 sk_sp<SkTypeface> face = fCache.findAndRef(request.get()); in onLegacyMakeTypeface()
314 fCache.add(face, request.release()); in onLegacyMakeTypeface()
/third_party/skia/src/core/
DSkMaskFilterBase.h186 NinePatch() : fCache(nullptr) { } in NinePatch()
192 SkCachedData* fCache; variable
DSkImageFilterTypes.h583 , fCache(cache) in Context()
593 , fCache(cache) in Context()
618 SkImageFilterCache* cache() const { return fCache; } in cache()
670 return Context(mapping, fDesiredOutput, fCache, fColorType, fColorSpace, fSource); in withNewMapping()
674 return Context(fMapping, desiredOutput, fCache, fColorType, fColorSpace, fSource); in withNewDesiredOutput()
680 SkImageFilterCache* fCache; variable
DSkMaskFilter.cpp29 if (fCache) { in ~NinePatch()
30 SkASSERT((const void*)fMask.fImage == fCache->data()); in ~NinePatch()
31 fCache->unref(); in ~NinePatch()
DSkBlurMF.cpp416 SkASSERT(nullptr == patch->fCache); in filterRRectToNine()
417 patch->fCache = cache; // transfer ownership to patch in filterRRectToNine()
546 SkASSERT(nullptr == patch->fCache); in filterRectsToNine()
547 patch->fCache = cache; // transfer ownership to patch in filterRectsToNine()
/third_party/icu/icu4c/source/test/intltest/
Dtsmthred.cpp1149 const char *loc2) : fCache(cache), fLoc(loc), fLoc2(loc2) {} in UnifiedCacheThread()
1153 const UnifiedCache *fCache; member in UnifiedCacheThread
1161 fCache->get( in exerciseByLocale()
1162 LocaleCacheKey<UCTMultiThreadItem>(locale), fCache, origItem, status); in exerciseByLocale()
1170 fCache->get( in exerciseByLocale()
1171 LocaleCacheKey<UCTMultiThreadItem>(locale), fCache, item, status); in exerciseByLocale()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dreldatefmt.h694 const RelativeDateTimeCacheData* fCache;
/third_party/icu/icu4c/source/i18n/unicode/
Dreldatefmt.h694 const RelativeDateTimeCacheData* fCache;
/third_party/node/deps/icu-small/source/i18n/unicode/
Dreldatefmt.h692 const RelativeDateTimeCacheData* fCache;