module Graphics.GL.Ext.ARB.ClEvent (
gl_ARB_cl_event
, glCreateSyncFromCLeventARB
, pattern GL_SYNC_CL_EVENT_ARB
, pattern GL_SYNC_CL_EVENT_COMPLETE_ARB
) 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_ARB_cl_event :: Bool
gl_ARB_cl_event = member "GL_ARB_cl_event" extensions
glCreateSyncFromCLeventARB :: MonadIO m => Ptr () -> Ptr () -> GLbitfield -> m GLsync
glCreateSyncFromCLeventARB = ffiPtrVPtrVbitfieldIOsync glCreateSyncFromCLeventARBFunPtr
glCreateSyncFromCLeventARBFunPtr :: FunPtr (Ptr () -> Ptr () -> GLbitfield -> IO GLsync)
glCreateSyncFromCLeventARBFunPtr = unsafePerformIO (getProcAddress "glCreateSyncFromCLeventARB")
pattern GL_SYNC_CL_EVENT_ARB = 0x8240
pattern GL_SYNC_CL_EVENT_COMPLETE_ARB = 0x8241