org.lwjgl.opengl.GLXEXTSwapControlTear Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengl Show documentation
Show all versions of lwjgl-opengl Show documentation
The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
/**
* Native bindings to the GLX_EXT_swap_control_tear extension.
*
* This extension extends the existing GLX_EXT_swap_control extension by allowing a negative {@code interval} parameter to
* {@link GLXEXTSwapControl#glXSwapIntervalEXT SwapIntervalEXT}. The negative {@code interval} allows late swaps to occur without synchronization to the video frame. This
* reduces the visual stutter on late frames and reduces the stall on subsequent frames.
*
* Requires {@link GLXEXTSwapControl GLX_EXT_swap_control}.
*/
public final class GLXEXTSwapControlTear {
/** Accepted by {@link GLX13#glXQueryDrawable QueryDrawable}. */
public static final int GLX_LATE_SWAPS_TEAR_EXT = 0x20F3;
private GLXEXTSwapControlTear() {}
}