Package org.lwjgl.egl
Class NVPostSubBuffer
- java.lang.Object
-
- org.lwjgl.egl.NVPostSubBuffer
-
public class NVPostSubBuffer extends java.lang.Object
Native bindings to the NV_post_sub_buffer extension.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
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
EGL_POST_SUB_BUFFER_SUPPORTED_NV
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
eglPostSubBufferNV(long dpy, long surface, int x, int y, int width, int height)
-
-
-
Field Detail
-
EGL_POST_SUB_BUFFER_SUPPORTED_NV
public static final int EGL_POST_SUB_BUFFER_SUPPORTED_NV
- See Also:
- Constant Field Values
-
-