"Fossies" - the Fresh Open Source Software Archive

Member "mesa-20.1.8/include/vulkan/vulkan_ios.h" (16 Sep 2020, 1753 Bytes) of package /linux/misc/mesa-20.1.8.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "vulkan_ios.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 20.1.5_vs_20.2.0-rc1.

    1 #ifndef VULKAN_IOS_H_
    2 #define VULKAN_IOS_H_ 1
    3 
    4 /*
    5 ** Copyright (c) 2015-2020 The Khronos Group Inc.
    6 **
    7 ** Licensed under the Apache License, Version 2.0 (the "License");
    8 ** you may not use this file except in compliance with the License.
    9 ** You may obtain a copy of the License at
   10 **
   11 **     http://www.apache.org/licenses/LICENSE-2.0
   12 **
   13 ** Unless required by applicable law or agreed to in writing, software
   14 ** distributed under the License is distributed on an "AS IS" BASIS,
   15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   16 ** See the License for the specific language governing permissions and
   17 ** limitations under the License.
   18 */
   19 
   20 /*
   21 ** This header is generated from the Khronos Vulkan XML API Registry.
   22 **
   23 */
   24 
   25 
   26 #ifdef __cplusplus
   27 extern "C" {
   28 #endif
   29 
   30 
   31 
   32 #define VK_MVK_ios_surface 1
   33 #define VK_MVK_IOS_SURFACE_SPEC_VERSION   2
   34 #define VK_MVK_IOS_SURFACE_EXTENSION_NAME "VK_MVK_ios_surface"
   35 typedef VkFlags VkIOSSurfaceCreateFlagsMVK;
   36 typedef struct VkIOSSurfaceCreateInfoMVK {
   37     VkStructureType               sType;
   38     const void*                   pNext;
   39     VkIOSSurfaceCreateFlagsMVK    flags;
   40     const void*                   pView;
   41 } VkIOSSurfaceCreateInfoMVK;
   42 
   43 typedef VkResult (VKAPI_PTR *PFN_vkCreateIOSSurfaceMVK)(VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
   44 
   45 #ifndef VK_NO_PROTOTYPES
   46 VKAPI_ATTR VkResult VKAPI_CALL vkCreateIOSSurfaceMVK(
   47     VkInstance                                  instance,
   48     const VkIOSSurfaceCreateInfoMVK*            pCreateInfo,
   49     const VkAllocationCallbacks*                pAllocator,
   50     VkSurfaceKHR*                               pSurface);
   51 #endif
   52 
   53 #ifdef __cplusplus
   54 }
   55 #endif
   56 
   57 #endif