Path: blob/master/3rdparty/include/vulkan/vulkan_wayland.h
16356 views
#ifndef VULKAN_WAYLAND_H_1#define VULKAN_WAYLAND_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_wayland_surface 130#define VK_KHR_WAYLAND_SURFACE_SPEC_VERSION 631#define VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME "VK_KHR_wayland_surface"3233typedef VkFlags VkWaylandSurfaceCreateFlagsKHR;3435typedef struct VkWaylandSurfaceCreateInfoKHR {36VkStructureType sType;37const void* pNext;38VkWaylandSurfaceCreateFlagsKHR flags;39struct wl_display* display;40struct wl_surface* surface;41} VkWaylandSurfaceCreateInfoKHR;424344typedef VkResult (VKAPI_PTR *PFN_vkCreateWaylandSurfaceKHR)(VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);45typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct wl_display* display);4647#ifndef VK_NO_PROTOTYPES48VKAPI_ATTR VkResult VKAPI_CALL vkCreateWaylandSurfaceKHR(49VkInstance instance,50const VkWaylandSurfaceCreateInfoKHR* pCreateInfo,51const VkAllocationCallbacks* pAllocator,52VkSurfaceKHR* pSurface);5354VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceWaylandPresentationSupportKHR(55VkPhysicalDevice physicalDevice,56uint32_t queueFamilyIndex,57struct wl_display* display);58#endif5960#ifdef __cplusplus61}62#endif6364#endif656667