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 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/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.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/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/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/mac/
DVulkanWindowContext_mac.mm30 PFN_vkGetInstanceProcAddr instProc,
47 PFN_vkGetInstanceProcAddr instProc,
49 : INHERITED(params, createVkSurface, canPresent, instProc, devProc)
72 PFN_vkGetInstanceProcAddr instProc;
74 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) {
114 auto createVkSurface = [mtkView, instProc](VkInstance instance) -> VkSurfaceKHR {
118 (PFN_vkCreateMacOSSurfaceMVK) instProc(instance, "vkCreateMacOSSurfaceMVK");
142 canPresent, instProc, devProc);
/external/skia/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.cpp23 bool LoadVkLibraryAndGetProcAddrFuncs(PFN_vkGetInstanceProcAddr* instProc, in LoadVkLibraryAndGetProcAddrFuncs() argument
27 *instProc = &vkGetInstanceProcAddr; in LoadVkLibraryAndGetProcAddrFuncs()
51 *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.cpp499 PFN_vkGetInstanceProcAddr instProc; in init() local
501 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in init()
504 auto getProc = [&instProc, &devProc](const char* proc_name, in init()
509 return instProc(instance, proc_name); in init()
528 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.cpp505 PFN_vkGetInstanceProcAddr instProc; in init() local
507 if (!sk_gpu_test::LoadVkLibraryAndGetProcAddrFuncs(&instProc, &devProc)) { in init()
510 auto getProc = [&instProc, &devProc](const char* proc_name, in init()
515 return instProc(instance, proc_name); in init()
534 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()