Lines Matching refs:flags
56 int flags = 0; in gralloc_alloc_buffer() local
95 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
98 flags |= private_handle_t::PRIV_FLAGS_INTERNAL_ONLY; in gralloc_alloc_buffer()
102 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
107 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
116 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
119 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
128 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
136 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
140 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
144 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
148 flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY; in gralloc_alloc_buffer()
152 flags |= private_handle_t::PRIV_FLAGS_TILE_RENDERED; in gralloc_alloc_buffer()
156 flags |= private_handle_t::PRIV_FLAGS_CPU_RENDERED; in gralloc_alloc_buffer()
163 flags |= private_handle_t::PRIV_FLAGS_NON_CPU_WRITER; in gralloc_alloc_buffer()
167 flags |= private_handle_t::PRIV_FLAGS_CACHED; in gralloc_alloc_buffer()
170 flags |= data.allocType; in gralloc_alloc_buffer()
172 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, in gralloc_alloc_buffer()
343 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in free_impl()
351 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl()