Top Description Fields Constructors Methods
org.lwjgl.egl

public Class NVPostSubBuffer

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

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

Modifier and TypeField and Description
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static boolean
eglPostSubBufferNV(long dpy, long surface, int x, int y, int width, int height)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EGL_POST_SUB_BUFFER_SUPPORTED_NVback to summary
public static final int EGL_POST_SUB_BUFFER_SUPPORTED_NV

Constructor Detail

NVPostSubBufferback to summary
protected NVPostSubBuffer()

Method Detail

eglPostSubBufferNVback to summary
public static boolean eglPostSubBufferNV(long dpy, long surface, int x, int y, int width, int height)
Annotations
@NativeType:EGLBoolean