Lines Matching refs:imageUsage
239 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()
347 VkImageUsageFlags imageUsage, in tu_GetSwapchainGrallocUsage2ANDROID() argument
357 mesa_logd("%s: format=%d, usage=0x%x", __func__, format, imageUsage); in tu_GetSwapchainGrallocUsage2ANDROID()
359 result = format_supported_with_usage(device_h, format, imageUsage); in tu_GetSwapchainGrallocUsage2ANDROID()
364 result = setup_gralloc0_usage(device, format, imageUsage, &grallocUsage); in tu_GetSwapchainGrallocUsage2ANDROID()