Home
last modified time | relevance | path

Searched refs:imageUsage (Results 1 – 25 of 60) sorted by relevance

123

/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_android.c293 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/
Dtu_android.c306 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/
Danv_android.c636 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/
Dvk_android_native_buffer.h97 …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/
Dradv_android.c221 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/
Dvulkan_ohos.h73 …nGrallocUsageOHOS)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, uint64_t* grall…
81 VkImageUsageFlags imageUsage,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp752 …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()
DvktPipelineBindPointTests.cpp400 …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/
DvktImageMutableTests.cpp1056 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/
DSwapchain.cpp33 swapchainCreateInfo.imageUsage = vk::ImageUsageFlagBits::eColorAttachment; in Swapchain()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp306 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/
DvktTextureTestUtil.cpp506 …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/
Dvn_android.c366 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/
DVkSwapchainKHR.cpp119 imageInfo.usage = pCreateInfo->imageUsage; in createImages()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DNativeSwapChainImplVk.cpp127 createInfo.imageUsage = VulkanImageUsage(static_cast<wgpu::TextureUsage>(usage), in Configure()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderMiscTests.cpp258 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/
DvktShaderRender.cpp1835 …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/
DvktWsiIncrementalPresentTests.cpp693 const vk::VkImageUsageFlags imageUsage = vk::VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in generateSwapchainConfigs() local
754 imageUsage, in generateSwapchainConfigs()
779 imageUsage, in generateSwapchainConfigs()
DvktWsiDisplayControlTests.cpp584 const VkImageUsageFlags imageUsage = properties.supportedUsageFlags; in createSwapchainConfig() local
629 imageUsage, in createSwapchainConfig()
DvktWsiSharedPresentableImageTests.cpp603 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/
DvktRayTracingBarrierTests.cpp1292 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/
Dwsi_common_drm.c384 .usage = pCreateInfo->imageUsage, in wsi_configure_native_image()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_KHR_swapchain/
Dwsi.txt183 * 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/
Dvideo_extensions.txt941 * [[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/
DVulkanWindowContext.cpp294 swapchainCreateInfo.imageUsage = usageFlags; in createSwapchain()

123