Home
last modified time | relevance | path

Searched refs:pipelineCache (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/
H A Drender_context.cpp375 vector<uint8_t> pipelineCache = device_->GetPipelineCache(); in ~RenderContext() local
377 file->Write(pipelineCache.data(), pipelineCache.size()); in ~RenderContext()
405 vector<uint8_t> pipelineCache; in Init() local
407 pipelineCache.resize(static_cast<size_t>(file->GetLength())); in Init()
408 file->Read(pipelineCache.data(), pipelineCache.size()); in Init()
410 device_->InitializePipelineCache(pipelineCache); in Init()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dcreate_functions_vk.cpp639 VkPipelineCache pipelineCache = VK_NULL_HANDLE; in CreatePipelineCache() local
650 VALIDATE_VK_RESULT(vkCreatePipelineCache(device, &info, nullptr, &pipelineCache)); in CreatePipelineCache()
652 return pipelineCache; in CreatePipelineCache()
655 void CreateFunctionsVk::DestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache) in DestroyPipelineCache() argument
658 PLUGIN_ASSERT_MSG(pipelineCache, "null pipelineCache in DestroyPipelineCache()"); in DestroyPipelineCache()
660 vkDestroyPipelineCache(device, pipelineCache, nullptr); in DestroyPipelineCache()
H A Ddevice_vk.cpp682 if (plat_.pipelineCache) { in ~DeviceVk()
683 CreateFunctionsVk::DestroyPipelineCache(plat_.device, plat_.pipelineCache); in ~DeviceVk()
1081 if (plat_.pipelineCache) { in InitializePipelineCache()
1082 CreateFunctionsVk::DestroyPipelineCache(plat_.device, plat_.pipelineCache); in InitializePipelineCache()
1102 plat_.pipelineCache = CreateFunctionsVk::CreatePipelineCache(plat_.device, initialData); in InitializePipelineCache()
1108 if (plat_.pipelineCache) { in GetPipelineCache()
1110 … if (auto result = vkGetPipelineCacheData(plat_.device, plat_.pipelineCache, &dataSize, nullptr); in GetPipelineCache()
1114 … result = vkGetPipelineCacheData(plat_.device, plat_.pipelineCache, &dataSize, deviceData.data()); in GetPipelineCache()
H A Dpipeline_state_object_vk.cpp497 devicePlatVk.pipelineCache, // pipelineCache in GraphicsPipelineStateObjectVk()
612 devicePlatVk.pipelineCache, // pipelineCache in ComputePipelineStateObjectVk()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/vulkan/
H A Dintf_device_vk.h94 VkPipelineCache pipelineCache { VK_NULL_HANDLE };