vulkan_ggp.h revision ed98bd31
1ed98bd31Smaya#ifndef VULKAN_GGP_H_
2ed98bd31Smaya#define VULKAN_GGP_H_ 1
3ed98bd31Smaya
4ed98bd31Smaya#ifdef __cplusplus
5ed98bd31Smayaextern "C" {
6ed98bd31Smaya#endif
7ed98bd31Smaya
8ed98bd31Smaya/*
9ed98bd31Smaya** Copyright (c) 2015-2019 The Khronos Group Inc.
10ed98bd31Smaya**
11ed98bd31Smaya** Licensed under the Apache License, Version 2.0 (the "License");
12ed98bd31Smaya** you may not use this file except in compliance with the License.
13ed98bd31Smaya** You may obtain a copy of the License at
14ed98bd31Smaya**
15ed98bd31Smaya**     http://www.apache.org/licenses/LICENSE-2.0
16ed98bd31Smaya**
17ed98bd31Smaya** Unless required by applicable law or agreed to in writing, software
18ed98bd31Smaya** distributed under the License is distributed on an "AS IS" BASIS,
19ed98bd31Smaya** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20ed98bd31Smaya** See the License for the specific language governing permissions and
21ed98bd31Smaya** limitations under the License.
22ed98bd31Smaya*/
23ed98bd31Smaya
24ed98bd31Smaya/*
25ed98bd31Smaya** This header is generated from the Khronos Vulkan XML API Registry.
26ed98bd31Smaya**
27ed98bd31Smaya*/
28ed98bd31Smaya
29ed98bd31Smaya
30ed98bd31Smaya
31ed98bd31Smaya#define VK_GGP_stream_descriptor_surface 1
32ed98bd31Smaya#define VK_GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION 1
33ed98bd31Smaya#define VK_GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME "VK_GGP_stream_descriptor_surface"
34ed98bd31Smayatypedef VkFlags VkStreamDescriptorSurfaceCreateFlagsGGP;
35ed98bd31Smayatypedef struct VkStreamDescriptorSurfaceCreateInfoGGP {
36ed98bd31Smaya    VkStructureType                            sType;
37ed98bd31Smaya    const void*                                pNext;
38ed98bd31Smaya    VkStreamDescriptorSurfaceCreateFlagsGGP    flags;
39ed98bd31Smaya    GgpStreamDescriptor                        streamDescriptor;
40ed98bd31Smaya} VkStreamDescriptorSurfaceCreateInfoGGP;
41ed98bd31Smaya
42ed98bd31Smayatypedef VkResult (VKAPI_PTR *PFN_vkCreateStreamDescriptorSurfaceGGP)(VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
43ed98bd31Smaya
44ed98bd31Smaya#ifndef VK_NO_PROTOTYPES
45ed98bd31SmayaVKAPI_ATTR VkResult VKAPI_CALL vkCreateStreamDescriptorSurfaceGGP(
46ed98bd31Smaya    VkInstance                                  instance,
47ed98bd31Smaya    const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo,
48ed98bd31Smaya    const VkAllocationCallbacks*                pAllocator,
49ed98bd31Smaya    VkSurfaceKHR*                               pSurface);
50ed98bd31Smaya#endif
51ed98bd31Smaya
52ed98bd31Smaya
53ed98bd31Smaya#define VK_GGP_frame_token 1
54ed98bd31Smaya#define VK_GGP_FRAME_TOKEN_SPEC_VERSION   1
55ed98bd31Smaya#define VK_GGP_FRAME_TOKEN_EXTENSION_NAME "VK_GGP_frame_token"
56ed98bd31Smayatypedef struct VkPresentFrameTokenGGP {
57ed98bd31Smaya    VkStructureType    sType;
58ed98bd31Smaya    const void*        pNext;
59ed98bd31Smaya    GgpFrameToken      frameToken;
60ed98bd31Smaya} VkPresentFrameTokenGGP;
61ed98bd31Smaya
62ed98bd31Smaya
63ed98bd31Smaya#ifdef __cplusplus
64ed98bd31Smaya}
65ed98bd31Smaya#endif
66ed98bd31Smaya
67ed98bd31Smaya#endif
68