Package org.lwjgl.egl
Class WLCreateWaylandBufferFromImage
- java.lang.Object
-
- org.lwjgl.egl.WLCreateWaylandBufferFromImage
-
public class WLCreateWaylandBufferFromImage extends java.lang.Object
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 givenEGLImage
. 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 existingWL_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
andKHR_image_base
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
eglCreateWaylandBufferFromImageWL(long dpy, long image)
-