Lines Matching refs:private_handle_t

102             flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY;  in gralloc_alloc_buffer()
106 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601; in gralloc_alloc_buffer()
111 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
120 flags |= private_handle_t::PRIV_FLAGS_ITU_R_709; in gralloc_alloc_buffer()
123 flags |= private_handle_t::PRIV_FLAGS_ITU_R_601_FR; in gralloc_alloc_buffer()
132 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
136 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
140 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
144 flags |= private_handle_t::PRIV_FLAGS_HW_COMPOSER; in gralloc_alloc_buffer()
148 flags |= private_handle_t::PRIV_FLAGS_HW_TEXTURE; in gralloc_alloc_buffer()
152 flags |= private_handle_t::PRIV_FLAGS_SECURE_DISPLAY; in gralloc_alloc_buffer()
156 flags |= private_handle_t::PRIV_FLAGS_TILE_RENDERED; in gralloc_alloc_buffer()
160 flags |= private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; in gralloc_alloc_buffer()
164 flags |= private_handle_t::PRIV_FLAGS_CPU_RENDERED; in gralloc_alloc_buffer()
171 flags |= private_handle_t::PRIV_FLAGS_NON_CPU_WRITER; in gralloc_alloc_buffer()
175 flags |= private_handle_t::PRIV_FLAGS_CACHED; in gralloc_alloc_buffer()
180 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, in gralloc_alloc_buffer()
248 private_handle_t* hnd = new private_handle_t( in gralloc_alloc_framebuffer_locked()
250 private_handle_t::PRIV_FLAGS_USES_ION | in gralloc_alloc_framebuffer_locked()
251 private_handle_t::PRIV_FLAGS_FRAMEBUFFER, in gralloc_alloc_framebuffer_locked()
346 auto hnd = (private_handle_t*) *pHandle; in alloc_impl()
355 int gpu_context_t::free_impl(private_handle_t const* hnd) { in free_impl()
357 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in free_impl()
364 terminateBuffer(&m->base, const_cast<private_handle_t*>(hnd)); in free_impl()
408 if (private_handle_t::validate(handle) < 0) in gralloc_free()
411 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); in gralloc_free()