Searched refs:usageSwRead (Results 1 – 3 of 3) sorted by relevance
370 const bool usageSwRead = usage & BufferUsage::CPU_READ_MASK; in lockHostImpl() local379 rcEnc, cb.hostHandle, 0, usageSwRead); in lockHostImpl()386 if (usageSwRead && !usageHwCamera) { in lockHostImpl()541 const bool usageSwRead = usage & BufferUsage::CPU_READ_MASK; in isSupportedImpl() local575 RETURN((usageSwRead || usageHwCamRead) && in isSupportedImpl()579 RETURN(usageSwRead); in isSupportedImpl()
95 const bool usageSwRead = usage & BufferUsage::CPU_READ_MASK; in allocateImpl() local159 if (!((usageSwRead || usageHwCamRead) && (usageSwWrite || usageHwCamWrite))) { in allocateImpl()169 if (!usageSwRead) { in allocateImpl()
291 const bool usageSwRead = usage & GRALLOC_USAGE_SW_READ_MASK; in lock_impl() local300 rcEnc, handle.hostHandle, 0, usageSwRead); in lock_impl()307 if (usageSwRead && !usageHwCamera) { in lock_impl()518 const bool usageSwRead = usage & GRALLOC_USAGE_SW_READ_MASK; in gralloc_alloc() local584 if (!((usageSwRead || usageHwCamRead) && (usageSwWrite || usageHwCamWrite))) { in gralloc_alloc()594 if (!usageSwRead) { in gralloc_alloc()