Package org.lwjgl.egl

Class KHRStreamProducerEGLSurface


  • public class KHRStreamProducerEGLSurface
    extends java.lang.Object
    Native bindings to the KHR_stream_producer_eglsurface extension.

    This extension allows an EGLSurface to be created as a producer of images to an EGLStream. Each call to eglSwapBuffers posts a new image frame into the EGLStream.

    Requires EGL 1.2.

    • Method Detail

      • neglCreateStreamProducerSurfaceKHR

        public static long neglCreateStreamProducerSurfaceKHR​(long dpy,
                                                              long config,
                                                              long stream,
                                                              long attrib_list)
      • eglCreateStreamProducerSurfaceKHR

        public static long eglCreateStreamProducerSurfaceKHR​(long dpy,
                                                             long config,
                                                             long stream,
                                                             @Nullable
                                                             java.nio.IntBuffer attrib_list)
      • eglCreateStreamProducerSurfaceKHR

        public static long eglCreateStreamProducerSurfaceKHR​(long dpy,
                                                             long config,
                                                             long stream,
                                                             @Nullable
                                                             int[] attrib_list)