Home
last modified time | relevance | path

Searched refs:mPipelineCache (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/
Dmtl_pipeline_cache.mm220 PipelineCache::PipelineCache() : mPipelineCache(kMaxPipelines) {}
234 auto iter = mPipelineCache.Get(key);
235 if (iter != mPipelineCache.end())
243 angle::TrimCache(kMaxPipelines, kGCLimit, "render pipeline", &mPipelineCache);
248 iter = mPipelineCache.Put(std::move(key), std::move(newPipeline));
262 auto iter = mPipelineCache.Get(key);
263 if (iter != mPipelineCache.end())
271 angle::TrimCache(kMaxPipelines, kGCLimit, "render pipeline", &mPipelineCache);
276 iter = mPipelineCache.Put(std::move(key), std::move(newPipeline));
Dmtl_pipeline_cache.h82 RenderPipelineMap mPipelineCache;
DContextMtl.h402 mtl::PipelineCache &getPipelineCache() { return mPipelineCache; } in getPipelineCache()
589 mtl::PipelineCache mPipelineCache; variable
/external/angle/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp418 ASSERT(!mPipelineCache.valid()); in ~ProgramExecutableVk()
476 if (mPipelineCache.valid()) in reset()
478 mPipelineCache.destroy(contextVk->getDevice()); in reset()
486 ASSERT(!mPipelineCache.valid()); in initializePipelineCache()
512 ANGLE_VK_TRY(contextVk, mPipelineCache.init(contextVk->getDevice(), pipelineCacheCreateInfo)); in initializePipelineCache()
517 ANGLE_TRY(contextVk->getRenderer()->mergeIntoPipelineCache(mPipelineCache)); in initializePipelineCache()
525 if (!mPipelineCache.valid()) in ensurePipelineCacheInitialized()
537 mPipelineCache.init(contextVk->getDevice(), pipelineCacheCreateInfo)); in ensurePipelineCacheInitialized()
745 GetPipelineCacheData(contextVk, mPipelineCache, &cacheData); in save()
785 pipelineCache.init(&mPipelineCache, nullptr); in warmUpPipelineCache()
[all …]
DProgramExecutableVk.h443 vk::PipelineCache mPipelineCache; variable
DRendererVk.cpp1463 mPipelineCache.destroy(mDevice); in onDestroy()
3470 ANGLE_TRY(initPipelineCache(displayVk, &mPipelineCache, &loadedFromBlobCache)); in initializeDevice()
4873 mPipelineCache.merge(mDevice, 1, pCache.ptr()); in getPipelineCache()
4882 pipelineCacheOut->init(&mPipelineCache, &mPipelineCacheMutex); in getPipelineCache()
4940 VkResult result = mPipelineCache.getCacheData(mDevice, pipelineCacheSizeOut, nullptr); in getPipelineCacheSize()
4948 ASSERT(mPipelineCache.valid()); in syncPipelineCacheVk()
4994 mPipelineCache.getCacheData(mDevice, &pipelineCacheSize, pipelineCacheData.data()); in syncPipelineCacheVk()
Dvk_cache_utils.h1233 mPipelineCache = pipelineCache; in init()
1251 const vk::PipelineCache *mPipelineCache = nullptr; variable
1288 PipelineCacheAccess mPipelineCache;
DRendererVk.h989 vk::PipelineCache mPipelineCache; variable
Dvk_cache_utils.cpp4621 mPipelineCache(pipelineCache), in CreateMonolithicPipelineTask()
4643 mResult = mDesc.initializePipeline(this, &mPipelineCache, vk::GraphicsPipelineSubset::Complete, in operator ()()
6581 return pipelineOut->initGraphics(context->getDevice(), createInfo, *mPipelineCache); in createGraphicsPipeline()
6590 return pipelineOut->initCompute(context->getDevice(), createInfo, *mPipelineCache); in createComputePipeline()
6599 mPipelineCache->merge(renderer->getDevice(), 1, pipelineCache.ptr()); in merge()