Lines Matching refs:real_icd_surfaces
198 if (NULL != icd_surface->real_icd_surfaces) { in terminator_DestroySurfaceKHR()
203 (VkSurfaceKHR)(uintptr_t)NULL != icd_surface->real_icd_surfaces[i]) { in terminator_DestroySurfaceKHR()
204 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, icd_surface->real_icd_surfaces[i], pAllocat… in terminator_DestroySurfaceKHR()
205 icd_surface->real_icd_surfaces[i] = (VkSurfaceKHR)(uintptr_t)NULL; in terminator_DestroySurfaceKHR()
211 assert((VkSurfaceKHR)(uintptr_t)NULL == icd_surface->real_icd_surfaces[i]); in terminator_DestroySurfaceKHR()
214 loader_instance_heap_free(loader_inst, icd_surface->real_icd_surfaces); in terminator_DestroySurfaceKHR()
268 if (NULL != icd_surface->real_icd_surfaces && in terminator_GetPhysicalDeviceSurfaceSupportKHR()
269 (VkSurfaceKHR)(uintptr_t)NULL != icd_surface->real_icd_surfaces[phys_dev_term->icd_index]) { in terminator_GetPhysicalDeviceSurfaceSupportKHR()
271 …phys_dev_term->phys_dev, queueFamilyIndex, icd_surface->real_icd_surfaces[phys_dev_term->icd_index… in terminator_GetPhysicalDeviceSurfaceSupportKHR()
322 if (NULL != icd_surface->real_icd_surfaces && in terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR()
323 (VkSurfaceKHR)(uintptr_t)NULL != icd_surface->real_icd_surfaces[phys_dev_term->icd_index]) { in terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR()
325 …phys_dev_term->phys_dev, icd_surface->real_icd_surfaces[phys_dev_term->icd_index], pSurfaceCapabil… in terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR()
378 if (NULL != icd_surface->real_icd_surfaces && in terminator_GetPhysicalDeviceSurfaceFormatsKHR()
379 (VkSurfaceKHR)(uintptr_t)NULL != icd_surface->real_icd_surfaces[phys_dev_term->icd_index]) { in terminator_GetPhysicalDeviceSurfaceFormatsKHR()
381 … icd_surface->real_icd_surfaces[phys_dev_term->icd_index], in terminator_GetPhysicalDeviceSurfaceFormatsKHR()
436 if (NULL != icd_surface->real_icd_surfaces && in terminator_GetPhysicalDeviceSurfacePresentModesKHR()
437 (VkSurfaceKHR)(uintptr_t)NULL != icd_surface->real_icd_surfaces[phys_dev_term->icd_index]) { in terminator_GetPhysicalDeviceSurfacePresentModesKHR()
439 …phys_dev_term->phys_dev, icd_surface->real_icd_surfaces[phys_dev_term->icd_index], pPresentModeCou… in terminator_GetPhysicalDeviceSurfacePresentModesKHR()
468 if (NULL != icd_surface->real_icd_surfaces) { in terminator_CreateSwapchainKHR()
469 if ((VkSurfaceKHR)(uintptr_t)NULL != icd_surface->real_icd_surfaces[icd_index]) { in terminator_CreateSwapchainKHR()
478 pCreateCopy->surface = icd_surface->real_icd_surfaces[icd_index]; in terminator_CreateSwapchainKHR()
545 …pIcdSurface->real_icd_surfaces = loader_instance_heap_calloc(instance, sizeof(VkSurfaceKHR) * inst… in AllocateIcdSurfaceStruct()
547 if (pIcdSurface->real_icd_surfaces == NULL) { in AllocateIcdSurfaceStruct()
607 … &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateWin32SurfaceKHR()
620 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateWin32SurfaceKHR()
623 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateWin32SurfaceKHR()
625 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateWin32SurfaceKHR()
628 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateWin32SurfaceKHR()
726 … &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateWaylandSurfaceKHR()
739 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateWaylandSurfaceKHR()
742 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateWaylandSurfaceKHR()
744 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateWaylandSurfaceKHR()
747 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateWaylandSurfaceKHR()
849 &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateXcbSurfaceKHR()
862 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateXcbSurfaceKHR()
865 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateXcbSurfaceKHR()
867 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateXcbSurfaceKHR()
870 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateXcbSurfaceKHR()
974 &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateXlibSurfaceKHR()
987 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateXlibSurfaceKHR()
990 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateXlibSurfaceKHR()
992 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateXlibSurfaceKHR()
995 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateXlibSurfaceKHR()
1099 … &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateDirectFBSurfaceEXT()
1112 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateDirectFBSurfaceEXT()
1115 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateDirectFBSurfaceEXT()
1117 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateDirectFBSurfaceEXT()
1120 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateDirectFBSurfaceEXT()
1315 … &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateHeadlessSurfaceEXT()
1328 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateHeadlessSurfaceEXT()
1331 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateHeadlessSurfaceEXT()
1333 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateHeadlessSurfaceEXT()
1336 loader_instance_heap_free(inst, pIcdSurface->real_icd_surfaces); in terminator_CreateHeadlessSurfaceEXT()
1393 … &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateMacOSSurfaceMVK()
1406 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateMacOSSurfaceMVK()
1409 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateMacOSSurfaceMVK()
1411 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateMacOSSurfaceMVK()
1414 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateMacOSSurfaceMVK()
1521 … &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateStreamDescriptorSurfaceGGP()
1534 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateStreamDescriptorSurfaceGGP()
1537 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateStreamDescriptorSurfaceGGP()
1539 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateStreamDescriptorSurfaceGGP()
1542 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateStreamDescriptorSurfaceGGP()
1595 … &icd_surface->real_icd_surfaces[i]); in terminator_CreateMetalSurfaceEXT()
1606 if (icd_surface->real_icd_surfaces != NULL) { in terminator_CreateMetalSurfaceEXT()
1609 …if (icd_surface->real_icd_surfaces[i] == VK_NULL_HANDLE && icd_term->dispatch.DestroySurfaceKHR !=… in terminator_CreateMetalSurfaceEXT()
1610 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, icd_surface->real_icd_surfaces[i], pAllocat… in terminator_CreateMetalSurfaceEXT()
1613 loader_instance_heap_free(loader_inst, icd_surface->real_icd_surfaces); in terminator_CreateMetalSurfaceEXT()
1671 … &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateScreenSurfaceQNX()
1684 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateScreenSurfaceQNX()
1687 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateScreenSurfaceQNX()
1689 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateScreenSurfaceQNX()
1692 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateScreenSurfaceQNX()
1790 &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateViSurfaceNN()
1803 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateViSurfaceNN()
1806 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateViSurfaceNN()
1808 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateViSurfaceNN()
1811 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateViSurfaceNN()
2121 … &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateDisplayPlaneSurfaceKHR()
2134 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateDisplayPlaneSurfaceKHR()
2137 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateDisplayPlaneSurfaceKHR()
2139 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateDisplayPlaneSurfaceKHR()
2142 loader_instance_heap_free(inst, pIcdSurface->real_icd_surfaces); in terminator_CreateDisplayPlaneSurfaceKHR()
2174 if (NULL != icd_surface->real_icd_surfaces) { in terminator_CreateSharedSwapchainsKHR()
2175 if ((VkSurfaceKHR)(uintptr_t)NULL != icd_surface->real_icd_surfaces[icd_index]) { in terminator_CreateSharedSwapchainsKHR()
2185 pCreateCopy[sc].surface = icd_surface->real_icd_surfaces[icd_index]; in terminator_CreateSharedSwapchainsKHR()
2226 …if (NULL != icd_surface->real_icd_surfaces && (VkSurfaceKHR)(uintptr_t)NULL != icd_surface->real_i… in terminator_GetDeviceGroupSurfacePresentModesKHR()
2227 …m->dispatch.GetDeviceGroupSurfacePresentModesKHR(device, icd_surface->real_icd_surfaces[icd_index], in terminator_GetDeviceGroupSurfacePresentModesKHR()
2266 …if (NULL != icd_surface->real_icd_surfaces && NULL != (void *)(uintptr_t)(icd_surface->real_icd_su… in terminator_GetPhysicalDevicePresentRectanglesKHR()
2268 phys_dev_term->phys_dev, icd_surface->real_icd_surfaces[icd_index], pRectCount, pRects); in terminator_GetPhysicalDevicePresentRectanglesKHR()
2550 … &pIcdSurface->real_icd_surfaces[i]); in terminator_CreateImagePipeSurfaceFUCHSIA()
2563 if (NULL != pIcdSurface->real_icd_surfaces) { in terminator_CreateImagePipeSurfaceFUCHSIA()
2566 if ((VkSurfaceKHR)(uintptr_t)NULL != pIcdSurface->real_icd_surfaces[i] && in terminator_CreateImagePipeSurfaceFUCHSIA()
2568 …d_term->dispatch.DestroySurfaceKHR(icd_term->instance, pIcdSurface->real_icd_surfaces[i], pAllocat… in terminator_CreateImagePipeSurfaceFUCHSIA()
2571 loader_instance_heap_free(loader_inst, pIcdSurface->real_icd_surfaces); in terminator_CreateImagePipeSurfaceFUCHSIA()
2624 …if (NULL != icd_surface->real_icd_surfaces && NULL != (void *)(uintptr_t)icd_surface->real_icd_sur… in terminator_GetPhysicalDeviceSurfaceCapabilities2KHR()
2626 info_copy.surface = icd_surface->real_icd_surfaces[icd_index]; in terminator_GetPhysicalDeviceSurfaceCapabilities2KHR()
2648 …if (NULL != icd_surface->real_icd_surfaces && NULL != (void *)(uintptr_t)(icd_surface->real_icd_su… in terminator_GetPhysicalDeviceSurfaceCapabilities2KHR()
2649 surface = icd_surface->real_icd_surfaces[icd_index]; in terminator_GetPhysicalDeviceSurfaceCapabilities2KHR()
2705 …if (NULL != icd_surface->real_icd_surfaces && NULL != (void *)(uintptr_t)(icd_surface->real_icd_su… in terminator_GetPhysicalDeviceSurfaceFormats2KHR()
2707 info_copy.surface = icd_surface->real_icd_surfaces[icd_index]; in terminator_GetPhysicalDeviceSurfaceFormats2KHR()
2727 …if (NULL != icd_surface->real_icd_surfaces && NULL != (void *)(uintptr_t)(icd_surface->real_icd_su… in terminator_GetPhysicalDeviceSurfaceFormats2KHR()
2728 surface = icd_surface->real_icd_surfaces[icd_index]; in terminator_GetPhysicalDeviceSurfaceFormats2KHR()