public class NVPostSubBuffer
extends java.lang.Object
Many EGL client APIs do not support rendering to window surfaces directly, so there is no way to efficiently make small updates to window surfaces. Applications that need to perform many small updates must either use the back-buffer preservation flag which forces eglSwapBuffers to copy the entire back surface, or redraw the entire back buffer on every update and hope eglSwapBuffers is implemented using buffer-flipping. This extension provides a 3rd alternative: a function which posts a sub-rectangle of a window surface and preserves the back-buffer contents.
Requires EGL 1.1.
| Modifier and Type | Field and Description |
|---|---|
static int |
EGL_POST_SUB_BUFFER_SUPPORTED_NV |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
eglPostSubBufferNV(long dpy,
long surface,
int x,
int y,
int width,
int height) |
public static final int EGL_POST_SUB_BUFFER_SUPPORTED_NV
Copyright LWJGL. All Rights Reserved. License terms.