Home | History | Annotate | Download | only in libgralloc

Lines Matching full:private_handle_t

59     private_handle_t* hnd = (private_handle_t*)handle;
64 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) {
86 private_handle_t* hnd = (private_handle_t*)handle;
94 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) &&
95 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) {
131 private_handle_t* hnd = (private_handle_t*)handle;
171 if (!module || private_handle_t::validate(handle) < 0)
175 private_handle_t* hnd = (private_handle_t*)handle;
184 if (!module || private_handle_t::validate(handle) < 0)
197 private_handle_t* hnd)
216 if (!module || private_handle_t::validate(handle) < 0)
220 private_handle_t* hnd = (private_handle_t*)handle;
229 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION and
230 hnd->flags & private_handle_t::PRIV_FLAGS_CACHED) {
235 (hnd->flags & private_handle_t::PRIV_FLAGS_NON_CPU_WRITER))
244 hnd->flags |= private_handle_t::PRIV_FLAGS_NEEDS_FLUSH;
258 private_handle_t* hnd = (private_handle_t*)handle;
271 private_handle_t* hnd = (private_handle_t*)handle;
282 if (!module || private_handle_t::validate(handle) < 0)
286 private_handle_t* hnd = (private_handle_t*)handle;
289 if (hnd->flags & private_handle_t::PRIV_FLAGS_NEEDS_FLUSH) {
293 hnd->flags &= ~private_handle_t::PRIV_FLAGS_NEEDS_FLUSH;
322 private_handle_t* hnd = (private_handle_t*)native_handle_create(
323 private_handle_t::sNumFds, private_handle_t::sNumInts());
324 hnd->magic = private_handle_t::sMagic;
326 hnd->flags = private_handle_t::PRIV_FLAGS_USES_ION;
353 private_handle_t* hnd = va_arg(args, private_handle_t*);
355 if (private_handle_t::validate(hnd)) {
369 private_handle_t* hnd = va_arg(args, private_handle_t*);
372 if (private_handle_t::validate(hnd)) {
403 private_handle_t* hnd = va_arg(args, private_handle_t*);
405 if (private_handle_t::validate(hnd)) {
417 private_handle_t* hnd = va_arg(args, private_handle_t*);
419 if (!private_handle_t::validate(hnd)) {
426 private_handle_t* hnd = va_arg(args, private_handle_t*);
428 if (private_handle_t::validate(hnd)) {