20 {
22 return nullptr;
23 }
26
27
28
29
33
35
36
37
40
41
47
48
49
50
54 break;
57 break;
60 break;
64 break;
67 break;
70 break;
74 break;
78 break;
82 break;
83 }
84
85
86
87
88
91 }
92
96
101 &bufInfo,
102 nullptr,
105 return nullptr;
106 }
107
109 bool shouldPersistentlyMapCpuToGpu =
110 sharedContext->vulkanCaps().shouldPersistentlyMapCpuToGpuBuffers();
111
114 };
117 allocUsage,
118 shouldPersistentlyMapCpuToGpu,
119 checkResult,
120 &alloc)) {
123 nullptr));
124 return nullptr;
125 }
126
127
136 nullptr));
137 return nullptr;
138 }
139
142}
#define VULKAN_CALL_RESULT(SHARED_CONTEXT, RESULT, X)
Protected isProtected() const
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
bool AllocBufferMemory(VulkanMemoryAllocator *, VkBuffer buffer, skgpu::VulkanMemoryAllocator::BufferUsage, bool shouldPersistentlyMapCpuToGpu, const std::function< CheckResult > &, VulkanAlloc *alloc)
VulkanMemoryAllocator::BufferUsage BufferUsage
uint32_t queueFamilyIndexCount
const uint32_t * pQueueFamilyIndices
VkBufferCreateFlags flags
VkSharingMode sharingMode
@ VK_SHARING_MODE_EXCLUSIVE
@ VK_BUFFER_USAGE_TRANSFER_DST_BIT
@ VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT
@ VK_BUFFER_USAGE_INDEX_BUFFER_BIT
@ VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT
@ VK_BUFFER_USAGE_VERTEX_BUFFER_BIT
@ VK_BUFFER_USAGE_STORAGE_BUFFER_BIT
@ VK_BUFFER_USAGE_TRANSFER_SRC_BIT
@ VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO