DRMDumbAllocator.with_device_path
Description:
[ CCode ( has_construct_function = false , type = "GstAllocator*" ) ]
public DRMDumbAllocator.with_device_path (string drm_device_path)
public DRMDumbAllocator.with_device_path (string drm_device_path)
Creates a new DRMDumbAllocator for the specific device path.
This function can fail if the path does not exist, is not a DRM device or if the DRM device doesnot support DUMB allocation.
Parameters:
drm_device_path |
path to the DRM device to open |
Returns:
a new DRM Dumb allocator. Use unref to release the allocator after usage. |