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.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native boolean | glAcquireKeyedMutexWin32EXT(int
identifies which keyed mutex to acquire memory, long is the mutex value to wait for key, int the time, in milliseconds, to wait before failing the acquire operation timeout)Blocks GL command processing until a keyed mutex is acquired. |
| public static native boolean | glReleaseKeyedMutexWin32EXT(int
identifies the keyed mutex to release memory, long the mutex value set by the release operation key)Releases a keyed mutex after all prior GL command processing has completed. |
| EXTWin32KeyedMutex | back to summary |
|---|---|
| protected EXTWin32KeyedMutex() | |
| glAcquireKeyedMutexWin32EXT | back to summary |
|---|---|
| public static native boolean glAcquireKeyedMutexWin32EXT(int memory, long key, int timeout) Blocks GL command processing until a keyed mutex is acquired.
| |
| glReleaseKeyedMutexWin32EXT | back to summary |
|---|---|
| public static native boolean glReleaseKeyedMutexWin32EXT(int memory, long key) Releases a keyed mutex after all prior GL command processing has completed.
| |