Package org.lwjgl.egl
Class MESAImageDMABufExport
- java.lang.Object
-
- org.lwjgl.egl.MESAImageDMABufExport
-
public class MESAImageDMABufExport extends java.lang.Object
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
andKHR_image_base
. The EGL implementation must be running on a Linux kernel supporting the dma_buf buffer sharing mechanism.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
eglExportDMABUFImageMESA(long dpy, long image, int[] fds, int[] strides, int[] offsets)
Array version of:ExportDMABUFImageMESA
static boolean
eglExportDMABUFImageMESA(long dpy, long image, java.nio.IntBuffer fds, java.nio.IntBuffer strides, java.nio.IntBuffer offsets)
static boolean
eglExportDMABUFImageQueryMESA(long dpy, long image, int[] fourcc, int[] num_planes, long[] modifiers)
Array version of:ExportDMABUFImageQueryMESA
static boolean
eglExportDMABUFImageQueryMESA(long dpy, long image, java.nio.IntBuffer fourcc, java.nio.IntBuffer num_planes, java.nio.LongBuffer modifiers)
static int
neglExportDMABUFImageMESA(long dpy, long image, long fds, long strides, long offsets)
static int
neglExportDMABUFImageQueryMESA(long dpy, long image, long fourcc, long num_planes, long modifiers)
-
-
-
Method Detail
-
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 java.nio.IntBuffer fourcc, @Nullable java.nio.IntBuffer num_planes, @Nullable java.nio.LongBuffer modifiers)
-
neglExportDMABUFImageMESA
public static int neglExportDMABUFImageMESA(long dpy, long image, long fds, long strides, long offsets)
-
eglExportDMABUFImageMESA
public static boolean eglExportDMABUFImageMESA(long dpy, long image, @Nullable java.nio.IntBuffer fds, @Nullable java.nio.IntBuffer strides, @Nullable java.nio.IntBuffer offsets)
-
eglExportDMABUFImageQueryMESA
public static boolean eglExportDMABUFImageQueryMESA(long dpy, long image, @Nullable int[] fourcc, @Nullable int[] num_planes, @Nullable long[] modifiers)
Array version of:ExportDMABUFImageQueryMESA
-
eglExportDMABUFImageMESA
public static boolean eglExportDMABUFImageMESA(long dpy, long image, @Nullable int[] fds, @Nullable int[] strides, @Nullable int[] offsets)
Array version of:ExportDMABUFImageMESA
-
-