Skip to content

Commit 50c6a84

Browse files
committed
Updated OpenGL registry to 696ac2296. Bumped version to 3.3.3.0.
1 parent 25d1ad0 commit 50c6a84

33 files changed

+532
-305
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
3.3.3.0
2+
-------
3+
* Updated OpenGL registry to 696ac2296.
4+
* Relaxed version bound of `fixed` package.
5+
16
3.3.2.0
27
-------
38
* Updated OpenGL registry to 39e37f838.

OpenGLRaw.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: OpenGLRaw
2-
version: 3.3.2.0
2+
version: 3.3.3.0
33
synopsis: A raw binding for the OpenGL graphics system
44
description:
55
OpenGLRaw is a raw Haskell binding for the OpenGL 4.6 graphics system and

RegistryProcessor/OpenGL-Registry

Submodule OpenGL-Registry updated 482 files

src/Graphics/GL/Functions/F01.hs

+6-6
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ ptr_glApplyFramebufferAttachmentCMAAINTEL = unsafePerformIO $ getCommand "glAppl
394394

395395
glApplyTextureEXT
396396
:: MonadIO m
397-
=> GLenum -- ^ @mode@ of type @LightTextureModeEXT@.
397+
=> GLenum -- ^ @mode@ of type [LightTextureModeEXT](Graphics-GL-Groups.html#LightTextureModeEXT).
398398
-> m ()
399399
glApplyTextureEXT v1 = liftIO $ dyn5 ptr_glApplyTextureEXT v1
400400

@@ -547,7 +547,7 @@ ptr_glBegin = unsafePerformIO $ getCommand "glBegin"
547547
glBeginConditionalRender
548548
:: MonadIO m
549549
=> GLuint -- ^ @id@.
550-
-> GLenum -- ^ @mode@ of type [TypeEnum](Graphics-GL-Groups.html#TypeEnum).
550+
-> GLenum -- ^ @mode@ of type [ConditionalRenderMode](Graphics-GL-Groups.html#ConditionalRenderMode).
551551
-> m ()
552552
glBeginConditionalRender v1 v2 = liftIO $ dyn16 ptr_glBeginConditionalRender v1 v2
553553

@@ -561,7 +561,7 @@ ptr_glBeginConditionalRender = unsafePerformIO $ getCommand "glBeginConditionalR
561561
glBeginConditionalRenderNV
562562
:: MonadIO m
563563
=> GLuint -- ^ @id@.
564-
-> GLenum -- ^ @mode@ of type [TypeEnum](Graphics-GL-Groups.html#TypeEnum).
564+
-> GLenum -- ^ @mode@ of type [ConditionalRenderMode](Graphics-GL-Groups.html#ConditionalRenderMode).
565565
-> m ()
566566
glBeginConditionalRenderNV v1 v2 = liftIO $ dyn16 ptr_glBeginConditionalRenderNV v1 v2
567567

@@ -1175,7 +1175,7 @@ ptr_glBindMultiTextureEXT = unsafePerformIO $ getCommand "glBindMultiTextureEXT"
11751175

11761176
glBindParameterEXT
11771177
:: MonadIO m
1178-
=> GLenum -- ^ @value@ of type @VertexShaderParameterEXT@.
1178+
=> GLenum -- ^ @value@ of type [VertexShaderParameterEXT](Graphics-GL-Groups.html#VertexShaderParameterEXT).
11791179
-> m GLuint
11801180
glBindParameterEXT v1 = liftIO $ dyn31 ptr_glBindParameterEXT v1
11811181

@@ -1187,7 +1187,7 @@ ptr_glBindParameterEXT = unsafePerformIO $ getCommand "glBindParameterEXT"
11871187

11881188
glBindProgramARB
11891189
:: MonadIO m
1190-
=> GLenum -- ^ @target@ of type @ProgramTargetARB@.
1190+
=> GLenum -- ^ @target@ of type [ProgramTargetARB](Graphics-GL-Groups.html#ProgramTargetARB).
11911191
-> GLuint -- ^ @program@.
11921192
-> m ()
11931193
glBindProgramARB v1 v2 = liftIO $ dyn17 ptr_glBindProgramARB v1 v2
@@ -1201,7 +1201,7 @@ ptr_glBindProgramARB = unsafePerformIO $ getCommand "glBindProgramARB"
12011201
-- | This command is an alias for 'glBindProgramARB'.
12021202
glBindProgramNV
12031203
:: MonadIO m
1204-
=> GLenum -- ^ @target@ of type @VertexAttribEnumNV@.
1204+
=> GLenum -- ^ @target@ of type [VertexAttribEnumNV](Graphics-GL-Groups.html#VertexAttribEnumNV).
12051205
-> GLuint -- ^ @id@.
12061206
-> m ()
12071207
glBindProgramNV v1 v2 = liftIO $ dyn17 ptr_glBindProgramNV v1 v2

src/Graphics/GL/Functions/F02.hs

+7-7
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ glBufferStorage
10901090
=> GLenum -- ^ @target@ of type [BufferStorageTarget](Graphics-GL-Groups.html#BufferStorageTarget).
10911091
-> GLsizeiptr -- ^ @size@.
10921092
-> Ptr a -- ^ @data@ pointing to @size@ elements of type @a@.
1093-
-> GLbitfield -- ^ @flags@ of type [MapBufferUsageMask](Graphics-GL-Groups.html#MapBufferUsageMask).
1093+
-> GLbitfield -- ^ @flags@ of type [BufferStorageMask](Graphics-GL-Groups.html#BufferStorageMask).
10941094
-> m ()
10951095
glBufferStorage v1 v2 v3 v4 = liftIO $ dyn65 ptr_glBufferStorage v1 v2 v3 v4
10961096

@@ -1106,7 +1106,7 @@ glBufferStorageEXT
11061106
=> GLenum -- ^ @target@ of type [BufferStorageTarget](Graphics-GL-Groups.html#BufferStorageTarget).
11071107
-> GLsizeiptr -- ^ @size@.
11081108
-> Ptr a -- ^ @data@ pointing to @size@ elements of type @a@.
1109-
-> GLbitfield -- ^ @flags@ of type [MapBufferUsageMask](Graphics-GL-Groups.html#MapBufferUsageMask).
1109+
-> GLbitfield -- ^ @flags@ of type [BufferStorageMask](Graphics-GL-Groups.html#BufferStorageMask).
11101110
-> m ()
11111111
glBufferStorageEXT v1 v2 v3 v4 = liftIO $ dyn65 ptr_glBufferStorageEXT v1 v2 v3 v4
11121112

@@ -1122,7 +1122,7 @@ glBufferStorageExternalEXT
11221122
-> GLintptr -- ^ @offset@.
11231123
-> GLsizeiptr -- ^ @size@.
11241124
-> GLeglClientBufferEXT -- ^ @clientBuffer@.
1125-
-> GLbitfield -- ^ @flags@ of type [MapBufferUsageMask](Graphics-GL-Groups.html#MapBufferUsageMask).
1125+
-> GLbitfield -- ^ @flags@ of type [BufferStorageMask](Graphics-GL-Groups.html#BufferStorageMask).
11261126
-> m ()
11271127
glBufferStorageExternalEXT v1 v2 v3 v4 v5 = liftIO $ dyn66 ptr_glBufferStorageExternalEXT v1 v2 v3 v4 v5
11281128

@@ -1287,8 +1287,8 @@ ptr_glCheckNamedFramebufferStatusEXT = unsafePerformIO $ getCommand "glCheckName
12871287
-- | Manual pages for <https://www.opengl.org/sdk/docs/man3/xhtml/glClampColor.xml OpenGL 3.x> or <https://www.opengl.org/sdk/docs/man4/html/glClampColor.xhtml OpenGL 4.x>.
12881288
glClampColor
12891289
:: MonadIO m
1290-
=> GLenum -- ^ @target@ of type @ClampColorTargetARB@.
1291-
-> GLenum -- ^ @clamp@ of type @ClampColorModeARB@.
1290+
=> GLenum -- ^ @target@ of type [ClampColorTargetARB](Graphics-GL-Groups.html#ClampColorTargetARB).
1291+
-> GLenum -- ^ @clamp@ of type [ClampColorModeARB](Graphics-GL-Groups.html#ClampColorModeARB).
12921292
-> m ()
12931293
glClampColor v1 v2 = liftIO $ dyn52 ptr_glClampColor v1 v2
12941294

@@ -1301,8 +1301,8 @@ ptr_glClampColor = unsafePerformIO $ getCommand "glClampColor"
13011301
-- | This command is an alias for 'glClampColor'.
13021302
glClampColorARB
13031303
:: MonadIO m
1304-
=> GLenum -- ^ @target@ of type @ClampColorTargetARB@.
1305-
-> GLenum -- ^ @clamp@ of type @ClampColorModeARB@.
1304+
=> GLenum -- ^ @target@ of type [ClampColorTargetARB](Graphics-GL-Groups.html#ClampColorTargetARB).
1305+
-> GLenum -- ^ @clamp@ of type [ClampColorModeARB](Graphics-GL-Groups.html#ClampColorModeARB).
13061306
-> m ()
13071307
glClampColorARB v1 v2 = liftIO $ dyn52 ptr_glClampColorARB v1 v2
13081308

src/Graphics/GL/Functions/F03.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ ptr_glClientActiveTextureARB = unsafePerformIO $ getCommand "glClientActiveTextu
395395

396396
glClientActiveVertexStreamATI
397397
:: MonadIO m
398-
=> GLenum -- ^ @stream@ of type @VertexStreamATI@.
398+
=> GLenum -- ^ @stream@ of type [VertexStreamATI](Graphics-GL-Groups.html#VertexStreamATI).
399399
-> m ()
400400
glClientActiveVertexStreamATI v1 = liftIO $ dyn5 ptr_glClientActiveVertexStreamATI v1
401401

src/Graphics/GL/Functions/F04.hs

+13-13
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ glCombinerInputNV
207207
:: MonadIO m
208208
=> GLenum -- ^ @stage@ of type @CombinerStageNV@.
209209
-> GLenum -- ^ @portion@ of type @CombinerPortionNV@.
210-
-> GLenum -- ^ @variable@ of type @CombinerVariableNV@.
211-
-> GLenum -- ^ @input@ of type @CombinerRegisterNV@.
212-
-> GLenum -- ^ @mapping@ of type @CombinerMappingNV@.
210+
-> GLenum -- ^ @variable@ of type [CombinerVariableNV](Graphics-GL-Groups.html#CombinerVariableNV).
211+
-> GLenum -- ^ @input@ of type [CombinerRegisterNV](Graphics-GL-Groups.html#CombinerRegisterNV).
212+
-> GLenum -- ^ @mapping@ of type [CombinerMappingNV](Graphics-GL-Groups.html#CombinerMappingNV).
213213
-> GLenum -- ^ @componentUsage@ of type @CombinerComponentUsageNV@.
214214
-> m ()
215215
glCombinerInputNV v1 v2 v3 v4 v5 v6 = liftIO $ dyn138 ptr_glCombinerInputNV v1 v2 v3 v4 v5 v6
@@ -224,11 +224,11 @@ glCombinerOutputNV
224224
:: MonadIO m
225225
=> GLenum -- ^ @stage@ of type @CombinerStageNV@.
226226
-> GLenum -- ^ @portion@ of type @CombinerPortionNV@.
227-
-> GLenum -- ^ @abOutput@ of type @CombinerRegisterNV@.
228-
-> GLenum -- ^ @cdOutput@ of type @CombinerRegisterNV@.
229-
-> GLenum -- ^ @sumOutput@ of type @CombinerRegisterNV@.
230-
-> GLenum -- ^ @scale@ of type @CombinerScaleNV@.
231-
-> GLenum -- ^ @bias@ of type @CombinerBiasNV@.
227+
-> GLenum -- ^ @abOutput@ of type [CombinerRegisterNV](Graphics-GL-Groups.html#CombinerRegisterNV).
228+
-> GLenum -- ^ @cdOutput@ of type [CombinerRegisterNV](Graphics-GL-Groups.html#CombinerRegisterNV).
229+
-> GLenum -- ^ @sumOutput@ of type [CombinerRegisterNV](Graphics-GL-Groups.html#CombinerRegisterNV).
230+
-> GLenum -- ^ @scale@ of type [CombinerScaleNV](Graphics-GL-Groups.html#CombinerScaleNV).
231+
-> GLenum -- ^ @bias@ of type [CombinerBiasNV](Graphics-GL-Groups.html#CombinerBiasNV).
232232
-> GLboolean -- ^ @abDotProduct@ of type [Boolean](Graphics-GL-Groups.html#Boolean).
233233
-> GLboolean -- ^ @cdDotProduct@ of type [Boolean](Graphics-GL-Groups.html#Boolean).
234234
-> GLboolean -- ^ @muxSum@ of type [Boolean](Graphics-GL-Groups.html#Boolean).
@@ -243,7 +243,7 @@ ptr_glCombinerOutputNV = unsafePerformIO $ getCommand "glCombinerOutputNV"
243243

244244
glCombinerParameterfNV
245245
:: MonadIO m
246-
=> GLenum -- ^ @pname@ of type @CombinerParameterNV@.
246+
=> GLenum -- ^ @pname@ of type [CombinerParameterNV](Graphics-GL-Groups.html#CombinerParameterNV).
247247
-> GLfloat -- ^ @param@.
248248
-> m ()
249249
glCombinerParameterfNV v1 v2 = liftIO $ dyn0 ptr_glCombinerParameterfNV v1 v2
@@ -256,7 +256,7 @@ ptr_glCombinerParameterfNV = unsafePerformIO $ getCommand "glCombinerParameterfN
256256

257257
glCombinerParameterfvNV
258258
:: MonadIO m
259-
=> GLenum -- ^ @pname@ of type @CombinerParameterNV@.
259+
=> GLenum -- ^ @pname@ of type [CombinerParameterNV](Graphics-GL-Groups.html#CombinerParameterNV).
260260
-> Ptr GLfloat -- ^ @params@ pointing to @COMPSIZE(pname)@ elements of type @CheckedFloat32@.
261261
-> m ()
262262
glCombinerParameterfvNV v1 v2 = liftIO $ dyn98 ptr_glCombinerParameterfvNV v1 v2
@@ -269,7 +269,7 @@ ptr_glCombinerParameterfvNV = unsafePerformIO $ getCommand "glCombinerParameterf
269269

270270
glCombinerParameteriNV
271271
:: MonadIO m
272-
=> GLenum -- ^ @pname@ of type @CombinerParameterNV@.
272+
=> GLenum -- ^ @pname@ of type [CombinerParameterNV](Graphics-GL-Groups.html#CombinerParameterNV).
273273
-> GLint -- ^ @param@.
274274
-> m ()
275275
glCombinerParameteriNV v1 v2 = liftIO $ dyn56 ptr_glCombinerParameteriNV v1 v2
@@ -282,7 +282,7 @@ ptr_glCombinerParameteriNV = unsafePerformIO $ getCommand "glCombinerParameteriN
282282

283283
glCombinerParameterivNV
284284
:: MonadIO m
285-
=> GLenum -- ^ @pname@ of type @CombinerParameterNV@.
285+
=> GLenum -- ^ @pname@ of type [CombinerParameterNV](Graphics-GL-Groups.html#CombinerParameterNV).
286286
-> Ptr GLint -- ^ @params@ pointing to @COMPSIZE(pname)@ elements of type @CheckedInt32@.
287287
-> m ()
288288
glCombinerParameterivNV v1 v2 = liftIO $ dyn140 ptr_glCombinerParameterivNV v1 v2
@@ -296,7 +296,7 @@ ptr_glCombinerParameterivNV = unsafePerformIO $ getCommand "glCombinerParameteri
296296
glCombinerStageParameterfvNV
297297
:: MonadIO m
298298
=> GLenum -- ^ @stage@ of type @CombinerStageNV@.
299-
-> GLenum -- ^ @pname@ of type @CombinerParameterNV@.
299+
-> GLenum -- ^ @pname@ of type [CombinerParameterNV](Graphics-GL-Groups.html#CombinerParameterNV).
300300
-> Ptr GLfloat -- ^ @params@ pointing to @COMPSIZE(pname)@ elements of type @CheckedFloat32@.
301301
-> m ()
302302
glCombinerStageParameterfvNV v1 v2 v3 = liftIO $ dyn136 ptr_glCombinerStageParameterfvNV v1 v2 v3

src/Graphics/GL/Functions/F06.hs

+5-5
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ ptr_glDrawBuffer = unsafePerformIO $ getCommand "glDrawBuffer"
819819
glDrawBuffers
820820
:: MonadIO m
821821
=> GLsizei -- ^ @n@.
822-
-> Ptr GLenum -- ^ @bufs@ pointing to @n@ elements of type @DrawBufferModeATI@.
822+
-> Ptr GLenum -- ^ @bufs@ pointing to @n@ elements of type [DrawBufferModeATI](Graphics-GL-Groups.html#DrawBufferModeATI).
823823
-> m ()
824824
glDrawBuffers v1 v2 = liftIO $ dyn238 ptr_glDrawBuffers v1 v2
825825

@@ -833,7 +833,7 @@ ptr_glDrawBuffers = unsafePerformIO $ getCommand "glDrawBuffers"
833833
glDrawBuffersARB
834834
:: MonadIO m
835835
=> GLsizei -- ^ @n@.
836-
-> Ptr GLenum -- ^ @bufs@ pointing to @n@ elements of type @DrawBufferModeATI@.
836+
-> Ptr GLenum -- ^ @bufs@ pointing to @n@ elements of type [DrawBufferModeATI](Graphics-GL-Groups.html#DrawBufferModeATI).
837837
-> m ()
838838
glDrawBuffersARB v1 v2 = liftIO $ dyn238 ptr_glDrawBuffersARB v1 v2
839839

@@ -847,7 +847,7 @@ ptr_glDrawBuffersARB = unsafePerformIO $ getCommand "glDrawBuffersARB"
847847
glDrawBuffersATI
848848
:: MonadIO m
849849
=> GLsizei -- ^ @n@.
850-
-> Ptr GLenum -- ^ @bufs@ pointing to @n@ elements of type @DrawBufferModeATI@.
850+
-> Ptr GLenum -- ^ @bufs@ pointing to @n@ elements of type [DrawBufferModeATI](Graphics-GL-Groups.html#DrawBufferModeATI).
851851
-> m ()
852852
glDrawBuffersATI v1 v2 = liftIO $ dyn238 ptr_glDrawBuffersATI v1 v2
853853

@@ -1181,7 +1181,7 @@ glDrawElementsInstancedBaseVertexBaseInstance
11811181
:: MonadIO m
11821182
=> GLenum -- ^ @mode@ of type [PrimitiveType](Graphics-GL-Groups.html#PrimitiveType).
11831183
-> GLsizei -- ^ @count@.
1184-
-> GLenum -- ^ @type@ of type [PrimitiveType](Graphics-GL-Groups.html#PrimitiveType).
1184+
-> GLenum -- ^ @type@ of type [DrawElementsType](Graphics-GL-Groups.html#DrawElementsType).
11851185
-> Ptr a -- ^ @indices@ pointing to @count@ elements of type @a@.
11861186
-> GLsizei -- ^ @instancecount@.
11871187
-> GLint -- ^ @basevertex@.
@@ -1200,7 +1200,7 @@ glDrawElementsInstancedBaseVertexBaseInstanceEXT
12001200
:: MonadIO m
12011201
=> GLenum -- ^ @mode@ of type [PrimitiveType](Graphics-GL-Groups.html#PrimitiveType).
12021202
-> GLsizei -- ^ @count@.
1203-
-> GLenum -- ^ @type@ of type [PrimitiveType](Graphics-GL-Groups.html#PrimitiveType).
1203+
-> GLenum -- ^ @type@ of type [DrawElementsType](Graphics-GL-Groups.html#DrawElementsType).
12041204
-> Ptr a -- ^ @indices@ pointing to @count@ elements of type @a@.
12051205
-> GLsizei -- ^ @instancecount@.
12061206
-> GLint -- ^ @basevertex@.

src/Graphics/GL/Functions/F07.hs

+6-6
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ ptr_glEvalCoord2xvOES = unsafePerformIO $ getCommand "glEvalCoord2xvOES"
993993

994994
glEvalMapsNV
995995
:: MonadIO m
996-
=> GLenum -- ^ @target@ of type @EvalTargetNV@.
996+
=> GLenum -- ^ @target@ of type [EvalTargetNV](Graphics-GL-Groups.html#EvalTargetNV).
997997
-> GLenum -- ^ @mode@ of type @EvalMapsModeNV@.
998998
-> m ()
999999
glEvalMapsNV v1 v2 = liftIO $ dyn52 ptr_glEvalMapsNV v1 v2
@@ -1076,7 +1076,7 @@ ptr_glEvaluateDepthValuesARB = unsafePerformIO $ getCommand "glEvaluateDepthValu
10761076

10771077
glExecuteProgramNV
10781078
:: MonadIO m
1079-
=> GLenum -- ^ @target@ of type @VertexAttribEnumNV@.
1079+
=> GLenum -- ^ @target@ of type [VertexAttribEnumNV](Graphics-GL-Groups.html#VertexAttribEnumNV).
10801080
-> GLuint -- ^ @id@.
10811081
-> Ptr GLfloat -- ^ @params@ pointing to @4@ elements of type @GLfloat@.
10821082
-> m ()
@@ -1337,9 +1337,9 @@ ptr_glFenceSyncAPPLE = unsafePerformIO $ getCommand "glFenceSyncAPPLE"
13371337

13381338
glFinalCombinerInputNV
13391339
:: MonadIO m
1340-
=> GLenum -- ^ @variable@ of type @CombinerVariableNV@.
1341-
-> GLenum -- ^ @input@ of type @CombinerRegisterNV@.
1342-
-> GLenum -- ^ @mapping@ of type @CombinerMappingNV@.
1340+
=> GLenum -- ^ @variable@ of type [CombinerVariableNV](Graphics-GL-Groups.html#CombinerVariableNV).
1341+
-> GLenum -- ^ @input@ of type [CombinerRegisterNV](Graphics-GL-Groups.html#CombinerRegisterNV).
1342+
-> GLenum -- ^ @mapping@ of type [CombinerMappingNV](Graphics-GL-Groups.html#CombinerMappingNV).
13431343
-> GLenum -- ^ @componentUsage@ of type @CombinerComponentUsageNV@.
13441344
-> m ()
13451345
glFinalCombinerInputNV v1 v2 v3 v4 = liftIO $ dyn54 ptr_glFinalCombinerInputNV v1 v2 v3 v4
@@ -1400,7 +1400,7 @@ ptr_glFinishFenceNV = unsafePerformIO $ getCommand "glFinishFenceNV"
14001400

14011401
glFinishObjectAPPLE
14021402
:: MonadIO m
1403-
=> GLenum -- ^ @object@ of type @ObjectTypeAPPLE@.
1403+
=> GLenum -- ^ @object@ of type [ObjectTypeAPPLE](Graphics-GL-Groups.html#ObjectTypeAPPLE).
14041404
-> GLint -- ^ @name@.
14051405
-> m ()
14061406
glFinishObjectAPPLE v1 v2 = liftIO $ dyn56 ptr_glFinishObjectAPPLE v1 v2

src/Graphics/GL/Functions/F08.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ ptr_glFlushMappedNamedBufferRangeEXT = unsafePerformIO $ getCommand "glFlushMapp
171171

172172
glFlushPixelDataRangeNV
173173
:: MonadIO m
174-
=> GLenum -- ^ @target@ of type @PixelDataRangeTargetNV@.
174+
=> GLenum -- ^ @target@ of type [PixelDataRangeTargetNV](Graphics-GL-Groups.html#PixelDataRangeTargetNV).
175175
-> m ()
176176
glFlushPixelDataRangeNV v1 = liftIO $ dyn5 ptr_glFlushPixelDataRangeNV v1
177177

0 commit comments

Comments
 (0)