Lines Matching refs:private_handle_t
59 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata()
64 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map_metadata()
86 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
94 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
95 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
131 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
171 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
185 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
198 private_handle_t* hnd) in terminateBuffer()
217 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
221 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate()
230 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION and in gralloc_map_and_invalidate()
231 hnd->flags & private_handle_t::PRIV_FLAGS_CACHED) { in gralloc_map_and_invalidate()
236 (hnd->flags & private_handle_t::PRIV_FLAGS_NON_CPU_WRITER)) in gralloc_map_and_invalidate()
245 hnd->flags |= private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_map_and_invalidate()
259 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock()
272 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr()
283 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
287 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock()
290 if (hnd->flags & private_handle_t::PRIV_FLAGS_NEEDS_FLUSH) { in gralloc_unlock()
294 hnd->flags &= ~private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_unlock()
324 private_handle_t* hnd = (private_handle_t*)native_handle_create( in gralloc_perform()
325 private_handle_t::sNumFds, private_handle_t::sNumInts()); in gralloc_perform()
327 hnd->magic = private_handle_t::sMagic; in gralloc_perform()
329 hnd->flags = private_handle_t::PRIV_FLAGS_USES_ION; in gralloc_perform()
361 const private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
363 if (private_handle_t::validate(hnd)) { in gralloc_perform()
376 const private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
379 if (private_handle_t::validate(hnd)) { in gralloc_perform()
408 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
410 if (private_handle_t::validate(hnd)) { in gralloc_perform()
445 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
447 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
454 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
456 if (private_handle_t::validate(hnd)) { in gralloc_perform()
470 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
472 if (private_handle_t::validate(hnd)) { in gralloc_perform()
475 *flag = hnd->flags & private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; in gralloc_perform()
485 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
487 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
494 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
496 if (!private_handle_t::validate(hnd) && igc) { in gralloc_perform()
511 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
513 if (!private_handle_t::validate(hnd)) { in gralloc_perform()