Home
last modified time | relevance | path

Searched refs:wsi_device (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_private.h50 const struct wsi_device *wsi;
76 wsi_device_matches_drm_fd(const struct wsi_device *wsi, int drm_fd);
79 wsi_swapchain_init(const struct wsi_device *wsi,
86 wsi_swapchain_get_present_mode(struct wsi_device *wsi,
113 struct wsi_device *wsi_device,
117 struct wsi_device *wsi_device,
121 struct wsi_device *wsi_device,
125 struct wsi_device *wsi_device,
133 struct wsi_device *wsi_device,
138 struct wsi_device *wsi_device,
[all …]
Dwsi_common_display.c191 wsi_display_find_drm_mode(struct wsi_device *wsi_device, in wsi_display_find_drm_mode() argument
203 wsi_display_invalidate_connector_modes(struct wsi_device *wsi_device, in wsi_display_invalidate_connector_modes() argument
212 wsi_display_register_drm_mode(struct wsi_device *wsi_device, in wsi_display_register_drm_mode() argument
217 (struct wsi_display *) wsi_device->wsi[VK_ICD_WSI_PLATFORM_DISPLAY]; in wsi_display_register_drm_mode()
219 wsi_display_find_drm_mode(wsi_device, connector, drm_mode); in wsi_display_register_drm_mode()
256 wsi_display_find_connector(struct wsi_device *wsi_device, in wsi_display_find_connector() argument
260 (struct wsi_display *) wsi_device->wsi[VK_ICD_WSI_PLATFORM_DISPLAY]; in wsi_display_find_connector()
288 wsi_display_get_connector(struct wsi_device *wsi_device, in wsi_display_get_connector() argument
293 (struct wsi_display *) wsi_device->wsi[VK_ICD_WSI_PLATFORM_DISPLAY]; in wsi_display_get_connector()
305 wsi_display_find_connector(wsi_device, connector_id); in wsi_display_get_connector()
[all …]
Dwsi_common.c41 wsi_device_init(struct wsi_device *wsi, in wsi_device_init()
175 wsi_device_finish(struct wsi_device *wsi, in wsi_device_finish()
207 wsi_swapchain_init(const struct wsi_device *wsi, in wsi_swapchain_init()
251 wsi_swapchain_is_present_mode_supported(struct wsi_device *wsi, in wsi_swapchain_is_present_mode_supported()
288 wsi_swapchain_get_present_mode(struct wsi_device *wsi, in wsi_swapchain_get_present_mode()
326 const struct wsi_device *wsi = chain->wsi; in wsi_destroy_image()
350 struct wsi_device *wsi_device = device->wsi_device; in wsi_GetPhysicalDeviceSurfaceSupportKHR() local
351 struct wsi_interface *iface = wsi_device->wsi[surface->platform]; in wsi_GetPhysicalDeviceSurfaceSupportKHR()
353 return iface->get_support(surface, wsi_device, in wsi_GetPhysicalDeviceSurfaceSupportKHR()
365 struct wsi_device *wsi_device = device->wsi_device; in wsi_GetPhysicalDeviceSurfaceCapabilitiesKHR() local
[all …]
Dwsi_common_win32.c45 struct wsi_device *wsi;
74 wsi_win32_get_presentation_support(struct wsi_device *wsi_device) in wsi_win32_get_presentation_support() argument
85 return wsi_win32_get_presentation_support(device->wsi_device); in wsi_GetPhysicalDeviceWin32PresentationSupportKHR()
130 struct wsi_device *wsi_device, in wsi_win32_surface_get_support() argument
141 struct wsi_device *wsi_device, in wsi_win32_surface_get_capabilities() argument
151 wsi_device->maxImageDimension2D, in wsi_win32_surface_get_capabilities()
152 wsi_device->maxImageDimension2D, in wsi_win32_surface_get_capabilities()
175 struct wsi_device *wsi_device, in wsi_win32_surface_get_capabilities2() argument
182 wsi_win32_surface_get_capabilities(surface, wsi_device, in wsi_win32_surface_get_capabilities2()
212 get_sorted_vk_formats(struct wsi_device *wsi_device, VkFormat *sorted_formats) in get_sorted_vk_formats() argument
[all …]
Dwsi_common_x11.c111 wsi_x11_check_dri3_compatible(const struct wsi_device *wsi_dev, in wsi_x11_check_dri3_compatible()
176 wsi_x11_connection_create(struct wsi_device *wsi_dev, in wsi_x11_connection_create()
306 wsi_x11_connection_destroy(struct wsi_device *wsi_dev, in wsi_x11_connection_destroy()
325 wsi_x11_get_connection(struct wsi_device *wsi_dev, in wsi_x11_get_connection()
482 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_GetPhysicalDeviceXcbPresentationSupportKHR() local
484 wsi_x11_get_connection(wsi_device, connection); in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
489 if (!wsi_device->sw) { in wsi_GetPhysicalDeviceXcbPresentationSupportKHR()
536 struct wsi_device *wsi_device, in x11_surface_get_support() argument
544 wsi_x11_get_connection(wsi_device, conn); in x11_surface_get_support()
548 if (!wsi_device->sw) { in x11_surface_get_support()
[all …]
Dwsi_common_wayland.c84 struct wsi_device *wsi;
659 struct wsi_device *wsi_device = pdevice->wsi_device; in wsi_GetPhysicalDeviceWaylandPresentationSupportKHR() local
661 (struct wsi_wayland *)wsi_device->wsi[VK_ICD_WSI_PLATFORM_WAYLAND]; in wsi_GetPhysicalDeviceWaylandPresentationSupportKHR()
665 wsi_device->sw); in wsi_GetPhysicalDeviceWaylandPresentationSupportKHR()
674 struct wsi_device *wsi_device, in wsi_wl_surface_get_support() argument
690 struct wsi_device *wsi_device, in wsi_wl_surface_get_capabilities() argument
706 wsi_device->maxImageDimension2D, in wsi_wl_surface_get_capabilities()
707 wsi_device->maxImageDimension2D, in wsi_wl_surface_get_capabilities()
730 struct wsi_device *wsi_device, in wsi_wl_surface_get_capabilities2() argument
737 wsi_wl_surface_get_capabilities(surface, wsi_device, in wsi_wl_surface_get_capabilities2()
[all …]
Dwsi_common_display.h33 struct wsi_device *wsi_device,
41 struct wsi_device *wsi_device,
Dwsi_common.h85 const struct wsi_device *wsi_device; member
98 struct wsi_device { struct
217 wsi_device_init(struct wsi_device *wsi, argument
226 wsi_device_finish(struct wsi_device *wsi,
254 wsi_common_acquire_next_image2(const struct wsi_device *wsi,
260 wsi_common_queue_present(const struct wsi_device *wsi,
Dwsi_common_win32.h30 wsi_win32_get_presentation_support(struct wsi_device *wsi_device);
Dwsi_common_drm.c38 wsi_device_matches_drm_fd(const struct wsi_device *wsi, int drm_fd) in wsi_device_matches_drm_fd()
67 select_memory_type(const struct wsi_device *wsi, in select_memory_type()
113 const struct wsi_device *wsi = chain->wsi; in wsi_create_native_image()
465 const struct wsi_device *wsi = chain->wsi; in wsi_create_prime_image()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_wsi.c44 result = wsi_device_init(&physical_device->wsi_device, in tu_wsi_init()
53 physical_device->wsi_device.supports_modifiers = true; in tu_wsi_init()
54 physical_device->vk.wsi_device = &physical_device->wsi_device; in tu_wsi_init()
62 physical_device->vk.wsi_device = NULL; in tu_wsi_finish()
63 wsi_device_finish(&physical_device->wsi_device, in tu_wsi_finish()
79 &pdevice->wsi_device, _device, pAcquireInfo, pImageIndex); in tu_AcquireNextImage2KHR()
95 &queue->device->physical_device->wsi_device, in tu_QueuePresentKHR()
Dtu_wsi_display.c58 &device->physical_device->wsi_device, in tu_RegisterDeviceEventEXT()
96 &device->physical_device->wsi_device, in tu_RegisterDisplayEventEXT()
Dtu_private.h204 struct wsi_device wsi_device; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_wsi.c54 wsi_device_init(&physical_device->wsi_device, radv_physical_device_to_handle(physical_device), in radv_init_wsi()
60 physical_device->wsi_device.supports_modifiers = physical_device->rad_info.chip_class >= GFX9; in radv_init_wsi()
61 physical_device->wsi_device.set_memory_ownership = radv_wsi_set_memory_ownership; in radv_init_wsi()
63 physical_device->vk.wsi_device = &physical_device->wsi_device; in radv_init_wsi()
71 physical_device->vk.wsi_device = NULL; in radv_finish_wsi()
72 wsi_device_finish(&physical_device->wsi_device, &physical_device->instance->vk.alloc); in radv_finish_wsi()
85 wsi_common_acquire_next_image2(&pdevice->wsi_device, _device, pAcquireInfo, pImageIndex); in radv_AcquireNextImage2KHR()
119 return wsi_common_queue_present(&queue->device->physical_device->wsi_device, in radv_QueuePresentKHR()
Dradv_wsi_display.c74 ret = wsi_register_device_event(_device, &device->physical_device->wsi_device, in radv_RegisterDeviceEventEXT()
114 ret = wsi_register_display_event(_device, &device->physical_device->wsi_device, display, in radv_RegisterDisplayEventEXT()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_wsi.c45 result = wsi_device_init(&physical_device->wsi_device, in panvk_wsi_init()
54 physical_device->wsi_device.supports_modifiers = false; in panvk_wsi_init()
56 physical_device->vk.wsi_device = &physical_device->wsi_device; in panvk_wsi_init()
64 physical_device->vk.wsi_device = NULL; in panvk_wsi_finish()
65 wsi_device_finish(&physical_device->wsi_device, in panvk_wsi_finish()
80 wsi_common_acquire_next_image2(&pdevice->wsi_device, _device, in panvk_AcquireNextImage2KHR()
Dpanvk_private.h186 struct wsi_device wsi_device; member
/third_party/mesa3d/src/intel/vulkan/
Danv_wsi.c83 result = wsi_device_init(&physical_device->wsi_device, in anv_init_wsi()
93 physical_device->wsi_device.supports_modifiers = true; in anv_init_wsi()
94 physical_device->wsi_device.signal_semaphore_for_memory = in anv_init_wsi()
96 physical_device->wsi_device.signal_fence_for_memory = in anv_init_wsi()
99 physical_device->vk.wsi_device = &physical_device->wsi_device; in anv_init_wsi()
107 physical_device->vk.wsi_device = NULL; in anv_finish_wsi()
108 wsi_device_finish(&physical_device->wsi_device, in anv_finish_wsi()
173 VkResult result = wsi_common_queue_present(&device->physical->wsi_device, in anv_QueuePresentKHR()
Danv_wsi_display.c48 &device->physical->wsi_device, in anv_RegisterDeviceEventEXT()
79 _device, &device->physical->wsi_device, in anv_RegisterDisplayEventEXT()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_wsi.c48 result = wsi_device_init(&physical_device->wsi_device, in lvp_init_wsi()
56 physical_device->vk.wsi_device = &physical_device->wsi_device; in lvp_init_wsi()
64 physical_device->vk.wsi_device = NULL; in lvp_finish_wsi()
65 wsi_device_finish(&physical_device->wsi_device, in lvp_finish_wsi()
77 VkResult result = wsi_common_acquire_next_image2(&pdevice->wsi_device, in lvp_AcquireNextImage2KHR()
Dlvp_private.h136 struct wsi_device wsi_device; member
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_wsi.c80 result = wsi_device_init(&physical_device->wsi_device, in v3dv_wsi_init()
89 physical_device->wsi_device.supports_modifiers = true; in v3dv_wsi_init()
90 physical_device->wsi_device.can_present_on_device = in v3dv_wsi_init()
93 physical_device->vk.wsi_device = &physical_device->wsi_device; in v3dv_wsi_init()
101 physical_device->vk.wsi_device = NULL; in v3dv_wsi_finish()
102 wsi_device_finish(&physical_device->wsi_device, in v3dv_wsi_finish()
199 result = wsi_common_acquire_next_image2(&pdevice->wsi_device, _device, in v3dv_AcquireNextImage2KHR()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_wsi.c82 &physical_dev->wsi_device, vn_physical_device_to_handle(physical_dev), in vn_wsi_init()
90 physical_dev->wsi_device.supports_modifiers = true; in vn_wsi_init()
92 physical_dev->base.base.wsi_device = &physical_dev->wsi_device; in vn_wsi_init()
102 physical_dev->base.base.wsi_device = NULL; in vn_wsi_fini()
103 wsi_device_finish(&physical_dev->wsi_device, alloc); in vn_wsi_fini()
187 wsi_common_queue_present(&queue->device->physical_device->wsi_device, in vn_QueuePresentKHR()
212 &dev->physical_device->wsi_device, device, pAcquireInfo, pImageIndex); in vn_AcquireNextImage2KHR()
Dvn_physical_device.h65 struct wsi_device wsi_device; member
/third_party/mesa3d/src/vulkan/util/
Dvk_physical_device.h34 struct wsi_device;
44 struct wsi_device *wsi_device; member

12