Lines Matching full:env
36 FrameworkEnvironment env{}; in TEST() local
37 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
38 auto& cur_icd = env.get_test_icd(0); in TEST()
41 InstWrapper inst{env.vulkan_functions}; in TEST()
45 InstWrapper inst2{env.vulkan_functions}; in TEST()
48 …ASSERT_EQ(nullptr, env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkCreateWin32SurfaceKHR… in TEST()
53 FrameworkEnvironment env{}; in TEST() local
54 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
55 auto& cur_icd = env.get_test_icd(0); in TEST()
61 InstWrapper inst{env.vulkan_functions}; in TEST()
67 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWin32SurfaceKHR(inst, &surf_create_info, nullpt… in TEST()
70 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST()
75 FrameworkEnvironment env{}; in TEST() local
76 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
77 auto& cur_icd = env.get_test_icd(0); in TEST()
83 InstWrapper inst{env.vulkan_functions}; in TEST()
89 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWin32SurfaceKHR(inst, &surf_create_info, nullpt… in TEST()
92 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST()
97 FrameworkEnvironment env{}; in TEST() local
101 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
102 auto& cur_icd = env.get_test_icd(icd); in TEST()
111 InstWrapper instance(env.vulkan_functions); in TEST()
117 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWin32SurfaceKHR(instance.inst, &surf_create_inf… in TEST()
120 env.vulkan_functions.vkDestroySurfaceKHR(instance.inst, surface, nullptr); in TEST()
124 FrameworkEnvironment env{}; in TEST() local
125 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
126 auto& cur_icd = env.get_test_icd(0); in TEST()
133 InstWrapper inst{env.vulkan_functions}; in TEST()
145 …auto res = env.vulkan_functions.vkGetPhysicalDeviceWin32PresentationSupportKHR(physical_device, 0); in TEST()
151 FrameworkEnvironment env{}; in TEST() local
152 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
153 auto& cur_icd = env.get_test_icd(0); in TEST()
160 InstWrapper inst{env.vulkan_functions}; in TEST()
169 …ASSERT_EQ(VK_TRUE, env.vulkan_functions.vkGetPhysicalDeviceWin32PresentationSupportKHR(physical_de… in TEST()
173 FrameworkEnvironment env{}; in TEST() local
178 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
179 auto& cur_icd = env.get_test_icd(icd); in TEST()
189 InstWrapper instance(env.vulkan_functions); in TEST()
195 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWin32SurfaceKHR(instance.inst, &surf_create_inf… in TEST()
200 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumeratePhysicalDevices(instance.inst, &device_count… in TEST()
205 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkGetPhysicalDeviceSurfaceSupportKHR(phys_devs[pd], 0, … in TEST()
208 env.vulkan_functions.vkDestroySurfaceKHR(instance.inst, surface, nullptr); in TEST()
215 FrameworkEnvironment env{}; in TEST() local
216 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
217 auto& cur_icd = env.get_test_icd(0); in TEST()
221 InstWrapper inst{env.vulkan_functions}; in TEST()
225 InstWrapper inst2{env.vulkan_functions}; in TEST()
228 …ASSERT_EQ(nullptr, env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkCreateXcbSurfaceKHR")… in TEST()
233 FrameworkEnvironment env{}; in TEST() local
234 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
235 auto& cur_icd = env.get_test_icd(0); in TEST()
241 InstWrapper inst{env.vulkan_functions}; in TEST()
248 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateXcbSurfaceKHR(inst, &xcb_createInfo, nullptr, &… in TEST()
251 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST()
256 FrameworkEnvironment env{}; in TEST() local
257 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
258 auto& cur_icd = env.get_test_icd(0); in TEST()
264 InstWrapper inst{env.vulkan_functions}; in TEST()
271 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateXcbSurfaceKHR(inst, &xcb_createInfo, nullptr, &… in TEST()
274 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST()
279 FrameworkEnvironment env{}; in TEST() local
283 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
284 auto& cur_icd = env.get_test_icd(icd); in TEST()
293 InstWrapper instance(env.vulkan_functions); in TEST()
300 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateXcbSurfaceKHR(instance.inst, &xcb_createInfo, n… in TEST()
303 env.vulkan_functions.vkDestroySurfaceKHR(instance.inst, surface, nullptr); in TEST()
307 FrameworkEnvironment env{}; in TEST() local
308 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
309 auto& cur_icd = env.get_test_icd(0); in TEST()
316 InstWrapper inst{env.vulkan_functions}; in TEST()
328 …auto res = env.vulkan_functions.vkGetPhysicalDeviceXcbPresentationSupportKHR(physical_device, 0, n… in TEST()
334 FrameworkEnvironment env{}; in TEST() local
335 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
336 auto& cur_icd = env.get_test_icd(0); in TEST()
343 InstWrapper inst{env.vulkan_functions}; in TEST()
352 …ASSERT_EQ(VK_TRUE, env.vulkan_functions.vkGetPhysicalDeviceXcbPresentationSupportKHR(physical_devi… in TEST()
356 FrameworkEnvironment env{}; in TEST() local
361 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
362 auto& cur_icd = env.get_test_icd(icd); in TEST()
372 InstWrapper instance(env.vulkan_functions); in TEST()
378 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateXcbSurfaceKHR(instance.inst, &xcb_createInfo, n… in TEST()
383 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumeratePhysicalDevices(instance.inst, &device_count… in TEST()
388 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkGetPhysicalDeviceSurfaceSupportKHR(phys_devs[pd], 0, … in TEST()
391 env.vulkan_functions.vkDestroySurfaceKHR(instance.inst, surface, nullptr); in TEST()
398 FrameworkEnvironment env{}; in TEST() local
399 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
400 auto& cur_icd = env.get_test_icd(0); in TEST()
404 InstWrapper inst{env.vulkan_functions}; in TEST()
408 InstWrapper inst2{env.vulkan_functions}; in TEST()
411 …ASSERT_EQ(nullptr, env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkCreateXlibSurfaceKHR"… in TEST()
416 FrameworkEnvironment env{}; in TEST() local
417 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
418 auto& cur_icd = env.get_test_icd(0); in TEST()
424 InstWrapper inst{env.vulkan_functions}; in TEST()
431 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateXlibSurfaceKHR(inst, &createInfo, nullptr, &sur… in TEST()
434 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST()
439 FrameworkEnvironment env{}; in TEST() local
440 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
441 auto& cur_icd = env.get_test_icd(0); in TEST()
447 InstWrapper inst{env.vulkan_functions}; in TEST()
454 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateXlibSurfaceKHR(inst, &createInfo, nullptr, &sur… in TEST()
457 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST()
462 FrameworkEnvironment env{}; in TEST() local
466 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
467 auto& cur_icd = env.get_test_icd(icd); in TEST()
476 InstWrapper instance(env.vulkan_functions); in TEST()
483 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateXlibSurfaceKHR(instance.inst, &createInfo, null… in TEST()
486 env.vulkan_functions.vkDestroySurfaceKHR(instance.inst, surface, nullptr); in TEST()
490 FrameworkEnvironment env{}; in TEST() local
491 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
492 auto& cur_icd = env.get_test_icd(0); in TEST()
499 InstWrapper inst{env.vulkan_functions}; in TEST()
511 …auto res = env.vulkan_functions.vkGetPhysicalDeviceXlibPresentationSupportKHR(physical_device, 0, … in TEST()
517 FrameworkEnvironment env{}; in TEST() local
518 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
519 auto& cur_icd = env.get_test_icd(0); in TEST()
526 InstWrapper inst{env.vulkan_functions}; in TEST()
535 …ASSERT_EQ(VK_TRUE, env.vulkan_functions.vkGetPhysicalDeviceXlibPresentationSupportKHR(physical_dev… in TEST()
539 FrameworkEnvironment env{}; in TEST() local
544 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
545 auto& cur_icd = env.get_test_icd(icd); in TEST()
555 InstWrapper instance(env.vulkan_functions); in TEST()
561 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateXlibSurfaceKHR(instance.inst, &createInfo, null… in TEST()
566 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumeratePhysicalDevices(instance.inst, &device_count… in TEST()
571 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkGetPhysicalDeviceSurfaceSupportKHR(phys_devs[pd], 0, … in TEST()
574 env.vulkan_functions.vkDestroySurfaceKHR(instance.inst, surface, nullptr); in TEST()
581 FrameworkEnvironment env{}; in TEST() local
582 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
583 auto& cur_icd = env.get_test_icd(0); in TEST()
587 InstWrapper inst{env.vulkan_functions}; in TEST()
591 InstWrapper inst2{env.vulkan_functions}; in TEST()
594 …ASSERT_EQ(nullptr, env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkCreateWaylandSurfaceK… in TEST()
599 FrameworkEnvironment env{}; in TEST() local
600 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
601 auto& cur_icd = env.get_test_icd(0); in TEST()
607 InstWrapper inst{env.vulkan_functions}; in TEST()
614 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWaylandSurfaceKHR(inst, &createInfo, nullptr, &… in TEST()
617 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST()
622 FrameworkEnvironment env{}; in TEST() local
623 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
624 auto& cur_icd = env.get_test_icd(0); in TEST()
630 InstWrapper inst{env.vulkan_functions}; in TEST()
637 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWaylandSurfaceKHR(inst, &createInfo, nullptr, &… in TEST()
640 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST()
645 FrameworkEnvironment env{}; in TEST() local
649 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
650 auto& cur_icd = env.get_test_icd(icd); in TEST()
659 InstWrapper instance(env.vulkan_functions); in TEST()
666 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWaylandSurfaceKHR(instance.inst, &createInfo, n… in TEST()
669 env.vulkan_functions.vkDestroySurfaceKHR(instance.inst, surface, nullptr); in TEST()
673 FrameworkEnvironment env{}; in TEST() local
674 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
675 auto& cur_icd = env.get_test_icd(0); in TEST()
682 InstWrapper inst{env.vulkan_functions}; in TEST()
694 …auto res = env.vulkan_functions.vkGetPhysicalDeviceWaylandPresentationSupportKHR(physical_device, … in TEST()
700 FrameworkEnvironment env{}; in TEST() local
701 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
702 auto& cur_icd = env.get_test_icd(0); in TEST()
709 InstWrapper inst{env.vulkan_functions}; in TEST()
718 …ASSERT_EQ(VK_TRUE, env.vulkan_functions.vkGetPhysicalDeviceWaylandPresentationSupportKHR(physical_… in TEST()
722 FrameworkEnvironment env{}; in TEST() local
727 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
728 auto& cur_icd = env.get_test_icd(icd); in TEST()
738 InstWrapper instance(env.vulkan_functions); in TEST()
744 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWaylandSurfaceKHR(instance.inst, &createInfo, n… in TEST()
749 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumeratePhysicalDevices(instance.inst, &device_count… in TEST()
754 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkGetPhysicalDeviceSurfaceSupportKHR(phys_devs[pd], 0, … in TEST()
757 env.vulkan_functions.vkDestroySurfaceKHR(instance.inst, surface, nullptr); in TEST()
765 FrameworkEnvironment env{}; in TEST() local
766 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)) in TEST()
779 InstWrapper inst{env.vulkan_functions}; in TEST()
811 …env.vulkan_functions.vkGetPhysicalDeviceSurfaceCapabilities2KHR(physical_device, &surface_info, &s… in TEST()
824 FrameworkEnvironment env{}; in TEST() local
825 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)) in TEST()
829 InstWrapper inst{env.vulkan_functions}; in TEST()
838 FrameworkEnvironment env{}; in TEST() local
839 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)) in TEST()
843 InstWrapper inst{env.vulkan_functions}; in TEST()
913 env.vulkan_functions.vkDestroySurfaceKHR(inst.inst, surface, nullptr); in TEST()
917 FrameworkEnvironment env{}; in TEST() local
924 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)) in TEST()
939 auto& icd2 = env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)) in TEST()
957 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)) in TEST()
966 InstWrapper inst{env.vulkan_functions}; in TEST()
975 … env.vulkan_functions.vkDestroySurfaceKHR}; in TEST()
1009 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkGetPhysicalDeviceSurfaceCapabilities2KHR(physical_dev… in TEST()
1019 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkGetPhysicalDeviceSurfaceCapabilities2KHR(physical_dev… in TEST()