Lines Matching refs:BufferUsage
197 if (usage & BufferUsage::CPU_READ_MASK) { in CpuCanRead()
205 if (usage & BufferUsage::CPU_WRITE_MASK) { in CpuCanWrite()
219 if (usage & BufferUsage::PROTECTED) { in GetDataAlignment()
232 if ((usage & BufferUsage::GPU_MIPMAP_COMPLETE)) { in IsGPUFlagSupported()
237 if ((usage & BufferUsage::GPU_CUBE_MAP)) { in IsGPUFlagSupported()
710 if (usage & BufferUsage::COMPOSER_OVERLAY || !(usage & GRALLOC_USAGE_PRIVATE_ALLOC_UBWC_PI)) { in IsUBwcPISupported()
718 if ((usage & BufferUsage::GPU_TEXTURE) || (usage & BufferUsage::GPU_RENDER_TARGET)) { in IsUBwcPISupported()
742 (usage & BufferUsage::COMPOSER_CLIENT_TARGET)) in IsUBwcEnabled()
746 if ((usage & BufferUsage::GPU_TEXTURE) || (usage & BufferUsage::GPU_RENDER_TARGET)) { in IsUBwcEnabled()
1042 if ((usage & BufferUsage::GPU_TEXTURE) || (usage & BufferUsage::GPU_RENDER_TARGET)) { in GetAlignedWidthAndHeight()
1223 if ((usage & BufferUsage::PROTECTED) && ((usage & BufferUsage::CAMERA_OUTPUT) || in CanUseAdrenoForSize()
1240 if ((usage & GRALLOC_USAGE_PRIVATE_UNCACHED) || (usage & BufferUsage::PROTECTED)) { in UseUncached()
1245 if ((usage & BufferUsage::CPU_READ_MASK) == static_cast<uint64_t>(BufferUsage::CPU_READ_RARELY)) { in UseUncached()
1250 if ((usage & BufferUsage::CPU_WRITE_MASK) == in UseUncached()
1251 static_cast<uint64_t>(BufferUsage::CPU_WRITE_RARELY)) { in UseUncached()
1255 if ((usage & BufferUsage::SENSOR_DIRECT_DATA) || (usage & BufferUsage::GPU_DATA_BUFFER)) { in UseUncached()
1269 if (usage & BufferUsage::VIDEO_ENCODER) { in GetHandleFlags()
1273 if (usage & BufferUsage::CAMERA_OUTPUT) { in GetHandleFlags()
1277 if (usage & BufferUsage::CAMERA_INPUT) { in GetHandleFlags()
1281 if (usage & BufferUsage::COMPOSER_OVERLAY) { in GetHandleFlags()
1285 if (usage & BufferUsage::GPU_TEXTURE) { in GetHandleFlags()
1301 if (usage & (BufferUsage::CPU_READ_MASK | BufferUsage::CPU_WRITE_MASK)) { in GetHandleFlags()
1305 if ((usage & (BufferUsage::VIDEO_ENCODER | BufferUsage::VIDEO_DECODER | in GetHandleFlags()
1306 BufferUsage::CAMERA_OUTPUT | BufferUsage::GPU_RENDER_TARGET))) { in GetHandleFlags()
1327 } else if (usage & BufferUsage::VIDEO_ENCODER) { in GetImplDefinedFormat()
1337 } else if (usage & BufferUsage::CAMERA_INPUT) { in GetImplDefinedFormat()
1338 if (usage & BufferUsage::CAMERA_OUTPUT) { in GetImplDefinedFormat()
1344 } else if (usage & BufferUsage::CAMERA_OUTPUT) { in GetImplDefinedFormat()
1350 } else if (usage & BufferUsage::COMPOSER_OVERLAY) { in GetImplDefinedFormat()