Searched refs:GRALLOC_USAGE_SW_WRITE_MASK (Results 1 – 14 of 14) sorted by relevance
61 hnd->writeOwner = usage & GRALLOC_USAGE_SW_WRITE_MASK; in mali_gralloc_lock()64 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in mali_gralloc_lock()96 hnd->writeOwner = usage & GRALLOC_USAGE_SW_WRITE_MASK; in mali_gralloc_lock_ycbcr()99 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK) && in mali_gralloc_lock_ycbcr()278 hnd->writeOwner = usage & GRALLOC_USAGE_SW_WRITE_MASK; in mali_gralloc_lock_flex_async()281 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK) && in mali_gralloc_lock_flex_async()
54 #define GRALLOC_USAGE_SW_WRITE_MASK 0x000000F0 macro
305 …if (!((producerUsage | consumerUsage) & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)… in mali_gralloc1_lock_async()333 …if (!((producerUsage | consumerUsage) & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)… in mali_gralloc1_lock_flex_async()
404 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in determine_producer()450 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in determine_consumer()
978 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in mali_gralloc_buffer_allocate()
306 …if (!((producerUsage | consumerUsage) & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)… in mali_gralloc1_lock_async()334 …if (!((producerUsage | consumerUsage) & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)… in mali_gralloc1_lock_flex_async()
979 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in mali_gralloc_buffer_allocate()
310 hnd->writeOwner = usage & GRALLOC_USAGE_SW_WRITE_MASK; in gralloc_lock()317 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in gralloc_lock()347 hnd->writeOwner = usage & GRALLOC_USAGE_SW_WRITE_MASK; in gralloc_lock_ycbcr()355 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in gralloc_lock_ycbcr()
440 if (usage & (GRALLOC_USAGE_SW_WRITE_MASK | in gralloc_gbm_bo_lock()443 int write = !!(usage & GRALLOC_USAGE_SW_WRITE_MASK); in gralloc_gbm_bo_lock()471 (GRALLOC_USAGE_SW_WRITE_MASK | GRALLOC_USAGE_SW_READ_MASK); in gralloc_gbm_bo_unlock()
629 bool sw_write = (0 != (usage & GRALLOC_USAGE_SW_WRITE_MASK)); in gralloc_alloc()1154 bool sw_write = (0 != (usage & GRALLOC_USAGE_SW_WRITE_MASK)); in gralloc_lock()1181 bool sw_write_allowed = (0 != (cb->usage & GRALLOC_USAGE_SW_WRITE_MASK)); in gralloc_lock()
294 const bool usageSwWrite = usage & GRALLOC_USAGE_SW_WRITE_MASK; in lock_impl()519 const bool usageSwWrite = usage & GRALLOC_USAGE_SW_WRITE_MASK; in gralloc_alloc()