Lines Matching refs:private_handle_t
90 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
91 private_handle_t::PRIV_FLAGS_USES_PMEM | in gralloc_alloc_framebuffer_locked()
92 private_handle_t::PRIV_FLAGS_FRAMEBUFFER, in gralloc_alloc_framebuffer_locked()
142 flags |= private_handle_t::PRIV_FLAGS_UNSYNCHRONIZED; in gralloc_alloc_buffer()
146 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_ONLY; in gralloc_alloc_buffer()
149 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_BLOCK; in gralloc_alloc_buffer()
151 flags |= private_handle_t::PRIV_FLAGS_EXTERNAL_CC; in gralloc_alloc_buffer()
156 flags |= private_handle_t::PRIV_FLAGS_VIDEO_ENCODER; in gralloc_alloc_buffer()
160 flags |= private_handle_t::PRIV_FLAGS_CAMERA_WRITE; in gralloc_alloc_buffer()
164 flags |= private_handle_t::PRIV_FLAGS_CAMERA_READ; in gralloc_alloc_buffer()
169 private_handle_t* hnd = new private_handle_t(data.fd, size, flags, in gralloc_alloc_buffer()
244 free_impl(reinterpret_cast<private_handle_t*>(pHandle)); in alloc_impl()
251 int gpu_context_t::free_impl(private_handle_t const* hnd) { in free_impl()
253 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in free_impl()
259 terminateBuffer(&m->base, const_cast<private_handle_t*>(hnd)); in free_impl()
303 if (private_handle_t::validate(handle) < 0) in gralloc_free()
306 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); in gralloc_free()