module Graphics.GL.Ext.EXT.CompiledVertexArray (
gl_EXT_compiled_vertex_array
, glLockArraysEXT
, glUnlockArraysEXT
, pattern GL_ARRAY_ELEMENT_LOCK_COUNT_EXT
, pattern GL_ARRAY_ELEMENT_LOCK_FIRST_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_compiled_vertex_array :: Bool
gl_EXT_compiled_vertex_array = member "GL_EXT_compiled_vertex_array" extensions
glLockArraysEXT :: MonadIO m => GLint -> GLsizei -> m ()
glLockArraysEXT = ffiintsizeiIOV glLockArraysEXTFunPtr
glLockArraysEXTFunPtr :: FunPtr (GLint -> GLsizei -> IO ())
glLockArraysEXTFunPtr = unsafePerformIO (getProcAddress "glLockArraysEXT")
glUnlockArraysEXT :: MonadIO m => m ()
glUnlockArraysEXT = ffiIOV glUnlockArraysEXTFunPtr
glUnlockArraysEXTFunPtr :: FunPtr (IO ())
glUnlockArraysEXTFunPtr = unsafePerformIO (getProcAddress "glUnlockArraysEXT")
pattern GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9
pattern GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8