mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
69 lines
2.2 KiB
C
69 lines
2.2 KiB
C
|
#ifndef VULKAN_GGP_H_
|
||
|
#define VULKAN_GGP_H_ 1
|
||
|
|
||
|
/*
|
||
|
** Copyright (c) 2015-2019 The Khronos Group Inc.
|
||
|
**
|
||
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
** you may not use this file except in compliance with the License.
|
||
|
** You may obtain a copy of the License at
|
||
|
**
|
||
|
** http://www.apache.org/licenses/LICENSE-2.0
|
||
|
**
|
||
|
** Unless required by applicable law or agreed to in writing, software
|
||
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
** See the License for the specific language governing permissions and
|
||
|
** limitations under the License.
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
** This header is generated from the Khronos Vulkan XML API Registry.
|
||
|
**
|
||
|
*/
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
#define VK_GGP_stream_descriptor_surface 1
|
||
|
#define VK_GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION 1
|
||
|
#define VK_GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME "VK_GGP_stream_descriptor_surface"
|
||
|
typedef VkFlags VkStreamDescriptorSurfaceCreateFlagsGGP;
|
||
|
typedef struct VkStreamDescriptorSurfaceCreateInfoGGP {
|
||
|
VkStructureType sType;
|
||
|
const void* pNext;
|
||
|
VkStreamDescriptorSurfaceCreateFlagsGGP flags;
|
||
|
GgpStreamDescriptor streamDescriptor;
|
||
|
} VkStreamDescriptorSurfaceCreateInfoGGP;
|
||
|
|
||
|
typedef VkResult (VKAPI_PTR *PFN_vkCreateStreamDescriptorSurfaceGGP)(VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
|
||
|
|
||
|
#ifndef VK_NO_PROTOTYPES
|
||
|
VKAPI_ATTR VkResult VKAPI_CALL vkCreateStreamDescriptorSurfaceGGP(
|
||
|
VkInstance instance,
|
||
|
const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo,
|
||
|
const VkAllocationCallbacks* pAllocator,
|
||
|
VkSurfaceKHR* pSurface);
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#define VK_GGP_frame_token 1
|
||
|
#define VK_GGP_FRAME_TOKEN_SPEC_VERSION 1
|
||
|
#define VK_GGP_FRAME_TOKEN_EXTENSION_NAME "VK_GGP_frame_token"
|
||
|
typedef struct VkPresentFrameTokenGGP {
|
||
|
VkStructureType sType;
|
||
|
const void* pNext;
|
||
|
GgpFrameToken frameToken;
|
||
|
} VkPresentFrameTokenGGP;
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|