Top Description Constructors Methods
org.lwjgl.egl

public Class ANGLESyncControlRate

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

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.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static boolean
eglGetMscRateANGLE(long dpy, long surface, IntBuffer numerator, IntBuffer denominator)

public static boolean
eglGetMscRateANGLE(long dpy, long surface, int[] numerator, int[] denominator)

Array version of: GetMscRateANGLE

public static int
neglGetMscRateANGLE(long dpy, long surface, long numerator, long denominator)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ANGLESyncControlRateback to summary
protected ANGLESyncControlRate()

Method Detail

eglGetMscRateANGLEback to summary
public static boolean eglGetMscRateANGLE(long dpy, long surface, IntBuffer numerator, IntBuffer denominator)
Annotations
@NativeType:EGLBoolean
eglGetMscRateANGLEback to summary
public static boolean eglGetMscRateANGLE(long dpy, long surface, int[] numerator, int[] denominator)

Array version of: GetMscRateANGLE

Annotations
@NativeType:EGLBoolean
neglGetMscRateANGLEback to summary
public static int neglGetMscRateANGLE(long dpy, long surface, long numerator, long denominator)