Searched refs:surfaceCreateInfo (Results 1 – 3 of 3) sorted by relevance
/external/skia/tools/viewer/sk_app/win/ |
D | VulkanWindowContext_win.cpp | 31 VkWin32SurfaceCreateInfoKHR surfaceCreateInfo; in NewVulkanForWin() local 32 memset(&surfaceCreateInfo, 0, sizeof(VkWin32SurfaceCreateInfoKHR)); in NewVulkanForWin() 33 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR; in NewVulkanForWin() 34 surfaceCreateInfo.pNext = nullptr; in NewVulkanForWin() 35 surfaceCreateInfo.flags = 0; in NewVulkanForWin() 36 surfaceCreateInfo.hinstance = hinstance; in NewVulkanForWin() 37 surfaceCreateInfo.hwnd = hwnd; in NewVulkanForWin() 39 VkResult res = createWin32SurfaceKHR(instance, &surfaceCreateInfo, nullptr, &surface); in NewVulkanForWin()
|
/external/skia/tools/viewer/sk_app/unix/ |
D | VulkanWindowContext_unix.cpp | 33 VkXcbSurfaceCreateInfoKHR surfaceCreateInfo; in NewVulkanForXlib() local 34 memset(&surfaceCreateInfo, 0, sizeof(VkXcbSurfaceCreateInfoKHR)); in NewVulkanForXlib() 35 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR; in NewVulkanForXlib() 36 surfaceCreateInfo.pNext = nullptr; in NewVulkanForXlib() 37 surfaceCreateInfo.flags = 0; in NewVulkanForXlib() 38 surfaceCreateInfo.connection = XGetXCBConnection(info.fDisplay); in NewVulkanForXlib() 39 surfaceCreateInfo.window = info.fWindow; in NewVulkanForXlib() 41 VkResult res = createXcbSurfaceKHR(instance, &surfaceCreateInfo, nullptr, &surface); in NewVulkanForXlib()
|
/external/skia/tools/viewer/sk_app/android/ |
D | VulkanWindowContext_android.cpp | 27 VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo; in NewVulkanForAndroid() local 28 memset(&surfaceCreateInfo, 0, sizeof(VkAndroidSurfaceCreateInfoKHR)); in NewVulkanForAndroid() 29 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR; in NewVulkanForAndroid() 30 surfaceCreateInfo.pNext = nullptr; in NewVulkanForAndroid() 31 surfaceCreateInfo.flags = 0; in NewVulkanForAndroid() 32 surfaceCreateInfo.window = window; in NewVulkanForAndroid() 34 VkResult res = createAndroidSurfaceKHR(instance, &surfaceCreateInfo, in NewVulkanForAndroid()
|