Package org.lwjgl.opengl
Class GLXSGIVideoSync
java.lang.Object
org.lwjgl.opengl.GLXSGIVideoSync
Native bindings to the GLX_SGI_video_sync extension.
This extension provides a means for synchronization with the video frame rate of a monitor.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intglXGetVideoSyncSGI(int[] count) Array version of:GetVideoSyncSGIstatic intglXGetVideoSyncSGI(IntBuffer count) Returns the value of the video sync counter incount.static intglXWaitVideoSyncSGI(int divisor, int remainder, int[] count) Array version of:WaitVideoSyncSGIstatic intglXWaitVideoSyncSGI(int divisor, int remainder, IntBuffer count) Puts the calling process to sleep untilstatic intnglXGetVideoSyncSGI(long count) Unsafe version of:GetVideoSyncSGIstatic intnglXWaitVideoSyncSGI(int divisor, int remainder, long count) Unsafe version of:WaitVideoSyncSGI
-
Method Details
-
nglXGetVideoSyncSGI
public static int nglXGetVideoSyncSGI(long count) Unsafe version of:GetVideoSyncSGI -
glXGetVideoSyncSGI
Returns the value of the video sync counter incount. Zero is returned if the call is successful.- Parameters:
count- the video sync counter value
-
nglXWaitVideoSyncSGI
public static int nglXWaitVideoSyncSGI(int divisor, int remainder, long count) Unsafe version of:WaitVideoSyncSGI -
glXWaitVideoSyncSGI
Puts the calling process to sleep until(C mod D) = Rwhere
Cis the video sync counter,Dis specified by thedivisorparameter ofglXWaitVideoSyncSGI, andRis specified by theremainderparameter ofglXWaitVideoSyncSGI.glXWaitVideoSyncSGIreturns the current video sync counter value incount. Zero is returned byglXWaitVideoSyncSGIif it is successful.- Parameters:
divisor- the divisor valueremainder- the remainder valuecount- the video sync counter value
-
glXGetVideoSyncSGI
public static int glXGetVideoSyncSGI(int[] count) Array version of:GetVideoSyncSGI -
glXWaitVideoSyncSGI
public static int glXWaitVideoSyncSGI(int divisor, int remainder, int[] count) Array version of:WaitVideoSyncSGI
-