Path: blob/master/3rdparty/include/vulkan/vulkan_mir.h
16354 views
#ifndef VULKAN_MIR_H_1#define VULKAN_MIR_H_ 123#ifdef __cplusplus4extern "C" {5#endif67/*8** Copyright (c) 2015-2018 The Khronos Group Inc.9**10** Licensed under the Apache License, Version 2.0 (the "License");11** you may not use this file except in compliance with the License.12** You may obtain a copy of the License at13**14** http://www.apache.org/licenses/LICENSE-2.015**16** Unless required by applicable law or agreed to in writing, software17** distributed under the License is distributed on an "AS IS" BASIS,18** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.19** See the License for the specific language governing permissions and20** limitations under the License.21*/2223/*24** This header is generated from the Khronos Vulkan XML API Registry.25**26*/272829#define VK_KHR_mir_surface 130#define VK_KHR_MIR_SURFACE_SPEC_VERSION 431#define VK_KHR_MIR_SURFACE_EXTENSION_NAME "VK_KHR_mir_surface"3233typedef VkFlags VkMirSurfaceCreateFlagsKHR;3435typedef struct VkMirSurfaceCreateInfoKHR {36VkStructureType sType;37const void* pNext;38VkMirSurfaceCreateFlagsKHR flags;39MirConnection* connection;40MirSurface* mirSurface;41} VkMirSurfaceCreateInfoKHR;424344typedef VkResult (VKAPI_PTR *PFN_vkCreateMirSurfaceKHR)(VkInstance instance, const VkMirSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);45typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceMirPresentationSupportKHR)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, MirConnection* connection);4647#ifndef VK_NO_PROTOTYPES48VKAPI_ATTR VkResult VKAPI_CALL vkCreateMirSurfaceKHR(49VkInstance instance,50const VkMirSurfaceCreateInfoKHR* pCreateInfo,51const VkAllocationCallbacks* pAllocator,52VkSurfaceKHR* pSurface);5354VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceMirPresentationSupportKHR(55VkPhysicalDevice physicalDevice,56uint32_t queueFamilyIndex,57MirConnection* connection);58#endif5960#ifdef __cplusplus61}62#endif6364#endif656667