Home
last modified time | relevance | path

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

123

/external/mesa3d/src/freedreno/vulkan/
Dtu_android.c239 VkImageUsageFlags imageUsage) in format_supported_with_usage() argument
265 .usage = imageUsage, in format_supported_with_usage()
287 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument
289 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_DST_BIT | in setup_gralloc0_usage()
293 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in setup_gralloc0_usage()
302 if (imageUsage != 0) { in setup_gralloc0_usage()
306 imageUsage); in setup_gralloc0_usage()
329 VkImageUsageFlags imageUsage, in tu_GetSwapchainGrallocUsageANDROID() argument
335 result = format_supported_with_usage(device_h, format, imageUsage); in tu_GetSwapchainGrallocUsageANDROID()
340 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in tu_GetSwapchainGrallocUsageANDROID()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_android.c544 VkImageUsageFlags imageUsage) in format_supported_with_usage() argument
555 .usage = imageUsage, in format_supported_with_usage()
576 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument
591 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_DST_BIT | in setup_gralloc0_usage()
595 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in setup_gralloc0_usage()
604 if (imageUsage != 0) { in setup_gralloc0_usage()
607 "swapchain", imageUsage); in setup_gralloc0_usage()
640 VkImageUsageFlags imageUsage, in anv_GetSwapchainGrallocUsage2ANDROID() argument
650 mesa_logd("%s: format=%d, usage=0x%x", __func__, format, imageUsage); in anv_GetSwapchainGrallocUsage2ANDROID()
652 result = format_supported_with_usage(device_h, format, imageUsage); in anv_GetSwapchainGrallocUsage2ANDROID()
[all …]
/external/mesa3d/include/vulkan/
Dvk_android_native_buffer.h92 …allocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsa…
94 …llocUsage2ANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImag…
103 VkImageUsageFlags imageUsage,
110 VkImageUsageFlags imageUsage,
/external/mesa3d/src/amd/vulkan/
Dradv_android.c216 VkImageUsageFlags imageUsage, in radv_GetSwapchainGrallocUsageANDROID() argument
244 .usage = imageUsage, in radv_GetSwapchainGrallocUsageANDROID()
260 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_DST_BIT | in radv_GetSwapchainGrallocUsageANDROID()
264 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in radv_GetSwapchainGrallocUsageANDROID()
273 if (imageUsage != 0) { in radv_GetSwapchainGrallocUsageANDROID()
276 "swapchain", imageUsage); in radv_GetSwapchainGrallocUsageANDROID()
300 VkImageUsageFlags imageUsage, in radv_GetSwapchainGrallocUsage2ANDROID() argument
325 .usage = imageUsage, in radv_GetSwapchainGrallocUsage2ANDROID()
341 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_DST_BIT | in radv_GetSwapchainGrallocUsage2ANDROID()
347 if (unmask32(&imageUsage, VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in radv_GetSwapchainGrallocUsage2ANDROID()
[all …]
/external/deqp/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()
/external/swiftshader/tests/VulkanWrapper/
DSwapchain.cpp33 swapchainCreateInfo.imageUsage = vk::ImageUsageFlagBits::eColorAttachment; in Swapchain()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c118 .usage = pCreateInfo->imageUsage, in wsi_create_native_image()
207 .usage = pCreateInfo->imageUsage, in wsi_create_native_image()
505 .usage = pCreateInfo->imageUsage | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, in wsi_create_prime_image()
/external/deqp/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()
/external/swiftshader/src/WSI/
DVkSwapchainKHR.cpp114 imageInfo.usage = pCreateInfo->imageUsage; in createImages()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp505 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in TextureRenderer() local
512 imageUsage, in TextureRenderer()
536 imageUsage, // VkImageUsageFlags usage; in TextureRenderer()
576 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in TextureRenderer() local
583 imageUsage, in TextureRenderer()
602 imageUsage, // VkImageUsageFlags usage; in TextureRenderer()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp1056 const VkImageUsageFlags imageUsage = getImageUsageForTestCase(m_caseDef); in run() local
1060 m_caseDef.isFormatListTest, m_caseDef.size, 1u, m_caseDef.numLayers, imageUsage); in run()
2037 const VkImageUsageFlags imageUsage = getImageUsageForTestCase(caseDef); in testSwapchainMutable() local
2043 …imageFormat, getImageType(caseDef.imageType), VK_IMAGE_TILING_OPTIMAL, imageUsage, 0, &properties); in testSwapchainMutable()
2050 ….viewFormat, getImageType(caseDef.imageType), VK_IMAGE_TILING_OPTIMAL, imageUsage, 0, &properties); in testSwapchainMutable()
2088 if ((capabilities.supportedUsageFlags & imageUsage) != imageUsage) in testSwapchainMutable()
2101 imageUsage, in testSwapchainMutable()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.h92 …bool InitSwapchain(VkSurfaceKHR &surface, VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTA…
94 bool InitSwapchain(VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT,
Dvkrenderframework.cpp546 bool VkRenderFramework::InitSwapchain(VkImageUsageFlags imageUsage, VkSurfaceTransformFlagBitsKHR p… in InitSwapchain() argument
548 return InitSwapchain(m_surface, imageUsage, preTransform); in InitSwapchain()
553 bool VkRenderFramework::InitSwapchain(VkSurfaceKHR &surface, VkImageUsageFlags imageUsage, in InitSwapchain() argument
588 swapchain_create_info.imageUsage = imageUsage; in InitSwapchain()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1813 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in render() local
1820 imageUsage, in render()
1844 imageUsage, // VkImageUsageFlags usage; in render()
1890 …const VkImageUsageFlags imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER… in render() local
1897 imageUsage, in render()
1916 imageUsage, // VkImageUsageFlags usage; in render()
/external/deqp/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()
DvktWsiDisplayTimingTests.cpp615 const vk::VkImageUsageFlags imageUsage = properties.supportedUsageFlags; in createSwapchainConfig() local
670 imageUsage, in createSwapchainConfig()
/external/deqp/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()
/external/mesa3d/prebuilt-intermediates/vulkan/
Danv_entrypoints.h1911 …rallocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsa…
1912 …rallocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsa…
1913 …rallocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsa…
1914 …rallocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsa…
1915 …rallocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsa…
1916 …rallocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsa…
1917 …rallocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsa…
1920 …allocUsage2ANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImag…
1921 …allocUsage2ANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImag…
1922 …allocUsage2ANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImag…
[all …]
/external/deqp/external/vulkancts/scripts/src/
Dvulkan_beta.h138 VkImageUsageFlags imageUsage; member
/external/skia/tools/sk_app/
DVulkanWindowContext.cpp294 swapchainCreateInfo.imageUsage = usageFlags; in createSwapchain()
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_beta.h138 VkImageUsageFlags imageUsage; member
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp282 swapchainCreateInfo.imageUsage = usageFlags; in createSwapchain()

123