module Graphics.GL.Ext.OES.ViewportArray (
gl_OES_viewport_array
, glDepthRangeArrayfvOES
, glDepthRangeIndexedfOES
, glDisableiOES
, glEnableiOES
, glGetFloati_vOES
, glIsEnablediOES
, glScissorArrayvOES
, glScissorIndexedOES
, glScissorIndexedvOES
, glViewportArrayvOES
, glViewportIndexedfOES
, glViewportIndexedfvOES
, pattern GL_DEPTH_RANGE
, pattern GL_MAX_VIEWPORTS_OES
, pattern GL_SCISSOR_BOX
, pattern GL_SCISSOR_TEST
, pattern GL_VIEWPORT
, pattern GL_VIEWPORT_BOUNDS_RANGE_OES
, pattern GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES
, pattern GL_VIEWPORT_SUBPIXEL_BITS_OES
) 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_OES_viewport_array :: Bool
gl_OES_viewport_array = member "GL_OES_viewport_array" extensions
glDepthRangeArrayfvOES :: MonadIO m => GLuint -> GLsizei -> Ptr GLfloat -> m ()
glDepthRangeArrayfvOES = ffiuintsizeiPtrfloatIOV glDepthRangeArrayfvOESFunPtr
glDepthRangeArrayfvOESFunPtr :: FunPtr (GLuint -> GLsizei -> Ptr GLfloat -> IO ())
glDepthRangeArrayfvOESFunPtr = unsafePerformIO (getProcAddress "glDepthRangeArrayfvOES")
glDepthRangeIndexedfOES :: MonadIO m => GLuint -> GLfloat -> GLfloat -> m ()
glDepthRangeIndexedfOES = ffiuintfloatfloatIOV glDepthRangeIndexedfOESFunPtr
glDepthRangeIndexedfOESFunPtr :: FunPtr (GLuint -> GLfloat -> GLfloat -> IO ())
glDepthRangeIndexedfOESFunPtr = unsafePerformIO (getProcAddress "glDepthRangeIndexedfOES")
glGetFloati_vOES :: MonadIO m => GLenum -> GLuint -> Ptr GLfloat -> m ()
glGetFloati_vOES = ffienumuintPtrfloatIOV glGetFloati_vOESFunPtr
glGetFloati_vOESFunPtr :: FunPtr (GLenum -> GLuint -> Ptr GLfloat -> IO ())
glGetFloati_vOESFunPtr = unsafePerformIO (getProcAddress "glGetFloati_vOES")
glScissorArrayvOES :: MonadIO m => GLuint -> GLsizei -> Ptr GLint -> m ()
glScissorArrayvOES = ffiuintsizeiPtrintIOV glScissorArrayvOESFunPtr
glScissorArrayvOESFunPtr :: FunPtr (GLuint -> GLsizei -> Ptr GLint -> IO ())
glScissorArrayvOESFunPtr = unsafePerformIO (getProcAddress "glScissorArrayvOES")
glScissorIndexedOES :: MonadIO m => GLuint -> GLint -> GLint -> GLsizei -> GLsizei -> m ()
glScissorIndexedOES = ffiuintintintsizeisizeiIOV glScissorIndexedOESFunPtr
glScissorIndexedOESFunPtr :: FunPtr (GLuint -> GLint -> GLint -> GLsizei -> GLsizei -> IO ())
glScissorIndexedOESFunPtr = unsafePerformIO (getProcAddress "glScissorIndexedOES")
glScissorIndexedvOES :: MonadIO m => GLuint -> Ptr GLint -> m ()
glScissorIndexedvOES = ffiuintPtrintIOV glScissorIndexedvOESFunPtr
glScissorIndexedvOESFunPtr :: FunPtr (GLuint -> Ptr GLint -> IO ())
glScissorIndexedvOESFunPtr = unsafePerformIO (getProcAddress "glScissorIndexedvOES")
glViewportArrayvOES :: MonadIO m => GLuint -> GLsizei -> Ptr GLfloat -> m ()
glViewportArrayvOES = ffiuintsizeiPtrfloatIOV glViewportArrayvOESFunPtr
glViewportArrayvOESFunPtr :: FunPtr (GLuint -> GLsizei -> Ptr GLfloat -> IO ())
glViewportArrayvOESFunPtr = unsafePerformIO (getProcAddress "glViewportArrayvOES")
glViewportIndexedfOES :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
glViewportIndexedfOES = ffiuintfloatfloatfloatfloatIOV glViewportIndexedfOESFunPtr
glViewportIndexedfOESFunPtr :: FunPtr (GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ())
glViewportIndexedfOESFunPtr = unsafePerformIO (getProcAddress "glViewportIndexedfOES")
glViewportIndexedfvOES :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
glViewportIndexedfvOES = ffiuintPtrfloatIOV glViewportIndexedfvOESFunPtr
glViewportIndexedfvOESFunPtr :: FunPtr (GLuint -> Ptr GLfloat -> IO ())
glViewportIndexedfvOESFunPtr = unsafePerformIO (getProcAddress "glViewportIndexedfvOES")
pattern GL_MAX_VIEWPORTS_OES = 0x825B
pattern GL_VIEWPORT_BOUNDS_RANGE_OES = 0x825D
pattern GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES = 0x825F
pattern GL_VIEWPORT_SUBPIXEL_BITS_OES = 0x825C