Lines Matching refs:grallocUsage
252 int convertToBufferUsage(uint64_t grallocUsage, uint64_t* outBufferUsage) { in convertToBufferUsage() argument
255 if ((grallocUsage & BufferUsage::CPU_READ_MASK) == in convertToBufferUsage()
259 if ((grallocUsage & BufferUsage::CPU_READ_MASK) == in convertToBufferUsage()
263 if ((grallocUsage & BufferUsage::CPU_WRITE_MASK) == in convertToBufferUsage()
267 if ((grallocUsage & BufferUsage::CPU_WRITE_MASK) == in convertToBufferUsage()
271 if (grallocUsage & BufferUsage::GPU_TEXTURE) { in convertToBufferUsage()
274 if (grallocUsage & BufferUsage::GPU_RENDER_TARGET) { in convertToBufferUsage()
277 if (grallocUsage & BufferUsage::COMPOSER_OVERLAY) { in convertToBufferUsage()
282 if (grallocUsage & BufferUsage::PROTECTED) { in convertToBufferUsage()
285 if (grallocUsage & BufferUsage::COMPOSER_CURSOR) { in convertToBufferUsage()
288 if (grallocUsage & BufferUsage::VIDEO_ENCODER) { in convertToBufferUsage()
292 if (grallocUsage & BufferUsage::CAMERA_OUTPUT) { in convertToBufferUsage()
295 if (grallocUsage & BufferUsage::CAMERA_INPUT) { in convertToBufferUsage()
298 if (grallocUsage & BufferUsage::RENDERSCRIPT) { in convertToBufferUsage()
301 if (grallocUsage & BufferUsage::VIDEO_DECODER) { in convertToBufferUsage()
309 int convertToMapUsage(uint64_t grallocUsage, uint32_t* outMapUsage) { in convertToMapUsage() argument
312 if (grallocUsage & BufferUsage::CPU_READ_MASK) { in convertToMapUsage()
315 if (grallocUsage & BufferUsage::CPU_WRITE_MASK) { in convertToMapUsage()