Skip to content

Commit

Permalink
Updated OpenGL registry to fdaa98e456. Bumped version to 3.3.4.1.
Browse files Browse the repository at this point in the history
The commit after that changes the schema, see:

   KhronosGroup/OpenGL-Registry#335
   KhronosGroup/OpenGL-Registry#343

To follow these changes, we will need to massage the registry processor
accordingly, but this will be done later.
  • Loading branch information
svenpanne committed Nov 14, 2021
1 parent c0ea239 commit 53c694c
Show file tree
Hide file tree
Showing 8 changed files with 141 additions and 50 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
3.3.4.1
-------
* Relaxed upper version bound for `bytestring`.
* Updated OpenGL registry to fdaa98e456.
* Relaxed upper version bounds for `bytestring` and `transformers`.
* Fixed OpenBSD build.

3.3.4.0
-------
Expand Down
2 changes: 1 addition & 1 deletion OpenGLRaw.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: OpenGLRaw
version: 3.3.4.0
version: 3.3.4.1
synopsis: A raw binding for the OpenGL graphics system
description:
OpenGLRaw is a raw Haskell binding for the OpenGL 4.6 graphics system and
Expand Down
2 changes: 1 addition & 1 deletion src/Graphics/GL/Functions/F01.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ ptr_glBindParameterEXT = unsafePerformIO $ getCommand "glBindParameterEXT"

glBindProgramARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @program@.
-> m ()
glBindProgramARB v1 v2 = liftIO $ dyn19 ptr_glBindProgramARB v1 v2
Expand Down
14 changes: 7 additions & 7 deletions src/Graphics/GL/Functions/F12.hs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ ptr_glGetProgramEnvParameterIuivNV = unsafePerformIO $ getCommand "glGetProgramE

glGetProgramEnvParameterdvARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> Ptr GLdouble -- ^ @params@ pointing to @4@ elements of type @GLdouble@.
-> m ()
Expand All @@ -169,7 +169,7 @@ ptr_glGetProgramEnvParameterdvARB = unsafePerformIO $ getCommand "glGetProgramEn

glGetProgramEnvParameterfvARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> Ptr GLfloat -- ^ @params@ pointing to @4@ elements of type @GLfloat@.
-> m ()
Expand Down Expand Up @@ -243,7 +243,7 @@ ptr_glGetProgramLocalParameterIuivNV = unsafePerformIO $ getCommand "glGetProgra

glGetProgramLocalParameterdvARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> Ptr GLdouble -- ^ @params@ pointing to @4@ elements of type @GLdouble@.
-> m ()
Expand All @@ -257,7 +257,7 @@ ptr_glGetProgramLocalParameterdvARB = unsafePerformIO $ getCommand "glGetProgram

glGetProgramLocalParameterfvARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> Ptr GLfloat -- ^ @params@ pointing to @4@ elements of type @GLfloat@.
-> m ()
Expand Down Expand Up @@ -523,8 +523,8 @@ ptr_glGetProgramStageiv = unsafePerformIO $ getCommand "glGetProgramStageiv"

glGetProgramStringARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
-> GLenum -- ^ @pname@ of type [ProgramStringPropertyARB](Graphics-GL-Groups.html#ProgramStringPropertyARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLenum -- ^ @pname@ of type [ProgramStringProperty](Graphics-GL-Groups.html#ProgramStringProperty).
-> Ptr a -- ^ @string@ pointing to @COMPSIZE(target,pname)@ elements of type @a@.
-> m ()
glGetProgramStringARB v1 v2 v3 = liftIO $ dyn250 ptr_glGetProgramStringARB v1 v2 v3
Expand Down Expand Up @@ -580,7 +580,7 @@ ptr_glGetProgramiv = unsafePerformIO $ getCommand "glGetProgramiv"

glGetProgramivARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLenum -- ^ @pname@ of type [ProgramPropertyARB](Graphics-GL-Groups.html#ProgramPropertyARB).
-> Ptr GLint -- ^ @params@ pointing to @1@ element of type @GLint@.
-> m ()
Expand Down
20 changes: 10 additions & 10 deletions src/Graphics/GL/Functions/F20.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ ptr_glProgramBufferParametersfvNV = unsafePerformIO $ getCommand "glProgramBuffe
-- | The vector equivalent of this command is 'glProgramEnvParameter4dvARB'.
glProgramEnvParameter4dARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> GLdouble -- ^ @x@.
-> GLdouble -- ^ @y@.
Expand All @@ -1223,7 +1223,7 @@ ptr_glProgramEnvParameter4dARB = unsafePerformIO $ getCommand "glProgramEnvParam

glProgramEnvParameter4dvARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> Ptr GLdouble -- ^ @params@ pointing to @4@ elements of type @GLdouble@.
-> m ()
Expand All @@ -1238,7 +1238,7 @@ ptr_glProgramEnvParameter4dvARB = unsafePerformIO $ getCommand "glProgramEnvPara
-- | The vector equivalent of this command is 'glProgramEnvParameter4fvARB'.
glProgramEnvParameter4fARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> GLfloat -- ^ @x@.
-> GLfloat -- ^ @y@.
Expand All @@ -1255,7 +1255,7 @@ ptr_glProgramEnvParameter4fARB = unsafePerformIO $ getCommand "glProgramEnvParam

glProgramEnvParameter4fvARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> Ptr GLfloat -- ^ @params@ pointing to @4@ elements of type @GLfloat@.
-> m ()
Expand Down Expand Up @@ -1333,7 +1333,7 @@ ptr_glProgramEnvParameterI4uivNV = unsafePerformIO $ getCommand "glProgramEnvPar

glProgramEnvParameters4fvEXT
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> GLsizei -- ^ @count@.
-> Ptr GLfloat -- ^ @params@ pointing to @count*4@ elements of type @GLfloat@.
Expand Down Expand Up @@ -1379,7 +1379,7 @@ ptr_glProgramEnvParametersI4uivNV = unsafePerformIO $ getCommand "glProgramEnvPa
-- | The vector equivalent of this command is 'glProgramLocalParameter4dvARB'.
glProgramLocalParameter4dARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> GLdouble -- ^ @x@.
-> GLdouble -- ^ @y@.
Expand All @@ -1396,7 +1396,7 @@ ptr_glProgramLocalParameter4dARB = unsafePerformIO $ getCommand "glProgramLocalP

glProgramLocalParameter4dvARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> Ptr GLdouble -- ^ @params@ pointing to @4@ elements of type @GLdouble@.
-> m ()
Expand All @@ -1411,7 +1411,7 @@ ptr_glProgramLocalParameter4dvARB = unsafePerformIO $ getCommand "glProgramLocal
-- | The vector equivalent of this command is 'glProgramLocalParameter4fvARB'.
glProgramLocalParameter4fARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> GLfloat -- ^ @x@.
-> GLfloat -- ^ @y@.
Expand All @@ -1428,7 +1428,7 @@ ptr_glProgramLocalParameter4fARB = unsafePerformIO $ getCommand "glProgramLocalP

glProgramLocalParameter4fvARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> Ptr GLfloat -- ^ @params@ pointing to @4@ elements of type @GLfloat@.
-> m ()
Expand Down Expand Up @@ -1506,7 +1506,7 @@ ptr_glProgramLocalParameterI4uivNV = unsafePerformIO $ getCommand "glProgramLoca

glProgramLocalParameters4fvEXT
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLuint -- ^ @index@.
-> GLsizei -- ^ @count@.
-> Ptr GLfloat -- ^ @params@ pointing to @count*4@ elements of type @GLfloat@.
Expand Down
4 changes: 2 additions & 2 deletions src/Graphics/GL/Functions/F21.hs
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ ptr_glProgramPathFragmentInputGenNV = unsafePerformIO $ getCommand "glProgramPat

glProgramStringARB
:: MonadIO m
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
-> GLenum -- ^ @format@ of type [ProgramFormatARB](Graphics-GL-Groups.html#ProgramFormatARB).
=> GLenum -- ^ @target@ of type [ProgramTarget](Graphics-GL-Groups.html#ProgramTarget).
-> GLenum -- ^ @format@ of type [ProgramFormat](Graphics-GL-Groups.html#ProgramFormat).
-> GLsizei -- ^ @len@.
-> Ptr a -- ^ @string@ pointing to @len@ elements of type @a@.
-> m ()
Expand Down
Loading

0 comments on commit 53c694c

Please sign in to comment.