Package org.lwjgl.egl

Class EXTDeviceQuery


  • public class EXTDeviceQuery
    extends java.lang.Object
    Native bindings to the EXT_device_query extension.

    Increasingly, EGL and its client APIs are being used in place of "native" rendering APIs to implement the basic graphics functionality of native windowing systems. This creates demand for a method to access native GPU or device objects directly rather than calling EGL or GL entry points.

    This extension defines the method for an application to query native device objects from an EGL Display.

    Requires EGL 1.5 or an earlier verison of EGL with the EXT_device_query extension.

    • Method Detail

      • neglQueryDeviceAttribEXT

        public static int neglQueryDeviceAttribEXT​(long device,
                                                   int attribute,
                                                   long value)
      • eglQueryDeviceAttribEXT

        public static boolean eglQueryDeviceAttribEXT​(long device,
                                                      int attribute,
                                                      PointerBuffer value)
      • neglQueryDeviceStringEXT

        public static long neglQueryDeviceStringEXT​(long device,
                                                    int name)
      • eglQueryDeviceStringEXT

        @Nullable
        public static java.lang.String eglQueryDeviceStringEXT​(long device,
                                                               int name)
      • neglQueryDisplayAttribEXT

        public static int neglQueryDisplayAttribEXT​(long dpy,
                                                    int attribute,
                                                    long value)
      • eglQueryDisplayAttribEXT

        public static boolean eglQueryDisplayAttribEXT​(long dpy,
                                                       int attribute,
                                                       PointerBuffer value)