Lines Matching refs:grallocUsage
256 int convertToBufferUsage(uint64_t grallocUsage, uint64_t* outBufferUsage) { in convertToBufferUsage() argument
259 if ((grallocUsage & BufferUsage::CPU_READ_MASK) == in convertToBufferUsage()
263 if ((grallocUsage & BufferUsage::CPU_READ_MASK) == in convertToBufferUsage()
267 if ((grallocUsage & BufferUsage::CPU_WRITE_MASK) == in convertToBufferUsage()
271 if ((grallocUsage & BufferUsage::CPU_WRITE_MASK) == in convertToBufferUsage()
275 if (grallocUsage & BufferUsage::GPU_TEXTURE) { in convertToBufferUsage()
278 if (grallocUsage & BufferUsage::GPU_RENDER_TARGET) { in convertToBufferUsage()
281 if (grallocUsage & BufferUsage::COMPOSER_OVERLAY) { in convertToBufferUsage()
286 if (grallocUsage & BufferUsage::PROTECTED) { in convertToBufferUsage()
289 if (grallocUsage & BufferUsage::COMPOSER_CURSOR) { in convertToBufferUsage()
292 if (grallocUsage & BufferUsage::VIDEO_ENCODER) { in convertToBufferUsage()
296 if (grallocUsage & BufferUsage::CAMERA_OUTPUT) { in convertToBufferUsage()
299 if (grallocUsage & BufferUsage::CAMERA_INPUT) { in convertToBufferUsage()
302 if (grallocUsage & BufferUsage::RENDERSCRIPT) { in convertToBufferUsage()
305 if (grallocUsage & BufferUsage::VIDEO_DECODER) { in convertToBufferUsage()
339 int convertToMapUsage(uint64_t grallocUsage, uint32_t* outMapUsage) { in convertToMapUsage() argument
342 if (grallocUsage & BufferUsage::CPU_READ_MASK) { in convertToMapUsage()
345 if (grallocUsage & BufferUsage::CPU_WRITE_MASK) { in convertToMapUsage()