Synchronization objects added the ability to better coordinate operations between multiple GL command streams. However, it is desirable to have the
same level of coordination between GL command streams and external rendering APIs. This extension introduces two new concepts to build upon the
synchronization infrastructure provided by ARB_sync:
The latter is necessary because the import operation is expensive and performing it every time a synchronization point was reached would make the synchronization prohibitively slow.
This extension stops short of allowing the GL to change the state of imported/reusable sync objects, but does not add any language that would prohibit such functionality from being added in a subsequent extension.
Requires OpenGL 3. or ARB_sync.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_SYNC_X11_FENCE_EXT
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |
|---|---|---|
| public static native long | glImportSyncEXT(int
the external sync object type. Must be: external_sync_type, long
the external sync object. Must be the XID of a valid X11 Synchronization Fence object external_sync, int Must be 0. flags)Creates a GL sync object of the type |
| GL_SYNC_X11_FENCE_EXT | back to summary |
|---|---|
| public static final int GL_SYNC_X11_FENCE_EXT Accepted by the | |
| EXTX11SyncObject | back to summary |
|---|---|
| protected EXTX11SyncObject() | |
| glImportSyncEXT | back to summary | |
|---|---|---|
| public static native long glImportSyncEXT(int external_sync_type, long external_sync, int flags) Creates a GL sync object of the type
| ||