Top Description Fields Constructors Methods
org.lwjgl.egl

public Class KHRCLEvent2

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

Native bindings to the KHR_cl_event2 extension.

This extension allows creating an EGL sync object linked to an OpenCL event object, potentially improving efficiency of sharing images between the two APIs. The companion cl_khr_egl_event extension provides the complementary functionality of creating an OpenCL event object from an EGL sync object.

This extension is functionally identical to EGL_KHR_cl_event, but is intended to replace that extension. It exists only to address an implementation issue on 64-bit platforms where passing OpenCL event handles in an EGLint attribute list value is impossible, because the implementations use a 32-bit type for EGLint.

This extension also incorporates some required functionality from the EGL_KHR_fence_sync extension, similarly modified for 64-bit platforms.

Requires EGL 1.4 and KHR_fence_sync.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static long
eglCreateSync64KHR(long dpy, int type, PointerBuffer attrib_list)

public static long
neglCreateSync64KHR(long dpy, int type, long attrib_list)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EGL_CL_EVENT_HANDLE_KHRback to summary
public static final int EGL_CL_EVENT_HANDLE_KHR
EGL_SYNC_CL_EVENT_COMPLETE_KHRback to summary
public static final int EGL_SYNC_CL_EVENT_COMPLETE_KHR
EGL_SYNC_CL_EVENT_KHRback to summary
public static final int EGL_SYNC_CL_EVENT_KHR

Constructor Detail

KHRCLEvent2back to summary
protected KHRCLEvent2()

Method Detail

eglCreateSync64KHRback to summary
public static long eglCreateSync64KHR(long dpy, int type, PointerBuffer attrib_list)
Annotations
@NativeType:EGLSyncKHR
neglCreateSync64KHRback to summary
public static long neglCreateSync64KHR(long dpy, int type, long attrib_list)