Home
last modified time | relevance | path

Searched refs:preferredFlags (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_buffer_vk.cpp194 const VkMemoryPropertyFlags preferredFlags = memoryPropertyFlags; in CreateBufferImpl() local
206 AllocateMemory(requiredFlags, preferredFlags); in CreateBufferImpl()
315 …locateMemory(const VkMemoryPropertyFlags requiredFlags, const VkMemoryPropertyFlags preferredFlags) in AllocateMemory() argument
357 preferredFlags, // preferredFlags in AllocateMemory()
370 plat_.memory = GetPlatMemory(mem_.allocationInfo, preferredFlags); in AllocateMemory()
H A Dgpu_memory_allocator_vk.cpp406 allocationCreateInfo.preferredFlags = (VkMemoryPropertyFlags)buf.memoryPropertyFlags; in CreatePoolForBuffers()
407 allocationCreateInfo.requiredFlags = allocationCreateInfo.preferredFlags; in CreatePoolForBuffers()
408 if (allocationCreateInfo.preferredFlags == in CreatePoolForBuffers()
457 allocationCreateInfo.preferredFlags = (VkMemoryPropertyFlags)img.memoryPropertyFlags; in CreatePoolForImages()
458 allocationCreateInfo.requiredFlags = allocationCreateInfo.preferredFlags; in CreatePoolForImages()
H A Dgpu_buffer_vk.h56 …ocateMemory(const VkMemoryPropertyFlags requiredFlags, const VkMemoryPropertyFlags preferredFlags);
H A Dgpu_image_vk.cpp307 const VkMemoryPropertyFlags preferredFlags = memoryPropertyFlags; in CreateVkImage() local
322 preferredFlags, // preferredFlags in CreateVkImage()
335 plat_.memory = GetPlatMemory(mem_.allocationInfo, preferredFlags); in CreateVkImage()