Top Description Constructors Methods
org.lwjgl.egl

public Class WLCreateWaylandBufferFromImage

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the WL_create_wayland_buffer_from_image extension.

This extension provides an entry point to create a wl_buffer which shares its contents with a given EGLImage. The expected use case for this is in a nested Wayland compositor which is using subsurfaces to present buffers from its clients. Using this extension it can attach the client buffers directly to the subsurface without having to blit the contents into an intermediate buffer. The compositing can then be done in the parent compositor.

The nested compositor can create an EGLImage from a client buffer resource using the existing WL_bind_wayland_display extension. It should also be possible to create buffers using other types of images although there is no expected use case for that.

Requires EGL 1.4 and KHR_image_base.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static long
eglCreateWaylandBufferFromImageWL(long dpy, long image)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WLCreateWaylandBufferFromImageback to summary
protected WLCreateWaylandBufferFromImage()

Method Detail

eglCreateWaylandBufferFromImageWLback to summary
public static long eglCreateWaylandBufferFromImageWL(long dpy, long image)
Annotations
@NativeType:struct wl_buffer *