/hardware/google/gfxstream/host/tests/ |
D | SwapChainStateVk_unittest.cpp | 105 uint32_t physicalDeviceCount = 0; in pickPhysicalDevice() local 107 m_vkInstance, &physicalDeviceCount, nullptr), in pickPhysicalDevice() 109 ASSERT_GT(physicalDeviceCount, 0); in pickPhysicalDevice() 110 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in pickPhysicalDevice() 112 k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, in pickPhysicalDevice()
|
D | Vulkan_unittest.cpp | 183 uint32_t physicalDeviceCount; in testDeviceCreation() local 188 instance, &physicalDeviceCount, nullptr)); in testDeviceCreation() 190 physicalDevices.resize(physicalDeviceCount); in testDeviceCreation() 194 instance, &physicalDeviceCount, physicalDevices.data())); in testDeviceCreation() 196 std::vector<VkPhysicalDeviceProperties> physicalDeviceProps(physicalDeviceCount); in testDeviceCreation() 210 for (uint32_t i = 0; i < physicalDeviceCount; i++) { in testDeviceCreation()
|
D | DisplayVk_unittest.cpp | 140 uint32_t physicalDeviceCount = 0; in pickPhysicalDevice() local 141 ASSERT_EQ(k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, nullptr), in pickPhysicalDevice() 143 ASSERT_GT(physicalDeviceCount, 0); in pickPhysicalDevice() 144 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in pickPhysicalDevice() 145 ASSERT_EQ(k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, in pickPhysicalDevice()
|
D | CompositorVk_unittest.cpp | 292 uint32_t physicalDeviceCount = 0; in pickPhysicalDevice() local 293 ASSERT_EQ(k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, nullptr), in pickPhysicalDevice() 295 ASSERT_GT(physicalDeviceCount, 0); in pickPhysicalDevice() 296 std::vector<VkPhysicalDevice> physicalDevices(physicalDeviceCount); in pickPhysicalDevice() 297 ASSERT_EQ(k_vk->vkEnumeratePhysicalDevices(m_vkInstance, &physicalDeviceCount, in pickPhysicalDevice()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_KHR_device_group_creation.adoc | 58 if (props[0].physicalDeviceCount > 1) { 59 deviceGroupInfo.physicalDeviceCount = props[0].physicalDeviceCount;
|
/hardware/google/gfxstream/host/vulkan/testing/ |
D | VkDecoderTestDispatch.h | 208 VkResult vkEnumeratePhysicalDevices(VkInstance instance, uint32_t* physicalDeviceCount, in vkEnumeratePhysicalDevices() argument 210 return mDgs->on_vkEnumeratePhysicalDevices(mBp, instance, physicalDeviceCount, in vkEnumeratePhysicalDevices()
|
/hardware/google/gfxstream/guest/vulkan/ |
D | gfxstream_vk_device.cpp | 462 physDev < mutablePhysicalDeviceGroupProperties->physicalDeviceCount; physDev++) { in gfxstream_vk_CreateDevice() 483 physDev < mutablePhysicalDeviceGroupProperties->physicalDeviceCount; physDev++) { in gfxstream_vk_CreateDevice()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_instance.c | 491 p->physicalDeviceCount = 1; in vk_common_EnumeratePhysicalDeviceGroups()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/ |
D | overlay.cpp | 356 uint32_t physicalDeviceCount = 0; in instance_data_map_physical_devices() local 358 &physicalDeviceCount, in instance_data_map_physical_devices() 361 …ice *physicalDevices = (VkPhysicalDevice *) malloc(sizeof(VkPhysicalDevice) * physicalDeviceCount); in instance_data_map_physical_devices() 363 &physicalDeviceCount, in instance_data_map_physical_devices() 366 for (uint32_t i = 0; i < physicalDeviceCount; i++) { in instance_data_map_physical_devices()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/device-select-layer/ |
D | device_select_layer.c | 619 for (unsigned j = 0; j < physical_device_groups[i].physicalDeviceCount; j++) { in device_select_EnumeratePhysicalDeviceGroups()
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkansc_funcs.hpp | 98 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local 102 result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ); in enumeratePhysicalDevices() 103 if ( ( result == VK_SUCCESS ) && physicalDeviceCount ) in enumeratePhysicalDevices() 105 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices() 106 …result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast<VkPhysic… in enumeratePhysicalDevices() 110 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in enumeratePhysicalDevices() 111 if ( physicalDeviceCount < physicalDevices.size() ) in enumeratePhysicalDevices() 113 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices() 125 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local 129 result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ); in enumeratePhysicalDevices() [all …]
|
D | vulkansc_raii.hpp | 1534 uint32_t physicalDeviceCount; in PhysicalDevices() local 1538 …vkEnumeratePhysicalDevices( static_cast<VkInstance>( *instance ), &physicalDeviceCount, nullptr ) … in PhysicalDevices() 1539 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && physicalDeviceCount ) in PhysicalDevices() 1541 physicalDevices.resize( physicalDeviceCount ); in PhysicalDevices() 1542 …vkEnumeratePhysicalDevices( static_cast<VkInstance>( *instance ), &physicalDeviceCount, physicalDe… in PhysicalDevices() 1547 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in PhysicalDevices() 1548 this->reserve( physicalDeviceCount ); in PhysicalDevices()
|
D | vulkan_funcs.hpp | 98 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local 102 result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ); in enumeratePhysicalDevices() 103 if ( ( result == VK_SUCCESS ) && physicalDeviceCount ) in enumeratePhysicalDevices() 105 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices() 106 …result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast<VkPhysic… in enumeratePhysicalDevices() 110 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in enumeratePhysicalDevices() 111 if ( physicalDeviceCount < physicalDevices.size() ) in enumeratePhysicalDevices() 113 physicalDevices.resize( physicalDeviceCount ); in enumeratePhysicalDevices() 125 uint32_t physicalDeviceCount; in enumeratePhysicalDevices() local 129 result = d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ); in enumeratePhysicalDevices() [all …]
|
D | vulkansc_structs.hpp | 11808 …: pNext( pNext_ ), physicalDeviceCount( physicalDeviceCount_ ), pPhysicalDevices( pPhysicalDevices… 11819 …: pNext( pNext_ ), physicalDeviceCount( static_cast<uint32_t>( physicalDevices_.size() ) ), pPhysi… in DeviceGroupDeviceCreateInfo() 11842 physicalDeviceCount = physicalDeviceCount_; in setPhysicalDeviceCount() 11855 physicalDeviceCount = static_cast<uint32_t>( physicalDevices_.size() ); in setPhysicalDevices() 11881 return std::tie( sType, pNext, physicalDeviceCount, pPhysicalDevices ); in reflect() 11896 && ( physicalDeviceCount == rhs.physicalDeviceCount ) in operator ==() 11910 uint32_t physicalDeviceCount = {}; member 31070 …: pNext( pNext_ ), physicalDeviceCount( physicalDeviceCount_ ), physicalDevices( physicalDevices_ … 31108 return std::tie( sType, pNext, physicalDeviceCount, physicalDevices, subsetAllocation ); in reflect() 31123 && ( physicalDeviceCount == rhs.physicalDeviceCount ) in operator ==() [all …]
|
D | vulkan_raii.hpp | 3166 uint32_t physicalDeviceCount; in PhysicalDevices() local 3170 …vkEnumeratePhysicalDevices( static_cast<VkInstance>( *instance ), &physicalDeviceCount, nullptr ) … in PhysicalDevices() 3171 if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && physicalDeviceCount ) in PhysicalDevices() 3173 physicalDevices.resize( physicalDeviceCount ); in PhysicalDevices() 3174 …vkEnumeratePhysicalDevices( static_cast<VkInstance>( *instance ), &physicalDeviceCount, physicalDe… in PhysicalDevices() 3179 VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); in PhysicalDevices() 3180 this->reserve( physicalDeviceCount ); in PhysicalDevices()
|
/hardware/google/gfxstream/host/vulkan/ |
D | VkDecoderGlobalState.cpp | 1082 uint32_t* physicalDeviceCount, in on_vkEnumeratePhysicalDevices() argument 1088 if (physicalDeviceCount) { in on_vkEnumeratePhysicalDevices() 1089 physicalDevicesSize = *physicalDeviceCount; in on_vkEnumeratePhysicalDevices() 1154 if (physicalDeviceCount) { in on_vkEnumeratePhysicalDevices() 1155 *physicalDeviceCount = validPhysicalDevices.size(); in on_vkEnumeratePhysicalDevices() 1158 if (physicalDeviceCount && physicalDevices) { in on_vkEnumeratePhysicalDevices() 1160 for (uint32_t i = 0; i < std::min(*physicalDeviceCount, physicalDevicesSize); ++i) { in on_vkEnumeratePhysicalDevices() 1197 if (physicalDevicesSize < *physicalDeviceCount) { in on_vkEnumeratePhysicalDevices() 7830 uint32_t* physicalDeviceCount, in on_vkEnumeratePhysicalDevices() argument 7832 return mImpl->on_vkEnumeratePhysicalDevices(pool, instance, physicalDeviceCount, in on_vkEnumeratePhysicalDevices()
|
D | VkDecoderGlobalState.h | 127 uint32_t* physicalDeviceCount,
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | devsandqueues.adoc | 1700 * pname:physicalDeviceCount is the number of physical devices in the 1705 The first pname:physicalDeviceCount elements of the array will be valid. 1711 If pname:physicalDeviceCount is `1`, then pname:subsetAllocation must: 2181 * pname:physicalDeviceCount is the number of elements in the 2197 or with pname:physicalDeviceCount equal to zero, is equivalent to a 2198 pname:physicalDeviceCount of one and pname:pPhysicalDevices pointing to the 2209 * [[VUID-VkDeviceGroupDeviceCreateInfo-physicalDeviceCount-00377]] 2210 If pname:physicalDeviceCount is not `0`, the pname:physicalDevice
|
D | interfaces.adoc | 2005 This value will be in the range latexmath:[[0,max(1,physicalDeviceCount))], 2006 where physicalDeviceCount is the pname:physicalDeviceCount member of
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | goldfish_vk_marshaling_guest.cpp | 4868 vkStream->write((uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in marshal_VkPhysicalDeviceGroupProperties() 4883 vkStream->read((uint32_t*)&forUnmarshaling->physicalDeviceCount, sizeof(uint32_t)); in unmarshal_VkPhysicalDeviceGroupProperties() 4897 vkStream->write((uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in marshal_VkDeviceGroupDeviceCreateInfo() 4898 if (forMarshaling->physicalDeviceCount) { in marshal_VkDeviceGroupDeviceCreateInfo() 4900 vkStream->alloc((void**)&cgen_var_0, forMarshaling->physicalDeviceCount * 8); in marshal_VkDeviceGroupDeviceCreateInfo() 4902 forMarshaling->pPhysicalDevices, cgen_var_0, forMarshaling->physicalDeviceCount); in marshal_VkDeviceGroupDeviceCreateInfo() 4903 vkStream->write((uint64_t*)cgen_var_0, forMarshaling->physicalDeviceCount * 8); in marshal_VkDeviceGroupDeviceCreateInfo() 4915 vkStream->read((uint32_t*)&forUnmarshaling->physicalDeviceCount, sizeof(uint32_t)); in unmarshal_VkDeviceGroupDeviceCreateInfo() 4916 if (forUnmarshaling->physicalDeviceCount) { in unmarshal_VkDeviceGroupDeviceCreateInfo() 4918 vkStream->alloc((void**)&cgen_var_0, forUnmarshaling->physicalDeviceCount * 8); in unmarshal_VkDeviceGroupDeviceCreateInfo() [all …]
|
D | goldfish_vk_reserved_marshaling_guest.cpp | 3394 memcpy(*ptr, (uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in reservedmarshal_VkPhysicalDeviceGroupProperties() 3414 memcpy(*ptr, (uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in reservedmarshal_VkDeviceGroupDeviceCreateInfo() 3416 if (forMarshaling->physicalDeviceCount) { in reservedmarshal_VkDeviceGroupDeviceCreateInfo() 3419 for (uint32_t k = 0; k < forMarshaling->physicalDeviceCount; ++k) { in reservedmarshal_VkDeviceGroupDeviceCreateInfo() 3424 *ptr += 8 * forMarshaling->physicalDeviceCount; in reservedmarshal_VkDeviceGroupDeviceCreateInfo()
|
D | goldfish_vk_counting_guest.cpp | 2629 if (toCount->physicalDeviceCount) { in count_VkDeviceGroupDeviceCreateInfo() 2630 *count += toCount->physicalDeviceCount * 8; in count_VkDeviceGroupDeviceCreateInfo()
|
/hardware/google/gfxstream/host/vulkan/cereal/common/ |
D | goldfish_vk_marshaling.cpp | 5607 vkStream->write((uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in marshal_VkPhysicalDeviceGroupProperties() 5633 vkStream->read((uint32_t*)&forUnmarshaling->physicalDeviceCount, sizeof(uint32_t)); in unmarshal_VkPhysicalDeviceGroupProperties() 5647 vkStream->write((uint32_t*)&forMarshaling->physicalDeviceCount, sizeof(uint32_t)); in marshal_VkDeviceGroupDeviceCreateInfo() 5648 if (forMarshaling->physicalDeviceCount) { in marshal_VkDeviceGroupDeviceCreateInfo() 5650 vkStream->alloc((void**)&cgen_var_0, forMarshaling->physicalDeviceCount * 8); in marshal_VkDeviceGroupDeviceCreateInfo() 5652 forMarshaling->pPhysicalDevices, cgen_var_0, forMarshaling->physicalDeviceCount); in marshal_VkDeviceGroupDeviceCreateInfo() 5653 vkStream->write((uint64_t*)cgen_var_0, forMarshaling->physicalDeviceCount * 8); in marshal_VkDeviceGroupDeviceCreateInfo() 5677 vkStream->read((uint32_t*)&forUnmarshaling->physicalDeviceCount, sizeof(uint32_t)); in unmarshal_VkDeviceGroupDeviceCreateInfo() 5679 forUnmarshaling->physicalDeviceCount * sizeof(const VkPhysicalDevice)); in unmarshal_VkDeviceGroupDeviceCreateInfo() 5680 if (forUnmarshaling->physicalDeviceCount) { in unmarshal_VkDeviceGroupDeviceCreateInfo() [all …]
|
D | goldfish_vk_reserved_marshaling.cpp | 4188 memcpy((uint32_t*)&forUnmarshaling->physicalDeviceCount, *ptr, sizeof(uint32_t)); in reservedunmarshal_VkPhysicalDeviceGroupProperties() 4223 memcpy((uint32_t*)&forUnmarshaling->physicalDeviceCount, *ptr, sizeof(uint32_t)); in reservedunmarshal_VkDeviceGroupDeviceCreateInfo() 4226 forUnmarshaling->physicalDeviceCount * sizeof(const VkPhysicalDevice)); in reservedunmarshal_VkDeviceGroupDeviceCreateInfo() 4227 if (forUnmarshaling->physicalDeviceCount) { in reservedunmarshal_VkDeviceGroupDeviceCreateInfo() 4229 *ptr += 8 * forUnmarshaling->physicalDeviceCount; in reservedunmarshal_VkDeviceGroupDeviceCreateInfo() 4231 for (uint32_t k = 0; k < forUnmarshaling->physicalDeviceCount; ++k) { in reservedunmarshal_VkDeviceGroupDeviceCreateInfo()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_swapchain/ |
D | wsi.adoc | 526 * [[VUID-VkSwapchainCreateInfoKHR-physicalDeviceCount-01429]] 528 slink:VkDeviceGroupDeviceCreateInfo::pname:physicalDeviceCount equal to
|