/third_party/flutter/skia/src/gpu/text/ |
D | GrStrikeCache.h | 34 GrGlyph* grGlyph = fCache.find(skGlyph.getPackedID()); in getGlyph() 37 fCache.add(grGlyph); in getGlyph() 47 GrGlyph* grGlyph = fCache.find(packed); in getGlyph() 53 fCache.add(grGlyph); in getGlyph() 69 int countGlyphs() const { return fCache.count(); } in countGlyphs() 84 SkTDynamicHash<GrGlyph, SkPackedGlyphID> fCache; 110 sk_sp<GrTextStrike> strike = sk_ref_sp(fCache.find(desc)); in getStrike() 127 fCache.add(strike.get()); in generateStrike() 133 StrikeHash fCache; variable
|
D | GrStrikeCache.cpp | 23 StrikeHash::Iter iter(&fCache); in ~GrStrikeCache() 32 StrikeHash::Iter iter(&fCache); in freeAll() 38 fCache.rewind(); in freeAll() 44 StrikeHash::Iter iter(&grStrikeCache->fCache); in HandleEviction() 52 grStrikeCache->fCache.remove(GrTextStrike::GetKey(*strike)); in HandleEviction() 176 SkTDynamicHash<GrGlyph, SkPackedGlyphID>::Iter iter(&fCache); in removeID() 198 SkASSERT(fCache.find(glyph->fPackedID)); in addGlyphToAtlas()
|
/third_party/flutter/skia/src/core/ |
D | SkTypeface_remote.cpp | 23 SkASSERT(fCache == nullptr); in initCache() 26 fCache = cache; in initCache() 48 if (fCache && fCache->belongsToCache(glyph)) { in generateMetrics() 51 fCache->getCachedGlyphAnySubPix(glyph->getGlyphID(), glyph->getPackedID())) { in generateMetrics() 52 fCache->mergeGlyphAndImage(glyph->getPackedID(), *from); in generateMetrics() 59 if (fStrikeCache->desperationSearchForImage(fCache->getDescriptor(), glyph, fCache)) { in generateMetrics()
|
D | SkStrike.h | 147 AutoValidate(const SkStrike* cache) : fCache(cache) { in AutoValidate() 148 if (fCache) { in AutoValidate() 149 fCache->validate(); in AutoValidate() 153 if (fCache) { in ~AutoValidate() 154 fCache->validate(); in ~AutoValidate() 158 fCache = nullptr; in forget() 161 const SkStrike* fCache;
|
D | SkImageFilterTypes.h | 39 , fCache(cache) in Context() 59 SkImageFilterCache* cache() const { return fCache; } in cache() 105 return Context(layerMatrix, fClipBounds, fCache, fColorType, fColorSpace, fSource); in withNewLayerMatrix() 109 return Context(fLayerMatrix, clipBounds, fCache, fColorType, fColorSpace, fSource); in withNewClipBounds() 115 SkImageFilterCache* fCache; variable
|
/third_party/flutter/skia/src/gpu/ |
D | GrResourceCache.h | 394 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() 395 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() 401 void insertResource(GrGpuResource* resource) { fCache->insertResource(resource); } in insertResource() 406 void removeResource(GrGpuResource* resource) { fCache->removeResource(resource); } in removeResource() 412 void refResource(GrGpuResource* resource) { fCache->refResource(resource); } in refResource() 433 fCache->notifyCntReachedZero(resource, flags); in notifyCntReachedZero() 440 fCache->changeUniqueKey(resource, newKey); in changeUniqueKey() 446 void removeUniqueKey(GrGpuResource* resource) { fCache->removeUniqueKey(resource); } in removeUniqueKey() 452 fCache->willRemoveScratchKey(resource); in willRemoveScratchKey() 458 void didChangeBudgetStatus(GrGpuResource* resource) { fCache->didChangeBudgetStatus(resource); } in didChangeBudgetStatus() [all …]
|
D | GrResourceProvider.h | 277 fCache = nullptr; in abandon() 281 uint32_t contextUniqueID() const { return fCache->contextUniqueID(); } in contextUniqueID() 283 bool overBudget() const { return fCache->overBudget(); } in overBudget() 314 GrResourceCache* cache() { return fCache; } in cache() 315 const GrResourceCache* cache() const { return fCache; } in cache() 324 SkASSERT(SkToBool(fGpu) == SkToBool(fCache)); in isAbandoned() 325 return !SkToBool(fCache); in isAbandoned() 336 GrResourceCache* fCache; variable
|
/third_party/skia/src/gpu/ |
D | GrResourceCache.h | 394 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() 395 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() 401 void insertResource(GrGpuResource* resource) { fCache->insertResource(resource); } in insertResource() 406 void removeResource(GrGpuResource* resource) { fCache->removeResource(resource); } in removeResource() 412 void refResource(GrGpuResource* resource) { fCache->refResource(resource); } in refResource() 430 fCache->notifyARefCntReachedZero(resource, removedRef); in notifyARefCntReachedZero() 437 fCache->changeUniqueKey(resource, newKey); in changeUniqueKey() 443 void removeUniqueKey(GrGpuResource* resource) { fCache->removeUniqueKey(resource); } in removeUniqueKey() 449 fCache->willRemoveScratchKey(resource); in willRemoveScratchKey() 455 void didChangeBudgetStatus(GrGpuResource* resource) { fCache->didChangeBudgetStatus(resource); } in didChangeBudgetStatus() [all …]
|
D | GrResourceProvider.h | 327 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
|
/third_party/flutter/skia/tools/ |
D | UrlDataManager.cpp | 17 UrlData* urlData = fCache.find(*data); in addData() 18 if (fCache.find(*data)) { in addData() 28 fCache.add(urlData); in addData() 36 SkTDynamicHash<UrlData, SkData, LookupTrait>::Iter iter(&fCache); in reset() 43 fCache.rewind(); in reset()
|
/third_party/flutter/skia/bench/ |
D | ImageCacheBench.cpp | 39 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()
|
D | CmapBench.cpp | 22 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()
|
/third_party/skia/src/gpu/text/ |
D | GrStrikeCache.cpp | 18 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()
|
D | GrStrikeCache.h | 39 SkTHashTable<GrGlyph*, SkPackedGlyphID, HashTraits> fCache; variable 68 StrikeHash fCache; variable
|
/third_party/skia/bench/ |
D | ImageCacheBench.cpp | 39 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()
|
D | CmapBench.cpp | 22 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()
|
D | GlyphQuadFillBench.cpp | 59 subRun->testingOnly_packedGlyphIDToGrGlyph(&fCache); in onPerCanvasPreDraw() 80 GrStrikeCache fCache; member in DirectMaskGlyphVertexFillBenchmark
|
/third_party/skia/tools/ |
D | UrlDataManager.cpp | 19 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()
|
/third_party/flutter/skia/experimental/xform/ |
D | XContext.cpp | 46 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/experimental/xform/ |
D | XContext.cpp | 46 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/flutter/skia/gm/ |
D | skinning.cpp | 83 , fCache(cache) in SkinningGM() 96 if (fCache) { in onShortName() 116 !fCache); in onOnceBeforeDraw() 201 bool fCache; member in SkinningGM
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | reldatefmt.cpp | 714 fCache(nullptr), in RelativeDateTimeFormatter() 725 fCache(nullptr), in RelativeDateTimeFormatter() 737 fCache(nullptr), in RelativeDateTimeFormatter() 753 fCache(nullptr), in RelativeDateTimeFormatter() 781 fCache(other.fCache), in RelativeDateTimeFormatter() 788 fCache->addRef(); in RelativeDateTimeFormatter() 799 SharedObject::copyPtr(other.fCache, fCache); in operator =() 811 if (fCache != nullptr) { in ~RelativeDateTimeFormatter() 812 fCache->removeRef(); in ~RelativeDateTimeFormatter() 858 fCache->getRelativeUnitFormatter(fStyle, unit, bFuture, pluralIndex); in format() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | reldatefmt.cpp | 750 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/ |
D | reldatefmt.cpp | 750 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/icu/icu4c/source/i18n/ |
D | reldatefmt.cpp | 750 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 …]
|