Top Description Constructors Methods
org.lwjgl.opengl

public Class GLXSGIVideoSync

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

Native bindings to the GLX_SGI_video_sync extension.

This extension provides a means for synchronization with the video frame rate of a monitor.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
glXGetVideoSyncSGI(IntBuffer
the video sync counter value
count
)

Returns the value of the video sync counter in count.

public static int
glXGetVideoSyncSGI(int[] count)

Array version of: GetVideoSyncSGI

public static int
glXWaitVideoSyncSGI(int
the divisor value
divisor
,
int
the remainder value
remainder
,
IntBuffer
the video sync counter value
count
)

Puts the calling process to sleep until

(C mod D) = R

where C is the video sync counter, D is specified by the divisor parameter of glXWaitVideoSyncSGI, and R is specified by the remainder parameter of glXWaitVideoSyncSGI.

public static int
glXWaitVideoSyncSGI(int divisor, int remainder, int[] count)

Array version of: WaitVideoSyncSGI

public static int
nglXGetVideoSyncSGI(long count)

Unsafe version of: GetVideoSyncSGI

public static int
nglXWaitVideoSyncSGI(int divisor, int remainder, long count)

Unsafe version of: WaitVideoSyncSGI

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GLXSGIVideoSyncback to summary
protected GLXSGIVideoSync()

Method Detail

glXGetVideoSyncSGIback to summary
public static int glXGetVideoSyncSGI(IntBuffer count)

Returns the value of the video sync counter in count. Zero is returned if the call is successful.

Parameters
count:IntBuffer

the video sync counter value

Annotations
@NativeType:GLint
glXGetVideoSyncSGIback to summary
public static int glXGetVideoSyncSGI(int[] count)

Array version of: GetVideoSyncSGI

Annotations
@NativeType:GLint
glXWaitVideoSyncSGIback to summary
public static int glXWaitVideoSyncSGI(int divisor, int remainder, IntBuffer count)

Puts the calling process to sleep until

(C mod D) = R

where C is the video sync counter, D is specified by the divisor parameter of glXWaitVideoSyncSGI, and R is specified by the remainder parameter of glXWaitVideoSyncSGI. glXWaitVideoSyncSGI returns the current video sync counter value in count. Zero is returned by glXWaitVideoSyncSGI if it is successful.

Parameters
divisor:int

the divisor value

remainder:int

the remainder value

count:IntBuffer

the video sync counter value

Annotations
@NativeType:GLint
glXWaitVideoSyncSGIback to summary
public static int glXWaitVideoSyncSGI(int divisor, int remainder, int[] count)

Array version of: WaitVideoSyncSGI

Annotations
@NativeType:GLint
nglXGetVideoSyncSGIback to summary
public static int nglXGetVideoSyncSGI(long count)

Unsafe version of: GetVideoSyncSGI

nglXWaitVideoSyncSGIback to summary
public static int nglXWaitVideoSyncSGI(int divisor, int remainder, long count)

Unsafe version of: WaitVideoSyncSGI