Esempio n. 1
0
 /// <summary>
 /// Control the the buffers swap of a device.
 /// </summary>
 /// <param name="interval">
 /// A <see cref="Int32"/> that specifies the minimum number of video frames that are displayed
 /// before a buffer swap will occur.
 /// </param>
 /// <returns>
 /// It returns a boolean value indicating whether the operation was successful.
 /// </returns>
 public override bool SwapInterval(int interval)
 {
     return(Egl.SwapInterval(Display, interval));
 }
Esempio n. 2
0
 /// <summary>
 /// Control the the buffers swap of a device.
 /// </summary>
 /// <param name="interval">
 /// A <see cref="System.Int32"/> that specifies the minimum number of video frames that are displayed
 /// before a buffer swap will occur.
 /// </param>
 /// <returns>
 /// It returns a boolean value indicating whether the operation was successful.
 /// </returns>
 public override bool SwapInterval(int interval)
 {
     return(Egl.SwapInterval(_Display, interval) != IntPtr.Zero);
 }