alloc_with_flags
Description:
[ Version ( since = "1.16" ) ]
public static Memory? alloc_with_flags (Allocator allocator, int fd, size_t size, FdMemoryFlags flags)
public static Memory? alloc_with_flags (Allocator allocator, int fd, size_t size, FdMemoryFlags flags)
Return a Memory that wraps a dmabuf file descriptor.
Parameters:
allocator |
allocator to be used for this memory |
fd |
dmabuf file descriptor |
size |
memory size |
flags |
extra FdMemoryFlags |