5 #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_PIPELINE_CACHE_DATA_VK_H_
6 #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_PIPELINE_CACHE_DATA_VK_H_
8 #include "flutter/fml/mapping.h"
9 #include "flutter/fml/unique_fd.h"
34 uint32_t
abi =
sizeof(
void*);
35 uint8_t
uuid[VK_UUID_SIZE] = {};
51 uint64_t p_data_size);
85 const VkPhysicalDeviceProperties& props,
86 const vk::UniquePipelineCache& cache);
104 const fml::UniqueFD& cache_directory,
105 const VkPhysicalDeviceProperties& props);
std::unique_ptr< fml::Mapping > PipelineCacheDataRetrieve(const fml::UniqueFD &cache_directory, const VkPhysicalDeviceProperties &props)
Retrieve the previously persisted pipeline cache data. This function provides integrity checks the Vu...
bool PipelineCacheDataPersist(const fml::UniqueFD &cache_directory, const VkPhysicalDeviceProperties &props, const vk::UniquePipelineCache &cache)
Persist the pipeline cache to a file in the given cache directory. This function performs integrity c...