Package org.lwjgl.egl

Class WLBindWaylandDisplay


  • public class WLBindWaylandDisplay
    extends java.lang.Object
    Native bindings to the WL_bind_wayland_display extension.

    This extension provides entry points for binding and unbinding the wl_display of a Wayland compositor to an EGLDisplay. Binding a wl_display means that the EGL implementation should provide one or more interfaces in the Wayland protocol to allow clients to create wl_buffer objects. On the server side, this extension also provides a new target for CreateImageKHR, to create an EGLImage from a wl_buffer.

    Adding an implementation-specific Wayland interface, allows the EGL implementation to define specific wayland requests and events, needed for buffer sharing in an EGL Wayland platform.

    Requires EGL 1.4 and KHR_image_base.

    • Method Detail

      • eglBindWaylandDisplayWL

        public static boolean eglBindWaylandDisplayWL​(long dpy,
                                                      long display)
      • eglUnbindWaylandDisplayWL

        public static boolean eglUnbindWaylandDisplayWL​(long dpy,
                                                        long display)
      • neglQueryWaylandBufferWL

        public static int neglQueryWaylandBufferWL​(long dpy,
                                                   long buffer,
                                                   int attribute,
                                                   long value)
      • eglQueryWaylandBufferWL

        public static boolean eglQueryWaylandBufferWL​(long dpy,
                                                      long buffer,
                                                      int attribute,
                                                      java.nio.IntBuffer value)
      • eglQueryWaylandBufferWL

        public static boolean eglQueryWaylandBufferWL​(long dpy,
                                                      long buffer,
                                                      int attribute,
                                                      int[] value)
        Array version of: QueryWaylandBufferWL