Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_memory_allocator_vk.cpp399 …id PlatformGpuMemoryAllocator::CreatePoolForBuffers(const GpuMemoryAllocatorCustomPool& customPool) in CreatePoolForBuffers() argument
401 PLUGIN_ASSERT(customPool.resourceType == MemoryAllocatorResourceType::GPU_BUFFER); in CreatePoolForBuffers()
403 const auto& buf = customPool.gpuResourceDesc.buffer; in CreatePoolForBuffers()
426 poolCreateInfo.flags = (customPool.linearAllocationAlgorithm) in CreatePoolForBuffers()
430 poolCreateInfo.blockSize = customPool.blockSize; in CreatePoolForBuffers()
445 customGpuBufferPoolNames_.push_back(customPool.name); in CreatePoolForBuffers()
450 void PlatformGpuMemoryAllocator::CreatePoolForImages(const GpuMemoryAllocatorCustomPool& customPool) in CreatePoolForImages() argument
452 PLUGIN_ASSERT(customPool.resourceType == MemoryAllocatorResourceType::GPU_IMAGE); in CreatePoolForImages()
454 const auto& img = customPool.gpuResourceDesc.image; in CreatePoolForImages()
478 poolCreateInfo.flags = (customPool.linearAllocationAlgorithm) in CreatePoolForImages()
[all …]
H A Dgpu_memory_allocator_vk.h97 void CreatePoolForBuffers(const GpuMemoryAllocatorCustomPool& customPool); in RENDER_BEGIN_NAMESPACE()
98 void CreatePoolForImages(const GpuMemoryAllocatorCustomPool& customPool); in RENDER_BEGIN_NAMESPACE()
H A Dgpu_buffer_vk.cpp348 const VmaPool customPool = gpuMemAllocator->GetBufferPool(desc_); in AllocateMemory() local
359 customPool, // pool in AllocateMemory()
H A Dgpu_image_vk.cpp312 const VmaPool customPool = gpuMemAllocator->GetImagePool(desc_); in CreateVkImage() local
324 customPool, // pool in CreateVkImage()