Lines Matching refs:BufferUsage

223   if (usage & BufferUsage::CPU_READ_MASK) {  in CpuCanRead()
231 if (usage & BufferUsage::CPU_WRITE_MASK) { in CpuCanWrite()
245 if (usage & BufferUsage::PROTECTED) { in GetDataAlignment()
246 if ((usage & BufferUsage::CAMERA_OUTPUT) || (usage & GRALLOC_USAGE_PRIVATE_SECURE_DISPLAY)) { in GetDataAlignment()
259 if ((usage & BufferUsage::GPU_MIPMAP_COMPLETE)) { in IsGPUFlagSupported()
264 if ((usage & BufferUsage::GPU_CUBE_MAP)) { in IsGPUFlagSupported()
752 if ((usage & BufferUsage::GPU_TEXTURE) || (usage & BufferUsage::GPU_RENDER_TARGET)) { in IsUBwcPISupported()
776 (usage & BufferUsage::COMPOSER_CLIENT_TARGET)) in IsUBwcEnabled()
780 if ((usage & BufferUsage::GPU_TEXTURE) || (usage & BufferUsage::GPU_RENDER_TARGET)) { in IsUBwcEnabled()
1121 if ((usage & BufferUsage::GPU_TEXTURE) || (usage & BufferUsage::GPU_RENDER_TARGET)) { in GetAlignedWidthAndHeight()
1273 if ((usage & BufferUsage::PROTECTED) && ((usage & BufferUsage::CAMERA_OUTPUT) || in CanUseAdrenoForSize()
1290 if ((usage & GRALLOC_USAGE_PRIVATE_UNCACHED) || (usage & BufferUsage::PROTECTED)) { in UseUncached()
1295 if ((usage & BufferUsage::CPU_READ_MASK) == static_cast<uint64_t>(BufferUsage::CPU_READ_RARELY)) { in UseUncached()
1300 if ((usage & BufferUsage::CPU_WRITE_MASK) == in UseUncached()
1301 static_cast<uint64_t>(BufferUsage::CPU_WRITE_RARELY)) { in UseUncached()
1305 if ((usage & BufferUsage::SENSOR_DIRECT_DATA) || (usage & BufferUsage::GPU_DATA_BUFFER)) { in UseUncached()
1319 if (usage & BufferUsage::VIDEO_ENCODER) { in GetHandleFlags()
1323 if (usage & BufferUsage::CAMERA_OUTPUT) { in GetHandleFlags()
1327 if (usage & BufferUsage::CAMERA_INPUT) { in GetHandleFlags()
1331 if (usage & BufferUsage::COMPOSER_OVERLAY) { in GetHandleFlags()
1335 if (usage & BufferUsage::GPU_TEXTURE) { in GetHandleFlags()
1350 if (usage & (BufferUsage::CPU_READ_MASK | BufferUsage::CPU_WRITE_MASK)) { in GetHandleFlags()
1354 if ((usage & (BufferUsage::VIDEO_ENCODER | BufferUsage::VIDEO_DECODER | in GetHandleFlags()
1355 BufferUsage::CAMERA_OUTPUT | BufferUsage::GPU_RENDER_TARGET))) { in GetHandleFlags()
1376 } else if (usage & BufferUsage::VIDEO_ENCODER) { in GetImplDefinedFormat()
1386 } else if (usage & BufferUsage::CAMERA_INPUT) { in GetImplDefinedFormat()
1387 if (usage & BufferUsage::CAMERA_OUTPUT) { in GetImplDefinedFormat()
1393 } else if (usage & BufferUsage::CAMERA_OUTPUT) { in GetImplDefinedFormat()
1395 if ((usage & BufferUsage::PROTECTED) && (!CanAllocateZSLForSecureCamera())) { in GetImplDefinedFormat()
1403 } else if (usage & BufferUsage::COMPOSER_OVERLAY) { in GetImplDefinedFormat()