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