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..
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | eglSwapBuffersWithDamageEXT(long dpy, long surface, int[] rects)
Array version of: |
| public static int |
| EXTSwapBuffersWithDamage | back to summary |
|---|---|
| protected EXTSwapBuffersWithDamage() | |
| eglSwapBuffersWithDamageEXT | back to summary |
|---|---|
public static boolean eglSwapBuffersWithDamageEXT(long dpy, long surface, IntBuffer rects)
| |
| eglSwapBuffersWithDamageEXT | back to summary |
|---|---|
| public static boolean eglSwapBuffersWithDamageEXT(long dpy, long surface, int[] rects) Array version of:
| |
| neglSwapBuffersWithDamageEXT | back to summary |
|---|---|
| public static int neglSwapBuffersWithDamageEXT(long dpy, long surface, long rects, int n_rects) | |