Home
last modified time | relevance | path

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

/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalLinux.hpp48 const auto *importInfo = reinterpret_cast<const VkImportMemoryFdInfoKHR *>(createInfo); in AllocateInfo() local
50 if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT) in AllocateInfo()
52 UNSUPPORTED("VkImportMemoryFdInfoKHR::handleType %d", int(importInfo->handleType)); in AllocateInfo()
55 fd = importInfo->fd; in AllocateInfo()
DVkDeviceMemory.cpp153 … const auto *importInfo = reinterpret_cast<const VkImportMemoryHostPointerInfoEXT *>(createInfo); in AllocateInfo() local
155 …if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT && importInfo-… in AllocateInfo()
159 hostPointer = importInfo->pHostPointer; in AllocateInfo()
DVkDeviceMemoryExternalAndroid.hpp50 …const auto *importInfo = reinterpret_cast<const VkImportAndroidHardwareBufferInfoANDROID *>(create… in AllocateInfo() local
52 ahb = importInfo->buffer; in AllocateInfo()
DlibVulkan.cpp928 auto *importInfo = reinterpret_cast<const VkImportMemoryFdInfoKHR *>(allocationInfo); in vkAllocateMemory() local
929 if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT) in vkAllocateMemory()
931 UNSUPPORTED("importInfo->handleType %u", importInfo->handleType); in vkAllocateMemory()
963 auto *importInfo = reinterpret_cast<const VkImportMemoryHostPointerInfoEXT *>(allocationInfo); in vkAllocateMemory() local
964 …if(importInfo->handleType != VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT && importInfo-… in vkAllocateMemory()
966 UNSUPPORTED("importInfo->handleType %u", importInfo->handleType); in vkAllocateMemory()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp674 const vk::VkImportFenceFdInfoKHR importInfo = in importFence() local
684 VK_CHECK(vkd.importFenceFdKHR(device, &importInfo)); in importFence()
690 const vk::VkImportFenceWin32HandleInfoKHR importInfo = in importFence() local
701 VK_CHECK(vkd.importFenceWin32HandleKHR(device, &importInfo)); in importFence()
857 const vk::VkImportSemaphoreFdInfoKHR importInfo = in importSemaphore() local
867 VK_CHECK(vkd.importSemaphoreFdKHR(device, &importInfo)); in importSemaphore()
873 const vk::VkImportSemaphoreWin32HandleInfoKHR importInfo = in importSemaphore() local
884 VK_CHECK(vkd.importSemaphoreWin32HandleKHR(device, &importInfo)); in importSemaphore()
1032 const vk::VkImportMemoryFdInfoKHR importInfo = in importMemory() local
1042 &importInfo, in importMemory()
[all …]
/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/skia/tests/
DVkHardwareBufferTest.cpp932 VkImportSemaphoreFdInfoKHR importInfo; in importAndWaitOnSemaphore() local
933 importInfo.sType = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR; in importAndWaitOnSemaphore()
934 importInfo.pNext = nullptr; in importAndWaitOnSemaphore()
935 importInfo.semaphore = semaphore; in importAndWaitOnSemaphore()
936 importInfo.flags = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT; in importAndWaitOnSemaphore()
937 importInfo.handleType = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT; in importAndWaitOnSemaphore()
938 importInfo.fd = fdHandle; in importAndWaitOnSemaphore()
940 err = fVkImportSemaphoreFdKHR(fDevice, &importInfo); in importAndWaitOnSemaphore()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp380 …const VkImportAndroidHardwareBufferInfoANDROID* const importInfo = findStructure<VkImportAndroidH… in findOrCreateHwBuffer() local
386 DE_ASSERT((importInfo && importInfo->buffer.internal) || in findOrCreateHwBuffer()
389 if (importInfo && importInfo->buffer.internal) in findOrCreateHwBuffer()
391 hwbuffer = (AHardwareBuffer*)importInfo->buffer.internal; in findOrCreateHwBuffer()
1166 …const VkImportAndroidHardwareBufferInfoANDROID* const importInfo = findStructure<VkImportAndroidHa… in allocateMemory() local
1169 || (importInfo && importInfo->buffer.internal)) in allocateMemory()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp259 const VkImportMemoryHostPointerInfoEXT importInfo = in createMarkerBufferMemory() local
270 (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()