Home
last modified time | relevance | path

Searched refs:instProc (Results 1 – 17 of 17) sorted by relevance

/external/skqp/tools/sk_app/win/
DVulkanWindowContext_win.cpp27 PFN_vkGetInstanceProcAddr instProc; in NewVulkanForWin() local
29 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in NewVulkanForWin()
33 auto createVkSurface = [hwnd, instProc] (VkInstance instance) -> VkSurfaceKHR { in NewVulkanForWin()
37 instProc(instance, "vkCreateWin32SurfaceKHR"); in NewVulkanForWin()
58 auto canPresent = [instProc] (VkInstance instance, VkPhysicalDevice physDev, in NewVulkanForWin()
65 instProc(instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR"); in NewVulkanForWin()
73 instProc, devProc); in NewVulkanForWin()
/external/skia/tools/sk_app/win/
DVulkanWindowContext_win.cpp27 PFN_vkGetInstanceProcAddr instProc; in MakeVulkanForWin() local
29 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in MakeVulkanForWin()
33 auto createVkSurface = [hwnd, instProc] (VkInstance instance) -> VkSurfaceKHR { in MakeVulkanForWin()
37 instProc(instance, "vkCreateWin32SurfaceKHR"); in MakeVulkanForWin()
58 auto canPresent = [instProc] (VkInstance instance, VkPhysicalDevice physDev, in MakeVulkanForWin()
65 instProc(instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR"); in MakeVulkanForWin()
73 new VulkanWindowContext(params, createVkSurface, canPresent, instProc, devProc)); in MakeVulkanForWin()
/external/skqp/tools/sk_app/unix/
DVulkanWindowContext_unix.cpp26 PFN_vkGetInstanceProcAddr instProc; in NewVulkanForXlib() local
28 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in NewVulkanForXlib()
32 auto createVkSurface = [&info, instProc](VkInstance instance) -> VkSurfaceKHR { in NewVulkanForXlib()
36 (PFN_vkCreateXcbSurfaceKHR) instProc(instance, "vkCreateXcbSurfaceKHR"); in NewVulkanForXlib()
57 auto canPresent = [&info, instProc](VkInstance instance, VkPhysicalDevice physDev, in NewVulkanForXlib()
64 instProc(instance, "vkGetPhysicalDeviceXcbPresentationSupportKHR"); in NewVulkanForXlib()
77 instProc, devProc); in NewVulkanForXlib()
/external/skia/tools/sk_app/unix/
DVulkanWindowContext_unix.cpp27 PFN_vkGetInstanceProcAddr instProc; in MakeVulkanForXlib() local
29 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in MakeVulkanForXlib()
33 auto createVkSurface = [&info, instProc](VkInstance instance) -> VkSurfaceKHR { in MakeVulkanForXlib()
37 (PFN_vkCreateXcbSurfaceKHR) instProc(instance, "vkCreateXcbSurfaceKHR"); in MakeVulkanForXlib()
58 auto canPresent = [&info, instProc](VkInstance instance, VkPhysicalDevice physDev, in MakeVulkanForXlib()
65 instProc(instance, "vkGetPhysicalDeviceXcbPresentationSupportKHR"); in MakeVulkanForXlib()
78 new VulkanWindowContext(displayParams, createVkSurface, canPresent, instProc, devProc)); in MakeVulkanForXlib()
/external/skqp/tools/sk_app/android/
DVulkanWindowContext_android.cpp22 PFN_vkGetInstanceProcAddr instProc; in NewVulkanForAndroid() local
24 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in NewVulkanForAndroid()
28 auto createVkSurface = [window, instProc] (VkInstance instance) -> VkSurfaceKHR { in NewVulkanForAndroid()
30 (PFN_vkCreateAndroidSurfaceKHR) instProc(instance, "vkCreateAndroidSurfaceKHR"); in NewVulkanForAndroid()
52 instProc, devProc); in NewVulkanForAndroid()
/external/skia/tools/sk_app/android/
DVulkanWindowContext_android.cpp23 PFN_vkGetInstanceProcAddr instProc; in MakeVulkanForAndroid() local
25 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in MakeVulkanForAndroid()
29 auto createVkSurface = [window, instProc] (VkInstance instance) -> VkSurfaceKHR { in MakeVulkanForAndroid()
31 (PFN_vkCreateAndroidSurfaceKHR) instProc(instance, "vkCreateAndroidSurfaceKHR"); in MakeVulkanForAndroid()
53 new VulkanWindowContext(params, createVkSurface, canPresent, instProc, devProc)); in MakeVulkanForAndroid()
/external/skia/tools/gpu/vk/
DVkTestHelper.cpp32 PFN_vkGetInstanceProcAddr instProc; in init() local
34 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in init()
37 auto getProc = [&instProc, &devProc](const char* proc_name, in init()
42 return instProc(instance, proc_name); in init()
60 instProc(fBackendContext.fInstance, "vkDestroyDebugReportCallbackEXT")); in init()
DVkTestContext.cpp39 PFN_vkGetInstanceProcAddr instProc; in Create() local
41 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in Create()
44 auto getProc = [instProc, devProc](const char* proc_name, in Create()
49 return instProc(instance, proc_name); in Create()
62 destroyCallback = (PFN_vkDestroyDebugReportCallbackEXT) instProc( in Create()
DVkTestUtils.cpp36 bool LoadVkLibraryAndGetProcAddrFuncs(PFN_vkGetInstanceProcAddr* instProc, in LoadVkLibraryAndGetProcAddrFuncs() argument
54 *instProc = localInstProc; in LoadVkLibraryAndGetProcAddrFuncs()
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp164 PFN_vkGetInstanceProcAddr instProc; in Create() local
166 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in Create()
169 auto getProc = [instProc, devProc](const char* proc_name, in Create()
174 return instProc(instance, proc_name); in Create()
187 destroyCallback = (PFN_vkDestroyDebugReportCallbackEXT) instProc( in Create()
DVkTestUtils.cpp19 bool LoadVkLibraryAndGetProcAddrFuncs(PFN_vkGetInstanceProcAddr* instProc, in LoadVkLibraryAndGetProcAddrFuncs() argument
23 *instProc = &vkGetInstanceProcAddr; in LoadVkLibraryAndGetProcAddrFuncs()
47 *instProc = localInstProc; in LoadVkLibraryAndGetProcAddrFuncs()
/external/skqp/tests/
DVkPriorityExtensionTest.cpp52 PFN_vkGetInstanceProcAddr instProc; in DEF_GPUTEST() local
54 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in DEF_GPUTEST()
57 auto getProc = [instProc, devProc](const char* proc_name, in DEF_GPUTEST()
62 return instProc(instance, proc_name); in DEF_GPUTEST()
DVkHardwareBufferTest.cpp500 PFN_vkGetInstanceProcAddr instProc; in init() local
502 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in init()
505 auto getProc = [&instProc, &devProc](const char* proc_name, in init()
510 return instProc(instance, proc_name); in init()
529 fDestroyDebugCallback = (PFN_vkDestroyDebugReportCallbackEXT) instProc( in init()
/external/skia/tests/
DVkPriorityExtensionTest.cpp52 PFN_vkGetInstanceProcAddr instProc; in DEF_GPUTEST() local
54 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in DEF_GPUTEST()
57 auto getProc = [instProc, devProc](const char* proc_name, in DEF_GPUTEST()
62 return instProc(instance, proc_name); in DEF_GPUTEST()
DVkHardwareBufferTest.cpp510 PFN_vkGetInstanceProcAddr instProc; in init() local
512 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in init()
515 auto getProc = [&instProc, &devProc](const char* proc_name, in init()
520 return instProc(instance, proc_name); in init()
539 fDestroyDebugCallback = (PFN_vkDestroyDebugReportCallbackEXT) instProc( in init()
/external/skia/tools/sk_app/
DVulkanWindowContext.cpp35 PFN_vkGetInstanceProcAddr instProc, in VulkanWindowContext() argument
46 fGetInstanceProcAddr = instProc; in VulkanWindowContext()
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp34 PFN_vkGetInstanceProcAddr instProc, in VulkanWindowContext() argument
46 fGetInstanceProcAddr = instProc; in VulkanWindowContext()