For most interactive applications, the standard rendering loop responding to input events on a frame granularity is sufficient. Some more demanding applications may want to exchange performance for the ability to sample input closer to the final frame swap and adjust rendering accordingly. This extension adds functionality to allow the application to wait until a specified time before a swapbuffers command would be able to execute.
Requires GLX11 and GLX_EXT_swap_control.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | glXDelayBeforeSwapNV(long
the connection to the X server display, long the window drawable drawable, float the delay, in seconds seconds)Blocks the CPU until |
| GLXNVDelayBeforeSwap | back to summary |
|---|---|
| protected GLXNVDelayBeforeSwap() | |
| glXDelayBeforeSwapNV | back to summary |
|---|---|
| public static boolean glXDelayBeforeSwapNV(long display, long drawable, float seconds) Blocks the CPU until The parameter The application should use a If If buffer swaps are unsynchronized,
| |