Lines Matching defs:memory
246 const VkDeviceMemory memory);
256 const VkDeviceMemory memory)
257 : Allocation (memory, 0, DE_NULL)
317 Move<VkDeviceMemory> memory;
320 memory = importDedicatedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle);
322 memory = importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle);
324 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0u));
326 return MovePtr<Allocation>(new SimpleAllocation(vkd, device, memory.disown()));
337 Move<VkDeviceMemory> memory;
340 memory = importDedicatedMemory(vkd, device, image, requirements, externalType, exportedMemoryTypeIndex, nativeHandle);
342 memory = importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle);
344 VK_CHECK(vkd.bindImageMemory(device, image, *memory, 0u));
346 return MovePtr<Allocation>(new SimpleAllocation(vkd, device, memory.disown()));
692 vk::Move<vk::VkDeviceMemory> memory = allocateExportableMemory(vkA, deviceA, requirements.size, memoryTypeIndex, m_memoryHandleType, *image);
694 VK_CHECK(vkA.bindImageMemory(deviceA, *image, *memory, 0u));
696 MovePtr<Allocation> allocation(new SimpleAllocation(vkA, deviceA, memory.disown()));
706 vk::Move<vk::VkDeviceMemory> memory = allocateExportableMemory(vkA, deviceA, requirements.size, memoryTypeIndex, m_memoryHandleType, *buffer);
708 VK_CHECK(vkA.bindBufferMemory(deviceA, *buffer, *memory, 0u));
710 MovePtr<Allocation> allocation(new SimpleAllocation(vkA, deviceA, memory.disown()));