module Graphics.GL.Ext.SGIX.Async (
gl_SGIX_async
, glAsyncMarkerSGIX
, glDeleteAsyncMarkersSGIX
, glFinishAsyncSGIX
, glGenAsyncMarkersSGIX
, glIsAsyncMarkerSGIX
, glPollAsyncSGIX
, pattern GL_ASYNC_MARKER_SGIX
) where
import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import Graphics.GL.Types
import System.IO.Unsafe
gl_SGIX_async :: Bool
gl_SGIX_async = member "GL_SGIX_async" extensions
glAsyncMarkerSGIX :: MonadIO m => GLuint -> m ()
glAsyncMarkerSGIX = ffiuintIOV glAsyncMarkerSGIXFunPtr
glAsyncMarkerSGIXFunPtr :: FunPtr (GLuint -> IO ())
glAsyncMarkerSGIXFunPtr = unsafePerformIO (getProcAddress "glAsyncMarkerSGIX")
glDeleteAsyncMarkersSGIX :: MonadIO m => GLuint -> GLsizei -> m ()
glDeleteAsyncMarkersSGIX = ffiuintsizeiIOV glDeleteAsyncMarkersSGIXFunPtr
glDeleteAsyncMarkersSGIXFunPtr :: FunPtr (GLuint -> GLsizei -> IO ())
glDeleteAsyncMarkersSGIXFunPtr = unsafePerformIO (getProcAddress "glDeleteAsyncMarkersSGIX")
glFinishAsyncSGIX :: MonadIO m => Ptr GLuint -> m GLint
glFinishAsyncSGIX = ffiPtruintIOint glFinishAsyncSGIXFunPtr
glFinishAsyncSGIXFunPtr :: FunPtr (Ptr GLuint -> IO GLint)
glFinishAsyncSGIXFunPtr = unsafePerformIO (getProcAddress "glFinishAsyncSGIX")
glGenAsyncMarkersSGIX :: MonadIO m => GLsizei -> m GLuint
glGenAsyncMarkersSGIX = ffisizeiIOuint glGenAsyncMarkersSGIXFunPtr
glGenAsyncMarkersSGIXFunPtr :: FunPtr (GLsizei -> IO GLuint)
glGenAsyncMarkersSGIXFunPtr = unsafePerformIO (getProcAddress "glGenAsyncMarkersSGIX")
glIsAsyncMarkerSGIX :: MonadIO m => GLuint -> m GLboolean
glIsAsyncMarkerSGIX = ffiuintIOboolean glIsAsyncMarkerSGIXFunPtr
glIsAsyncMarkerSGIXFunPtr :: FunPtr (GLuint -> IO GLboolean)
glIsAsyncMarkerSGIXFunPtr = unsafePerformIO (getProcAddress "glIsAsyncMarkerSGIX")
glPollAsyncSGIX :: MonadIO m => Ptr GLuint -> m GLint
glPollAsyncSGIX = ffiPtruintIOint glPollAsyncSGIXFunPtr
glPollAsyncSGIXFunPtr :: FunPtr (Ptr GLuint -> IO GLint)
glPollAsyncSGIXFunPtr = unsafePerformIO (getProcAddress "glPollAsyncSGIX")
pattern GL_ASYNC_MARKER_SGIX = 0x8329