OpenGLRaw-3.2.5.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2016
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.EXT.Semaphore

Contents

Description

 

Synopsis

Extension Support

glGetEXTSemaphore :: MonadIO m => m Bool Source #

Is the EXT_semaphore extension supported?

gl_EXT_semaphore :: Bool Source #

Is the EXT_semaphore extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetEXTSemaphore in those cases instead.

Enums

Functions

glDeleteSemaphoresEXT Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

semaphores pointing to count elements of type GLuint.

-> m () 

glGenSemaphoresEXT Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

semaphores pointing to count elements of type GLuint.

-> m () 

glGetSemaphoreParameterui64vEXT Source #

Arguments

:: MonadIO m 
=> GLuint

semaphore.

-> GLenum

pname of type SemaphoreParameterName.

-> Ptr GLuint64

params.

-> m () 

glGetUnsignedBytei_vEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> Ptr GLubyte

data pointing to COMPSIZE(target) elements of type GLubyte.

-> m () 

glGetUnsignedBytevEXT Source #

Arguments

:: MonadIO m 
=> GLenum

pname of type GetPName.

-> Ptr GLubyte

data pointing to COMPSIZE(pname) elements of type GLubyte.

-> m () 

glIsSemaphoreEXT Source #

Arguments

:: MonadIO m 
=> GLuint

semaphore.

-> m GLboolean

of type Boolean.

glSemaphoreParameterui64vEXT Source #

Arguments

:: MonadIO m 
=> GLuint

semaphore.

-> GLenum

pname of type SemaphoreParameterName.

-> Ptr GLuint64

params.

-> m () 

glSignalSemaphoreEXT Source #

Arguments

:: MonadIO m 
=> GLuint

semaphore.

-> GLuint

numBufferBarriers.

-> Ptr GLuint

buffers pointing to COMPSIZE(numBufferBarriers) elements of type GLuint.

-> GLuint

numTextureBarriers.

-> Ptr GLuint

textures pointing to COMPSIZE(numTextureBarriers) elements of type GLuint.

-> Ptr GLenum

dstLayouts pointing to COMPSIZE(numTextureBarriers) elements of type TextureLayout.

-> m () 

glWaitSemaphoreEXT Source #

Arguments

:: MonadIO m 
=> GLuint

semaphore.

-> GLuint

numBufferBarriers.

-> Ptr GLuint

buffers pointing to COMPSIZE(numBufferBarriers) elements of type GLuint.

-> GLuint

numTextureBarriers.

-> Ptr GLuint

textures pointing to COMPSIZE(numTextureBarriers) elements of type GLuint.

-> Ptr GLenum

srcLayouts pointing to COMPSIZE(numTextureBarriers) elements of type TextureLayout.

-> m ()