gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.Sync

Contents

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 :: forall a. (Num a, Eq a) => a Source #

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

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

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

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

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

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

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

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

pattern GL_SYNC_GPU_COMMANDS_COMPLETE :: forall a. (Num a, Eq a) => a Source #

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

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

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

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

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