/third_party/skia/src/gpu/ |
D | GrHashMapWithCache.h | 33 int count() const { return fMap.count(); } in count() 36 size_t approxBytesUsed() const { return fMap.approxBytesUsed(); } in approxBytesUsed() 45 fLastValue = fMap.find(key); in find() 57 fLastValue = fMap.set(std::move(key), std::move(val)); in set() 65 SkASSERT(fMap.find(fLastKey)); in remove() 68 fMap.remove(fLastKey); in remove() 75 fMap.reset(); in reset() 79 SkTHashMap<K, V, HashT> fMap;
|
D | GrDDLContext.cpp | 74 ProgramInfoMap() : fMap(10) {} in ProgramInfoMap() 82 const CacheValue* preExisting = fMap.find(desc); in add() 87 fMap.insert(desc, programInfo); in add() 91 fMap.foreach([dst](CacheKey* programDesc, CacheValue* programInfo) { in toArray() 106 SkLRUCache<CacheKey, CacheValue, DescHash> fMap; member in GrDDLContext::ProgramInfoMap
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_gain_map.cpp | 33 const dng_gain_map &fMap; member in dng_gain_map_interpolator 101 : fMap (map) in dng_gain_map_interpolator() 125 fMap.Origin ().v) / fMap.Spacing ().v; in dng_gain_map_interpolator() 140 if (fMap.Points ().v < 1) in dng_gain_map_interpolator() 144 uint32 lastRow = static_cast<uint32> (fMap.Points ().v - 1); in dng_gain_map_interpolator() 180 return fMap.Entry (fRowIndex1, colIndex, fPlane) * (1.0f - fRowFract) + in InterpolateEntry() 181 fMap.Entry (fRowIndex2, colIndex, fPlane) * ( fRowFract); in InterpolateEntry() 191 fMap.Origin ().h) / fMap.Spacing ().h; in ResetColumn() 200 fResetColumn = (int32) ceil (fMap.Origin ().h / fScale.h - fOffset.h); in ResetColumn() 207 if (fMap.Points ().h < 1) in ResetColumn() [all …]
|
/third_party/skia/src/core/ |
D | SkLRUCache.h | 46 Entry** value = fMap.find(key); in find() 62 fMap.set(entry); in insert() 64 while (fMap.count() > fMaxCount) { in insert() 80 return fMap.count(); in count() 93 fMap.reset(); in reset() 112 Entry** value = fMap.find(key); in remove() 116 fMap.remove(key); in remove() 122 SkTHashTable<Entry*, K, Traits> fMap; variable
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpuProgramCache.cpp | 32 : fMap(runtimeProgramCacheSize) { in ProgramCache() 38 fMap.foreach([](GrProgramDesc*, std::unique_ptr<Entry>* e) { in abandon() 48 fMap.reset(); in reset() 91 std::unique_ptr<Entry>* entry = fMap.find(desc); in findOrCreateProgramImpl() 114 entry = fMap.insert(desc, std::make_unique<Entry>(std::move(program))); in findOrCreateProgramImpl() 129 std::unique_ptr<Entry>* entry = fMap.find(desc); in precompileShader() 140 fMap.insert(desc, std::make_unique<Entry>(precompiledProgram)); in precompileShader()
|
D | GrGLGpu.h | 417 SkLRUCache<GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; variable
|
/third_party/skia/experimental/graphite/src/ |
D | ResourceProvider.cpp | 39 : fMap(16) // TODO: find a good value for this in GraphicsPipelineCache() 43 SkASSERT(0 == fMap.count()); in ~GraphicsPipelineCache() 47 fMap.reset(); in release() 52 std::unique_ptr<Entry>* entry = fMap.find(desc); in refPipeline() 59 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(std::move(pipeline)))); in refPipeline()
|
D | ResourceProvider.h | 64 SkLRUCache<const GraphicsPipelineDesc, std::unique_ptr<Entry>, DescHash> fMap; variable
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipelineStateCache.cpp | 43 : fMap(gpu->getContext()->priv().options().fRuntimeProgramCacheSize) in PipelineStateCache() 48 SkASSERT(0 == fMap.count()); in ~PipelineStateCache() 69 fMap.reset(); in release() 118 std::unique_ptr<Entry>* entry = fMap.find(desc); in findOrCreatePipelineStateImpl() 128 entry = fMap.insert(desc, std::make_unique<Entry>(fGpu, pipelineState)); in findOrCreatePipelineStateImpl()
|
D | GrVkResourceProvider.h | 260 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; variable
|
/third_party/skia/modules/skottie/src/text/ |
D | RangeSelector.cpp | 90 fMap = &maps.fNonWhitespaceMap; in CoverageProcessor() 93 fMap = &maps.fWordsMap; in CoverageProcessor() 96 fMap = &maps.fLinesMap; in CoverageProcessor() 102 if (fMap) { in CoverageProcessor() 105 fDomainSize = fMap->size(); in CoverageProcessor() 127 SkASSERT(fMap); in domain_map_proc() 131 const auto& span = (*fMap)[i]; in domain_map_proc() 141 const TextAnimator::DomainMap* fMap = nullptr; member in skottie::internal::__anon2bcb4e8a0111::CoverageProcessor
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DResourceProvider.cpp | 306 : fMap(gpu->getContext()->priv().options().fRuntimeProgramCacheSize) in PipelineStateCache() 330 fMap.reset(); in release() 347 std::unique_ptr<Entry>* entry = fMap.find(desc); in refPipelineState() 357 entry = fMap.insert(desc, std::unique_ptr<Entry>( in refPipelineState() 365 fMap.foreach ([](const GrProgramDesc*, std::unique_ptr<Entry>* entry) { in markPipelineStateUniformsDirty() 373 fMap.reset(); in release() 379 sk_sp<GrD3DDescriptorTable>* entry = fMap.find(cpuDescriptors); in findOrCreateDescTable() 390 entry = fMap.insert(cpuDescriptors, std::move(descTable)); in findOrCreateDescTable()
|
D | GrD3DResourceProvider.h | 113 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; variable 125 DescriptorTableCache(GrD3DGpu* gpu) : fGpu(gpu), fMap(64) { in DescriptorTableCache() 151 SkLRUCache<DescTableKey, DescTableValue, DescTableHash> fMap; variable
|
/third_party/skia/tools/gpu/ |
D | MemoryCache.cpp | 40 auto result = fMap.find(key); in load() 41 if (result == fMap.end()) { in load() 62 fMap[Key(key)] = Value(data, description); in store() 70 for (auto it = fMap.begin(); it != fMap.end(); ++it) { in writeShadersToDisk()
|
D | MemoryCache.h | 32 fMap.clear(); in reset() 48 for (auto it = fMap.begin(); it != fMap.end(); ++it) { in foreach() 90 std::unordered_map<Key, Value, Hash> fMap; variable
|
/third_party/node/deps/icu-small/source/i18n/ |
D | casetrn.cpp | 95 fMap(map) in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION() 112 fMap(o.fMap) in CaseMapTransliterator() 159 result=fMap(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
|
D | casetrn.h | 87 UCaseMapFull *fMap; variable
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | casetrn.cpp | 95 fMap(map) in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION() 112 fMap(o.fMap) in CaseMapTransliterator() 159 result=fMap(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
|
D | casetrn.h | 87 UCaseMapFull *fMap; variable
|
/third_party/icu/icu4c/source/i18n/ |
D | casetrn.cpp | 95 fMap(map) in UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION() 112 fMap(o.fMap) in CaseMapTransliterator() 159 result=fMap(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
|
D | casetrn.h | 87 UCaseMapFull *fMap; variable
|
/third_party/skia/src/sksl/ir/ |
D | SkSLSetting.cpp | 67 fMap[entry.first] = std::unique_ptr<CapsLookupMethod>(entry.second); in CapsLookupTable() 72 auto iter = fMap.find(name); in lookup() 73 return (iter != fMap.end()) ? iter->second.get() : nullptr; in lookup() 77 std::unordered_map<skstd::string_view, std::unique_ptr<CapsLookupMethod>> fMap; member in SkSL::__anon8d78561f0111::CapsLookupTable
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlResourceProvider.mm | 186 : fMap(gpu->getContext()->priv().options().fRuntimeProgramCacheSize) function 190 SkASSERT(0 == fMap.count()); 194 fMap.reset(); 223 std::unique_ptr<Entry>* entry = fMap.find(desc); 252 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(pipelineState))); 266 std::unique_ptr<Entry>* entry = fMap.find(desc); 277 fMap.insert(desc, std::make_unique<Entry>(precompiledLibraries));
|
D | GrMtlResourceProvider.h | 81 SkLRUCache<const GrProgramDesc, std::unique_ptr<Entry>, DescHash> fMap; variable
|
/third_party/skia/tools/viewer/ |
D | SlideDir.cpp | 130 , fMap(kFocusCtrl1, kFocusCtrl0) in FocusController() 205 map_t = SkTPin(fMap.computeYFromX(rel_t), 0.0f, 1.0f); in onTick() 251 SkCubicMap fMap; member in SlideDir::FocusController
|