Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/vulkan_enc/
DAndroidHardwareBuffer.cpp32 uint64_t ahw_usage = 0; in getAndroidHardwareBufferUsageFromVkUsage() local
35 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()