Lines Matching defs:wsi
45 struct wsi_device *wsi;
63 struct wsi_win32 *wsi;
436 struct wsi_win32 *wsi =
437 (struct wsi_win32 *) wsi_device->wsi[VK_ICD_WSI_PLATFORM_WIN32];
466 chain->wsi = wsi;
510 struct wsi_win32 *wsi;
513 wsi = vk_alloc(alloc, sizeof(*wsi), 8,
515 if (!wsi) {
520 wsi->physical_device = physical_device;
521 wsi->alloc = alloc;
522 wsi->wsi = wsi_device;
524 wsi->base.get_support = wsi_win32_surface_get_support;
525 wsi->base.get_capabilities2 = wsi_win32_surface_get_capabilities2;
526 wsi->base.get_formats = wsi_win32_surface_get_formats;
527 wsi->base.get_formats2 = wsi_win32_surface_get_formats2;
528 wsi->base.get_present_modes = wsi_win32_surface_get_present_modes;
529 wsi->base.get_present_rectangles = wsi_win32_surface_get_present_rectangles;
530 wsi->base.create_swapchain = wsi_win32_surface_create_swapchain;
532 wsi_device->wsi[VK_ICD_WSI_PLATFORM_WIN32] = &wsi->base;
537 wsi_device->wsi[VK_ICD_WSI_PLATFORM_WIN32] = NULL;
546 struct wsi_win32 *wsi =
547 (struct wsi_win32 *)wsi_device->wsi[VK_ICD_WSI_PLATFORM_WIN32];
548 if (!wsi)
551 vk_free(alloc, wsi);