Mark Lobodzinski | 7cb441a | 2016-08-29 14:21:14 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015-2016 The Khronos Group Inc. |
| 3 | * Copyright (c) 2015-2016 Valve Corporation |
| 4 | * Copyright (c) 2015-2016 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 Lobodzinski <mark@lunarg.com> |
| 19 | * |
| 20 | */ |
| 21 | |
| 22 | #include "vk_loader_platform.h" |
| 23 | #include "loader.h" |
| 24 | |
| 25 | bool extension_instance_gpa(struct loader_instance *ptr_instance, |
Mark Young | fcdd4d0 | 2016-09-07 08:50:32 -0600 | [diff] [blame] | 26 | const char *name, void **addr); |
Mark Lobodzinski | 7cb441a | 2016-08-29 14:21:14 -0600 | [diff] [blame] | 27 | |
| 28 | void extensions_create_instance(struct loader_instance *ptr_instance, |
| 29 | const VkInstanceCreateInfo *pCreateInfo); |
| 30 | |
Mark Young | 9510c14 | 2016-11-07 13:27:02 -0700 | [diff] [blame] | 31 | // Definitions for the VK_EXT_debug_marker extension |
| 32 | |
| 33 | |
| 34 | VKAPI_ATTR VkResult VKAPI_CALL terminator_DebugMarkerSetObjectTagEXT( |
| 35 | VkDevice device, VkDebugMarkerObjectTagInfoEXT *pTagInfo); |
| 36 | |
| 37 | VKAPI_ATTR VkResult VKAPI_CALL terminator_DebugMarkerSetObjectNameEXT( |
| 38 | VkDevice device, VkDebugMarkerObjectNameInfoEXT *pNameInfo); |
| 39 | |
Mark Lobodzinski | 7cb441a | 2016-08-29 14:21:14 -0600 | [diff] [blame] | 40 | // Definitions for the VK_NV_external_memory_capabilities extension |
| 41 | |
| 42 | VKAPI_ATTR VkResult VKAPI_CALL |
| 43 | terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV( |
| 44 | VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, |
| 45 | VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, |
| 46 | VkExternalMemoryHandleTypeFlagsNV externalHandleType, |
| 47 | VkExternalImageFormatPropertiesNV *pExternalImageFormatProperties); |