| Ian Elliott | 1d73e66 | 2015-07-06 14:36:13 -0600 | [diff] [blame] | 1 | /* |
| Ian Elliott | 1d73e66 | 2015-07-06 14:36:13 -0600 | [diff] [blame] | 2 | * |
| Courtney Goeltzenleuchter | 8a17da5 | 2015-10-29 13:50:34 -0600 | [diff] [blame] | 3 | * Copyright (C) 2015 Valve Corporation |
| Ian Elliott | 1d73e66 | 2015-07-06 14:36:13 -0600 | [diff] [blame] | 4 | * |
| 5 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 6 | * copy of this software and associated documentation files (the "Software"), |
| 7 | * to deal in the Software without restriction, including without limitation |
| 8 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 9 | * and/or sell copies of the Software, and to permit persons to whom the |
| 10 | * Software is furnished to do so, subject to the following conditions: |
| 11 | * |
| 12 | * The above copyright notice and this permission notice shall be included |
| 13 | * in all copies or substantial portions of the Software. |
| 14 | * |
| 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 21 | * DEALINGS IN THE SOFTWARE. |
| 22 | * |
| Courtney Goeltzenleuchter | 96cd795 | 2015-10-30 11:14:30 -0600 | [diff] [blame] | 23 | * Author: Ian Elliott <ian@lunarg.com> |
| 24 | * |
| Ian Elliott | 1d73e66 | 2015-07-06 14:36:13 -0600 | [diff] [blame] | 25 | */ |
| 26 | |
| 27 | #include "vk_loader_platform.h" |
| 28 | #include "loader.h" |
| Ian Elliott | 1d73e66 | 2015-07-06 14:36:13 -0600 | [diff] [blame] | 29 | |
| Jon Ashburn | 9945600 | 2015-11-06 11:02:40 -0700 | [diff] [blame] | 30 | bool wsi_swapchain_instance_gpa(struct loader_instance *ptr_instance, |
| 31 | const char* name, void **addr); |
| Ian Elliott | a81e8ac | 2015-10-30 15:28:23 -0600 | [diff] [blame^] | 32 | void wsi_add_instance_extensions( |
| 33 | const struct loader_instance *inst, |
| 34 | struct loader_extension_list *ext_list); |
| Ian Elliott | 1d73e66 | 2015-07-06 14:36:13 -0600 | [diff] [blame] | 35 | |
| Ian Elliott | a81e8ac | 2015-10-30 15:28:23 -0600 | [diff] [blame^] | 36 | void wsi_create_instance( |
| 37 | struct loader_instance *ptr_instance, |
| 38 | const VkInstanceCreateInfo *pCreateInfo); |
| Ian Elliott | 1d73e66 | 2015-07-06 14:36:13 -0600 | [diff] [blame] | 39 | |
| Ian Elliott | 1d73e66 | 2015-07-06 14:36:13 -0600 | [diff] [blame] | 40 | |
| Chia-I Wu | af9e4fd | 2015-11-06 06:42:02 +0800 | [diff] [blame] | 41 | VKAPI_ATTR VkResult VKAPI_CALL loader_GetPhysicalDeviceSurfaceSupportKHR( |
| Ian Elliott | 5723792 | 2015-11-17 17:46:38 -0700 | [diff] [blame] | 42 | VkPhysicalDevice physicalDevice, |
| 43 | uint32_t queueFamilyIndex, |
| 44 | VkSurfaceKHR surface, |
| 45 | VkBool32* pSupported); |