Home
last modified time | relevance | path

Searched refs:mCache (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DD3D12CachingTests.cpp45 EXPECT_TRUE(mCache.insert({keyStr, std::move(entry_value)}).second); in StoreData()
54 auto entry = mCache.find(keyStr); in LoadData()
55 if (entry == mCache.end()) { in LoadData()
68 FakeCache mCache; member in FakePersistentCache
124 EXPECT_EQ(mPersistentCache.mCache.size(), 0u); in TEST_P()
137 EXPECT_EQ(mPersistentCache.mCache.size(), 0u); in TEST_P()
165 EXPECT_EQ(mPersistentCache.mCache.size(), 2u); in TEST_P()
180 EXPECT_EQ(mPersistentCache.mCache.size(), 2u); in TEST_P()
204 EXPECT_EQ(mPersistentCache.mCache.size(), 4u); in TEST_P()
237 EXPECT_EQ(mPersistentCache.mCache.size(), 2u); in TEST_P()
[all …]
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DHbFontCache.cpp34 HbFontCache() : mCache(kMaxEntries) { in HbFontCache()
35 mCache.setOnEntryRemovedListener(this); in HbFontCache()
43 hb_font_t* get(int32_t fontId) { return mCache.get(fontId); } in get()
45 void put(int32_t fontId, hb_font_t* font) { mCache.put(fontId, font); } in put()
47 void clear() { mCache.clear(); } in clear()
49 void remove(int32_t fontId) { mCache.remove(fontId); } in remove()
54 android::LruCache<int32_t, hb_font_t*> mCache; member in minikin::HbFontCache
DLayout.cpp134 LayoutCache() : mCache(kMaxEntries) { in LayoutCache()
135 mCache.setOnEntryRemovedListener(this); in LayoutCache()
138 void clear() { mCache.clear(); } in clear()
143 Layout* layout = mCache.get(key); in get()
148 mCache.put(key, layout); in get()
160 android::LruCache<LayoutCacheKey, Layout*> mCache; member in minikin::LayoutCache
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DPersistentCache.cpp24 : mDevice(device), mCache(GetPlatformCache()) { in PersistentCache()
29 if (mCache == nullptr) { in LoadData()
33 blob.bufferSize = mCache->LoadData(ToAPI(mDevice), key.data(), key.size(), nullptr, 0); in LoadData()
36 const size_t bufferSize = mCache->LoadData(ToAPI(mDevice), key.data(), key.size(), in LoadData()
45 if (mCache == nullptr) { in StoreData()
51 mCache->StoreData(ToAPI(mDevice), key.data(), key.size(), value, size); in StoreData()
DPersistentCache.h88 dawn_platform::CachingInterface* mCache = nullptr; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSamplerHeapCacheD3D12.cpp40 mCache(cache) { in SamplerHeapCacheEntry()
41 ASSERT(mCache != nullptr); in SamplerHeapCacheEntry()
53 mCache->RemoveCacheEntry(this); in ~SamplerHeapCacheEntry()
114 auto iter = mCache.find(&blueprint); in GetOrCreate()
115 if (iter != mCache.end()) { in GetOrCreate()
137 mCache.insert(entry.Get()); in GetOrCreate()
145 ASSERT(mCache.empty()); in ~SamplerHeapCache()
150 size_t removedCount = mCache.erase(entry); in RemoveCacheEntry()
DD3D11on12Util.cpp125 auto iter = mCache.find(&blueprint); in GetOrCreateD3D11on12Resource()
126 if (iter != mCache.end()) { in GetOrCreateD3D11on12Resource()
153 if (mCache.size() > kMaxD3D11on12ResourceCacheSize) { in GetOrCreateD3D11on12Resource()
154 mCache.clear(); in GetOrCreateD3D11on12Resource()
159 mCache.insert(entry); in GetOrCreateD3D11on12Resource()
DSamplerHeapCacheD3D12.h79 SamplerHeapCache* mCache = nullptr; variable
102 Cache mCache; variable
DD3D11on12Util.h84 Cache mCache; variable
/third_party/skia/third_party/externals/dawn/src/common/
DConcurrentCache.h31 auto iter = mCache.find(object); in Find()
32 if (iter == mCache.end()) { in Find()
40 auto insertion = mCache.insert(object); in Insert()
46 return mCache.erase(object); in Erase()
51 std::unordered_set<T*, typename T::HashFunc, typename T::EqualityFunc> mCache; variable
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DVulkanPipelineCachePerf.cpp29 GraphicsPipelineCache mCache; member in __anon67d1dcf60111::VulkanPipelineCachePerfTest
46 mCache.destroy(VK_NULL_HANDLE); in ~VulkanPipelineCachePerfTest()
62 mCache.populate(desc, std::move(pipeline)); in SetUp()
95 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, &sm, &sm, hit, &desc, in step()
104 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, &sm, &sm, miss, &desc, in step()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DVulkanPipelineCachePerf.cpp30 GraphicsPipelineCache mCache; member in __anon883036210111::VulkanPipelineCachePerfTest
47 mCache.destroy(VK_NULL_HANDLE); in ~VulkanPipelineCachePerfTest()
63 mCache.populate(desc, std::move(pipeline)); in SetUp()
105 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, dbm, ssm, in step()
114 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, dbm, ssm, defaultSpecConsts, in step()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPassCache.cpp68 for (auto it : mCache) { in ~RenderPassCache()
71 mCache.clear(); in ~RenderPassCache()
75 auto it = mCache.find(query); in GetRenderPass()
76 if (it != mCache.end()) { in GetRenderPass()
81 mCache.emplace(query, renderPass); in GetRenderPass()
DRenderPassCache.h85 Cache mCache; variable
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DConcurrentCacheTests.cpp59 ConcurrentCache<SimpleCachedObject> mCache; member in ConcurrentCacheTest
71 ConcurrentCache<SimpleCachedObject>* cachePtr = &mCache; in TEST_F()
93 ConcurrentCache<SimpleCachedObject>* cachePtr = &mCache; in TEST_F()
/third_party/flutter/engine/flutter/third_party/txt/src/utils/
DLruCache.h130 : mCache(cache), in Iterator()
131 mIterator(mCache.mSet->begin()), in Iterator()
135 if (mIterator == mCache.mSet->end()) { in next()
145 bool ret = (mIterator != mCache.mSet->end()); in next()
158 const LruCache<TKey, TValue>& mCache;
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPassCache.cpp89 for (auto it : mCache) { in ~RenderPassCache()
93 mCache.clear(); in ~RenderPassCache()
98 auto it = mCache.find(query); in GetRenderPass()
99 if (it != mCache.end()) { in GetRenderPass()
105 mCache.emplace(query, renderPass); in GetRenderPass()
DRenderPassCache.h101 Cache mCache; variable
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.h147 JitCache mCache; member
DJitManager.cpp134 mCache.Init(this, mHostCpuName, mOptLevel); in JitManager()
199 mpExec->setObjectCache(&mCache); in CreateExecEngine()
/third_party/skia/third_party/externals/angle2/doc/
DBufferImplementation.md68 StaticVertexBuffer::mCache vector.
/third_party/flutter/skia/third_party/externals/angle2/doc/
DBufferImplementation.md68 StaticVertexBuffer::mCache vector.