Home
last modified time | relevance | path

Searched refs:importInfo (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/src/Vulkan/
DVkDeviceMemory.cpp132 … const auto *importInfo = reinterpret_cast<const VkImportMemoryHostPointerInfoEXT *>(createInfo); in AllocateInfo() local
134 …if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT && importInfo-… in AllocateInfo()
138 hostPointer = importInfo->pHostPointer; in AllocateInfo()
208 const auto *importInfo = reinterpret_cast<const VkImportMemoryFdInfoKHR *>(createInfo); in OpaqueFdAllocateInfo() local
210 if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT) in OpaqueFdAllocateInfo()
212 UNSUPPORTED("VkImportMemoryFdInfoKHR::handleType %d", int(importInfo->handleType)); in OpaqueFdAllocateInfo()
215 fd = importInfo->fd; in OpaqueFdAllocateInfo()
DVkDeviceMemoryExternalFuchsia.hpp48 … const auto *importInfo = reinterpret_cast<const VkImportMemoryZirconHandleInfoFUCHSIA *>(extInfo); in AllocateInfo() local
50 if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_TEMP_ZIRCON_VMO_BIT_FUCHSIA) in AllocateInfo()
55 handle = importInfo->handle; in AllocateInfo()
DVkDeviceMemoryExternalAndroid.cpp176 …const auto *importInfo = reinterpret_cast<const VkImportAndroidHardwareBufferInfoANDROID *>(create… in AllocateInfo() local
178 ahb = importInfo->buffer; in AllocateInfo()
DlibVulkan.cpp1047 auto *importInfo = reinterpret_cast<const VkImportMemoryFdInfoKHR *>(allocationInfo); in vkAllocateMemory() local
1048 if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT) in vkAllocateMemory()
1050 UNSUPPORTED("importInfo->handleType %u", importInfo->handleType); in vkAllocateMemory()
1086 auto *importInfo = reinterpret_cast<const VkImportMemoryHostPointerInfoEXT *>(allocationInfo); in vkAllocateMemory() local
1087 …if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT && importInfo-… in vkAllocateMemory()
1089 UNSUPPORTED("importInfo->handleType %u", importInfo->handleType); in vkAllocateMemory()
1097 …auto *importInfo = reinterpret_cast<const VkImportMemoryZirconHandleInfoFUCHSIA *>(allocationInfo); in vkAllocateMemory() local
1098 if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_TEMP_ZIRCON_VMO_BIT_FUCHSIA) in vkAllocateMemory()
1100 UNSUPPORTED("importInfo->handleType %u", importInfo->handleType); in vkAllocateMemory()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp661 const vk::VkImportFenceFdInfoKHR importInfo = in importFence() local
671 VK_CHECK(vkd.importFenceFdKHR(device, &importInfo)); in importFence()
677 const vk::VkImportFenceWin32HandleInfoKHR importInfo = in importFence() local
688 VK_CHECK(vkd.importFenceWin32HandleKHR(device, &importInfo)); in importFence()
844 const vk::VkImportSemaphoreFdInfoKHR importInfo = in importSemaphore() local
854 VK_CHECK(vkd.importSemaphoreFdKHR(device, &importInfo)); in importSemaphore()
860 const vk::VkImportSemaphoreWin32HandleInfoKHR importInfo = in importSemaphore() local
871 VK_CHECK(vkd.importSemaphoreWin32HandleKHR(device, &importInfo)); in importSemaphore()
1015 const vk::VkImportMemoryFdInfoKHR importInfo = in importMemory() local
1025 &importInfo, in importMemory()
[all …]
/external/skia/tests/
DVkHardwareBufferTest.cpp942 VkImportSemaphoreFdInfoKHR importInfo; in importAndWaitOnSemaphore() local
943 importInfo.sType = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR; in importAndWaitOnSemaphore()
944 importInfo.pNext = nullptr; in importAndWaitOnSemaphore()
945 importInfo.semaphore = semaphore; in importAndWaitOnSemaphore()
946 importInfo.flags = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT; in importAndWaitOnSemaphore()
947 importInfo.handleType = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT; in importAndWaitOnSemaphore()
948 importInfo.fd = fdHandle; in importAndWaitOnSemaphore()
950 err = fVkImportSemaphoreFdKHR(fDevice, &importInfo); in importAndWaitOnSemaphore()
/external/skqp/tests/
DVkHardwareBufferTest.cpp939 VkImportSemaphoreFdInfoKHR importInfo; in importAndWaitOnSemaphore() local
940 importInfo.sType = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR; in importAndWaitOnSemaphore()
941 importInfo.pNext = nullptr; in importAndWaitOnSemaphore()
942 importInfo.semaphore = semaphore; in importAndWaitOnSemaphore()
943 importInfo.flags = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT; in importAndWaitOnSemaphore()
944 importInfo.handleType = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT; in importAndWaitOnSemaphore()
945 importInfo.fd = fdHandle; in importAndWaitOnSemaphore()
947 err = fVkImportSemaphoreFdKHR(fDevice, &importInfo); in importAndWaitOnSemaphore()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp413 …const VkImportAndroidHardwareBufferInfoANDROID* const importInfo = findStructure<VkImportAndroidH… in findOrCreateHwBuffer() local
419 DE_ASSERT((importInfo && importInfo->buffer.internal) || in findOrCreateHwBuffer()
422 if (importInfo && importInfo->buffer.internal) in findOrCreateHwBuffer()
424 hwbuffer = (AHardwareBuffer*)importInfo->buffer.internal; in findOrCreateHwBuffer()
1252 …const VkImportAndroidHardwareBufferInfoANDROID* const importInfo = findStructure<VkImportAndroidHa… in allocateMemory() local
1255 || (importInfo && importInfo->buffer.internal)) in allocateMemory()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawAhbTests.cpp345 const VkImportAndroidHardwareBufferInfoANDROID importInfo = in iterate() local
355 &importInfo, // const void* pNext in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp262 const VkImportMemoryHostPointerInfoEXT importInfo = in createMarkerBufferMemory() local
273 (const void*)&importInfo, in createMarkerBufferMemory()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationWin32KeyedMutexTests.cpp280 const vk::VkImportMemoryWin32HandleInfoKHR importInfo = in importMemory() local
305 &importInfo, in importMemory()