module Graphics.GL.Ext.EXT.Robustness (
gl_EXT_robustness
, glGetGraphicsResetStatusEXT
, glGetnUniformfvEXT
, glGetnUniformivEXT
, glReadnPixelsEXT
, pattern GL_CONTEXT_ROBUST_ACCESS_EXT
, pattern GL_GUILTY_CONTEXT_RESET_EXT
, pattern GL_INNOCENT_CONTEXT_RESET_EXT
, pattern GL_LOSE_CONTEXT_ON_RESET_EXT
, pattern GL_NO_ERROR
, pattern GL_NO_RESET_NOTIFICATION_EXT
, pattern GL_RESET_NOTIFICATION_STRATEGY_EXT
, pattern GL_UNKNOWN_CONTEXT_RESET_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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe
gl_EXT_robustness :: Bool
gl_EXT_robustness = member "GL_EXT_robustness" extensions
glGetGraphicsResetStatusEXT :: MonadIO m => m GLenum
glGetGraphicsResetStatusEXT = ffiIOenum glGetGraphicsResetStatusEXTFunPtr
glGetGraphicsResetStatusEXTFunPtr :: FunPtr (IO GLenum)
glGetGraphicsResetStatusEXTFunPtr = unsafePerformIO (getProcAddress "glGetGraphicsResetStatusEXT")
glGetnUniformfvEXT :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLfloat -> m ()
glGetnUniformfvEXT = ffiuintintsizeiPtrfloatIOV glGetnUniformfvEXTFunPtr
glGetnUniformfvEXTFunPtr :: FunPtr (GLuint -> GLint -> GLsizei -> Ptr GLfloat -> IO ())
glGetnUniformfvEXTFunPtr = unsafePerformIO (getProcAddress "glGetnUniformfvEXT")
glGetnUniformivEXT :: MonadIO m => GLuint -> GLint -> GLsizei -> Ptr GLint -> m ()
glGetnUniformivEXT = ffiuintintsizeiPtrintIOV glGetnUniformivEXTFunPtr
glGetnUniformivEXTFunPtr :: FunPtr (GLuint -> GLint -> GLsizei -> Ptr GLint -> IO ())
glGetnUniformivEXTFunPtr = unsafePerformIO (getProcAddress "glGetnUniformivEXT")
glReadnPixelsEXT :: MonadIO m => GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> m ()
glReadnPixelsEXT = ffiintintsizeisizeienumenumsizeiPtrVIOV glReadnPixelsEXTFunPtr
glReadnPixelsEXTFunPtr :: FunPtr (GLint -> GLint -> GLsizei -> GLsizei -> GLenum -> GLenum -> GLsizei -> Ptr () -> IO ())
glReadnPixelsEXTFunPtr = unsafePerformIO (getProcAddress "glReadnPixelsEXT")
pattern GL_CONTEXT_ROBUST_ACCESS_EXT = 0x90F3
pattern GL_GUILTY_CONTEXT_RESET_EXT = 0x8253
pattern GL_INNOCENT_CONTEXT_RESET_EXT = 0x8254
pattern GL_LOSE_CONTEXT_ON_RESET_EXT = 0x8252
pattern GL_NO_RESET_NOTIFICATION_EXT = 0x8261
pattern GL_RESET_NOTIFICATION_STRATEGY_EXT = 0x8256
pattern GL_UNKNOWN_CONTEXT_RESET_EXT = 0x8255