DRMDumbAllocator.with_fd


Description:

[ CCode ( has_construct_function = false , type = "GstAllocator*" ) ]
public DRMDumbAllocator.with_fd (int drm_fd)

Creates a new DRMDumbAllocator for the specific file desciptor.

This function can fail if the file descriptor is not a DRM device or if the DRM device does not support DUMB allocation.

Parameters:

drm_fd

file descriptor of the DRM device

Returns:

a new DRM Dumb allocator. Use unref to release the allocator after usage.