glClientWaitSync

block and wait for a sync object to become signaled

Signature

glClientWaitSync( GLsync ( sync ) , GLbitfield ( flags ) , GLuint64 ( timeout ) )-> GLenum
glClientWaitSync( sync , flags , timeout ) -> <class 'ctypes.c_uint'>

Parameters

VariablesDescription
sync
The sync object whose status to wait on.
flags
A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT .
timeout
The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glClientWaitSync
OpenGLContext tests/arbsync.py Lines: 29