-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ARB.Robustness (
  -- * Extension Support
    gl_ARB_robustness

  -- * GL_ARB_robustness
  , glGetGraphicsResetStatusARB
  , glGetnColorTableARB
  , glGetnCompressedTexImageARB
  , glGetnConvolutionFilterARB
  , glGetnHistogramARB
  , glGetnMapdvARB
  , glGetnMapfvARB
  , glGetnMapivARB
  , glGetnMinmaxARB
  , glGetnPixelMapfvARB
  , glGetnPixelMapuivARB
  , glGetnPixelMapusvARB
  , glGetnPolygonStippleARB
  , glGetnSeparableFilterARB
  , glGetnTexImageARB
  , glGetnUniformdvARB
  , glGetnUniformfvARB
  , glGetnUniformivARB
  , glGetnUniformuivARB
  , glReadnPixelsARB
  , pattern GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB
  , pattern GL_GUILTY_CONTEXT_RESET_ARB
  , pattern GL_INNOCENT_CONTEXT_RESET_ARB
  , pattern GL_LOSE_CONTEXT_ON_RESET_ARB
  , pattern GL_NO_ERROR
  , pattern GL_NO_RESET_NOTIFICATION_ARB
  , pattern GL_RESET_NOTIFICATION_STRATEGY_ARB
  , pattern GL_UNKNOWN_CONTEXT_RESET_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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe

-- | Checks that the <https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/specs/ARB/robustness.txt GL_ARB_robustness> extension is available.

gl_ARB_robustness :: Bool
gl_ARB_robustness :: Bool
gl_ARB_robustness = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ARB_robustness" Set [Char]
extensions
{-# NOINLINE gl_ARB_robustness #-}

-- | Usage: @'glGetGraphicsResetStatusARB'@


glGetGraphicsResetStatusARB :: MonadIO m => m GLenum
glGetGraphicsResetStatusARB :: m GLenum
glGetGraphicsResetStatusARB = FunPtr (IO GLenum) -> m GLenum
forall (m :: * -> *). MonadIO m => FunPtr (IO GLenum) -> m GLenum
ffiIOenum FunPtr (IO GLenum)
glGetGraphicsResetStatusARBFunPtr

glGetGraphicsResetStatusARBFunPtr :: FunPtr (IO GLenum)
glGetGraphicsResetStatusARBFunPtr :: FunPtr (IO GLenum)
glGetGraphicsResetStatusARBFunPtr = IO (FunPtr (IO GLenum)) -> FunPtr (IO GLenum)
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (IO GLenum))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetGraphicsResetStatusARB")

{-# NOINLINE glGetGraphicsResetStatusARBFunPtr #-}

-- | Usage: @'glGetnColorTableARB' target format type bufSize table@
--
-- The length of @table@ should be @bufSize@.


glGetnColorTableARB :: MonadIO m => GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnColorTableARB :: GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnColorTableARB = FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
ffienumenumenumsizeiPtrVIOV FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnColorTableARBFunPtr

glGetnColorTableARBFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnColorTableARBFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnColorTableARBFunPtr = IO
  (FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
-> FunPtr
     (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnColorTableARB")

{-# NOINLINE glGetnColorTableARBFunPtr #-}

-- | Usage: @'glGetnCompressedTexImageARB' target lod bufSize img@
--
-- The length of @img@ should be @bufSize@.


glGetnCompressedTexImageARB :: MonadIO m => GLenum -> GLint -> GLsizei -> Ptr () -> m ()
glGetnCompressedTexImageARB :: GLenum -> GLsizei -> GLsizei -> Ptr () -> m ()
glGetnCompressedTexImageARB = FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr () -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr () -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr () -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr () -> m ()
ffienumintsizeiPtrVIOV FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr () -> IO ())
glGetnCompressedTexImageARBFunPtr

glGetnCompressedTexImageARBFunPtr :: FunPtr (GLenum -> GLint -> GLsizei -> Ptr () -> IO ())
glGetnCompressedTexImageARBFunPtr :: FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr () -> IO ())
glGetnCompressedTexImageARBFunPtr = IO (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr () -> IO ()))
-> FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnCompressedTexImageARB")

{-# NOINLINE glGetnCompressedTexImageARBFunPtr #-}

-- | Usage: @'glGetnConvolutionFilterARB' target format type bufSize image@
--
-- The length of @image@ should be @bufSize@.


glGetnConvolutionFilterARB :: MonadIO m => GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnConvolutionFilterARB :: GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnConvolutionFilterARB = FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
ffienumenumenumsizeiPtrVIOV FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnConvolutionFilterARBFunPtr

glGetnConvolutionFilterARBFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnConvolutionFilterARBFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnConvolutionFilterARBFunPtr = IO
  (FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
-> FunPtr
     (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnConvolutionFilterARB")

{-# NOINLINE glGetnConvolutionFilterARBFunPtr #-}

-- | Usage: @'glGetnHistogramARB' target reset format type bufSize values@
--
-- The parameter @reset@ is a @Boolean@, one of: 'Graphics.GL.Internal.Shared.GL_FALSE', 'Graphics.GL.Internal.Shared.GL_TRUE'.
--
-- The length of @values@ should be @bufSize@.


glGetnHistogramARB :: MonadIO m => GLenum -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnHistogramARB :: GLenum
-> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnHistogramARB = FunPtr
  (GLenum
   -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum
-> GLboolean
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
  (GLenum
   -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum
-> GLboolean
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> m ()
ffienumbooleanenumenumsizeiPtrVIOV FunPtr
  (GLenum
   -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnHistogramARBFunPtr

glGetnHistogramARBFunPtr :: FunPtr (GLenum -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnHistogramARBFunPtr :: FunPtr
  (GLenum
   -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnHistogramARBFunPtr = IO
  (FunPtr
     (GLenum
      -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
-> FunPtr
     (GLenum
      -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr
        (GLenum
         -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnHistogramARB")

{-# NOINLINE glGetnHistogramARBFunPtr #-}

-- | Usage: @'glGetnMapdvARB' target query bufSize v@
--
-- The length of @v@ should be @bufSize@.


glGetnMapdvARB :: MonadIO m => GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> m ()
glGetnMapdvARB :: GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> m ()
glGetnMapdvARB = FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> IO ())
-> GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> IO ())
-> GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> m ()
ffienumenumsizeiPtrdoubleIOV FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> IO ())
glGetnMapdvARBFunPtr

glGetnMapdvARBFunPtr :: FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> IO ())
glGetnMapdvARBFunPtr :: FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> IO ())
glGetnMapdvARBFunPtr = IO (FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> IO ()))
-> FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLdouble -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnMapdvARB")

{-# NOINLINE glGetnMapdvARBFunPtr #-}

-- | Usage: @'glGetnMapfvARB' target query bufSize v@
--
-- The length of @v@ should be @bufSize@.


glGetnMapfvARB :: MonadIO m => GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> m ()
glGetnMapfvARB :: GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> m ()
glGetnMapfvARB = FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> m ()
ffienumenumsizeiPtrfloatIOV FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glGetnMapfvARBFunPtr

glGetnMapfvARBFunPtr :: FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glGetnMapfvARBFunPtr :: FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glGetnMapfvARBFunPtr = IO (FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ()))
-> FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnMapfvARB")

{-# NOINLINE glGetnMapfvARBFunPtr #-}

-- | Usage: @'glGetnMapivARB' target query bufSize v@
--
-- The length of @v@ should be @bufSize@.


glGetnMapivARB :: MonadIO m => GLenum -> GLenum -> GLsizei -> Ptr GLint -> m ()
glGetnMapivARB :: GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> m ()
glGetnMapivARB = FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
-> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
-> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> m ()
ffienumenumsizeiPtrintIOV FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
glGetnMapivARBFunPtr

glGetnMapivARBFunPtr :: FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLint -> IO ())
glGetnMapivARBFunPtr :: FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
glGetnMapivARBFunPtr = IO (FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ()))
-> FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr (GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnMapivARB")

{-# NOINLINE glGetnMapivARBFunPtr #-}

-- | Usage: @'glGetnMinmaxARB' target reset format type bufSize values@
--
-- The parameter @reset@ is a @Boolean@, one of: 'Graphics.GL.Internal.Shared.GL_FALSE', 'Graphics.GL.Internal.Shared.GL_TRUE'.
--
-- The length of @values@ should be @bufSize@.


glGetnMinmaxARB :: MonadIO m => GLenum -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnMinmaxARB :: GLenum
-> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnMinmaxARB = FunPtr
  (GLenum
   -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum
-> GLboolean
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
  (GLenum
   -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum
-> GLboolean
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> m ()
ffienumbooleanenumenumsizeiPtrVIOV FunPtr
  (GLenum
   -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnMinmaxARBFunPtr

glGetnMinmaxARBFunPtr :: FunPtr (GLenum -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnMinmaxARBFunPtr :: FunPtr
  (GLenum
   -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnMinmaxARBFunPtr = IO
  (FunPtr
     (GLenum
      -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
-> FunPtr
     (GLenum
      -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr
        (GLenum
         -> GLboolean -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnMinmaxARB")

{-# NOINLINE glGetnMinmaxARBFunPtr #-}

-- | Usage: @'glGetnPixelMapfvARB' map bufSize values@
--
-- The length of @values@ should be @bufSize@.


glGetnPixelMapfvARB :: MonadIO m => GLenum -> GLsizei -> Ptr GLfloat -> m ()
glGetnPixelMapfvARB :: GLenum -> GLsizei -> Ptr GLfloat -> m ()
glGetnPixelMapfvARB = FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLsizei -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLsizei -> Ptr GLfloat -> m ()
ffienumsizeiPtrfloatIOV FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glGetnPixelMapfvARBFunPtr

glGetnPixelMapfvARBFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glGetnPixelMapfvARBFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glGetnPixelMapfvARBFunPtr = IO (FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ()))
-> FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLsizei -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnPixelMapfvARB")

{-# NOINLINE glGetnPixelMapfvARBFunPtr #-}

-- | Usage: @'glGetnPixelMapuivARB' map bufSize values@
--
-- The length of @values@ should be @bufSize@.


glGetnPixelMapuivARB :: MonadIO m => GLenum -> GLsizei -> Ptr GLuint -> m ()
glGetnPixelMapuivARB :: GLenum -> GLsizei -> Ptr GLenum -> m ()
glGetnPixelMapuivARB = FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
-> GLenum -> GLsizei -> Ptr GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
-> GLenum -> GLsizei -> Ptr GLenum -> m ()
ffienumsizeiPtruintIOV FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
glGetnPixelMapuivARBFunPtr

glGetnPixelMapuivARBFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLuint -> IO ())
glGetnPixelMapuivARBFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
glGetnPixelMapuivARBFunPtr = IO (FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ()))
-> FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnPixelMapuivARB")

{-# NOINLINE glGetnPixelMapuivARBFunPtr #-}

-- | Usage: @'glGetnPixelMapusvARB' map bufSize values@
--
-- The length of @values@ should be @bufSize@.


glGetnPixelMapusvARB :: MonadIO m => GLenum -> GLsizei -> Ptr GLushort -> m ()
glGetnPixelMapusvARB :: GLenum -> GLsizei -> Ptr GLushort -> m ()
glGetnPixelMapusvARB = FunPtr (GLenum -> GLsizei -> Ptr GLushort -> IO ())
-> GLenum -> GLsizei -> Ptr GLushort -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> Ptr GLushort -> IO ())
-> GLenum -> GLsizei -> Ptr GLushort -> m ()
ffienumsizeiPtrushortIOV FunPtr (GLenum -> GLsizei -> Ptr GLushort -> IO ())
glGetnPixelMapusvARBFunPtr

glGetnPixelMapusvARBFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLushort -> IO ())
glGetnPixelMapusvARBFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLushort -> IO ())
glGetnPixelMapusvARBFunPtr = IO (FunPtr (GLenum -> GLsizei -> Ptr GLushort -> IO ()))
-> FunPtr (GLenum -> GLsizei -> Ptr GLushort -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLsizei -> Ptr GLushort -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnPixelMapusvARB")

{-# NOINLINE glGetnPixelMapusvARBFunPtr #-}

-- | Usage: @'glGetnPolygonStippleARB' bufSize pattern@
--
-- The length of @pattern@ should be @bufSize@.


glGetnPolygonStippleARB :: MonadIO m => GLsizei -> Ptr GLubyte -> m ()
glGetnPolygonStippleARB :: GLsizei -> Ptr GLboolean -> m ()
glGetnPolygonStippleARB = FunPtr (GLsizei -> Ptr GLboolean -> IO ())
-> GLsizei -> Ptr GLboolean -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLsizei -> Ptr GLboolean -> IO ())
-> GLsizei -> Ptr GLboolean -> m ()
ffisizeiPtrubyteIOV FunPtr (GLsizei -> Ptr GLboolean -> IO ())
glGetnPolygonStippleARBFunPtr

glGetnPolygonStippleARBFunPtr :: FunPtr (GLsizei -> Ptr GLubyte -> IO ())
glGetnPolygonStippleARBFunPtr :: FunPtr (GLsizei -> Ptr GLboolean -> IO ())
glGetnPolygonStippleARBFunPtr = IO (FunPtr (GLsizei -> Ptr GLboolean -> IO ()))
-> FunPtr (GLsizei -> Ptr GLboolean -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLsizei -> Ptr GLboolean -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnPolygonStippleARB")

{-# NOINLINE glGetnPolygonStippleARBFunPtr #-}

-- | Usage: @'glGetnSeparableFilterARB' target format type rowBufSize row columnBufSize column span@
--
-- The length of @row@ should be @rowBufSize@.
--
-- The length of @column@ should be @columnBufSize@.
--
-- The length of @span@ should be @0@.


glGetnSeparableFilterARB :: MonadIO m => GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> GLsizei -> Ptr () -> Ptr () -> m ()
glGetnSeparableFilterARB :: GLenum
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> GLsizei
-> Ptr ()
-> Ptr ()
-> m ()
glGetnSeparableFilterARB = FunPtr
  (GLenum
   -> GLenum
   -> GLenum
   -> GLsizei
   -> Ptr ()
   -> GLsizei
   -> Ptr ()
   -> Ptr ()
   -> IO ())
-> GLenum
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> GLsizei
-> Ptr ()
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
  (GLenum
   -> GLenum
   -> GLenum
   -> GLsizei
   -> Ptr ()
   -> GLsizei
   -> Ptr ()
   -> Ptr ()
   -> IO ())
-> GLenum
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> GLsizei
-> Ptr ()
-> Ptr ()
-> m ()
ffienumenumenumsizeiPtrVsizeiPtrVPtrVIOV FunPtr
  (GLenum
   -> GLenum
   -> GLenum
   -> GLsizei
   -> Ptr ()
   -> GLsizei
   -> Ptr ()
   -> Ptr ()
   -> IO ())
glGetnSeparableFilterARBFunPtr

glGetnSeparableFilterARBFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> Ptr () -> GLsizei -> Ptr () -> Ptr () -> IO ())
glGetnSeparableFilterARBFunPtr :: FunPtr
  (GLenum
   -> GLenum
   -> GLenum
   -> GLsizei
   -> Ptr ()
   -> GLsizei
   -> Ptr ()
   -> Ptr ()
   -> IO ())
glGetnSeparableFilterARBFunPtr = IO
  (FunPtr
     (GLenum
      -> GLenum
      -> GLenum
      -> GLsizei
      -> Ptr ()
      -> GLsizei
      -> Ptr ()
      -> Ptr ()
      -> IO ()))
-> FunPtr
     (GLenum
      -> GLenum
      -> GLenum
      -> GLsizei
      -> Ptr ()
      -> GLsizei
      -> Ptr ()
      -> Ptr ()
      -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr
        (GLenum
         -> GLenum
         -> GLenum
         -> GLsizei
         -> Ptr ()
         -> GLsizei
         -> Ptr ()
         -> Ptr ()
         -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnSeparableFilterARB")

{-# NOINLINE glGetnSeparableFilterARBFunPtr #-}

-- | Usage: @'glGetnTexImageARB' target level format type bufSize img@
--
-- The length of @img@ should be @bufSize@.


glGetnTexImageARB :: MonadIO m => GLenum -> GLint -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnTexImageARB :: GLenum -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glGetnTexImageARB = FunPtr
  (GLenum
   -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum
-> GLsizei
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
  (GLenum
   -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
-> GLenum
-> GLsizei
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> m ()
ffienumintenumenumsizeiPtrVIOV FunPtr
  (GLenum
   -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnTexImageARBFunPtr

glGetnTexImageARBFunPtr :: FunPtr (GLenum -> GLint -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnTexImageARBFunPtr :: FunPtr
  (GLenum
   -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glGetnTexImageARBFunPtr = IO
  (FunPtr
     (GLenum
      -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
-> FunPtr
     (GLenum
      -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr
        (GLenum
         -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnTexImageARB")

{-# NOINLINE glGetnTexImageARBFunPtr #-}

-- | Usage: @'glGetnUniformdvARB' program location bufSize params@
--
-- The length of @params@ should be @bufSize@.


glGetnUniformdvARB :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLdouble -> m ()
glGetnUniformdvARB :: GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> m ()
glGetnUniformdvARB = FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> m ()
ffiuintintsizeiPtrdoubleIOV FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> IO ())
glGetnUniformdvARBFunPtr

glGetnUniformdvARBFunPtr :: FunPtr (GLuint -> GLint -> GLsizei -> Ptr GLdouble -> IO ())
glGetnUniformdvARBFunPtr :: FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> IO ())
glGetnUniformdvARBFunPtr = IO (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> IO ()))
-> FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLdouble -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnUniformdvARB")

{-# NOINLINE glGetnUniformdvARBFunPtr #-}

-- | Usage: @'glGetnUniformfvARB' program location bufSize params@
--
-- The length of @params@ should be @bufSize@.


glGetnUniformfvARB :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m ()
glGetnUniformfvARB :: GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> m ()
glGetnUniformfvARB = FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> m ()
ffiuintintsizeiPtrfloatIOV FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> IO ())
glGetnUniformfvARBFunPtr

glGetnUniformfvARBFunPtr :: FunPtr (GLuint -> GLint -> GLsizei -> Ptr GLfloat -> IO ())
glGetnUniformfvARBFunPtr :: FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> IO ())
glGetnUniformfvARBFunPtr = IO (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> IO ()))
-> FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnUniformfvARB")

{-# NOINLINE glGetnUniformfvARBFunPtr #-}

-- | Usage: @'glGetnUniformivARB' program location bufSize params@
--
-- The length of @params@ should be @bufSize@.


glGetnUniformivARB :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m ()
glGetnUniformivARB :: GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> m ()
glGetnUniformivARB = FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> m ()
ffiuintintsizeiPtrintIOV FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> IO ())
glGetnUniformivARBFunPtr

glGetnUniformivARBFunPtr :: FunPtr (GLuint -> GLint -> GLsizei -> Ptr GLint -> IO ())
glGetnUniformivARBFunPtr :: FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> IO ())
glGetnUniformivARBFunPtr = IO (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> IO ()))
-> FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnUniformivARB")

{-# NOINLINE glGetnUniformivARBFunPtr #-}

-- | Usage: @'glGetnUniformuivARB' program location bufSize params@
--
-- The length of @params@ should be @bufSize@.


glGetnUniformuivARB :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLuint -> m ()
glGetnUniformuivARB :: GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> m ()
glGetnUniformuivARB = FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> IO ())
-> GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> m ()
ffiuintintsizeiPtruintIOV FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> IO ())
glGetnUniformuivARBFunPtr

glGetnUniformuivARBFunPtr :: FunPtr (GLuint -> GLint -> GLsizei -> Ptr GLuint -> IO ())
glGetnUniformuivARBFunPtr :: FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> IO ())
glGetnUniformuivARBFunPtr = IO (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> IO ()))
-> FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr (GLenum -> GLsizei -> GLsizei -> Ptr GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetnUniformuivARB")

{-# NOINLINE glGetnUniformuivARBFunPtr #-}

-- | Usage: @'glReadnPixelsARB' x y width height format type bufSize data@
--
-- The length of @data@ should be @bufSize@.
--
-- This command is an alias for 'Graphics.GL.Internal.Shared.glReadnPixels'.


glReadnPixelsARB :: MonadIO m => GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glReadnPixelsARB :: GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> m ()
glReadnPixelsARB = FunPtr
  (GLsizei
   -> GLsizei
   -> GLsizei
   -> GLsizei
   -> GLenum
   -> GLenum
   -> GLsizei
   -> Ptr ()
   -> IO ())
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
  (GLsizei
   -> GLsizei
   -> GLsizei
   -> GLsizei
   -> GLenum
   -> GLenum
   -> GLsizei
   -> Ptr ()
   -> IO ())
-> GLsizei
-> GLsizei
-> GLsizei
-> GLsizei
-> GLenum
-> GLenum
-> GLsizei
-> Ptr ()
-> m ()
ffiintintsizeisizeienumenumsizeiPtrVIOV FunPtr
  (GLsizei
   -> GLsizei
   -> GLsizei
   -> GLsizei
   -> GLenum
   -> GLenum
   -> GLsizei
   -> Ptr ()
   -> IO ())
glReadnPixelsARBFunPtr

glReadnPixelsARBFunPtr :: FunPtr (GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glReadnPixelsARBFunPtr :: FunPtr
  (GLsizei
   -> GLsizei
   -> GLsizei
   -> GLsizei
   -> GLenum
   -> GLenum
   -> GLsizei
   -> Ptr ()
   -> IO ())
glReadnPixelsARBFunPtr = IO
  (FunPtr
     (GLsizei
      -> GLsizei
      -> GLsizei
      -> GLsizei
      -> GLenum
      -> GLenum
      -> GLsizei
      -> Ptr ()
      -> IO ()))
-> FunPtr
     (GLsizei
      -> GLsizei
      -> GLsizei
      -> GLsizei
      -> GLenum
      -> GLenum
      -> GLsizei
      -> Ptr ()
      -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
     (FunPtr
        (GLsizei
         -> GLsizei
         -> GLsizei
         -> GLsizei
         -> GLenum
         -> GLenum
         -> GLsizei
         -> Ptr ()
         -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glReadnPixelsARB")

{-# NOINLINE glReadnPixelsARBFunPtr #-}

pattern $bGL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB :: a
$mGL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004

pattern $bGL_GUILTY_CONTEXT_RESET_ARB :: a
$mGL_GUILTY_CONTEXT_RESET_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_GUILTY_CONTEXT_RESET_ARB = 0x8253

pattern $bGL_INNOCENT_CONTEXT_RESET_ARB :: a
$mGL_INNOCENT_CONTEXT_RESET_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INNOCENT_CONTEXT_RESET_ARB = 0x8254

pattern $bGL_LOSE_CONTEXT_ON_RESET_ARB :: a
$mGL_LOSE_CONTEXT_ON_RESET_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_LOSE_CONTEXT_ON_RESET_ARB = 0x8252

pattern $bGL_NO_RESET_NOTIFICATION_ARB :: a
$mGL_NO_RESET_NOTIFICATION_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_NO_RESET_NOTIFICATION_ARB = 0x8261

pattern $bGL_RESET_NOTIFICATION_STRATEGY_ARB :: a
$mGL_RESET_NOTIFICATION_STRATEGY_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256

pattern $bGL_UNKNOWN_CONTEXT_RESET_ARB :: a
$mGL_UNKNOWN_CONTEXT_RESET_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_UNKNOWN_CONTEXT_RESET_ARB = 0x8255