Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_resource_manager.h401 enum class AllocType : uint8_t { enum
410 …RenderHandle handle, const ResourceDescriptor& descriptor, AllocType allocType, uint32_t optResour… in OperationDescription()
417 AllocType allocType { AllocType::UNDEFINED };
493 AllocType allocType { AllocType::ALLOC };
H A Dgpu_resource_manager.cpp1115 … name, replacedHandle.GetHandle(), RenderHandleType::GPU_IMAGE, ~0u, addFlags, AllocType::UNDEFINED in CreateSwapchainImage()
1158 "", {}, RenderHandleType::GPU_IMAGE, ~0u, addFlags, AllocType::UNDEFINED in CreateShallowHandle()
1245 if (ref.allocType == AllocType::ALLOC) { in Destroy()
1246 ref.allocType = AllocType::REMOVED; in Destroy()
1254 … handle, ResourceDescriptor { GpuBufferDesc {} }, AllocType::DEALLOC, static_cast<uint32_t>(~0u)); in Destroy()
1644 if (allocation.allocType == AllocType::REMOVED) { in HandlePendingAllocationsImpl()
1654 if (allocation.allocType == AllocType::ALLOC) { in HandlePendingAllocationsImpl()
1667 } else if (allocation.allocType == AllocType::DEALLOC) { in HandlePendingAllocationsImpl()
1946 if (ref.allocType == AllocType::DEALLOC) { in WaitForIdleAndDestroyGpuResources()
1958 } else if (ref.allocType == AllocType::REMOVED) { in WaitForIdleAndDestroyGpuResources()