Lines Matching refs:flags
50 static IMemAlloc* getAllocator(int flags) in getAllocator() argument
54 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
68 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map()
71 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
72 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
87 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map()
111 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
115 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap()
207 if (hnd->flags & (private_handle_t::PRIV_FLAGS_USES_PMEM | in terminateBuffer()
214 hnd->flags); in terminateBuffer()
239 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION and in gralloc_map_and_invalidate()
240 hnd->flags & private_handle_t::PRIV_FLAGS_CACHED) { in gralloc_map_and_invalidate()
245 (hnd->flags & private_handle_t::PRIV_FLAGS_NON_CPU_WRITER)) in gralloc_map_and_invalidate()
247 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_and_invalidate()
254 hnd->flags |= private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_map_and_invalidate()
298 IMemAlloc* memalloc = getAllocator(hnd->flags); in gralloc_unlock()
299 if (hnd->flags & private_handle_t::PRIV_FLAGS_NEEDS_FLUSH) { in gralloc_unlock()
303 hnd->flags &= ~private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_unlock()
337 hnd->flags = private_handle_t::PRIV_FLAGS_USES_ION; in gralloc_perform()