Package org.lwjgl.egl
Class ANGLESyncControlRate
- java.lang.Object
-
- org.lwjgl.egl.ANGLESyncControlRate
-
public class ANGLESyncControlRate extends java.lang.Object
Native bindings to the ANGLE_sync_control_rate extension.This extension provides counters which let applications know about the timing of the last vertical retrace. By looking at the system clock, as well as the refresh rate of the monitor, this should enable applications to predict the position of future retraces so as to schedule an optimal workload.
This extension incorporates the use of a counter that provides the necessary synchronization. The graphics Media Stream Counter (or graphics MSC) is a counter that is unique to the graphics subsystem and increments for each vertical retrace that occurs.
By querying the MSC rate for a given surface, the application can accurately predict the timing for the next vertical retraces and schedule rendering accordingly.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
eglGetMscRateANGLE(long dpy, long surface, int[] numerator, int[] denominator)
Array version of:GetMscRateANGLE
static boolean
eglGetMscRateANGLE(long dpy, long surface, java.nio.IntBuffer numerator, java.nio.IntBuffer denominator)
static int
neglGetMscRateANGLE(long dpy, long surface, long numerator, long denominator)
-
-
-
Method Detail
-
neglGetMscRateANGLE
public static int neglGetMscRateANGLE(long dpy, long surface, long numerator, long denominator)
-
eglGetMscRateANGLE
public static boolean eglGetMscRateANGLE(long dpy, long surface, java.nio.IntBuffer numerator, java.nio.IntBuffer denominator)
-
eglGetMscRateANGLE
public static boolean eglGetMscRateANGLE(long dpy, long surface, int[] numerator, int[] denominator)
Array version of:GetMscRateANGLE
-
-