/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_physical_device.c | 30 vk_physical_device_init(struct vk_physical_device *pdevice, in vk_physical_device_init() argument 37 memset(pdevice, 0, sizeof(*pdevice)); in vk_physical_device_init() 38 vk_object_base_init(NULL, &pdevice->base, VK_OBJECT_TYPE_PHYSICAL_DEVICE); in vk_physical_device_init() 39 pdevice->instance = instance; in vk_physical_device_init() 42 pdevice->supported_extensions = *supported_extensions; in vk_physical_device_init() 45 pdevice->supported_features = *supported_features; in vk_physical_device_init() 48 pdevice->properties = *properties; in vk_physical_device_init() 50 pdevice->dispatch_table = *dispatch_table; in vk_physical_device_init() 54 &pdevice->dispatch_table, &vk_common_physical_device_entrypoints, false); in vk_physical_device_init() 57 pdevice->disk_cache = NULL; in vk_physical_device_init() [all …]
|
D | vk_instance.c | 216 list_for_each_entry_safe(struct vk_physical_device, pdevice, in destroy_physical_devices() 218 list_del(&pdevice->link); in destroy_physical_devices() 219 instance->physical_devices.destroy(pdevice); in destroy_physical_devices() 397 struct vk_physical_device *pdevice; in enumerate_drm_physical_devices_locked() local 398 result = instance->physical_devices.try_create_for_drm(instance, devices[i], &pdevice); in enumerate_drm_physical_devices_locked() 410 list_addtail(&pdevice->link, &instance->physical_devices.list); in enumerate_drm_physical_devices_locked() 466 list_for_each_entry(struct vk_physical_device, pdevice, in vk_common_EnumeratePhysicalDevices() 469 *element = vk_physical_device_to_handle(pdevice); in vk_common_EnumeratePhysicalDevices() 488 list_for_each_entry(struct vk_physical_device, pdevice, in vk_common_EnumeratePhysicalDeviceGroups() 493 p->physicalDevices[0] = vk_physical_device_to_handle(pdevice); in vk_common_EnumeratePhysicalDeviceGroups()
|
D | vk_fence.c | 75 get_fence_sync_type(struct vk_physical_device *pdevice, in get_fence_sync_type() argument 84 pdevice->supported_sync_types; *t; t++) { in get_fence_sync_type() 300 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in vk_common_GetPhysicalDeviceExternalFenceProperties() 308 get_fence_sync_type(pdevice, handle_type); in vk_common_GetPhysicalDeviceExternalFenceProperties() 323 get_fence_sync_type(pdevice, VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT); in vk_common_GetPhysicalDeviceExternalFenceProperties()
|
D | vk_semaphore.c | 92 get_semaphore_sync_type(struct vk_physical_device *pdevice, in get_semaphore_sync_type() argument 108 pdevice->supported_sync_types; *t; t++) { in get_semaphore_sync_type() 255 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in vk_common_GetPhysicalDeviceExternalSemaphoreProperties() 266 get_semaphore_sync_type(pdevice, semaphore_type, handle_type); in vk_common_GetPhysicalDeviceExternalSemaphoreProperties() 286 get_semaphore_sync_type(pdevice, semaphore_type, opaque_types[i]); in vk_common_GetPhysicalDeviceExternalSemaphoreProperties()
|
D | vk_instance.h | 166 void (*destroy)(struct vk_physical_device *pdevice);
|
D | vk_pipeline_cache.c | 528 find_type_for_ops(const struct vk_physical_device *pdevice, in find_type_for_ops() argument 532 pdevice->pipeline_cache_import_ops; in find_type_for_ops() 546 find_ops_for_type(const struct vk_physical_device *pdevice, in find_ops_for_type() argument 550 pdevice->pipeline_cache_import_ops; in find_ops_for_type()
|
D | vk_queue.c | 1290 get_cpu_wait_type(struct vk_physical_device *pdevice) in get_cpu_wait_type() argument 1293 pdevice->supported_sync_types; *t; t++) { in get_cpu_wait_type()
|
/hardware/google/gfxstream/guest/vulkan/ |
D | gfxstream_vk_wsi.cpp | 21 VK_FROM_HANDLE(gfxstream_vk_physical_device, pdevice, physicalDevice); in gfxstream_vk_wsi_proc_addr() 22 return vk_instance_get_proc_addr_unchecked(&pdevice->instance->vk, pName); in gfxstream_vk_wsi_proc_addr()
|
D | gfxstream_vk_device.cpp | 401 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in gfxstream_vk_EnumerateDeviceExtensionProperties() 406 if (!pdevice->supported_extensions.extensions[i]) continue; in gfxstream_vk_EnumerateDeviceExtensionProperties()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/ |
D | wsi_common.h | 106 VkPhysicalDevice pdevice; member 219 bool (*can_present_on_device)(VkPhysicalDevice pdevice, int fd); 279 VkPhysicalDevice pdevice,
|
D | wsi_common_display.c | 449 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in wsi_GetPhysicalDeviceDisplayPropertiesKHR() 450 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_GetPhysicalDeviceDisplayPropertiesKHR() 493 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in wsi_get_connectors() 494 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_get_connectors() 526 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in wsi_GetPhysicalDeviceDisplayProperties2KHR() 527 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_GetPhysicalDeviceDisplayProperties2KHR() 579 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in wsi_GetPhysicalDeviceDisplayPlanePropertiesKHR() 580 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_GetPhysicalDeviceDisplayPlanePropertiesKHR() 612 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in wsi_GetPhysicalDeviceDisplayPlaneProperties2KHR() 613 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_GetPhysicalDeviceDisplayPlaneProperties2KHR() [all …]
|
D | wsi_common_drm.c | 260 return wsi->can_present_on_device(wsi->pdevice, drm_fd); in wsi_device_matches_drm_fd() 339 wsi->GetPhysicalDeviceFormatProperties2KHR(wsi->pdevice, in wsi_configure_native_image() 352 wsi->GetPhysicalDeviceFormatProperties2KHR(wsi->pdevice, in wsi_configure_native_image() 395 result = wsi->GetPhysicalDeviceImageFormatProperties2(wsi->pdevice, in wsi_configure_native_image()
|
D | wsi_common.c | 63 VkPhysicalDevice pdevice, in wsi_device_init() argument 80 wsi->pdevice = pdevice; in wsi_device_init() 86 PFN_vk##func func = (PFN_vk##func)proc_addr(pdevice, "vk" #func) in wsi_device_init() 102 GetPhysicalDeviceProperties2(pdevice, &pdp2); in wsi_device_init() 110 GetPhysicalDeviceMemoryProperties(pdevice, &wsi->memory_props); in wsi_device_init() 111 GetPhysicalDeviceQueueFamilyProperties(pdevice, &wsi->queue_family_count, NULL); in wsi_device_init() 123 GetPhysicalDeviceExternalSemaphoreProperties(pdevice, &esi, &esp); in wsi_device_init() 131 &vk_physical_device_from_handle(pdevice)->supported_extensions; in wsi_device_init() 144 wsi->func = (PFN_vk##func)proc_addr(pdevice, "vk" #func) in wsi_device_init() 193 result = wsi_wl_init_wsi(wsi, alloc, pdevice); in wsi_device_init() [all …]
|
D | wsi_common_headless.c | 108 VK_FROM_HANDLE(vk_physical_device, pdevice, wsi_device->pdevice); in wsi_headless_surface_get_capabilities() 109 if (pdevice->supported_extensions.EXT_attachment_feedback_loop_layout) in wsi_headless_surface_get_capabilities()
|
D | wsi_common_win32.cpp | 220 VK_FROM_HANDLE(vk_physical_device, pdevice, wsi_device->pdevice); in wsi_win32_surface_get_capabilities() 221 if (pdevice->supported_extensions.EXT_attachment_feedback_loop_layout) in wsi_win32_surface_get_capabilities()
|
D | wsi_common_wayland.c | 994 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in wsi_GetPhysicalDeviceWaylandPresentationSupportKHR() 995 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_GetPhysicalDeviceWaylandPresentationSupportKHR() 1095 VK_FROM_HANDLE(vk_physical_device, pdevice, wsi_device->pdevice); in wsi_wl_surface_get_capabilities() 1096 if (pdevice->supported_extensions.EXT_attachment_feedback_loop_layout) in wsi_wl_surface_get_capabilities()
|
D | wsi_common_x11.c | 573 VK_FROM_HANDLE(vk_physical_device, pdevice, physicalDevice); in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() 574 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() 744 VK_FROM_HANDLE(vk_physical_device, pdevice, wsi_device->pdevice); in x11_surface_get_capabilities() 745 if (pdevice->supported_extensions.EXT_attachment_feedback_loop_layout) in x11_surface_get_capabilities()
|