{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.QCOM.ExtendedGet2 (
gl_QCOM_extended_get2
, glExtGetProgramBinarySourceQCOM
, glExtGetProgramsQCOM
, glExtGetShadersQCOM
, glExtIsProgramBinaryQCOM
) 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_QCOM_extended_get2 :: Bool
gl_QCOM_extended_get2 :: Bool
gl_QCOM_extended_get2 = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_QCOM_extended_get2" Set [Char]
extensions
{-# NOINLINE gl_QCOM_extended_get2 #-}
glExtGetProgramBinarySourceQCOM :: MonadIO m => GLuint -> GLenum -> Ptr GLchar -> Ptr GLint -> m ()
glExtGetProgramBinarySourceQCOM :: GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> m ()
glExtGetProgramBinarySourceQCOM = FunPtr (GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> IO ())
-> GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> IO ())
-> GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> m ()
ffiuintenumPtrcharPtrintIOV FunPtr (GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> IO ())
glExtGetProgramBinarySourceQCOMFunPtr
glExtGetProgramBinarySourceQCOMFunPtr :: FunPtr (GLuint -> GLenum -> Ptr GLchar -> Ptr GLint -> IO ())
glExtGetProgramBinarySourceQCOMFunPtr :: FunPtr (GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> IO ())
glExtGetProgramBinarySourceQCOMFunPtr = IO (FunPtr (GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> IO ()))
-> FunPtr (GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr (GLuint -> GLuint -> Ptr GLchar -> Ptr GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glExtGetProgramBinarySourceQCOM")
{-# NOINLINE glExtGetProgramBinarySourceQCOMFunPtr #-}
glExtGetProgramsQCOM :: MonadIO m => Ptr GLuint -> GLint -> Ptr GLint -> m ()
glExtGetProgramsQCOM :: Ptr GLuint -> GLint -> Ptr GLint -> m ()
glExtGetProgramsQCOM = FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
-> Ptr GLuint -> GLint -> Ptr GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
-> Ptr GLuint -> GLint -> Ptr GLint -> m ()
ffiPtruintintPtrintIOV FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
glExtGetProgramsQCOMFunPtr
glExtGetProgramsQCOMFunPtr :: FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
glExtGetProgramsQCOMFunPtr :: FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
glExtGetProgramsQCOMFunPtr = IO (FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ()))
-> FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glExtGetProgramsQCOM")
{-# NOINLINE glExtGetProgramsQCOMFunPtr #-}
glExtGetShadersQCOM :: MonadIO m => Ptr GLuint -> GLint -> Ptr GLint -> m ()
glExtGetShadersQCOM :: Ptr GLuint -> GLint -> Ptr GLint -> m ()
glExtGetShadersQCOM = FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
-> Ptr GLuint -> GLint -> Ptr GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
-> Ptr GLuint -> GLint -> Ptr GLint -> m ()
ffiPtruintintPtrintIOV FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
glExtGetShadersQCOMFunPtr
glExtGetShadersQCOMFunPtr :: FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
glExtGetShadersQCOMFunPtr :: FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
glExtGetShadersQCOMFunPtr = IO (FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ()))
-> FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (Ptr GLuint -> GLint -> Ptr GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glExtGetShadersQCOM")
{-# NOINLINE glExtGetShadersQCOMFunPtr #-}
glExtIsProgramBinaryQCOM :: MonadIO m => GLuint -> m GLboolean
glExtIsProgramBinaryQCOM :: GLuint -> m GLboolean
glExtIsProgramBinaryQCOM = FunPtr (GLuint -> IO GLboolean) -> GLuint -> m GLboolean
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> IO GLboolean) -> GLuint -> m GLboolean
ffiuintIOboolean FunPtr (GLuint -> IO GLboolean)
glExtIsProgramBinaryQCOMFunPtr
glExtIsProgramBinaryQCOMFunPtr :: FunPtr (GLuint -> IO GLboolean)
glExtIsProgramBinaryQCOMFunPtr :: FunPtr (GLuint -> IO GLboolean)
glExtIsProgramBinaryQCOMFunPtr = IO (FunPtr (GLuint -> IO GLboolean))
-> FunPtr (GLuint -> IO GLboolean)
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> IO GLboolean))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glExtIsProgramBinaryQCOM")
{-# NOINLINE glExtIsProgramBinaryQCOMFunPtr #-}