Home
last modified time | relevance | path

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

/external/skia/tools/sk_app/win/
DVulkanWindowContext_win.cpp42 VkWin32SurfaceCreateInfoKHR surfaceCreateInfo; in NewVulkanForWin() local
43 memset(&surfaceCreateInfo, 0, sizeof(VkWin32SurfaceCreateInfoKHR)); in NewVulkanForWin()
44 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR; in NewVulkanForWin()
45 surfaceCreateInfo.pNext = nullptr; in NewVulkanForWin()
46 surfaceCreateInfo.flags = 0; in NewVulkanForWin()
47 surfaceCreateInfo.hinstance = hinstance; in NewVulkanForWin()
48 surfaceCreateInfo.hwnd = hwnd; in NewVulkanForWin()
50 VkResult res = createWin32SurfaceKHR(instance, &surfaceCreateInfo, nullptr, &surface); in NewVulkanForWin()
/external/skqp/tools/sk_app/win/
DVulkanWindowContext_win.cpp42 VkWin32SurfaceCreateInfoKHR surfaceCreateInfo; in NewVulkanForWin() local
43 memset(&surfaceCreateInfo, 0, sizeof(VkWin32SurfaceCreateInfoKHR)); in NewVulkanForWin()
44 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR; in NewVulkanForWin()
45 surfaceCreateInfo.pNext = nullptr; in NewVulkanForWin()
46 surfaceCreateInfo.flags = 0; in NewVulkanForWin()
47 surfaceCreateInfo.hinstance = hinstance; in NewVulkanForWin()
48 surfaceCreateInfo.hwnd = hwnd; in NewVulkanForWin()
50 VkResult res = createWin32SurfaceKHR(instance, &surfaceCreateInfo, nullptr, &surface); in NewVulkanForWin()
/external/skqp/tools/sk_app/unix/
DVulkanWindowContext_unix.cpp41 VkXcbSurfaceCreateInfoKHR surfaceCreateInfo; in NewVulkanForXlib() local
42 memset(&surfaceCreateInfo, 0, sizeof(VkXcbSurfaceCreateInfoKHR)); in NewVulkanForXlib()
43 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR; in NewVulkanForXlib()
44 surfaceCreateInfo.pNext = nullptr; in NewVulkanForXlib()
45 surfaceCreateInfo.flags = 0; in NewVulkanForXlib()
46 surfaceCreateInfo.connection = XGetXCBConnection(info.fDisplay); in NewVulkanForXlib()
47 surfaceCreateInfo.window = info.fWindow; in NewVulkanForXlib()
49 VkResult res = createXcbSurfaceKHR(instance, &surfaceCreateInfo, nullptr, &surface); in NewVulkanForXlib()
/external/skia/tools/sk_app/unix/
DVulkanWindowContext_unix.cpp41 VkXcbSurfaceCreateInfoKHR surfaceCreateInfo; in NewVulkanForXlib() local
42 memset(&surfaceCreateInfo, 0, sizeof(VkXcbSurfaceCreateInfoKHR)); in NewVulkanForXlib()
43 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR; in NewVulkanForXlib()
44 surfaceCreateInfo.pNext = nullptr; in NewVulkanForXlib()
45 surfaceCreateInfo.flags = 0; in NewVulkanForXlib()
46 surfaceCreateInfo.connection = XGetXCBConnection(info.fDisplay); in NewVulkanForXlib()
47 surfaceCreateInfo.window = info.fWindow; in NewVulkanForXlib()
49 VkResult res = createXcbSurfaceKHR(instance, &surfaceCreateInfo, nullptr, &surface); in NewVulkanForXlib()
/external/skqp/tools/sk_app/android/
DVulkanWindowContext_android.cpp37 VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo; in NewVulkanForAndroid() local
38 memset(&surfaceCreateInfo, 0, sizeof(VkAndroidSurfaceCreateInfoKHR)); in NewVulkanForAndroid()
39 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR; in NewVulkanForAndroid()
40 surfaceCreateInfo.pNext = nullptr; in NewVulkanForAndroid()
41 surfaceCreateInfo.flags = 0; in NewVulkanForAndroid()
42 surfaceCreateInfo.window = window; in NewVulkanForAndroid()
44 VkResult res = createAndroidSurfaceKHR(instance, &surfaceCreateInfo, in NewVulkanForAndroid()
/external/skia/tools/sk_app/android/
DVulkanWindowContext_android.cpp37 VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo; in NewVulkanForAndroid() local
38 memset(&surfaceCreateInfo, 0, sizeof(VkAndroidSurfaceCreateInfoKHR)); in NewVulkanForAndroid()
39 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR; in NewVulkanForAndroid()
40 surfaceCreateInfo.pNext = nullptr; in NewVulkanForAndroid()
41 surfaceCreateInfo.flags = 0; in NewVulkanForAndroid()
42 surfaceCreateInfo.window = window; in NewVulkanForAndroid()
44 VkResult res = createAndroidSurfaceKHR(instance, &surfaceCreateInfo, in NewVulkanForAndroid()
/external/skia/tools/sk_app/mac/
DVulkanWindowContext_mac.mm123 VkMacOSSurfaceCreateInfoMVK surfaceCreateInfo;
124 memset(&surfaceCreateInfo, 0, sizeof(VkMacOSSurfaceCreateInfoMVK));
125 surfaceCreateInfo.sType = VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK;
126 surfaceCreateInfo.pNext = nullptr;
127 surfaceCreateInfo.flags = 0;
128 surfaceCreateInfo.pView = (__bridge void*)mtkView;
130 VkResult res = createMacOSSurfaceMVK(instance, &surfaceCreateInfo, nullptr, &surface);