Package org.lwjgl.egl
Class KHRStreamConsumerGLTexture
- java.lang.Object
-
- org.lwjgl.egl.KHRStreamConsumerGLTexture
-
public class KHRStreamConsumerGLTexture extends java.lang.Object
Native bindings to the KHR_stream_consumer_gltexture extension.This extension allows an OpenGL(ES) texture to be connected to an EGLStream as its consumer. Image frames from the EGLStream can be 'latched' into the texture as the contents of the texture. This is equivalent to copying the image into the texture, but on most implementations a copy is not needed so this is faster.
Requires
EGL 1.2
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
eglStreamConsumerAcquireKHR(long dpy, long stream)
static boolean
eglStreamConsumerGLTextureExternalKHR(long dpy, long stream)
static boolean
eglStreamConsumerReleaseKHR(long dpy, long stream)
-
-
-
Field Detail
-
EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR
public static final int EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR
- See Also:
- Constant Field Values
-
-
Method Detail
-
eglStreamConsumerGLTextureExternalKHR
public static boolean eglStreamConsumerGLTextureExternalKHR(long dpy, long stream)
-
eglStreamConsumerAcquireKHR
public static boolean eglStreamConsumerAcquireKHR(long dpy, long stream)
-
eglStreamConsumerReleaseKHR
public static boolean eglStreamConsumerReleaseKHR(long dpy, long stream)
-
-