Package org.lwjgl.egl

Class ANDROIDFrontBufferAutoRefresh


  • public final class ANDROIDFrontBufferAutoRefresh
    extends java.lang.Object
    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

      Fields 
      Modifier and Type Field Description
      static int EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID
      When used as an attribute in SurfaceAttrib, the value specifies whether to enable or disable auto-refresh in the Android compositor when doing front-buffer rendering.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID

        public static final int EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID
        When used as an attribute in SurfaceAttrib, the value specifies whether to enable or disable auto-refresh in the Android compositor when doing front-buffer rendering.
        See Also:
        Constant Field Values