/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_android.c | 293 VkImageUsageFlags imageUsage) in format_supported_with_usage() argument 305 .usage = imageUsage, in format_supported_with_usage() 328 VkImageUsageFlags imageUsage, in setup_gralloc0_usage() argument 331 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_DST_BIT | in setup_gralloc0_usage() 335 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in setup_gralloc0_usage() 344 if (imageUsage != 0) { in setup_gralloc0_usage() 348 imageUsage); in setup_gralloc0_usage() 366 VkImageUsageFlags imageUsage, in v3dv_GetSwapchainGrallocUsageANDROID() argument 372 result = format_supported_with_usage(device_h, format, imageUsage); in v3dv_GetSwapchainGrallocUsageANDROID() 377 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in v3dv_GetSwapchainGrallocUsageANDROID() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_android.c | 306 VkImageUsageFlags imageUsage) in format_supported_with_usage() argument 332 .usage = imageUsage, in format_supported_with_usage() 354 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument 356 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_DST_BIT | in setup_gralloc0_usage() 360 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in setup_gralloc0_usage() 369 if (imageUsage != 0) { in setup_gralloc0_usage() 373 imageUsage); in setup_gralloc0_usage() 396 VkImageUsageFlags imageUsage, in tu_GetSwapchainGrallocUsageANDROID() argument 402 result = format_supported_with_usage(device_h, format, imageUsage); in tu_GetSwapchainGrallocUsageANDROID() 407 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in tu_GetSwapchainGrallocUsageANDROID() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_android.c | 636 VkImageUsageFlags imageUsage) in format_supported_with_usage() argument 647 .usage = imageUsage, in format_supported_with_usage() 668 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument 683 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_DST_BIT | in setup_gralloc0_usage() 687 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in setup_gralloc0_usage() 696 if (imageUsage != 0) { in setup_gralloc0_usage() 699 "swapchain", imageUsage); in setup_gralloc0_usage() 732 VkImageUsageFlags imageUsage, in anv_GetSwapchainGrallocUsage2ANDROID() argument 742 mesa_logd("%s: format=%d, usage=0x%x", __func__, format, imageUsage); in anv_GetSwapchainGrallocUsage2ANDROID() 744 result = format_supported_with_usage(device_h, format, imageUsage); in anv_GetSwapchainGrallocUsage2ANDROID() [all …]
|
/third_party/mesa3d/include/vulkan/ |
D | vk_android_native_buffer.h | 97 …allocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsa… 99 …llocUsage2ANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImag… 108 VkImageUsageFlags imageUsage, 115 VkImageUsageFlags imageUsage,
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_android.c | 221 VkImageUsageFlags imageUsage, int *grallocUsage) in radv_GetSwapchainGrallocUsageANDROID() argument 248 .usage = imageUsage, in radv_GetSwapchainGrallocUsageANDROID() 265 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT)) in radv_GetSwapchainGrallocUsageANDROID() 268 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT | in radv_GetSwapchainGrallocUsageANDROID() 275 if (imageUsage != 0) { in radv_GetSwapchainGrallocUsageANDROID() 279 imageUsage); in radv_GetSwapchainGrallocUsageANDROID() 300 VkImageUsageFlags imageUsage, in radv_GetSwapchainGrallocUsage2ANDROID() argument 325 .usage = imageUsage, in radv_GetSwapchainGrallocUsage2ANDROID() 342 if (unmask32(&imageUsage, in radv_GetSwapchainGrallocUsage2ANDROID() 348 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT | in radv_GetSwapchainGrallocUsage2ANDROID() [all …]
|
/third_party/vulkan-headers/include/vulkan/ |
D | vulkan_ohos.h | 73 …nGrallocUsageOHOS)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, uint64_t* grall… 81 VkImageUsageFlags imageUsage,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 752 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRAN… in getMemoryTypeNdx() local 757 imageSize.swizzle(0, 1, 2), 1u, imageSize.w(), imageUsage); in getMemoryTypeNdx() 1003 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in testWithSizeReduction() local 1006 imageSize.swizzle(0, 1, 2), 1u, imageSize.w(), imageUsage); in testWithSizeReduction() 1013 const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in testWithSizeReduction() local 1016 IVec3(imageSize.x(), imageSize.y(), 1), 1u, numSlices, imageUsage); in testWithSizeReduction() 1431 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in testRenderToMipMaps() local 1434 imageSize.swizzle(0, 1, 2), numMipLevels, imageSize.w(), imageUsage); in testRenderToMipMaps() 1441 const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in testRenderToMipMaps() local 1444 IVec3(imageSize.x(), imageSize.y(), 1), numMipLevels, numSlices, imageUsage); in testRenderToMipMaps()
|
D | vktPipelineBindPointTests.cpp | 400 …const auto imageUsage = static_cast<VkImageUsageFlags>(VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_I… in iterate() local 446 imageUsage, // VkImageUsageFlags usage; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageMutableTests.cpp | 1056 const VkImageUsageFlags imageUsage = getImageUsageForTestCase(m_caseDef); in run() local 1064 imageUsage, in run() 1072 m_caseDef.isFormatListTest, m_caseDef.size, 1u, m_caseDef.numLayers, imageUsage); in run() 2049 const VkImageUsageFlags imageUsage = getImageUsageForTestCase(caseDef); in testSwapchainMutable() local 2055 …imageFormat, getImageType(caseDef.imageType), VK_IMAGE_TILING_OPTIMAL, imageUsage, 0, &properties); in testSwapchainMutable() 2062 ….viewFormat, getImageType(caseDef.imageType), VK_IMAGE_TILING_OPTIMAL, imageUsage, 0, &properties); in testSwapchainMutable() 2100 if ((capabilities.supportedUsageFlags & imageUsage) != imageUsage) in testSwapchainMutable() 2113 imageUsage, in testSwapchainMutable()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | Swapchain.cpp | 33 swapchainCreateInfo.imageUsage = vk::ImageUsageFlagBits::eColorAttachment; in Swapchain()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 306 baseParameters.imageUsage, in generateSwapchainParameterCases() 397 baseParameters.imageUsage, in generateSwapchainParameterCases() 473 baseParameters.imageUsage, in generateSwapchainParameterCases() 515 baseParameters.imageUsage, in generateSwapchainParameterCases() 563 baseParameters.imageUsage, in generateSwapchainParameterCases() 607 cases.back().imageUsage = flags; in generateSwapchainParameterCases()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.cpp | 506 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in TextureRenderer() local 513 imageUsage, in TextureRenderer() 537 imageUsage, // VkImageUsageFlags usage; in TextureRenderer() 577 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in TextureRenderer() local 584 imageUsage, in TextureRenderer() 603 imageUsage, // VkImageUsageFlags usage; in TextureRenderer()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_android.c | 366 VkImageUsageFlags imageUsage, in vn_GetSwapchainGrallocUsage2ANDROID() argument 376 imageUsage, swapchainImageUsage); in vn_GetSwapchainGrallocUsage2ANDROID() 381 if (imageUsage & (VK_IMAGE_USAGE_TRANSFER_DST_BIT | in vn_GetSwapchainGrallocUsage2ANDROID() 385 if (imageUsage & in vn_GetSwapchainGrallocUsage2ANDROID()
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | VkSwapchainKHR.cpp | 119 imageInfo.usage = pCreateInfo->imageUsage; in createImages()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | NativeSwapChainImplVk.cpp | 127 createInfo.imageUsage = VulkanImageUsage(static_cast<wgpu::TextureUsage>(usage), in Configure()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderMiscTests.cpp | 258 const auto imageUsage = (VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT); in iterate() local 272 imageUsage, // VkImageUsageFlags usage; in iterate() 2076 const auto imageUsage = (VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT); in iterate() local 2094 imageUsage, // VkImageUsageFlags usage; in iterate() 2418 const auto imageUsage = (VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT); in iterate() local 2435 imageUsage, // VkImageUsageFlags usage; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 1835 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in render() local 1842 imageUsage, in render() 1866 imageUsage, // VkImageUsageFlags usage; in render() 1912 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in render() local 1919 imageUsage, in render() 1938 imageUsage, // VkImageUsageFlags usage; in render()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiIncrementalPresentTests.cpp | 693 const vk::VkImageUsageFlags imageUsage = vk::VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in generateSwapchainConfigs() local 754 imageUsage, in generateSwapchainConfigs() 779 imageUsage, in generateSwapchainConfigs()
|
D | vktWsiDisplayControlTests.cpp | 584 const VkImageUsageFlags imageUsage = properties.supportedUsageFlags; in createSwapchainConfig() local 629 imageUsage, in createSwapchainConfig()
|
D | vktWsiSharedPresentableImageTests.cpp | 603 const vk::VkImageUsageFlags imageUsage = properties.supportedUsageFlags & supportedImageUsage; in generateSwapchainConfigs() local 662 imageUsage, in generateSwapchainConfigs()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingBarrierTests.cpp | 1292 VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_STORAGE_BIT; in iterate() local 1295 imageUsage |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; in iterate() 1298 imageUsage |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in iterate() 1312 imageUsage, // VkImageUsageFlags usage; in iterate()
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_drm.c | 384 .usage = pCreateInfo->imageUsage, in wsi_configure_native_image()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_KHR_swapchain/ |
D | wsi.txt | 183 * pname:imageUsage is a bitmask of elink:VkImageUsageFlagBits describing 323 * [[VUID-VkSwapchainCreateInfoKHR-imageUsage-01276]] 324 pname:imageUsage must: be a subset of the supported usage flags present 333 ename:VK_PRESENT_MODE_FIFO_RELAXED_KHR, pname:imageUsage must: be a 338 * [[VUID-VkSwapchainCreateInfoKHR-imageUsage-01384]] 340 or ename:VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR, pname:imageUsage 623 | pname:usage | pname:pCreateInfo->imageUsage
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/ |
D | video_extensions.txt | 941 * [[VUID-vkGetPhysicalDeviceVideoFormatPropertiesKHR-imageUsage-04844]] 942 The pname:imageUsage enum of slink:VkPhysicalDeviceVideoFormatInfoKHR 972 * pname:imageUsage is a bitmask of elink:VkImageUsageFlagBits specifying 1024 in pname:imageUsage, only one image format is returned: 1139 slink:VkPhysicalDeviceVideoFormatInfoKHR pname:imageUsage contains 1147 slink:VkPhysicalDeviceVideoFormatInfoKHR pname:imageUsage contains 1153 the slink:VkPhysicalDeviceVideoFormatInfoKHR pname:imageUsage contains
|
/third_party/skia/tools/sk_app/ |
D | VulkanWindowContext.cpp | 294 swapchainCreateInfo.imageUsage = usageFlags; in createSwapchain()
|