Top Description Constructors Methods
org.lwjgl.egl

public Class MESAImageDMABufExport

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

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.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static boolean
eglExportDMABUFImageMESA(long dpy, long image, IntBuffer fds, IntBuffer strides, IntBuffer offsets)

public static boolean
eglExportDMABUFImageMESA(long dpy, long image, int[] fds, int[] strides, int[] offsets)

Array version of: ExportDMABUFImageMESA

public static boolean
eglExportDMABUFImageQueryMESA(long dpy, long image, IntBuffer fourcc, IntBuffer num_planes, LongBuffer modifiers)

public static boolean
eglExportDMABUFImageQueryMESA(long dpy, long image, int[] fourcc, int[] num_planes, long[] modifiers)

Array version of: ExportDMABUFImageQueryMESA

public static int
neglExportDMABUFImageMESA(long dpy, long image, long fds, long strides, long offsets)

public static int
neglExportDMABUFImageQueryMESA(long dpy, long image, long fourcc, long num_planes, long modifiers)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MESAImageDMABufExportback to summary
protected MESAImageDMABufExport()

Method Detail

eglExportDMABUFImageMESAback to summary
public static boolean eglExportDMABUFImageMESA(long dpy, long image, IntBuffer fds, IntBuffer strides, IntBuffer offsets)
Annotations
@NativeType:EGLBoolean
eglExportDMABUFImageMESAback to summary
public static boolean eglExportDMABUFImageMESA(long dpy, long image, int[] fds, int[] strides, int[] offsets)

Array version of: ExportDMABUFImageMESA

Annotations
@NativeType:EGLBoolean
eglExportDMABUFImageQueryMESAback to summary
public static boolean eglExportDMABUFImageQueryMESA(long dpy, long image, IntBuffer fourcc, IntBuffer num_planes, LongBuffer modifiers)
Annotations
@NativeType:EGLBoolean
eglExportDMABUFImageQueryMESAback to summary
public static boolean eglExportDMABUFImageQueryMESA(long dpy, long image, int[] fourcc, int[] num_planes, long[] modifiers)

Array version of: ExportDMABUFImageQueryMESA

Annotations
@NativeType:EGLBoolean
neglExportDMABUFImageMESAback to summary
public static int neglExportDMABUFImageMESA(long dpy, long image, long fds, long strides, long offsets)
neglExportDMABUFImageQueryMESAback to summary
public static int neglExportDMABUFImageQueryMESA(long dpy, long image, long fourcc, long num_planes, long modifiers)