Home
last modified time | relevance | path

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

/system/core/libgrallocusage/
DGrallocUsageConversion.cpp22 void android_convertGralloc0To1Usage(int32_t usage, uint64_t* producerUsage, in android_convertGralloc0To1Usage() argument
39 *producerUsage = static_cast<uint64_t>(usage) & PRODUCER_MASK; in android_convertGralloc0To1Usage()
42 *producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_READ_OFTEN; in android_convertGralloc0To1Usage()
47 *producerUsage |= GRALLOC1_PRODUCER_USAGE_CPU_WRITE_OFTEN; in android_convertGralloc0To1Usage()
51 int32_t android_convertGralloc1To0Usage(uint64_t producerUsage, uint64_t consumerUsage) { in android_convertGralloc1To0Usage() argument
55 uint64_t merged = producerUsage | consumerUsage; in android_convertGralloc1To0Usage()
/system/core/libgrallocusage/include/grallocusage/
DGrallocUsageConversion.h34 void android_convertGralloc0To1Usage(int32_t usage, uint64_t* producerUsage,
41 int32_t android_convertGralloc1To0Usage(uint64_t producerUsage, uint64_t consumerUsage);