Lines Matching defs:device
107 // Check device support
301 vk::VkDevice device,
311 vk::VkDevice device,
315 , m_device (device)
439 // Class to wrap a singleton instance and device
526 const vk::VkDevice device,
531 vkd.getDeviceQueue(device, familyIndex, 0u, &queue);
537 vk::VkDevice device,
549 return vk::createCommandPool(vkd, device, &createInfo);
553 vk::VkDevice device,
567 return vk::allocateCommandBuffer(vkd, device, &allocateInfo);
571 vk::VkDevice device,
599 vkd.getImageMemoryRequirements2(device, &requirementInfo, &requirements);
608 vkd.getImageMemoryRequirements(device, image, &memoryRequirements);
615 vk::VkDevice device,
643 vkd.getBufferMemoryRequirements2(device, &requirementInfo, &requirements);
652 vkd.getBufferMemoryRequirements(device, buffer, &memoryRequirements);
659 vk::VkDevice device,
694 return vk::createImage(vkd, device, &createInfo);
698 vk::VkDevice device,
722 return vk::createBuffer(vkd, device, &createInfo);
726 vk::VkDevice device,
733 const vk::VkMemoryRequirements requirements = vk::getBufferMemoryRequirements(vkd, device, buffer);
735 ? importDedicatedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle)
736 : importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle);
738 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0u));
740 return de::MovePtr<vk::Allocation>(new SimpleAllocation(vkd, device, memory.disown()));
744 vk::VkDevice device,
751 const vk::VkMemoryRequirements requirements = vk::getImageMemoryRequirements(vkd, device, image);
753 ? importDedicatedMemory(vkd, device, image, requirements, externalType, exportedMemoryTypeIndex, nativeHandle)
754 : importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle);
755 VK_CHECK(vkd.bindImageMemory(device, image, *memory, 0u));
757 return de::MovePtr<vk::Allocation>(new SimpleAllocation(vkd, device, memory.disown()));
761 vk::VkDevice device,
822 vk::Move<vk::VkImage> image = vk::createImage(vkd, device, &createInfo);
823 de::MovePtr<vk::Allocation> allocation = importAndBindMemory(vkd, device, *image, nativeHandle, externalType, exportedMemoryTypeIndex, dedicated);
850 vk::Move<vk::VkBuffer> buffer = vk::createBuffer(vkd, device, &createInfo);
851 de::MovePtr<vk::Allocation> allocation = importAndBindMemory(vkd, device, *buffer, nativeHandle, externalType, exportedMemoryTypeIndex, dedicated);