Home
last modified time | relevance | path

Searched refs:vk_usage (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_android.h41 const VkImageUsageFlags vk_usage);
62 const VkImageUsageFlags vk_usage)
Dvk_android.c148 const VkImageUsageFlags vk_usage) in vk_image_usage_to_ahb_usage() argument
151 if (vk_usage & (VK_IMAGE_USAGE_SAMPLED_BIT | in vk_image_usage_to_ahb_usage()
155 if (vk_usage & (VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | in vk_image_usage_to_ahb_usage()
159 if (vk_usage & VK_IMAGE_USAGE_STORAGE_BIT) in vk_image_usage_to_ahb_usage()
/hardware/google/gfxstream/guest/vulkan_enc/
DAndroidHardwareBuffer.cpp43 const VkImageUsageFlags vk_usage) { in getAndroidHardwareBufferUsageFromVkUsage() argument
46 if (vk_usage & VK_IMAGE_USAGE_SAMPLED_BIT) ahw_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in getAndroidHardwareBufferUsageFromVkUsage()
48 if (vk_usage & VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT) in getAndroidHardwareBufferUsageFromVkUsage()
51 if (vk_usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) in getAndroidHardwareBufferUsageFromVkUsage()
DAndroidHardwareBuffer.h29 const VkImageUsageFlags vk_usage);