Package org.lwjgl.egl

Class KHRStreamConsumerGLTexture

java.lang.Object
org.lwjgl.egl.KHRStreamConsumerGLTexture

public class KHRStreamConsumerGLTexture extends Object
Native bindings to the KHR_stream_consumer_gltexture extension.

This extension allows an OpenGL(ES) texture to be connected to an EGLStream as its consumer. Image frames from the EGLStream can be 'latched' into the texture as the contents of the texture. This is equivalent to copying the image into the texture, but on most implementations a copy is not needed so this is faster.

Requires EGL 1.2.

  • Field Details

    • EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR

      public static final int EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR
      See Also:
  • Method Details

    • eglStreamConsumerGLTextureExternalKHR

      public static boolean eglStreamConsumerGLTextureExternalKHR(long dpy, long stream)
    • eglStreamConsumerAcquireKHR

      public static boolean eglStreamConsumerAcquireKHR(long dpy, long stream)
    • eglStreamConsumerReleaseKHR

      public static boolean eglStreamConsumerReleaseKHR(long dpy, long stream)