gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.Sync

Synopsis

Extension Support

gl_ARB_sync :: Bool Source #

Checks that the GL_ARB_sync extension is available.

GL_ARB_sync

glClientWaitSync :: MonadIO m => GLsync -> GLbitfield -> GLuint64 -> m GLenum Source #

Usage: glClientWaitSync sync flags timeout

The parameter sync is a sync.

Manual page: https://www.opengl.org/sdk/docs/man/html/glClientWaitSync.xhtml

glDeleteSync :: MonadIO m => GLsync -> m () Source #

Usage: glDeleteSync sync

The parameter sync is a sync.

Manual page: https://www.opengl.org/sdk/docs/man/html/glDeleteSync.xhtml

glGetInteger64v :: MonadIO m => GLenum -> Ptr GLint64 -> m () Source #

Usage: glGetInteger64v pname data

The length of data should be COMPSIZE(pname).

glGetSynciv :: MonadIO m => GLsync -> GLenum -> GLsizei -> Ptr GLsizei -> Ptr GLint -> m () Source #

Usage: glGetSynciv sync pname bufSize length values

The parameter sync is a sync.

The length of length should be 1.

The length of values should be bufSize.

glIsSync :: MonadIO m => GLsync -> m GLboolean Source #

Usage: glIsSync sync

The parameter sync is a sync.

Manual page: https://www.opengl.org/sdk/docs/man/html/glIsSync.xhtml

glWaitSync :: MonadIO m => GLsync -> GLbitfield -> GLuint64 -> m () Source #

Usage: glWaitSync sync flags timeout

The parameter sync is a sync.

Manual page: https://www.opengl.org/sdk/docs/man/html/glWaitSync.xhtml

pattern GL_ALREADY_SIGNALED :: (Eq a, Num a) => a Source #

pattern GL_CONDITION_SATISFIED :: (Eq a, Num a) => a Source #

pattern GL_MAX_SERVER_WAIT_TIMEOUT :: (Eq a, Num a) => a Source #

pattern GL_OBJECT_TYPE :: (Eq a, Num a) => a Source #

pattern GL_SIGNALED :: (Eq a, Num a) => a Source #

pattern GL_SYNC_CONDITION :: (Eq a, Num a) => a Source #

pattern GL_SYNC_FENCE :: (Eq a, Num a) => a Source #

pattern GL_SYNC_FLAGS :: (Eq a, Num a) => a Source #

pattern GL_SYNC_FLUSH_COMMANDS_BIT :: (Eq a, Num a) => a Source #

pattern GL_SYNC_STATUS :: (Eq a, Num a) => a Source #

pattern GL_TIMEOUT_EXPIRED :: (Eq a, Num a) => a Source #

pattern GL_TIMEOUT_IGNORED :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNALED :: (Eq a, Num a) => a Source #

pattern GL_WAIT_FAILED :: (Eq a, Num a) => a Source #