1*61046927SAndroid Build Coastguard Worker #ifndef VULKAN_GGP_H_ 2*61046927SAndroid Build Coastguard Worker #define VULKAN_GGP_H_ 1 3*61046927SAndroid Build Coastguard Worker 4*61046927SAndroid Build Coastguard Worker /* 5*61046927SAndroid Build Coastguard Worker ** Copyright 2015-2024 The Khronos Group Inc. 6*61046927SAndroid Build Coastguard Worker ** 7*61046927SAndroid Build Coastguard Worker ** SPDX-License-Identifier: Apache-2.0 8*61046927SAndroid Build Coastguard Worker */ 9*61046927SAndroid Build Coastguard Worker 10*61046927SAndroid Build Coastguard Worker /* 11*61046927SAndroid Build Coastguard Worker ** This header is generated from the Khronos Vulkan XML API Registry. 12*61046927SAndroid Build Coastguard Worker ** 13*61046927SAndroid Build Coastguard Worker */ 14*61046927SAndroid Build Coastguard Worker 15*61046927SAndroid Build Coastguard Worker 16*61046927SAndroid Build Coastguard Worker #ifdef __cplusplus 17*61046927SAndroid Build Coastguard Worker extern "C" { 18*61046927SAndroid Build Coastguard Worker #endif 19*61046927SAndroid Build Coastguard Worker 20*61046927SAndroid Build Coastguard Worker 21*61046927SAndroid Build Coastguard Worker 22*61046927SAndroid Build Coastguard Worker // VK_GGP_stream_descriptor_surface is a preprocessor guard. Do not pass it to API calls. 23*61046927SAndroid Build Coastguard Worker #define VK_GGP_stream_descriptor_surface 1 24*61046927SAndroid Build Coastguard Worker #define VK_GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION 1 25*61046927SAndroid Build Coastguard Worker #define VK_GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME "VK_GGP_stream_descriptor_surface" 26*61046927SAndroid Build Coastguard Worker typedef VkFlags VkStreamDescriptorSurfaceCreateFlagsGGP; 27*61046927SAndroid Build Coastguard Worker typedef struct VkStreamDescriptorSurfaceCreateInfoGGP { 28*61046927SAndroid Build Coastguard Worker VkStructureType sType; 29*61046927SAndroid Build Coastguard Worker const void* pNext; 30*61046927SAndroid Build Coastguard Worker VkStreamDescriptorSurfaceCreateFlagsGGP flags; 31*61046927SAndroid Build Coastguard Worker GgpStreamDescriptor streamDescriptor; 32*61046927SAndroid Build Coastguard Worker } VkStreamDescriptorSurfaceCreateInfoGGP; 33*61046927SAndroid Build Coastguard Worker 34*61046927SAndroid Build Coastguard Worker typedef VkResult (VKAPI_PTR *PFN_vkCreateStreamDescriptorSurfaceGGP)(VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface); 35*61046927SAndroid Build Coastguard Worker 36*61046927SAndroid Build Coastguard Worker #ifndef VK_NO_PROTOTYPES 37*61046927SAndroid Build Coastguard Worker VKAPI_ATTR VkResult VKAPI_CALL vkCreateStreamDescriptorSurfaceGGP( 38*61046927SAndroid Build Coastguard Worker VkInstance instance, 39*61046927SAndroid Build Coastguard Worker const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, 40*61046927SAndroid Build Coastguard Worker const VkAllocationCallbacks* pAllocator, 41*61046927SAndroid Build Coastguard Worker VkSurfaceKHR* pSurface); 42*61046927SAndroid Build Coastguard Worker #endif 43*61046927SAndroid Build Coastguard Worker 44*61046927SAndroid Build Coastguard Worker 45*61046927SAndroid Build Coastguard Worker // VK_GGP_frame_token is a preprocessor guard. Do not pass it to API calls. 46*61046927SAndroid Build Coastguard Worker #define VK_GGP_frame_token 1 47*61046927SAndroid Build Coastguard Worker #define VK_GGP_FRAME_TOKEN_SPEC_VERSION 1 48*61046927SAndroid Build Coastguard Worker #define VK_GGP_FRAME_TOKEN_EXTENSION_NAME "VK_GGP_frame_token" 49*61046927SAndroid Build Coastguard Worker typedef struct VkPresentFrameTokenGGP { 50*61046927SAndroid Build Coastguard Worker VkStructureType sType; 51*61046927SAndroid Build Coastguard Worker const void* pNext; 52*61046927SAndroid Build Coastguard Worker GgpFrameToken frameToken; 53*61046927SAndroid Build Coastguard Worker } VkPresentFrameTokenGGP; 54*61046927SAndroid Build Coastguard Worker 55*61046927SAndroid Build Coastguard Worker 56*61046927SAndroid Build Coastguard Worker #ifdef __cplusplus 57*61046927SAndroid Build Coastguard Worker } 58*61046927SAndroid Build Coastguard Worker #endif 59*61046927SAndroid Build Coastguard Worker 60*61046927SAndroid Build Coastguard Worker #endif 61