Lines Matching refs:private_handle_t
57 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
58 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map()
82 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
83 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
108 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
113 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
116 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_USES_GPU)) { in gralloc_register_buffer()
127 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
131 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
141 private_handle_t* hnd) in mapBuffer()
148 private_handle_t* hnd) in terminateBuffer()
152 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_PMEM) { in terminateBuffer()
159 } else if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_GPU) { in terminateBuffer()
182 if (private_handle_t::validate(handle) < 0) in gralloc_lock()
185 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock()
196 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()