internal Crtc(int _fd_gpu, uint _id) { fd_gpu = _fd_gpu; handle = drmModeGetCrtc(fd_gpu, _id); if (handle == null) { throw new NotSupportedException("[DRI] drmModeGetCrtc failed."); } }
protected virtual void Dispose(bool disposing) { unsafe { if (handle != null) { drmModeFreeCrtc(handle); } handle = null; } }
internal static extern void drmModeFreeCrtc(drmCrtc *ptr);