Home
last modified time | relevance | path

Searched refs:GRALLOC_USAGE_SW_WRITE_MASK (Results 1 – 14 of 14) sorted by relevance

/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferaccess.cpp61 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()
Dmali_gralloc_module.h54 #define GRALLOC_USAGE_SW_WRITE_MASK 0x000000F0 macro
Dmali_gralloc_public_interface.cpp305 …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()
Dmali_gralloc_formats.cpp404 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()
Dmali_gralloc_bufferallocation.cpp978 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in mali_gralloc_buffer_allocate()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferaccess.cpp61 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()
Dmali_gralloc_module.h54 #define GRALLOC_USAGE_SW_WRITE_MASK 0x000000F0 macro
Dmali_gralloc_public_interface.cpp306 …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()
Dmali_gralloc_formats.cpp404 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()
Dmali_gralloc_bufferallocation.cpp979 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) in mali_gralloc_buffer_allocate()
/device/linaro/hikey/gralloc/
Dgralloc_module.cpp310 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()
/device/linaro/dragonboard/gralloc/
Dgralloc_gbm.cpp440 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()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp629 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()
Dgralloc_30.cpp294 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()