OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2016 Google Inc. | 3 * Copyright 2016 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #include "VulkanTestContext_android.h" | 9 #include "VulkanTestContext_android.h" |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 VkResult res = createAndroidSurfaceKHR(instance, &surfaceCreateInfo, | 35 VkResult res = createAndroidSurfaceKHR(instance, &surfaceCreateInfo, |
36 nullptr, &surface); | 36 nullptr, &surface); |
37 return (VK_SUCCESS == res) ? surface : VK_NULL_HANDLE; | 37 return (VK_SUCCESS == res) ? surface : VK_NULL_HANDLE; |
38 } | 38 } |
39 | 39 |
40 bool VulkanTestContext::canPresent(VkInstance instance, VkPhysicalDevice physDev
, | 40 bool VulkanTestContext::canPresent(VkInstance instance, VkPhysicalDevice physDev
, |
41 uint32_t queueFamilyIndex) { | 41 uint32_t queueFamilyIndex) { |
42 return true; | 42 return true; |
43 } | 43 } |
OLD | NEW |