Home
last modified time | relevance | path

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

/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp101 uint64_t ahbUsage = 0; in GetAHBUsageFromVkImageFlags() local
105 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 …]
DVkPhysicalDevice.cpp752 uint64_t ahbUsage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in getProperties() local
763 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()
/external/angle/src/common/
Dandroid_util.cpp286 uint64_t ahbUsage = 0; in GetAHBUsage() local
290 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()