Searched refs:ahbUsage (Results 1 – 3 of 3) sorted by relevance
101 uint64_t ahbUsage = 0; in GetAHBUsageFromVkImageFlags() local105 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN; in GetAHBUsageFromVkImageFlags()109 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN; in GetAHBUsageFromVkImageFlags()113 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT | AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN; in GetAHBUsageFromVkImageFlags()118 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_CUBE_MAP; in GetAHBUsageFromVkImageFlags()122 ahbUsage |= AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT; in GetAHBUsageFromVkImageFlags()126 if(ahbUsage == 0) in GetAHBUsageFromVkImageFlags()128 ahbUsage = AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN | in GetAHBUsageFromVkImageFlags()132 return ahbUsage; in GetAHBUsageFromVkImageFlags()137 uint64_t ahbUsage = 0; in GetAHBUsageFromVkBufferFlags() local[all …]
752 uint64_t ahbUsage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in getProperties() local763 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_FRAMEBUFFER; in getProperties()768 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_CUBE_MAP; in getProperties()773 ahbUsage |= AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT; in getProperties()776 ahbProperties->androidHardwareBufferUsage = ahbUsage; in getProperties()
286 uint64_t ahbUsage = 0; in GetAHBUsage() local290 ahbUsage |= AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT; in GetAHBUsage()294 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_FRAMEBUFFER; in GetAHBUsage()298 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in GetAHBUsage()301 return ahbUsage; in GetAHBUsage()