Home
last modified time | relevance | path

Searched refs:externalMemoryProperties (Results 1 - 25 of 50) sorted by relevance

12

/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_formats.c220 external_props->externalMemoryProperties.externalMemoryFeatures = in pvr_GetPhysicalDeviceImageFormatProperties2()
223 external_props->externalMemoryProperties.compatibleHandleTypes = in pvr_GetPhysicalDeviceImageFormatProperties2()
226 external_props->externalMemoryProperties.exportFromImportedHandleTypes = in pvr_GetPhysicalDeviceImageFormatProperties2()
283 pExternalBufferProperties->externalMemoryProperties.externalMemoryFeatures = in pvr_GetPhysicalDeviceExternalBufferProperties()
286 pExternalBufferProperties->externalMemoryProperties.exportFromImportedHandleTypes = in pvr_GetPhysicalDeviceExternalBufferProperties()
289 pExternalBufferProperties->externalMemoryProperties.compatibleHandleTypes = in pvr_GetPhysicalDeviceExternalBufferProperties()
303 pExternalBufferProperties->externalMemoryProperties = in pvr_GetPhysicalDeviceExternalBufferProperties()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_formats.c1506 external_props->externalMemoryProperties = opaque_fd_dma_buf_props; in anv_GetPhysicalDeviceImageFormatProperties2()
1512 external_props->externalMemoryProperties = opaque_fd_only_props; in anv_GetPhysicalDeviceImageFormatProperties2()
1533 external_props->externalMemoryProperties = opaque_fd_dma_buf_props; in anv_GetPhysicalDeviceImageFormatProperties2()
1548 external_props->externalMemoryProperties = userptr_props; in anv_GetPhysicalDeviceImageFormatProperties2()
1557 external_props->externalMemoryProperties = android_image_props; in anv_GetPhysicalDeviceImageFormatProperties2()
1642 pExternalBufferProperties->externalMemoryProperties = opaque_fd_dma_buf_props; in anv_GetPhysicalDeviceExternalBufferProperties()
1645 pExternalBufferProperties->externalMemoryProperties = userptr_props; in anv_GetPhysicalDeviceExternalBufferProperties()
1649 pExternalBufferProperties->externalMemoryProperties = android_buffer_props; in anv_GetPhysicalDeviceExternalBufferProperties()
1662 pExternalBufferProperties->externalMemoryProperties = in anv_GetPhysicalDeviceExternalBufferProperties()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_formats.c636 external_props->externalMemoryProperties = prime_fd_props; in v3dv_GetPhysicalDeviceImageFormatProperties2()
681 pExternalBufferProperties->externalMemoryProperties = prime_fd_props; in v3dv_GetPhysicalDeviceExternalBufferProperties()
684 pExternalBufferProperties->externalMemoryProperties = in v3dv_GetPhysicalDeviceExternalBufferProperties()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkNullDriver.cpp1412 pExternalBufferProperties->externalMemoryProperties.externalMemoryFeatures = 0; in getPhysicalDeviceExternalBufferPropertiesKHR()
1413 pExternalBufferProperties->externalMemoryProperties.exportFromImportedHandleTypes = 0; in getPhysicalDeviceExternalBufferPropertiesKHR()
1414 pExternalBufferProperties->externalMemoryProperties.compatibleHandleTypes = 0; in getPhysicalDeviceExternalBufferPropertiesKHR()
1419 pExternalBufferProperties->externalMemoryProperties.externalMemoryFeatures = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT | VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT; in getPhysicalDeviceExternalBufferPropertiesKHR()
1420 pExternalBufferProperties->externalMemoryProperties.exportFromImportedHandleTypes = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID; in getPhysicalDeviceExternalBufferPropertiesKHR()
1421 pExternalBufferProperties->externalMemoryProperties.compatibleHandleTypes = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID; in getPhysicalDeviceExternalBufferPropertiesKHR()
1473 externalProperties->externalMemoryProperties.externalMemoryFeatures = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT in getPhysicalDeviceImageFormatProperties2KHR()
1476 externalProperties->externalMemoryProperties.exportFromImportedHandleTypes = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID; in getPhysicalDeviceImageFormatProperties2KHR()
1477 externalProperties->externalMemoryProperties.compatibleHandleTypes = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID; in getPhysicalDeviceImageFormatProperties2KHR()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
H A DMemoryServiceZirconHandle.cpp78 externalFormatProperties.externalMemoryProperties.externalMemoryFeatures; in SupportsImportMemory()
H A DMemoryServiceOpaqueFD.cpp78 externalFormatProperties.externalMemoryProperties.externalMemoryFeatures; in SupportsImportMemory()
H A DMemoryServiceDmaBuf.cpp150 externalImageFormatProps.externalMemoryProperties.externalMemoryFeatures; in SupportsCreateImage()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_formats.c568 external_properties->externalMemoryProperties = in tu_get_external_image_format_properties()
717 pExternalBufferProperties->externalMemoryProperties = in tu_GetPhysicalDeviceExternalBufferProperties()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c389 external_props->externalMemoryProperties = (VkExternalMemoryProperties) { in lvp_GetPhysicalDeviceImageFormatProperties2()
448 pExternalBufferProperties->externalMemoryProperties = (VkExternalMemoryProperties) { in lvp_GetPhysicalDeviceExternalBufferProperties()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiExternalMemoryTests.cpp531 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0) in checkBufferSupport()
534 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in checkBufferSupport()
537 if (!dedicated && (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0) in checkBufferSupport()
588 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0) in checkImageSupport()
591 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in checkImageSupport()
594 if (!dedicated && (externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0) in checkImageSupport()
3158 if ((properties.externalMemoryProperties.externalMemoryFeatures & (vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT|vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT)) != 0) in testBufferQueries()
3160 const bool requiresDedicated = (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0; in testBufferQueries()
3179 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) != 0) in testBufferQueries()
3188 const bool propertiesRequiresDedicated = (properties.externalMemoryProperties in testBufferQueries()
[all...]
H A DvktApiImageCompressionControlTests.cpp297 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0) in checkAhbImageSupport()
300 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) == 0) in checkAhbImageSupport()
396 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0) in CheckOHOSImageSupport()
399 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) == 0) in CheckOHOSImageSupport()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationCrossInstanceSharingTests.cpp202 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0) in NotSupportedChecker()
205 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in NotSupportedChecker()
208 if (!config.dedicated && (externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0) in NotSupportedChecker()
239 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0 in NotSupportedChecker()
240 || (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in NotSupportedChecker()
243 if (!config.dedicated && (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0) in NotSupportedChecker()
H A DvktSynchronizationSignalOrderTests.cpp1004 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_KHR) == 0) in isResourceExportable()
1007 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_KHR) == 0) in isResourceExportable()
1031 if ((properties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_KHR) == 0 in isResourceExportable()
1032 || (properties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_KHR) == 0) in isResourceExportable()
H A DvktSynchronizationWin32KeyedMutexTests.cpp1596 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in Win32KeyedMutexTestInstance()
1599 if (externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) in Win32KeyedMutexTestInstance()
1626 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in Win32KeyedMutexTestInstance()
1629 if (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) in Win32KeyedMutexTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationCrossInstanceSharingTests.cpp205 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0) in NotSupportedChecker()
208 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in NotSupportedChecker()
211 if (!config.dedicated && (externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0) in NotSupportedChecker()
242 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0 in NotSupportedChecker()
243 || (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in NotSupportedChecker()
246 if (!config.dedicated && (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0) in NotSupportedChecker()
H A DvktSynchronizationSignalOrderTests.cpp985 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_KHR) == 0) in isResourceExportable()
988 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_KHR) == 0) in isResourceExportable()
1012 if ((properties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_KHR) == 0 in isResourceExportable()
1013 || (properties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_KHR) == 0) in isResourceExportable()
H A DvktSynchronizationWin32KeyedMutexTests.cpp1595 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in Win32KeyedMutexTestInstance()
1598 if (externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) in Win32KeyedMutexTestInstance()
1625 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in Win32KeyedMutexTestInstance()
1628 if (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) in Win32KeyedMutexTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiExternalMemoryTests.cpp520 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0) in checkBufferSupport()
523 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in checkBufferSupport()
526 if (!dedicated && (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0) in checkBufferSupport()
577 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0) in checkImageSupport()
580 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT) == 0) in checkImageSupport()
583 if (!dedicated && (externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0) in checkImageSupport()
3140 if ((properties.externalMemoryProperties.externalMemoryFeatures & (vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT|vk::VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT)) != 0) in testBufferQueries()
3142 const bool requiresDedicated = (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0; in testBufferQueries()
3161 if ((properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) != 0) in testBufferQueries()
3170 const bool propertiesRequiresDedicated = (properties.externalMemoryProperties in testBufferQueries()
[all...]
H A DvktApiImageCompressionControlTests.cpp297 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT) == 0) in checkAhbImageSupport()
300 if ((externalProperties.externalMemoryProperties.externalMemoryFeatures & VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) == 0) in checkAhbImageSupport()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_formats.c420 &external_props->externalMemoryProperties); in panvk_GetPhysicalDeviceImageFormatProperties2()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkPhysicalDevice.cpp719 VkExternalMemoryProperties *extMemProperties = &properties->externalMemoryProperties; in getProperties()
754 VkExternalMemoryProperties *extMemProperties = &properties->externalMemoryProperties; in getProperties()
837 VkExternalMemoryProperties *properties = &pExternalBufferProperties->externalMemoryProperties; in getProperties()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/
H A DDmaBufImageSiblingVkLinux.cpp418 (externalFormatProperties.externalMemoryProperties.externalMemoryFeatures & in initImpl()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryExternalMemoryHostTests.cpp783 checkExternalMemoryProperties(externalProperties.externalMemoryProperties); in verifyFormatProperties()
1033 VkExternalMemoryProperties() // VkExternalMemoryProperties externalMemoryProperties; in verifyBufferProperties()
1038 checkExternalMemoryProperties(props.externalMemoryProperties); in verifyBufferProperties()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers/
H A DvktModifiersTests.cpp170 if ((externalImageProperties.externalMemoryProperties.compatibleHandleTypes & handleType) != handleType) in verifyHandleTypeForFormatModifier()
317 if ((externalImageProperties.externalMemoryProperties.compatibleHandleTypes & handleType) != handleType) in isModifierCompatibleWithImageProperties()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryExternalMemoryHostTests.cpp783 checkExternalMemoryProperties(externalProperties.externalMemoryProperties); in verifyFormatProperties()
1033 VkExternalMemoryProperties() // VkExternalMemoryProperties externalMemoryProperties; in verifyBufferProperties()
1038 checkExternalMemoryProperties(props.externalMemoryProperties); in verifyBufferProperties()

Completed in 46 milliseconds

12