{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.QCOM.DriverControl (
gl_QCOM_driver_control
, glDisableDriverControlQCOM
, glEnableDriverControlQCOM
, glGetDriverControlStringQCOM
, glGetDriverControlsQCOM
) 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_driver_control :: Bool
gl_QCOM_driver_control :: Bool
gl_QCOM_driver_control = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_QCOM_driver_control" Set [Char]
extensions
{-# NOINLINE gl_QCOM_driver_control #-}
glDisableDriverControlQCOM :: MonadIO m => GLuint -> m ()
glDisableDriverControlQCOM :: GLuint -> m ()
glDisableDriverControlQCOM = FunPtr (GLuint -> IO ()) -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> IO ()) -> GLuint -> m ()
ffiuintIOV FunPtr (GLuint -> IO ())
glDisableDriverControlQCOMFunPtr
glDisableDriverControlQCOMFunPtr :: FunPtr (GLuint -> IO ())
glDisableDriverControlQCOMFunPtr :: FunPtr (GLuint -> IO ())
glDisableDriverControlQCOMFunPtr = IO (FunPtr (GLuint -> IO ())) -> FunPtr (GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDisableDriverControlQCOM")
{-# NOINLINE glDisableDriverControlQCOMFunPtr #-}
glEnableDriverControlQCOM :: MonadIO m => GLuint -> m ()
glEnableDriverControlQCOM :: GLuint -> m ()
glEnableDriverControlQCOM = FunPtr (GLuint -> IO ()) -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> IO ()) -> GLuint -> m ()
ffiuintIOV FunPtr (GLuint -> IO ())
glEnableDriverControlQCOMFunPtr
glEnableDriverControlQCOMFunPtr :: FunPtr (GLuint -> IO ())
glEnableDriverControlQCOMFunPtr :: FunPtr (GLuint -> IO ())
glEnableDriverControlQCOMFunPtr = IO (FunPtr (GLuint -> IO ())) -> FunPtr (GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glEnableDriverControlQCOM")
{-# NOINLINE glEnableDriverControlQCOMFunPtr #-}
glGetDriverControlStringQCOM :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
glGetDriverControlStringQCOM :: GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
glGetDriverControlStringQCOM = FunPtr (GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ())
-> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ())
-> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
ffiuintsizeiPtrsizeiPtrcharIOV FunPtr (GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ())
glGetDriverControlStringQCOMFunPtr
glGetDriverControlStringQCOMFunPtr :: FunPtr (GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ())
glGetDriverControlStringQCOMFunPtr :: FunPtr (GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ())
glGetDriverControlStringQCOMFunPtr = IO
(FunPtr (GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()))
-> FunPtr (GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr (GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetDriverControlStringQCOM")
{-# NOINLINE glGetDriverControlStringQCOMFunPtr #-}
glGetDriverControlsQCOM :: MonadIO m => Ptr GLint -> GLsizei -> Ptr GLuint -> m ()
glGetDriverControlsQCOM :: Ptr GLsizei -> GLsizei -> Ptr GLuint -> m ()
glGetDriverControlsQCOM = FunPtr (Ptr GLsizei -> GLsizei -> Ptr GLuint -> IO ())
-> Ptr GLsizei -> GLsizei -> Ptr GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (Ptr GLsizei -> GLsizei -> Ptr GLuint -> IO ())
-> Ptr GLsizei -> GLsizei -> Ptr GLuint -> m ()
ffiPtrintsizeiPtruintIOV FunPtr (Ptr GLsizei -> GLsizei -> Ptr GLuint -> IO ())
glGetDriverControlsQCOMFunPtr
glGetDriverControlsQCOMFunPtr :: FunPtr (Ptr GLint -> GLsizei -> Ptr GLuint -> IO ())
glGetDriverControlsQCOMFunPtr :: FunPtr (Ptr GLsizei -> GLsizei -> Ptr GLuint -> IO ())
glGetDriverControlsQCOMFunPtr = IO (FunPtr (Ptr GLsizei -> GLsizei -> Ptr GLuint -> IO ()))
-> FunPtr (Ptr GLsizei -> GLsizei -> Ptr GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO (FunPtr (Ptr GLsizei -> GLsizei -> Ptr GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetDriverControlsQCOM")
{-# NOINLINE glGetDriverControlsQCOMFunPtr #-}