Home
last modified time | relevance | path

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

/system/core/libgrallocusage/
DGrallocUsageConversion.cpp23 uint64_t* consumerUsage) { in android_convertGralloc0To1Usage() argument
40 *consumerUsage = static_cast<uint64_t>(usage) & CONSUMER_MASK; in android_convertGralloc0To1Usage()
43 *consumerUsage |= GRALLOC1_CONSUMER_USAGE_CPU_READ_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.h35 uint64_t* consumerUsage);
41 int32_t android_convertGralloc1To0Usage(uint64_t producerUsage, uint64_t consumerUsage);