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