Flutter Engine
The Flutter Engine
vulkan_android.h
Go to the documentation of this file.
1#ifndef VULKAN_ANDROID_H_
2#define VULKAN_ANDROID_H_ 1
3
4/*
5** Copyright 2015-2023 The Khronos Group Inc.
6**
7** SPDX-License-Identifier: Apache-2.0
8*/
9
10/*
11** This header is generated from the Khronos Vulkan XML API Registry.
12**
13*/
14
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20
21
22// VK_KHR_android_surface is a preprocessor guard. Do not pass it to API calls.
23#define VK_KHR_android_surface 1
24struct ANativeWindow;
25#define VK_KHR_ANDROID_SURFACE_SPEC_VERSION 6
26#define VK_KHR_ANDROID_SURFACE_EXTENSION_NAME "VK_KHR_android_surface"
30 const void* pNext;
34
35typedef VkResult (VKAPI_PTR *PFN_vkCreateAndroidSurfaceKHR)(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
36
37#ifndef VK_NO_PROTOTYPES
39 VkInstance instance,
40 const VkAndroidSurfaceCreateInfoKHR* pCreateInfo,
41 const VkAllocationCallbacks* pAllocator,
42 VkSurfaceKHR* pSurface);
43#endif
44
45
46// VK_ANDROID_external_memory_android_hardware_buffer is a preprocessor guard. Do not pass it to API calls.
47#define VK_ANDROID_external_memory_android_hardware_buffer 1
48struct AHardwareBuffer;
49#define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_SPEC_VERSION 5
50#define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME "VK_ANDROID_external_memory_android_hardware_buffer"
53 void* pNext;
56
59 void* pNext;
63
66 void* pNext;
76
79 const void* pNext;
82
85 const void* pNext;
86 VkDeviceMemory memory;
88
91 void* pNext;
94
97 void* pNext;
107
110
111#ifndef VK_NO_PROTOTYPES
113 VkDevice device,
114 const struct AHardwareBuffer* buffer,
116
118 VkDevice device,
120 struct AHardwareBuffer** pBuffer);
121#endif
122
123
124// VK_ANDROID_external_format_resolve is a preprocessor guard. Do not pass it to API calls.
125#define VK_ANDROID_external_format_resolve 1
126#define VK_ANDROID_EXTERNAL_FORMAT_RESOLVE_SPEC_VERSION 1
127#define VK_ANDROID_EXTERNAL_FORMAT_RESOLVE_EXTENSION_NAME "VK_ANDROID_external_format_resolve"
130 void* pNext;
133
136 void* pNext;
141
144 void* pNext;
147
148
149#ifdef __cplusplus
150}
151#endif
152
153#endif
struct AHardwareBuffer AHardwareBuffer
VkDevice device
Definition: main.cc:53
VkInstance instance
Definition: main.cc:48
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
Definition: switches.h:126
VkSamplerYcbcrModelConversion suggestedYcbcrModel
VkSamplerYcbcrModelConversion suggestedYcbcrModel
struct ANativeWindow * window
VkAndroidSurfaceCreateFlagsKHR flags
VkStructureType sType
#define VKAPI_CALL
Definition: vk_platform.h:57
#define VKAPI_ATTR
Definition: vk_platform.h:56
#define VKAPI_PTR
Definition: vk_platform.h:58
struct VkPhysicalDeviceExternalFormatResolvePropertiesANDROID VkPhysicalDeviceExternalFormatResolvePropertiesANDROID
VkResult(VKAPI_PTR * PFN_vkGetAndroidHardwareBufferPropertiesANDROID)(VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties)
struct VkAndroidSurfaceCreateInfoKHR VkAndroidSurfaceCreateInfoKHR
struct VkAndroidHardwareBufferFormatPropertiesANDROID VkAndroidHardwareBufferFormatPropertiesANDROID
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)
struct VkAndroidHardwareBufferUsageANDROID VkAndroidHardwareBufferUsageANDROID
struct VkImportAndroidHardwareBufferInfoANDROID VkImportAndroidHardwareBufferInfoANDROID
struct VkExternalFormatANDROID VkExternalFormatANDROID
VkFlags VkAndroidSurfaceCreateFlagsKHR
struct VkAndroidHardwareBufferFormatProperties2ANDROID VkAndroidHardwareBufferFormatProperties2ANDROID
struct VkAndroidHardwareBufferPropertiesANDROID VkAndroidHardwareBufferPropertiesANDROID
struct VkAndroidHardwareBufferFormatResolvePropertiesANDROID VkAndroidHardwareBufferFormatResolvePropertiesANDROID
VKAPI_ATTR VkResult VKAPI_CALL vkGetAndroidHardwareBufferPropertiesANDROID(VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties)
struct VkMemoryGetAndroidHardwareBufferInfoANDROID VkMemoryGetAndroidHardwareBufferInfoANDROID
struct VkPhysicalDeviceExternalFormatResolveFeaturesANDROID VkPhysicalDeviceExternalFormatResolveFeaturesANDROID
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:96
VkSamplerYcbcrModelConversion
Definition: vulkan_core.h:4945
VkChromaLocation
Definition: vulkan_core.h:4967
VkFlags VkFormatFeatureFlags
Definition: vulkan_core.h:2307
VkSamplerYcbcrRange
Definition: vulkan_core.h:4959
uint32_t VkFlags
Definition: vulkan_core.h:97
VkResult
Definition: vulkan_core.h:140
VkFlags64 VkFormatFeatureFlags2
Definition: vulkan_core.h:6757
VkFormat
Definition: vulkan_core.h:1458
uint32_t VkBool32
Definition: vulkan_core.h:94
VkStructureType
Definition: vulkan_core.h:201
struct ANativeWindow ANativeWindow