OpenGL.GL.ARB.sync
index
/home/mcfletch/pylive/OpenGL/GL/ARB/sync.py

OpenGL extension ARB.sync
 
This module customises the behaviour of the 
OpenGL.raw.GL.ARB.sync to provide a more 
Python-friendly API
 
Overview (from the spec)
        
        This extension introduces the concept of "sync objects". Sync
        objects are a synchronization primitive - a representation of events
        whose completion status can be tested or waited upon. One specific
        type of sync object, the "fence sync object", is supported in this
        extension, and additional types can easily be added in the future.
        
        Fence sync objects have corresponding fences, which are inserted
        into the OpenGL command stream at the time the sync object is
        created. A sync object can be queried for a given condition. The
        only condition supported for fence sync objects is completion of the
        corresponding fence command. Fence completion allows applications to
        request a partial Finish, wherein all commands prior to the fence
        will be forced to complete before control is returned to the calling
        process.
        
        These new mechanisms allow for synchronization between the host CPU
        and the GPU, which may be accessing the same resources (typically
        memory), as well as between multiple GL contexts bound to multiple
        threads in the host CPU.
 
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/sync.txt

 
Modules
       
OpenGL.arrays
OpenGL.constant
OpenGL.constants
ctypes
OpenGL.extensions
OpenGL.GL.glget
OpenGL.platform
OpenGL.wrapper

 
Data
        EXTENSION_NAME = 'GL_ARB_sync'
GL_ALREADY_SIGNALED = GL_ALREADY_SIGNALED
GL_CONDITION_SATISFIED = GL_CONDITION_SATISFIED
GL_MAX_SERVER_WAIT_TIMEOUT = GL_MAX_SERVER_WAIT_TIMEOUT
GL_OBJECT_TYPE = GL_OBJECT_TYPE
GL_SIGNALED = GL_SIGNALED
GL_SYNC_CONDITION = GL_SYNC_CONDITION
GL_SYNC_FENCE = GL_SYNC_FENCE
GL_SYNC_FLAGS = GL_SYNC_FLAGS
GL_SYNC_FLUSH_COMMANDS_BIT = GL_SYNC_FLUSH_COMMANDS_BIT
GL_SYNC_GPU_COMMANDS_COMPLETE = GL_SYNC_GPU_COMMANDS_COMPLETE
GL_SYNC_STATUS = GL_SYNC_STATUS
GL_TIMEOUT_EXPIRED = GL_TIMEOUT_EXPIRED
GL_TIMEOUT_IGNORED = GL_TIMEOUT_IGNORED
GL_UNSIGNALED = GL_UNSIGNALED
GL_WAIT_FAILED = GL_WAIT_FAILED
__file__ = '/home/mcfletch/pylive/OpenGL/GL/ARB/sync.pyc'
__name__ = 'OpenGL.GL.ARB.sync'
__package__ = 'OpenGL.GL.ARB'
glClientWaitSync = <OpenGL.platform.baseplatform.glClientWaitSync object at 0x7439450>
glDeleteSync = <OpenGL.platform.baseplatform.glDeleteSync object at 0x7439c90>
glFenceSync = <OpenGL.platform.baseplatform.glFenceSync object at 0x7439250>
glGetInteger64v = <OpenGL.platform.baseplatform.glGetInteger64v object at 0x7439dd0>
glGetSynciv = <OpenGL.platform.baseplatform.glGetSynciv object at 0x7432a90>
glIsSync = <OpenGL.platform.baseplatform.glIsSync object at 0x7439bd0>
glWaitSync = <OpenGL.platform.baseplatform.glWaitSync object at 0x7439350>