Lines Matching refs:pIcdSurface

496     VkIcdSurfaceWin32 *pIcdSurface = NULL;  in terminator_CreateWin32SurfaceKHR()  local
498 pIcdSurface = loader_heap_alloc(ptr_instance, sizeof(VkIcdSurfaceWin32), in terminator_CreateWin32SurfaceKHR()
500 if (pIcdSurface == NULL) { in terminator_CreateWin32SurfaceKHR()
504 pIcdSurface->base.platform = VK_ICD_WSI_PLATFORM_WIN32; in terminator_CreateWin32SurfaceKHR()
505 pIcdSurface->hinstance = pCreateInfo->hinstance; in terminator_CreateWin32SurfaceKHR()
506 pIcdSurface->hwnd = pCreateInfo->hwnd; in terminator_CreateWin32SurfaceKHR()
508 *pSurface = (VkSurfaceKHR)pIcdSurface; in terminator_CreateWin32SurfaceKHR()
583 VkIcdSurfaceMir *pIcdSurface = NULL; in terminator_CreateMirSurfaceKHR() local
585 pIcdSurface = loader_heap_alloc(ptr_instance, sizeof(VkIcdSurfaceMir), in terminator_CreateMirSurfaceKHR()
587 if (pIcdSurface == NULL) { in terminator_CreateMirSurfaceKHR()
591 pIcdSurface->base.platform = VK_ICD_WSI_PLATFORM_MIR; in terminator_CreateMirSurfaceKHR()
592 pIcdSurface->connection = pCreateInfo->connection; in terminator_CreateMirSurfaceKHR()
593 pIcdSurface->mirSurface = pCreateInfo->mirSurface; in terminator_CreateMirSurfaceKHR()
595 *pSurface = (VkSurfaceKHR)pIcdSurface; in terminator_CreateMirSurfaceKHR()
670 VkIcdSurfaceWayland *pIcdSurface = NULL; in terminator_CreateWaylandSurfaceKHR() local
672 pIcdSurface = loader_heap_alloc(ptr_instance, sizeof(VkIcdSurfaceWayland), in terminator_CreateWaylandSurfaceKHR()
674 if (pIcdSurface == NULL) { in terminator_CreateWaylandSurfaceKHR()
678 pIcdSurface->base.platform = VK_ICD_WSI_PLATFORM_WAYLAND; in terminator_CreateWaylandSurfaceKHR()
679 pIcdSurface->display = pCreateInfo->display; in terminator_CreateWaylandSurfaceKHR()
680 pIcdSurface->surface = pCreateInfo->surface; in terminator_CreateWaylandSurfaceKHR()
682 *pSurface = (VkSurfaceKHR)pIcdSurface; in terminator_CreateWaylandSurfaceKHR()
759 VkIcdSurfaceXcb *pIcdSurface = NULL; in terminator_CreateXcbSurfaceKHR() local
761 pIcdSurface = loader_heap_alloc(ptr_instance, sizeof(VkIcdSurfaceXcb), in terminator_CreateXcbSurfaceKHR()
763 if (pIcdSurface == NULL) { in terminator_CreateXcbSurfaceKHR()
767 pIcdSurface->base.platform = VK_ICD_WSI_PLATFORM_XCB; in terminator_CreateXcbSurfaceKHR()
768 pIcdSurface->connection = pCreateInfo->connection; in terminator_CreateXcbSurfaceKHR()
769 pIcdSurface->window = pCreateInfo->window; in terminator_CreateXcbSurfaceKHR()
771 *pSurface = (VkSurfaceKHR)pIcdSurface; in terminator_CreateXcbSurfaceKHR()
849 VkIcdSurfaceXlib *pIcdSurface = NULL; in terminator_CreateXlibSurfaceKHR() local
851 pIcdSurface = loader_heap_alloc(ptr_instance, sizeof(VkIcdSurfaceXlib), in terminator_CreateXlibSurfaceKHR()
853 if (pIcdSurface == NULL) { in terminator_CreateXlibSurfaceKHR()
857 pIcdSurface->base.platform = VK_ICD_WSI_PLATFORM_XLIB; in terminator_CreateXlibSurfaceKHR()
858 pIcdSurface->dpy = pCreateInfo->dpy; in terminator_CreateXlibSurfaceKHR()
859 pIcdSurface->window = pCreateInfo->window; in terminator_CreateXlibSurfaceKHR()
861 *pSurface = (VkSurfaceKHR)pIcdSurface; in terminator_CreateXlibSurfaceKHR()
935 VkIcdSurfaceAndroid *pIcdSurface = NULL; in terminator_CreateAndroidSurfaceKHR() local
937 pIcdSurface = loader_heap_alloc(ptr_instance, sizeof(VkIcdSurfaceAndroid), in terminator_CreateAndroidSurfaceKHR()
939 if (pIcdSurface == NULL) { in terminator_CreateAndroidSurfaceKHR()
943 pIcdSurface->base.platform = VK_ICD_WSI_PLATFORM_ANDROID; in terminator_CreateAndroidSurfaceKHR()
944 pIcdSurface->dpy = dpy; in terminator_CreateAndroidSurfaceKHR()
945 pIcdSurface->window = window; in terminator_CreateAndroidSurfaceKHR()
947 *pSurface = (VkSurfaceKHR)pIcdSurface; in terminator_CreateAndroidSurfaceKHR()
1190 VkIcdSurfaceDisplay *pIcdSurface = NULL; in terminator_CreateDisplayPlaneSurfaceKHR() local
1192 pIcdSurface = loader_heap_alloc(inst, sizeof(VkIcdSurfaceDisplay), in terminator_CreateDisplayPlaneSurfaceKHR()
1194 if (pIcdSurface == NULL) { in terminator_CreateDisplayPlaneSurfaceKHR()
1198 pIcdSurface->base.platform = VK_ICD_WSI_PLATFORM_DISPLAY; in terminator_CreateDisplayPlaneSurfaceKHR()
1199 pIcdSurface->displayMode = pCreateInfo->displayMode; in terminator_CreateDisplayPlaneSurfaceKHR()
1200 pIcdSurface->planeIndex = pCreateInfo->planeIndex; in terminator_CreateDisplayPlaneSurfaceKHR()
1201 pIcdSurface->planeStackIndex = pCreateInfo->planeStackIndex; in terminator_CreateDisplayPlaneSurfaceKHR()
1202 pIcdSurface->transform = pCreateInfo->transform; in terminator_CreateDisplayPlaneSurfaceKHR()
1203 pIcdSurface->globalAlpha = pCreateInfo->globalAlpha; in terminator_CreateDisplayPlaneSurfaceKHR()
1204 pIcdSurface->alphaMode = pCreateInfo->alphaMode; in terminator_CreateDisplayPlaneSurfaceKHR()
1205 pIcdSurface->imageExtent = pCreateInfo->imageExtent; in terminator_CreateDisplayPlaneSurfaceKHR()
1207 *pSurface = (VkSurfaceKHR)pIcdSurface; in terminator_CreateDisplayPlaneSurfaceKHR()