public class EXTWin32KeyedMutex
extends java.lang.Object
Direct3D image objects may have a built-in synchronization primitive associated with them that can be used to synchronize access to their contents across process and API boundaries. This extension provides access to that synchronization primitive via two new commands that operate on GL memory objects.
Requires EXT_memory_object.
| Modifier and Type | Method and Description |
|---|---|
static boolean |
glAcquireKeyedMutexWin32EXT(int memory,
long key,
int timeout)
Blocks GL command processing until a keyed mutex is acquired.
|
static boolean |
glReleaseKeyedMutexWin32EXT(int memory,
long key)
Releases a keyed mutex after all prior GL command processing has completed.
|
public static boolean glAcquireKeyedMutexWin32EXT(int memory,
long key,
int timeout)
memory - identifies which keyed mutex to acquirekey - is the mutex value to wait fortimeout - the time, in milliseconds, to wait before failing the acquire operationpublic static boolean glReleaseKeyedMutexWin32EXT(int memory,
long key)
memory - identifies the keyed mutex to releasekey - the mutex value set by the release operationCopyright LWJGL. All Rights Reserved. License terms.