Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp24 VkImageTiling AhbDescUsageToVkImageTiling(const AHardwareBuffer_Desc &ahbDescription) in AhbDescUsageToVkImageTiling() argument
147 VkImageUsageFlags AhbDescUsageToVkImageUsage(const AHardwareBuffer_Desc &ahbDescription, in AhbDescUsageToVkImageUsage() argument
152 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() local
228 functions.describe(hardwareBuffer, &ahbDescription); in initImpl()
229 VkImageTiling imageTilingMode = AhbDescUsageToVkImageTiling(ahbDescription); in initImpl()
230 VkImageUsageFlags usage = AhbDescUsageToVkImageUsage(ahbDescription, isDepthOrStencilFormat); in initImpl()