sdl

FORK: Simple Directmedia Layer
git clone https://git.neptards.moe/neptards/sdl.git
Log | Files | Refs

vulkan_directfb.h (1789B)


      1 #ifndef VULKAN_DIRECTFB_H_
      2 #define VULKAN_DIRECTFB_H_ 1
      3 
      4 /*
      5 ** Copyright (c) 2015-2020 The Khronos Group Inc.
      6 **
      7 ** SPDX-License-Identifier: Apache-2.0
      8 */
      9 
     10 /*
     11 ** This header is generated from the Khronos Vulkan XML API Registry.
     12 **
     13 */
     14 
     15 
     16 #ifdef __cplusplus
     17 extern "C" {
     18 #endif
     19 
     20 
     21 
     22 #define VK_EXT_directfb_surface 1
     23 #define VK_EXT_DIRECTFB_SURFACE_SPEC_VERSION 1
     24 #define VK_EXT_DIRECTFB_SURFACE_EXTENSION_NAME "VK_EXT_directfb_surface"
     25 typedef VkFlags VkDirectFBSurfaceCreateFlagsEXT;
     26 typedef struct VkDirectFBSurfaceCreateInfoEXT {
     27     VkStructureType                    sType;
     28     const void*                        pNext;
     29     VkDirectFBSurfaceCreateFlagsEXT    flags;
     30     IDirectFB*                         dfb;
     31     IDirectFBSurface*                  surface;
     32 } VkDirectFBSurfaceCreateInfoEXT;
     33 
     34 typedef VkResult (VKAPI_PTR *PFN_vkCreateDirectFBSurfaceEXT)(VkInstance instance, const VkDirectFBSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
     35 typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, IDirectFB* dfb);
     36 
     37 #ifndef VK_NO_PROTOTYPES
     38 VKAPI_ATTR VkResult VKAPI_CALL vkCreateDirectFBSurfaceEXT(
     39     VkInstance                                  instance,
     40     const VkDirectFBSurfaceCreateInfoEXT*       pCreateInfo,
     41     const VkAllocationCallbacks*                pAllocator,
     42     VkSurfaceKHR*                               pSurface);
     43 
     44 VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceDirectFBPresentationSupportEXT(
     45     VkPhysicalDevice                            physicalDevice,
     46     uint32_t                                    queueFamilyIndex,
     47     IDirectFB*                                  dfb);
     48 #endif
     49 
     50 #ifdef __cplusplus
     51 }
     52 #endif
     53 
     54 #endif