module Graphics.GL.Ext.EXT.X11SyncObject (
gl_EXT_x11_sync_object
, glImportSyncEXT
, pattern GL_SYNC_X11_FENCE_EXT
) 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_EXT_x11_sync_object :: Bool
gl_EXT_x11_sync_object = member "GL_EXT_x11_sync_object" extensions
glImportSyncEXT :: MonadIO m => GLenum -> GLintptr -> GLbitfield -> m GLsync
glImportSyncEXT = ffienumintptrbitfieldIOsync glImportSyncEXTFunPtr
glImportSyncEXTFunPtr :: FunPtr (GLenum -> GLintptr -> GLbitfield -> IO GLsync)
glImportSyncEXTFunPtr = unsafePerformIO (getProcAddress "glImportSyncEXT")
pattern GL_SYNC_X11_FENCE_EXT = 0x90E1