Top Description Constructors Methods
org.lwjgl.opengl

public Class EXTWin32KeyedMutex

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

Native bindings to the EXT_win32_keyed_mutex extension.

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.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod 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.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EXTWin32KeyedMutexback to summary
protected EXTWin32KeyedMutex()

Method Detail

glAcquireKeyedMutexWin32EXTback to summary
public static native boolean glAcquireKeyedMutexWin32EXT(int memory, long key, int timeout)

Blocks GL command processing until a keyed mutex is acquired.

Parameters
memory:int

identifies which keyed mutex to acquire

key:long

is the mutex value to wait for

timeout:int

the time, in milliseconds, to wait before failing the acquire operation

Annotations
@NativeType:GLboolean
glReleaseKeyedMutexWin32EXTback to summary
public static native boolean glReleaseKeyedMutexWin32EXT(int memory, long key)

Releases a keyed mutex after all prior GL command processing has completed.

Parameters
memory:int

identifies the keyed mutex to release

key:long

the mutex value set by the release operation

Annotations
@NativeType:GLboolean