Package org.lwjgl.egl

Class MESADRMImage


  • public class MESADRMImage
    extends java.lang.Object
    Native bindings to the MESA_drm_image extension.

    This extension provides entry points for integrating EGLImage with the Linux DRM mode setting and memory management drivers. The extension lets applications create EGLImages without a client API resource and lets the application get the DRM buffer handles.

    Requires EGL 1.4 and KHR_image_base.

    • Field Detail

      • EGL_DRM_BUFFER_FORMAT_MESA

        public static final int EGL_DRM_BUFFER_FORMAT_MESA
        See Also:
        Constant Field Values
      • EGL_DRM_BUFFER_USE_MESA

        public static final int EGL_DRM_BUFFER_USE_MESA
        See Also:
        Constant Field Values
      • EGL_DRM_BUFFER_FORMAT_ARGB32_MESA

        public static final int EGL_DRM_BUFFER_FORMAT_ARGB32_MESA
        See Also:
        Constant Field Values
      • EGL_DRM_BUFFER_STRIDE_MESA

        public static final int EGL_DRM_BUFFER_STRIDE_MESA
        See Also:
        Constant Field Values
      • EGL_DRM_BUFFER_USE_SCANOUT_MESA

        public static final int EGL_DRM_BUFFER_USE_SCANOUT_MESA
        See Also:
        Constant Field Values
      • EGL_DRM_BUFFER_USE_SHARE_MESA

        public static final int EGL_DRM_BUFFER_USE_SHARE_MESA
        See Also:
        Constant Field Values
    • Method Detail

      • neglCreateDRMImageMESA

        public static long neglCreateDRMImageMESA​(long dpy,
                                                  long attrib_list)
      • eglCreateDRMImageMESA

        public static long eglCreateDRMImageMESA​(long dpy,
                                                 @Nullable
                                                 java.nio.IntBuffer attrib_list)
      • neglExportDRMImageMESA

        public static int neglExportDRMImageMESA​(long dpy,
                                                 long image,
                                                 long name,
                                                 long handle,
                                                 long stride)
      • eglExportDRMImageMESA

        public static boolean eglExportDRMImageMESA​(long dpy,
                                                    long image,
                                                    @Nullable
                                                    java.nio.IntBuffer name,
                                                    @Nullable
                                                    java.nio.IntBuffer handle,
                                                    @Nullable
                                                    java.nio.IntBuffer stride)
      • eglCreateDRMImageMESA

        public static long eglCreateDRMImageMESA​(long dpy,
                                                 @Nullable
                                                 int[] attrib_list)
        Array version of: CreateDRMImageMESA
      • eglExportDRMImageMESA

        public static boolean eglExportDRMImageMESA​(long dpy,
                                                    long image,
                                                    @Nullable
                                                    int[] name,
                                                    @Nullable
                                                    int[] handle,
                                                    @Nullable
                                                    int[] stride)
        Array version of: ExportDRMImageMESA