Home
last modified time | relevance | path

Searched refs:pdevice (Results 1 – 17 of 17) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_physical_device.c30 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 …]
Dvk_instance.c216 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()
Dvk_fence.c75 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()
Dvk_semaphore.c92 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()
Dvk_instance.h166 void (*destroy)(struct vk_physical_device *pdevice);
Dvk_pipeline_cache.c528 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()
Dvk_queue.c1290 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/
Dgfxstream_vk_wsi.cpp21 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()
Dgfxstream_vk_device.cpp401 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/
Dwsi_common.h106 VkPhysicalDevice pdevice; member
219 bool (*can_present_on_device)(VkPhysicalDevice pdevice, int fd);
279 VkPhysicalDevice pdevice,
Dwsi_common_display.c449 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 …]
Dwsi_common_drm.c260 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()
Dwsi_common.c63 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 …]
Dwsi_common_headless.c108 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()
Dwsi_common_win32.cpp220 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()
Dwsi_common_wayland.c994 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()
Dwsi_common_x11.c573 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()