pub fn fd_to_handle(
fd: BorrowedFd<'_>,
primefd: BorrowedFd<'_>,
) -> Result<drm_prime_handle>
Expand description
Converts a PRIME file descriptor to a GEM object’s handle.
pub fn fd_to_handle(
fd: BorrowedFd<'_>,
primefd: BorrowedFd<'_>,
) -> Result<drm_prime_handle>
Converts a PRIME file descriptor to a GEM object’s handle.