Package org.lwjgl.egl

Class 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.

    • 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)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail


        public static final int EGL_POST_SUB_BUFFER_SUPPORTED_NV
        See Also:
        Constant Field Values
    • Method Detail

      • eglPostSubBufferNV

        public static boolean eglPostSubBufferNV​(long dpy,
                                                 long surface,
                                                 int x,
                                                 int y,
                                                 int width,
                                                 int height)