Path: blob/master/3rdparty/include/vulkan/vulkan_xcb.h
16356 views
#ifndef VULKAN_XCB_H_1#define VULKAN_XCB_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_xcb_surface 130#define VK_KHR_XCB_SURFACE_SPEC_VERSION 631#define VK_KHR_XCB_SURFACE_EXTENSION_NAME "VK_KHR_xcb_surface"3233typedef VkFlags VkXcbSurfaceCreateFlagsKHR;3435typedef struct VkXcbSurfaceCreateInfoKHR {36VkStructureType sType;37const void* pNext;38VkXcbSurfaceCreateFlagsKHR flags;39xcb_connection_t* connection;40xcb_window_t window;41} VkXcbSurfaceCreateInfoKHR;424344typedef VkResult (VKAPI_PTR *PFN_vkCreateXcbSurfaceKHR)(VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);45typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id);4647#ifndef VK_NO_PROTOTYPES48VKAPI_ATTR VkResult VKAPI_CALL vkCreateXcbSurfaceKHR(49VkInstance instance,50const VkXcbSurfaceCreateInfoKHR* pCreateInfo,51const VkAllocationCallbacks* pAllocator,52VkSurfaceKHR* pSurface);5354VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceXcbPresentationSupportKHR(55VkPhysicalDevice physicalDevice,56uint32_t queueFamilyIndex,57xcb_connection_t* connection,58xcb_visualid_t visual_id);59#endif6061#ifdef __cplusplus62}63#endif6465#endif666768