Skip to content

Commit 71ef4fb

Browse files
committed
Updated OpenGL registry to r33312. Bumped version to 3.2.4.0.
1 parent 901c20e commit 71ef4fb

33 files changed

+4261
-4137
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
3.2.4.0
2+
-------
3+
* Updated OpenGL registry to r33312.
4+
15
3.2.3.0
26
-------
37
* Updated OpenGL registry to r33189.

OpenGLRaw.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: OpenGLRaw
2-
version: 3.2.3.0
2+
version: 3.2.4.0
33
synopsis: A raw binding for the OpenGL graphics system
44
description:
55
OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 graphics system and

src/Graphics/GL/Foreign.hs

Lines changed: 615 additions & 603 deletions
Large diffs are not rendered by default.

src/Graphics/GL/Functions/F06.hs

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ module Graphics.GL.Functions.F06 (
101101
glDrawTexxOES,
102102
glDrawTexxvOES,
103103
glDrawTransformFeedback,
104+
glDrawTransformFeedbackEXT,
104105
glDrawTransformFeedbackInstanced,
106+
glDrawTransformFeedbackInstancedEXT,
105107
glDrawTransformFeedbackNV,
106108
glDrawTransformFeedbackStream,
107109
glDrawTransformFeedbackStreamInstanced,
@@ -112,9 +114,7 @@ module Graphics.GL.Functions.F06 (
112114
glEdgeFlagPointer,
113115
glEdgeFlagPointerEXT,
114116
glEdgeFlagPointerListIBM,
115-
glEdgeFlagv,
116-
glElementPointerAPPLE,
117-
glElementPointerATI
117+
glEdgeFlagv
118118
) where
119119

120120
import Control.Monad.IO.Class ( MonadIO(..) )
@@ -1433,6 +1433,20 @@ glDrawTransformFeedback v1 v2 = liftIO $ dyn16 ptr_glDrawTransformFeedback v1 v2
14331433
ptr_glDrawTransformFeedback :: FunPtr (GLenum -> GLuint -> IO ())
14341434
ptr_glDrawTransformFeedback = unsafePerformIO $ getCommand "glDrawTransformFeedback"
14351435

1436+
-- glDrawTransformFeedbackEXT --------------------------------------------------
1437+
1438+
-- | This command is an alias for 'glDrawTransformFeedback'.
1439+
glDrawTransformFeedbackEXT
1440+
:: MonadIO m
1441+
=> GLenum -- ^ @mode@ of type [PrimitiveType](Graphics-GL-Groups.html#PrimitiveType).
1442+
-> GLuint -- ^ @id@.
1443+
-> m ()
1444+
glDrawTransformFeedbackEXT v1 v2 = liftIO $ dyn16 ptr_glDrawTransformFeedbackEXT v1 v2
1445+
1446+
{-# NOINLINE ptr_glDrawTransformFeedbackEXT #-}
1447+
ptr_glDrawTransformFeedbackEXT :: FunPtr (GLenum -> GLuint -> IO ())
1448+
ptr_glDrawTransformFeedbackEXT = unsafePerformIO $ getCommand "glDrawTransformFeedbackEXT"
1449+
14361450
-- glDrawTransformFeedbackInstanced --------------------------------------------
14371451

14381452
-- | Manual page for <https://www.opengl.org/sdk/docs/man4/html/glDrawTransformFeedbackInstanced.xhtml OpenGL 4.x>.
@@ -1448,6 +1462,21 @@ glDrawTransformFeedbackInstanced v1 v2 v3 = liftIO $ dyn257 ptr_glDrawTransformF
14481462
ptr_glDrawTransformFeedbackInstanced :: FunPtr (GLenum -> GLuint -> GLsizei -> IO ())
14491463
ptr_glDrawTransformFeedbackInstanced = unsafePerformIO $ getCommand "glDrawTransformFeedbackInstanced"
14501464

1465+
-- glDrawTransformFeedbackInstancedEXT -----------------------------------------
1466+
1467+
-- | This command is an alias for 'glDrawTransformFeedbackInstanced'.
1468+
glDrawTransformFeedbackInstancedEXT
1469+
:: MonadIO m
1470+
=> GLenum -- ^ @mode@ of type [PrimitiveType](Graphics-GL-Groups.html#PrimitiveType).
1471+
-> GLuint -- ^ @id@.
1472+
-> GLsizei -- ^ @instancecount@.
1473+
-> m ()
1474+
glDrawTransformFeedbackInstancedEXT v1 v2 v3 = liftIO $ dyn257 ptr_glDrawTransformFeedbackInstancedEXT v1 v2 v3
1475+
1476+
{-# NOINLINE ptr_glDrawTransformFeedbackInstancedEXT #-}
1477+
ptr_glDrawTransformFeedbackInstancedEXT :: FunPtr (GLenum -> GLuint -> GLsizei -> IO ())
1478+
ptr_glDrawTransformFeedbackInstancedEXT = unsafePerformIO $ getCommand "glDrawTransformFeedbackInstancedEXT"
1479+
14511480
-- glDrawTransformFeedbackNV ---------------------------------------------------
14521481

14531482
-- | This command is an alias for 'glDrawTransformFeedback'.
@@ -1599,29 +1628,3 @@ glEdgeFlagv v1 = liftIO $ dyn263 ptr_glEdgeFlagv v1
15991628
ptr_glEdgeFlagv :: FunPtr (Ptr GLboolean -> IO ())
16001629
ptr_glEdgeFlagv = unsafePerformIO $ getCommand "glEdgeFlagv"
16011630

1602-
-- glElementPointerAPPLE -------------------------------------------------------
1603-
1604-
glElementPointerAPPLE
1605-
:: MonadIO m
1606-
=> GLenum -- ^ @type@ of type @ElementPointerTypeATI@.
1607-
-> Ptr a -- ^ @pointer@ pointing to @COMPSIZE(type)@ elements of type @a@.
1608-
-> m ()
1609-
glElementPointerAPPLE v1 v2 = liftIO $ dyn230 ptr_glElementPointerAPPLE v1 v2
1610-
1611-
{-# NOINLINE ptr_glElementPointerAPPLE #-}
1612-
ptr_glElementPointerAPPLE :: FunPtr (GLenum -> Ptr a -> IO ())
1613-
ptr_glElementPointerAPPLE = unsafePerformIO $ getCommand "glElementPointerAPPLE"
1614-
1615-
-- glElementPointerATI ---------------------------------------------------------
1616-
1617-
glElementPointerATI
1618-
:: MonadIO m
1619-
=> GLenum -- ^ @type@ of type @ElementPointerTypeATI@.
1620-
-> Ptr a -- ^ @pointer@ pointing to @COMPSIZE(type)@ elements of type @a@.
1621-
-> m ()
1622-
glElementPointerATI v1 v2 = liftIO $ dyn230 ptr_glElementPointerATI v1 v2
1623-
1624-
{-# NOINLINE ptr_glElementPointerATI #-}
1625-
ptr_glElementPointerATI :: FunPtr (GLenum -> Ptr a -> IO ())
1626-
ptr_glElementPointerATI = unsafePerformIO $ getCommand "glElementPointerATI"
1627-

src/Graphics/GL/Functions/F07.hs

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
--------------------------------------------------------------------------------
1616

1717
module Graphics.GL.Functions.F07 (
18+
glElementPointerAPPLE,
19+
glElementPointerATI,
1820
glEnable,
1921
glEnableClientState,
2022
glEnableClientStateIndexedEXT,
@@ -112,9 +114,7 @@ module Graphics.GL.Functions.F07 (
112114
glFogCoordd,
113115
glFogCoorddEXT,
114116
glFogCoorddv,
115-
glFogCoorddvEXT,
116-
glFogCoordf,
117-
glFogCoordfEXT
117+
glFogCoorddvEXT
118118
) where
119119

120120
import Control.Monad.IO.Class ( MonadIO(..) )
@@ -123,6 +123,32 @@ import Graphics.GL.Foreign
123123
import Graphics.GL.Types
124124
import System.IO.Unsafe ( unsafePerformIO )
125125

126+
-- glElementPointerAPPLE -------------------------------------------------------
127+
128+
glElementPointerAPPLE
129+
:: MonadIO m
130+
=> GLenum -- ^ @type@ of type @ElementPointerTypeATI@.
131+
-> Ptr a -- ^ @pointer@ pointing to @COMPSIZE(type)@ elements of type @a@.
132+
-> m ()
133+
glElementPointerAPPLE v1 v2 = liftIO $ dyn230 ptr_glElementPointerAPPLE v1 v2
134+
135+
{-# NOINLINE ptr_glElementPointerAPPLE #-}
136+
ptr_glElementPointerAPPLE :: FunPtr (GLenum -> Ptr a -> IO ())
137+
ptr_glElementPointerAPPLE = unsafePerformIO $ getCommand "glElementPointerAPPLE"
138+
139+
-- glElementPointerATI ---------------------------------------------------------
140+
141+
glElementPointerATI
142+
:: MonadIO m
143+
=> GLenum -- ^ @type@ of type @ElementPointerTypeATI@.
144+
-> Ptr a -- ^ @pointer@ pointing to @COMPSIZE(type)@ elements of type @a@.
145+
-> m ()
146+
glElementPointerATI v1 v2 = liftIO $ dyn230 ptr_glElementPointerATI v1 v2
147+
148+
{-# NOINLINE ptr_glElementPointerATI #-}
149+
ptr_glElementPointerATI :: FunPtr (GLenum -> Ptr a -> IO ())
150+
ptr_glElementPointerATI = unsafePerformIO $ getCommand "glElementPointerATI"
151+
126152
-- glEnable --------------------------------------------------------------------
127153

128154
-- | Manual pages for <https://www.opengl.org/sdk/docs/man2/xhtml/glEnable.xml OpenGL 2.x> or <https://www.opengl.org/sdk/docs/man3/xhtml/glEnable.xml OpenGL 3.x> or <https://www.opengl.org/sdk/docs/man4/html/glEnable.xhtml OpenGL 4.x>.
@@ -1418,29 +1444,3 @@ glFogCoorddvEXT v1 = liftIO $ dyn39 ptr_glFogCoorddvEXT v1
14181444
ptr_glFogCoorddvEXT :: FunPtr (Ptr GLdouble -> IO ())
14191445
ptr_glFogCoorddvEXT = unsafePerformIO $ getCommand "glFogCoorddvEXT"
14201446

1421-
-- glFogCoordf -----------------------------------------------------------------
1422-
1423-
-- | Manual page for <https://www.opengl.org/sdk/docs/man2/xhtml/glFogCoord.xml OpenGL 2.x>. The vector equivalent of this command is 'glFogCoordfv'.
1424-
glFogCoordf
1425-
:: MonadIO m
1426-
=> GLfloat -- ^ @coord@ of type @CoordF@.
1427-
-> m ()
1428-
glFogCoordf v1 = liftIO $ dyn79 ptr_glFogCoordf v1
1429-
1430-
{-# NOINLINE ptr_glFogCoordf #-}
1431-
ptr_glFogCoordf :: FunPtr (GLfloat -> IO ())
1432-
ptr_glFogCoordf = unsafePerformIO $ getCommand "glFogCoordf"
1433-
1434-
-- glFogCoordfEXT --------------------------------------------------------------
1435-
1436-
-- | The vector equivalent of this command is 'glFogCoordfvEXT'. This command is an alias for 'glFogCoordf'.
1437-
glFogCoordfEXT
1438-
:: MonadIO m
1439-
=> GLfloat -- ^ @coord@ of type @CoordF@.
1440-
-> m ()
1441-
glFogCoordfEXT v1 = liftIO $ dyn79 ptr_glFogCoordfEXT v1
1442-
1443-
{-# NOINLINE ptr_glFogCoordfEXT #-}
1444-
ptr_glFogCoordfEXT :: FunPtr (GLfloat -> IO ())
1445-
ptr_glFogCoordfEXT = unsafePerformIO $ getCommand "glFogCoordfEXT"
1446-

0 commit comments

Comments
 (0)