Package org.lwjgl.egl
Class ANDROIDFrontBufferAutoRefresh
java.lang.Object
org.lwjgl.egl.ANDROIDFrontBufferAutoRefresh
Native bindings to the ANDROID_front_buffer_auto_refresh extension.
This extension is intended for latency-sensitive applications that are doing front-buffer rendering. It allows them to indicate to the Android compositor that it should perform composition every time the display refreshes. This removes the overhead of having to notify the compositor that the window surface has been updated, but it comes at the cost of doing potentially unneeded composition work if the window surface has not been updated.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
When used as an attribute inSurfaceAttrib
, the value specifies whether to enable or disable auto-refresh in the Android compositor when doing front-buffer rendering. -
Method Summary
-
Field Details
-
EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID
public static final int EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROIDWhen used as an attribute inSurfaceAttrib
, the value specifies whether to enable or disable auto-refresh in the Android compositor when doing front-buffer rendering.- See Also:
-