Lines Matching defs:Allocation

39  * Allocation represents block of device memory and is allocated by
43 * Allocation doesn't necessarily correspond to a whole VkDeviceMemory, but
45 * (getMemory()) managed by Allocation is passed to Vulkan API calls,
52 * Memory mappings are managed solely by Allocation, i.e. unmapping or
53 * re-mapping VkDeviceMemory owned by Allocation is not allowed.
55 class Allocation
58 virtual ~Allocation (void);
70 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr);
78 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc);
79 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc);
136 virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignment) = 0;
137 virtual de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequirement requirement) = 0;
153 de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignment);
154 de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequirement requirement);
163 de::MovePtr<Allocation> allocateExtended (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkMemoryRequirements& memReqs, const MemoryRequirement requirement, const void* pNext);
164 de::MovePtr<Allocation> allocateDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer buffer, MemoryRequirement requirement);
165 de::MovePtr<Allocation> allocateDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkImage image, MemoryRequirement requirement);
181 std::vector<de::SharedPtr<Allocation> >& allocations,
185 de::MovePtr<Allocation> bindImage (const DeviceInterface& vk,
191 de::MovePtr<Allocation> bindBuffer (const DeviceInterface& vk,
199 const Allocation& alloc,