Searched refs:producerUsage (Results 1 – 2 of 2) sorted by relevance
22 void android_convertGralloc0To1Usage(int32_t usage, uint64_t* producerUsage, in android_convertGralloc0To1Usage() argument39 *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() argument55 uint64_t merged = producerUsage | consumerUsage; in android_convertGralloc1To0Usage()
34 void android_convertGralloc0To1Usage(int32_t usage, uint64_t* producerUsage,41 int32_t android_convertGralloc1To0Usage(uint64_t producerUsage, uint64_t consumerUsage);