Beispiel #1
0
 public static bool SetCrtc
     (int fd, uint crtcId, uint bufferId, uint x, uint y, IEnumerable <uint> connectors, ModeInfo mode)
 {
     return(drmModeSetCrtc(fd, crtcId, bufferId, x, y, connectors.ToArray(), connectors.Count(), ref mode) == 0);
 }
Beispiel #2
0
 unsafe static extern int drmModeSetCrtc(int fd, uint crtcId, uint bufferId, uint x, uint y, [MarshalAs(UnmanagedType.LPArray)] uint[] connectors, int count, ref ModeInfo mode);