Home
last modified time | relevance | path

Searched refs:extendedAllocationInfo (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemory.cpp39 OpaqueFdAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in OpaqueFdAllocateInfo()
41 if(extendedAllocationInfo.importMemoryFdInfo) in OpaqueFdAllocateInfo()
43 …if(extendedAllocationInfo.importMemoryFdInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_… in OpaqueFdAllocateInfo()
45 …UNSUPPORTED("VkImportMemoryFdInfoKHR::handleType %d", int(extendedAllocationInfo.importMemoryFdInf… in OpaqueFdAllocateInfo()
48 fd = extendedAllocationInfo.importMemoryFdInfo->fd; in OpaqueFdAllocateInfo()
51 if(extendedAllocationInfo.exportMemoryAllocateInfo) in OpaqueFdAllocateInfo()
53 …if(extendedAllocationInfo.exportMemoryAllocateInfo->handleTypes != VK_EXTERNAL_MEMORY_HANDLE_TYPE_… in OpaqueFdAllocateInfo()
55 …UNSUPPORTED("VkExportMemoryAllocateInfo::handleTypes %d", int(extendedAllocationInfo.exportMemoryA… in OpaqueFdAllocateInfo()
89 vk::DeviceMemory::ExtendedAllocationInfo extendedAllocationInfo = {}; in Allocate() local
90 VkResult result = vk::DeviceMemory::ParseAllocationInfo(pAllocateInfo, &extendedAllocationInfo); in Allocate()
[all …]
DVkDeviceMemoryExternalHost.cpp17 …:AllocateInfo::AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in AllocateInfo() argument
19 if(extendedAllocationInfo.importMemoryHostPointerInfo) in AllocateInfo()
21 …if((extendedAllocationInfo.importMemoryHostPointerInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TY… in AllocateInfo()
22 …(extendedAllocationInfo.importMemoryHostPointerInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_… in AllocateInfo()
25 int(extendedAllocationInfo.importMemoryHostPointerInfo->handleType)); in AllocateInfo()
27 hostPointer = extendedAllocationInfo.importMemoryHostPointerInfo->pHostPointer; in AllocateInfo()
32 …yHost::SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in SupportsAllocateInfo() argument
34 AllocateInfo info(extendedAllocationInfo); in SupportsAllocateInfo()
38 …eateInfo, void *mem, const DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Devic… in ExternalMemoryHost() argument
40 , allocateInfo(extendedAllocationInfo) in ExternalMemoryHost()
DVkDeviceMemoryExternalFuchsia.hpp40 AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in AllocateInfo()
42 if(extendedAllocationInfo.importMemoryZirconHandleInfo) in AllocateInfo()
44 …if(extendedAllocationInfo.importMemoryZirconHandleInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TY… in AllocateInfo()
49 handle = extendedAllocationInfo.importMemoryZirconHandleInfo->handle; in AllocateInfo()
52 if(extendedAllocationInfo.exportMemoryAllocateInfo) in AllocateInfo()
54 …if(extendedAllocationInfo.exportMemoryAllocateInfo->handleTypes != VK_EXTERNAL_MEMORY_HANDLE_TYPE_… in AllocateInfo()
65 …c bool supportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in supportsAllocateInfo() argument
67 AllocateInfo info(extendedAllocationInfo); in supportsAllocateInfo()
71 …Info, void *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Devic… in VmoExternalMemory() argument
73 , allocateInfo(extendedAllocationInfo) in VmoExternalMemory()
DVkDeviceMemoryExternalAndroid.cpp167 …:AllocateInfo::AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in AllocateInfo() argument
169 if(extendedAllocationInfo.importAndroidHardwareBufferInfo) in AllocateInfo()
172 ahb = extendedAllocationInfo.importAndroidHardwareBufferInfo->buffer; in AllocateInfo()
175 if(extendedAllocationInfo.exportMemoryAllocateInfo) in AllocateInfo()
177 …if(extendedAllocationInfo.exportMemoryAllocateInfo->handleTypes == VK_EXTERNAL_MEMORY_HANDLE_TYPE_… in AllocateInfo()
183 …UNSUPPORTED("VkExportMemoryAllocateInfo::handleTypes %d", int(extendedAllocationInfo.exportMemoryA… in AllocateInfo()
187 if(extendedAllocationInfo.dedicatedAllocateInfo) in AllocateInfo()
189 dedicatedImageHandle = vk::Cast(extendedAllocationInfo.dedicatedAllocateInfo->image); in AllocateInfo()
190 dedicatedBufferHandle = vk::Cast(extendedAllocationInfo.dedicatedAllocateInfo->buffer); in AllocateInfo()
194 …eateInfo, void *mem, const DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Devic… in AHardwareBufferExternalMemory() argument
[all …]
DVkDeviceMemoryExternalLinux.hpp29 …c bool SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in SupportsAllocateInfo() argument
31 OpaqueFdAllocateInfo info(extendedAllocationInfo); in SupportsAllocateInfo()
35 …Info, void *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Devic… in OpaqueFdExternalMemory() argument
37 , allocateInfo(extendedAllocationInfo) in OpaqueFdExternalMemory()
DVkDeviceMemoryExternalAndroid.hpp42 AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo);
47 …c bool SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in SupportsAllocateInfo() argument
49 AllocateInfo info(extendedAllocationInfo); in SupportsAllocateInfo()
53 …Info, void *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Devic…
DVkDeviceMemoryExternalHost.hpp31 AllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo);
36 … bool SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo);
38 …eateInfo, void *mem, const DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Devic…
DVkDeviceMemoryExternalMac.hpp65 …c bool SupportsAllocateInfo(const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo) in SupportsAllocateInfo() argument
67 OpaqueFdAllocateInfo info(extendedAllocationInfo); in SupportsAllocateInfo()
71 …Info, void *mem, const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, vk::Devic… in OpaqueFdExternalMemory() argument
73 , allocateInfo(extendedAllocationInfo) in OpaqueFdExternalMemory()
DVkDeviceMemory.hpp126 …VkMemoryAllocateInfo *pAllocateInfo, DeviceMemory::ExtendedAllocationInfo *extendedAllocationInfo);
128 … const vk::DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, Device *device);
135 …eateInfo, void *mem, const DeviceMemory::ExtendedAllocationInfo &extendedAllocationInfo, Device *p… in DeviceMemoryInternal() argument