Lines Matching refs:flags
56 int flags = 0; in gralloc_alloc_buffer() local
107 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
111 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer()
115 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
123 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
127 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
131 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
135 flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY; in gralloc_alloc_buffer()
139 flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; in gralloc_alloc_buffer()
143 flags |= private_handle_t::PRIV_FLAGS_CPU_RENDERED; in gralloc_alloc_buffer()
150 flags |= private_handle_t::PRIV_FLAGS_NON_CPU_WRITER; in gralloc_alloc_buffer()
154 flags |= private_handle_t::PRIV_FLAGS_DISP_CONSUMER; in gralloc_alloc_buffer()
158 flags |= private_handle_t::PRIV_FLAGS_CACHED; in gralloc_alloc_buffer()
161 flags |= data.allocType; in gralloc_alloc_buffer()
163 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, in gralloc_alloc_buffer()
350 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in free_impl()
358 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl()