Home
last modified time | relevance | path

Searched refs:gpuMemAllocator (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_buffer_vk.cpp174 …if (PlatformGpuMemoryAllocator* gpuMemAllocator = device_.GetPlatformGpuMemoryAllocator(); gpuMemA… in ~GpuBufferVk() local
208 …if (PlatformGpuMemoryAllocator* gpuMemAllocator = device_.GetPlatformGpuMemoryAllocator(); gpuMemA… in CreateBufferImpl() local
265 if (gpuMemAllocator) { in Map()
266 data = gpuMemAllocator->MapMemory(mem_.allocation); in Map()
289 if (gpuMemAllocator) { in MapMemory()
290 data = gpuMemAllocator->MapMemory(mem_.allocation); in MapMemory()
308 if (gpuMemAllocator) { in Unmap()
310 gpuMemAllocator->UnmapMemory(mem_.allocation); in Unmap()
345 PLUGIN_ASSERT(gpuMemAllocator); in AllocateMemory()
346 if (gpuMemAllocator) { in AllocateMemory()
[all …]
H A Dgpu_image_vk.cpp273 PlatformGpuMemoryAllocator* gpuMemAllocator = device_.GetPlatformGpuMemoryAllocator(); in ~GpuImageVk() local
274 PLUGIN_ASSERT(gpuMemAllocator); in ~GpuImageVk()
275 if (gpuMemAllocator) { in ~GpuImageVk()
276 gpuMemAllocator->DestroyImage(plat_.image, mem_.allocation); in ~GpuImageVk()
309 PlatformGpuMemoryAllocator* gpuMemAllocator = device_.GetPlatformGpuMemoryAllocator(); in CreateVkImage() local
310 if (gpuMemAllocator) { in CreateVkImage()
312 const VmaPool customPool = gpuMemAllocator->GetImagePool(desc_); in CreateVkImage()
331 gpuMemAllocator->CreateImage( in CreateVkImage()