SDL 2.0
vulkan_android.h
Go to the documentation of this file.
1#ifndef VULKAN_ANDROID_H_
2#define VULKAN_ANDROID_H_ 1
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/*
9** Copyright (c) 2015-2018 The Khronos Group Inc.
10**
11** Licensed under the Apache License, Version 2.0 (the "License");
12** you may not use this file except in compliance with the License.
13** You may obtain a copy of the License at
14**
15** http://www.apache.org/licenses/LICENSE-2.0
16**
17** Unless required by applicable law or agreed to in writing, software
18** distributed under the License is distributed on an "AS IS" BASIS,
19** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20** See the License for the specific language governing permissions and
21** limitations under the License.
22*/
23
24/*
25** This header is generated from the Khronos Vulkan XML API Registry.
26**
27*/
28
29
30#define VK_KHR_android_surface 1
31struct ANativeWindow;
32
33#define VK_KHR_ANDROID_SURFACE_SPEC_VERSION 6
34#define VK_KHR_ANDROID_SURFACE_EXTENSION_NAME "VK_KHR_android_surface"
35
37
40 const void* pNext;
42 struct ANativeWindow* window;
44
45
46typedef VkResult (VKAPI_PTR *PFN_vkCreateAndroidSurfaceKHR)(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
47
48#ifndef VK_NO_PROTOTYPES
50 VkInstance instance,
51 const VkAndroidSurfaceCreateInfoKHR* pCreateInfo,
52 const VkAllocationCallbacks* pAllocator,
53 VkSurfaceKHR* pSurface);
54#endif
55
56#define VK_ANDROID_external_memory_android_hardware_buffer 1
57struct AHardwareBuffer;
58
59#define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_SPEC_VERSION 3
60#define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME "VK_ANDROID_external_memory_android_hardware_buffer"
61
64 void* pNext;
67
70 void* pNext;
74
77 void* pNext;
87
90 const void* pNext;
91 struct AHardwareBuffer* buffer;
93
96 const void* pNext;
97 VkDeviceMemory memory;
99
102 void* pNext;
105
106
109
110#ifndef VK_NO_PROTOTYPES
112 VkDevice device,
113 const struct AHardwareBuffer* buffer,
115
117 VkDevice device,
119 struct AHardwareBuffer** pBuffer);
120#endif
121
122#ifdef __cplusplus
123}
124#endif
125
126#endif
unsigned int uint32_t
unsigned long long uint64_t
GLuint buffer
static SDL_AudioDeviceID device
Definition: loopwave.c:37
VkSamplerYcbcrModelConversion suggestedYcbcrModel
struct ANativeWindow * window
VkAndroidSurfaceCreateFlagsKHR flags
#define VKAPI_CALL
Definition: vk_platform.h:52
#define VKAPI_ATTR
Definition: vk_platform.h:51
#define VKAPI_PTR
Definition: vk_platform.h:53
VkResult(VKAPI_PTR * PFN_vkGetAndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties)
VKAPI_ATTR VkResult VKAPI_CALL vkCreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
VkResult(VKAPI_PTR * PFN_vkGetMemoryAndroidHardwareBufferANDROID)(VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID *pInfo, struct AHardwareBuffer **pBuffer)
VkFlags VkAndroidSurfaceCreateFlagsKHR
VKAPI_ATTR VkResult VKAPI_CALL vkGetAndroidHardwareBufferPropertiesANDROID(VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties)
VkResult(VKAPI_PTR * PFN_vkCreateAndroidSurfaceKHR)(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryAndroidHardwareBufferANDROID(VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID *pInfo, struct AHardwareBuffer **pBuffer)
uint64_t VkDeviceSize
Definition: vulkan_core.h:66
VkSamplerYcbcrModelConversion
Definition: vulkan_core.h:3822
VkChromaLocation
Definition: vulkan_core.h:3850
VkFlags VkFormatFeatureFlags
Definition: vulkan_core.h:1338
VkSamplerYcbcrRange
Definition: vulkan_core.h:3839
uint32_t VkFlags
Definition: vulkan_core.h:64
VkResult
Definition: vulkan_core.h:120
VkFormat
Definition: vulkan_core.h:544
VkStructureType
Definition: vulkan_core.h:159