Searched refs:ahw_usage (Results 1 – 1 of 1) sorted by relevance
32 uint64_t ahw_usage = 0; in getAndroidHardwareBufferUsageFromVkUsage() local35 ahw_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in getAndroidHardwareBufferUsageFromVkUsage()38 ahw_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in getAndroidHardwareBufferUsageFromVkUsage()41 ahw_usage |= AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT; in getAndroidHardwareBufferUsageFromVkUsage()44 ahw_usage |= AHARDWAREBUFFER_USAGE_GPU_CUBE_MAP; in getAndroidHardwareBufferUsageFromVkUsage()47 ahw_usage |= AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT; in getAndroidHardwareBufferUsageFromVkUsage()50 if (ahw_usage == 0) in getAndroidHardwareBufferUsageFromVkUsage()51 ahw_usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in getAndroidHardwareBufferUsageFromVkUsage()53 return ahw_usage; in getAndroidHardwareBufferUsageFromVkUsage()