{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.OES.EGLImage (
gl_OES_EGL_image
, glEGLImageTargetRenderbufferStorageOES
, glEGLImageTargetTexture2DOES
) 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_OES_EGL_image :: Bool
gl_OES_EGL_image :: Bool
gl_OES_EGL_image = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_OES_EGL_image" Set [Char]
extensions
{-# NOINLINE gl_OES_EGL_image #-}
glEGLImageTargetRenderbufferStorageOES :: MonadIO m => GLenum -> GLeglImageOES -> m ()
glEGLImageTargetRenderbufferStorageOES :: GLenum -> GLeglImageOES -> m ()
glEGLImageTargetRenderbufferStorageOES = FunPtr (GLenum -> GLeglImageOES -> IO ())
-> GLenum -> GLeglImageOES -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLeglImageOES -> IO ())
-> GLenum -> GLeglImageOES -> m ()
ffienumeglImageOESIOV FunPtr (GLenum -> GLeglImageOES -> IO ())
glEGLImageTargetRenderbufferStorageOESFunPtr
glEGLImageTargetRenderbufferStorageOESFunPtr :: FunPtr (GLenum -> GLeglImageOES -> IO ())
glEGLImageTargetRenderbufferStorageOESFunPtr :: FunPtr (GLenum -> GLeglImageOES -> IO ())
glEGLImageTargetRenderbufferStorageOESFunPtr = IO (FunPtr (GLenum -> GLeglImageOES -> IO ()))
-> FunPtr (GLenum -> GLeglImageOES -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLeglImageOES -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glEGLImageTargetRenderbufferStorageOES")
{-# NOINLINE glEGLImageTargetRenderbufferStorageOESFunPtr #-}
glEGLImageTargetTexture2DOES :: MonadIO m => GLenum -> GLeglImageOES -> m ()
glEGLImageTargetTexture2DOES :: GLenum -> GLeglImageOES -> m ()
glEGLImageTargetTexture2DOES = FunPtr (GLenum -> GLeglImageOES -> IO ())
-> GLenum -> GLeglImageOES -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLeglImageOES -> IO ())
-> GLenum -> GLeglImageOES -> m ()
ffienumeglImageOESIOV FunPtr (GLenum -> GLeglImageOES -> IO ())
glEGLImageTargetTexture2DOESFunPtr
glEGLImageTargetTexture2DOESFunPtr :: FunPtr (GLenum -> GLeglImageOES -> IO ())
glEGLImageTargetTexture2DOESFunPtr :: FunPtr (GLenum -> GLeglImageOES -> IO ())
glEGLImageTargetTexture2DOESFunPtr = IO (FunPtr (GLenum -> GLeglImageOES -> IO ()))
-> FunPtr (GLenum -> GLeglImageOES -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLeglImageOES -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glEGLImageTargetTexture2DOES")
{-# NOINLINE glEGLImageTargetTexture2DOESFunPtr #-}