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..
| Modifier and Type | Field and Description |
|---|---|
| public static final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean |
| EGL_POST_SUB_BUFFER_SUPPORTED_NV | back to summary |
|---|---|
| public static final int EGL_POST_SUB_BUFFER_SUPPORTED_NV | |
| NVPostSubBuffer | back to summary |
|---|---|
| protected NVPostSubBuffer() | |
| eglPostSubBufferNV | back to summary |
|---|---|
public static boolean eglPostSubBufferNV(long dpy, long surface, int x, int y, int width, int height)
| |