Home
last modified time | relevance | path

Searched refs:surfaceCreateInfo (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/tools/sk_app/win/
DVulkanWindowContext_win.cpp42 VkWin32SurfaceCreateInfoKHR surfaceCreateInfo; in MakeVulkanForWin() local
43 memset(&surfaceCreateInfo, 0, sizeof(VkWin32SurfaceCreateInfoKHR)); in MakeVulkanForWin()
44 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR; in MakeVulkanForWin()
45 surfaceCreateInfo.pNext = nullptr; in MakeVulkanForWin()
46 surfaceCreateInfo.flags = 0; in MakeVulkanForWin()
47 surfaceCreateInfo.hinstance = hinstance; in MakeVulkanForWin()
48 surfaceCreateInfo.hwnd = hwnd; in MakeVulkanForWin()
50 VkResult res = createWin32SurfaceKHR(instance, &surfaceCreateInfo, nullptr, &surface); in MakeVulkanForWin()
/third_party/skia/tools/sk_app/unix/
DVulkanWindowContext_unix.cpp42 VkXcbSurfaceCreateInfoKHR surfaceCreateInfo; in MakeVulkanForXlib() local
43 memset(&surfaceCreateInfo, 0, sizeof(VkXcbSurfaceCreateInfoKHR)); in MakeVulkanForXlib()
44 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR; in MakeVulkanForXlib()
45 surfaceCreateInfo.pNext = nullptr; in MakeVulkanForXlib()
46 surfaceCreateInfo.flags = 0; in MakeVulkanForXlib()
47 surfaceCreateInfo.connection = XGetXCBConnection(info.fDisplay); in MakeVulkanForXlib()
48 surfaceCreateInfo.window = info.fWindow; in MakeVulkanForXlib()
50 VkResult res = createXcbSurfaceKHR(instance, &surfaceCreateInfo, nullptr, &surface); in MakeVulkanForXlib()
DDawnVulkanWindowContext_unix.cpp82 VkXcbSurfaceCreateInfoKHR surfaceCreateInfo; in onInitializeContext() local
83 memset(&surfaceCreateInfo, 0, sizeof(VkXcbSurfaceCreateInfoKHR)); in onInitializeContext()
84 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR; in onInitializeContext()
85 surfaceCreateInfo.pNext = nullptr; in onInitializeContext()
86 surfaceCreateInfo.flags = 0; in onInitializeContext()
87 surfaceCreateInfo.connection = XGetXCBConnection(fDisplay); in onInitializeContext()
88 surfaceCreateInfo.window = fWindow; in onInitializeContext()
90 createXcbSurfaceKHR(instance, &surfaceCreateInfo, nullptr, &fVkSurface); in onInitializeContext()
/third_party/skia/tools/sk_app/android/
DVulkanWindowContext_android.cpp38 VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo; in MakeVulkanForAndroid() local
39 memset(&surfaceCreateInfo, 0, sizeof(VkAndroidSurfaceCreateInfoKHR)); in MakeVulkanForAndroid()
40 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR; in MakeVulkanForAndroid()
41 surfaceCreateInfo.pNext = nullptr; in MakeVulkanForAndroid()
42 surfaceCreateInfo.flags = 0; in MakeVulkanForAndroid()
43 surfaceCreateInfo.window = window; in MakeVulkanForAndroid()
45 VkResult res = createAndroidSurfaceKHR(instance, &surfaceCreateInfo, in MakeVulkanForAndroid()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DWindow.cpp22 vk::HeadlessSurfaceCreateInfoEXT surfaceCreateInfo; in Window() local
23 surface = instance.createHeadlessSurfaceEXT(surfaceCreateInfo); in Window()
85 vk::Win32SurfaceCreateInfoKHR surfaceCreateInfo; in Window() local
86 surfaceCreateInfo.hinstance = moduleInstance; in Window()
87 surfaceCreateInfo.hwnd = window; in Window()
88 surface = instance.createWin32SurfaceKHR(surfaceCreateInfo); in Window()