Top Description Constructors Methods
org.lwjgl.egl

public Class KHRSwapBuffersWithDamage

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

Native bindings to the KHR_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.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static boolean
eglSwapBuffersWithDamageKHR(long dpy, long surface, IntBuffer rects)

public static boolean
eglSwapBuffersWithDamageKHR(long dpy, long surface, int[] rects)

Array version of: SwapBuffersWithDamageKHR

public static int
neglSwapBuffersWithDamageKHR(long dpy, long surface, long rects, int n_rects)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

KHRSwapBuffersWithDamageback to summary
protected KHRSwapBuffersWithDamage()

Method Detail

eglSwapBuffersWithDamageKHRback to summary
public static boolean eglSwapBuffersWithDamageKHR(long dpy, long surface, IntBuffer rects)
Annotations
@NativeType:EGLBoolean
eglSwapBuffersWithDamageKHRback to summary
public static boolean eglSwapBuffersWithDamageKHR(long dpy, long surface, int[] rects)

Array version of: SwapBuffersWithDamageKHR

Annotations
@NativeType:EGLBoolean
neglSwapBuffersWithDamageKHRback to summary
public static int neglSwapBuffersWithDamageKHR(long dpy, long surface, long rects, int n_rects)