Home
last modified time | relevance | path

Searched refs:physical_devices (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp352 VkPhysicalDevice* physical_devices) { in EnumeratePhysicalDevices() argument
353 if (!physical_devices) in EnumeratePhysicalDevices()
358 physical_devices[0] = &instance->physical_device; in EnumeratePhysicalDevices()
/frameworks/opt/gamesdk/third_party/cube/app/src/main/cpp/
Dcube.cpp1212 std::unique_ptr<vk::PhysicalDevice[]> physical_devices(new vk::PhysicalDevice[gpu_count]); in init_vk() local
1213 result = inst.enumeratePhysicalDevices(&gpu_count, physical_devices.get()); in init_vk()
1216 gpu = physical_devices[0]; in init_vk()
Dcube.c3264 VkPhysicalDevice *physical_devices = malloc(sizeof(VkPhysicalDevice) * gpu_count); in demo_init_vk() local
3265 err = vkEnumeratePhysicalDevices(demo->inst, &gpu_count, physical_devices); in demo_init_vk()
3268 demo->gpu = physical_devices[0]; in demo_init_vk()
3269 free(physical_devices); in demo_init_vk()