• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef VULKAN_GGP_H_
2 #define VULKAN_GGP_H_ 1
3 
4 /*
5 ** Copyright 2015-2022 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_GGP_stream_descriptor_surface 1
23 #define VK_GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION 1
24 #define VK_GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME "VK_GGP_stream_descriptor_surface"
25 typedef VkFlags VkStreamDescriptorSurfaceCreateFlagsGGP;
26 typedef struct VkStreamDescriptorSurfaceCreateInfoGGP {
27     VkStructureType                            sType;
28     const void*                                pNext;
29     VkStreamDescriptorSurfaceCreateFlagsGGP    flags;
30     GgpStreamDescriptor                        streamDescriptor;
31 } VkStreamDescriptorSurfaceCreateInfoGGP;
32 
33 typedef VkResult (VKAPI_PTR *PFN_vkCreateStreamDescriptorSurfaceGGP)(VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
34 
35 #ifndef VK_NO_PROTOTYPES
36 VKAPI_ATTR VkResult VKAPI_CALL vkCreateStreamDescriptorSurfaceGGP(
37     VkInstance                                  instance,
38     const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo,
39     const VkAllocationCallbacks*                pAllocator,
40     VkSurfaceKHR*                               pSurface);
41 #endif
42 
43 
44 #define VK_GGP_frame_token 1
45 #define VK_GGP_FRAME_TOKEN_SPEC_VERSION   1
46 #define VK_GGP_FRAME_TOKEN_EXTENSION_NAME "VK_GGP_frame_token"
47 typedef struct VkPresentFrameTokenGGP {
48     VkStructureType    sType;
49     const void*        pNext;
50     GgpFrameToken      frameToken;
51 } VkPresentFrameTokenGGP;
52 
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif
59