Package org.lwjgl.egl
Class MESAImageDMABufExport
java.lang.Object
org.lwjgl.egl.MESAImageDMABufExport
Native bindings to the MESA_image_dma_buf_export extension.
This extension provides entry points for integrating EGLImage with the dma-buf infrastructure. The extension allows creating a Linux dma_buf file descriptor or multiple file descriptors, in the case of multi-plane YUV image, from an EGLImage.
It is designed to provide the complementary functionality to EGL_EXT_image_dma_buf_import.
Requires EGL 1.4 and KHR_image_base. The EGL implementation must be running on a Linux kernel supporting the dma_buf buffer sharing
mechanism.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleaneglExportDMABUFImageMESA(long dpy, long image, int @Nullable [] fds, int @Nullable [] strides, int @Nullable [] offsets) Array version of:ExportDMABUFImageMESAstatic booleaneglExportDMABUFImageMESA(long dpy, long image, @Nullable IntBuffer fds, @Nullable IntBuffer strides, @Nullable IntBuffer offsets) static booleaneglExportDMABUFImageQueryMESA(long dpy, long image, int @Nullable [] fourcc, int @Nullable [] num_planes, long @Nullable [] modifiers) Array version of:ExportDMABUFImageQueryMESAstatic booleaneglExportDMABUFImageQueryMESA(long dpy, long image, @Nullable IntBuffer fourcc, @Nullable IntBuffer num_planes, @Nullable LongBuffer modifiers) static intneglExportDMABUFImageMESA(long dpy, long image, long fds, long strides, long offsets) static intneglExportDMABUFImageQueryMESA(long dpy, long image, long fourcc, long num_planes, long modifiers)
-
Method Details
-
neglExportDMABUFImageQueryMESA
public static int neglExportDMABUFImageQueryMESA(long dpy, long image, long fourcc, long num_planes, long modifiers) -
eglExportDMABUFImageQueryMESA
public static boolean eglExportDMABUFImageQueryMESA(long dpy, long image, @Nullable IntBuffer fourcc, @Nullable IntBuffer num_planes, @Nullable LongBuffer modifiers) -
neglExportDMABUFImageMESA
public static int neglExportDMABUFImageMESA(long dpy, long image, long fds, long strides, long offsets) -
eglExportDMABUFImageMESA
-
eglExportDMABUFImageQueryMESA
public static boolean eglExportDMABUFImageQueryMESA(long dpy, long image, int @Nullable [] fourcc, int @Nullable [] num_planes, long @Nullable [] modifiers) Array version of:ExportDMABUFImageQueryMESA -
eglExportDMABUFImageMESA
public static boolean eglExportDMABUFImageMESA(long dpy, long image, int @Nullable [] fds, int @Nullable [] strides, int @Nullable [] offsets) Array version of:ExportDMABUFImageMESA
-