Home
last modified time | relevance | path

Searched refs:allocationInfo (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_buffer_vk.cpp61 GpuResourceMemoryVk GetPlatMemory(const VmaAllocationInfo& allocationInfo, const VkMemoryPropertyFlags flags) in GetPlatMemory() argument
64 allocationInfo.deviceMemory, in GetPlatMemory()
65 allocationInfo.offset, in GetPlatMemory()
66 allocationInfo.size, in GetPlatMemory()
67 allocationInfo.pMappedData, in GetPlatMemory()
68 allocationInfo.memoryType, in GetPlatMemory()
210 (VkMemoryPropertyFlags)gpuMemAllocator->GetMemoryTypeProperties(mem_.allocationInfo.memoryType); in CreateBufferImpl()
260 if (mem_.allocationInfo.pMappedData) { in Map()
261 data = reinterpret_cast<uint8_t*>(mem_.allocationInfo.pMappedData) + plat_.currentByteOffset; in Map()
286 data = mem_.allocationInfo in MapMemory()
[all...]
H A Dgpu_image_vk.cpp121 inline GpuResourceMemoryVk GetPlatMemory(const VmaAllocationInfo& allocationInfo, const VkMemoryPropertyFlags flags) in GetPlatMemory() argument
123 return GpuResourceMemoryVk { allocationInfo.deviceMemory, allocationInfo.offset, allocationInfo.size, in GetPlatMemory()
124 allocationInfo.pMappedData, allocationInfo.memoryType, flags }; in GetPlatMemory()
211 RecordAllocation(static_cast<int64_t>(mem_.allocationInfo.size)); in GpuImageVk()
268 RecordAllocation(-static_cast<int64_t>(mem_.allocationInfo.size)); in ~GpuImageVk()
332 imageCreateInfo, allocationCreateInfo, plat_.image, mem_.allocation, mem_.allocationInfo); in CreateVkImage()
335 plat_.memory = GetPlatMemory(mem_.allocationInfo, preferredFlag in CreateVkImage()
[all...]
H A Dgpu_memory_allocator_vk.cpp239 VmaAllocationInfo& allocationInfo) in CreateBuffer()
246 &allocationInfo); // pAllocationInfo in CreateBuffer()
256 allocator_, &bufferCreateInfo, &fallBackAllocationCreateInfo, &buffer, &allocation, &allocationInfo); in CreateBuffer()
296 VmaAllocationInfo& allocationInfo) in CreateImage()
303 &allocationInfo); // pAllocationInfo in CreateImage()
310 allocator_, &imageCreateInfo, &fallBackAllocationCreateInfo, &image, &allocation, &allocationInfo); in CreateImage()
314 (int32_t)result, allocationInfo.size); in CreateImage()
237 CreateBuffer(const VkBufferCreateInfo& bufferCreateInfo, const VmaAllocationCreateInfo& allocationCreateInfo, VkBuffer& buffer, VmaAllocation& allocation, VmaAllocationInfo& allocationInfo) CreateBuffer() argument
294 CreateImage(const VkImageCreateInfo& imageCreateInfo, const VmaAllocationCreateInfo& allocationCreateInfo, VkImage& image, VmaAllocation& allocation, VmaAllocationInfo& allocationInfo) CreateImage() argument
H A Dgpu_memory_allocator_vk.h74 VkBuffer& buffer, VmaAllocation& allocation, VmaAllocationInfo& allocationInfo);
78 VkImage& image, VmaAllocation& allocation, VmaAllocationInfo& allocationInfo);
H A Dgpu_buffer_vk.h78 VmaAllocationInfo allocationInfo; member
H A Dgpu_image_vk.h81 VmaAllocationInfo allocationInfo; member
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ohos/
H A Dplatform_gpu_image_vk.cpp62 mem_.allocationInfo.deviceMemory = hwBufferImage.deviceMemory; in CreatePlatformHwBuffer()
109 PlatformHardwareBufferUtil::DestroyHwPlatformImage(deviceVk, plat_.image, mem_.allocationInfo.deviceMemory); in DestroyPlatformHwBuffer()

Completed in 6 milliseconds