Mark Young | d66edd5 | 2017-03-10 17:31:18 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015-2017 The Khronos Group Inc. |
| 3 | * Copyright (c) 2015-2017 Valve Corporation |
| 4 | * Copyright (c) 2015-2017 LunarG, Inc. |
| 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | * |
| 18 | * Author: Mark Young <marky@lunarg.com> |
| 19 | */ |
| 20 | |
| 21 | #pragma once |
| 22 | |
| 23 | // ---- Manually added trampoline/terminator functions |
| 24 | |
| 25 | // These functions, for whatever reason, require more complex changes than |
| 26 | // can easily be automatically generated. |
| 27 | |
Lenny Komow | 82e15e0 | 2017-10-02 15:08:53 -0600 | [diff] [blame^] | 28 | /*VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDeviceGroupsKHR( |
Mark Young | d66edd5 | 2017-03-10 17:31:18 -0700 | [diff] [blame] | 29 | VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, |
Mark Lobodzinski | 7c7c8d2 | 2017-09-18 16:28:27 -0600 | [diff] [blame] | 30 | VkPhysicalDeviceGroupPropertiesKHR *pPhysicalDeviceGroupProperties); |
Mark Young | d66edd5 | 2017-03-10 17:31:18 -0700 | [diff] [blame] | 31 | |
Mark Lobodzinski | 7c7c8d2 | 2017-09-18 16:28:27 -0600 | [diff] [blame] | 32 | VKAPI_ATTR VkResult VKAPI_CALL terminator_EnumeratePhysicalDeviceGroupsKHR( |
Mark Young | d66edd5 | 2017-03-10 17:31:18 -0700 | [diff] [blame] | 33 | VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, |
Lenny Komow | 82e15e0 | 2017-10-02 15:08:53 -0600 | [diff] [blame^] | 34 | VkPhysicalDeviceGroupPropertiesKHR *pPhysicalDeviceGroupProperties);*/ |
Mark Young | d66edd5 | 2017-03-10 17:31:18 -0700 | [diff] [blame] | 35 | |
| 36 | VKAPI_ATTR VkResult VKAPI_CALL |
| 37 | GetPhysicalDeviceExternalImageFormatPropertiesNV( |
| 38 | VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, |
| 39 | VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, |
| 40 | VkExternalMemoryHandleTypeFlagsNV externalHandleType, |
| 41 | VkExternalImageFormatPropertiesNV *pExternalImageFormatProperties); |
| 42 | |
| 43 | VKAPI_ATTR VkResult VKAPI_CALL |
| 44 | terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV( |
| 45 | VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, |
| 46 | VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, |
| 47 | VkExternalMemoryHandleTypeFlagsNV externalHandleType, |
| 48 | VkExternalImageFormatPropertiesNV *pExternalImageFormatProperties); |
| 49 | |
Lenny Komow | 4687c7f | 2017-05-30 13:04:46 -0600 | [diff] [blame] | 50 | VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, |
| 51 | const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, |
| 52 | VkSurfaceCapabilities2KHR* pSurfaceCapabilities); |
| 53 | |
| 54 | VKAPI_ATTR VkResult VKAPI_CALL terminator_GetPhysicalDeviceSurfaceCapabilities2KHR( |
| 55 | VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, |
| 56 | VkSurfaceCapabilities2KHR* pSurfaceCapabilities); |
| 57 | |
| 58 | VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, |
| 59 | const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, |
| 60 | uint32_t* pSurfaceFormatCount, |
| 61 | VkSurfaceFormat2KHR* pSurfaceFormats); |
| 62 | |
| 63 | VKAPI_ATTR VkResult VKAPI_CALL terminator_GetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, |
| 64 | const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, |
| 65 | uint32_t* pSurfaceFormatCount, |
| 66 | VkSurfaceFormat2KHR* pSurfaceFormats); |
Lenny Komow | 728ff06 | 2017-06-01 13:32:28 -0600 | [diff] [blame] | 67 | |
| 68 | VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceSurfaceCapabilities2EXT(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, |
| 69 | VkSurfaceCapabilities2EXT* pSurfaceCapabilities); |
| 70 | |
| 71 | VKAPI_ATTR VkResult VKAPI_CALL terminator_GetPhysicalDeviceSurfaceCapabilities2EXT(VkPhysicalDevice physicalDevice, |
| 72 | VkSurfaceKHR surface, |
| 73 | VkSurfaceCapabilities2EXT* pSurfaceCapabilities); |
| 74 | |
| 75 | VKAPI_ATTR VkResult VKAPI_CALL ReleaseDisplayEXT(VkPhysicalDevice physicalDevice, VkDisplayKHR display); |
| 76 | |
| 77 | VKAPI_ATTR VkResult VKAPI_CALL terminator_ReleaseDisplayEXT(VkPhysicalDevice physicalDevice, VkDisplayKHR display); |
| 78 | |
| 79 | #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT |
| 80 | VKAPI_ATTR VkResult VKAPI_CALL AcquireXlibDisplayEXT(VkPhysicalDevice physicalDevice, Display* dpy, VkDisplayKHR display); |
| 81 | |
| 82 | VKAPI_ATTR VkResult VKAPI_CALL terminator_AcquireXlibDisplayEXT(VkPhysicalDevice physicalDevice, Display* dpy, |
| 83 | VkDisplayKHR display); |
| 84 | |
| 85 | VKAPI_ATTR VkResult VKAPI_CALL GetRandROutputDisplayEXT(VkPhysicalDevice physicalDevice, Display* dpy, RROutput rrOutput, |
| 86 | VkDisplayKHR* pDisplay); |
| 87 | |
| 88 | VKAPI_ATTR VkResult VKAPI_CALL terminator_GetRandROutputDisplayEXT(VkPhysicalDevice physicalDevice, Display* dpy, RROutput rrOutput, |
| 89 | VkDisplayKHR* pDisplay); |
| 90 | #endif // VK_USE_PLATFORM_XLIB_XRANDR_EXT |