Searched refs:ahbDescription (Results 1 – 1 of 1) sorted by relevance
24 VkImageTiling AhbDescUsageToVkImageTiling(const AHardwareBuffer_Desc &ahbDescription) in AhbDescUsageToVkImageTiling() argument147 VkImageUsageFlags AhbDescUsageToVkImageUsage(const AHardwareBuffer_Desc &ahbDescription, in AhbDescUsageToVkImageUsage() argument152 if ((ahbDescription.usage & AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE) != 0) in AhbDescUsageToVkImageUsage()157 if ((ahbDescription.usage & AHARDWAREBUFFER_USAGE_GPU_FRAMEBUFFER) != 0) in AhbDescUsageToVkImageUsage()169 if ((ahbDescription.usage & AHARDWAREBUFFER_USAGE_GPU_CUBE_MAP) != 0) in AhbDescUsageToVkImageUsage()174 if ((ahbDescription.usage & AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT) != 0) in AhbDescUsageToVkImageUsage()227 AHardwareBuffer_Desc ahbDescription; in initImpl() local228 functions.describe(hardwareBuffer, &ahbDescription); in initImpl()229 VkImageTiling imageTilingMode = AhbDescUsageToVkImageTiling(ahbDescription); in initImpl()230 VkImageUsageFlags usage = AhbDescUsageToVkImageUsage(ahbDescription, isDepthOrStencilFormat); in initImpl()