Package org.lwjgl.egl
Class EXTSwapBuffersWithDamage
- java.lang.Object
-
- org.lwjgl.egl.EXTSwapBuffersWithDamage
-
public class EXTSwapBuffersWithDamage extends java.lang.Object
Native bindings to the EXT_swap_buffers_with_damage extension.This extension provides a means to issue a swap buffers request to display the contents of the current back buffer and also specify a list of damage rectangles that can be passed to a system compositor so it can minimize how much it has to recompose.
This should be used in situations where an application is only animating a small portion of a surface since it enables the compositor to avoid wasting time recomposing parts of the surface that haven't changed.
Requires
EGL 1.4
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
eglSwapBuffersWithDamageEXT(long dpy, long surface, int[] rects)
Array version of:SwapBuffersWithDamageEXT
static boolean
eglSwapBuffersWithDamageEXT(long dpy, long surface, java.nio.IntBuffer rects)
static int
neglSwapBuffersWithDamageEXT(long dpy, long surface, long rects, int n_rects)
-
-
-
Method Detail
-
neglSwapBuffersWithDamageEXT
public static int neglSwapBuffersWithDamageEXT(long dpy, long surface, long rects, int n_rects)
-
eglSwapBuffersWithDamageEXT
public static boolean eglSwapBuffersWithDamageEXT(long dpy, long surface, @Nullable java.nio.IntBuffer rects)
-
eglSwapBuffersWithDamageEXT
public static boolean eglSwapBuffersWithDamageEXT(long dpy, long surface, @Nullable int[] rects)
Array version of:SwapBuffersWithDamageEXT
-
-