Skip to content

Commit a8e90b9

Browse files
committed
Updated OpenGL registry to 97558118d. Bumped version to 3.2.5.0.
1 parent 951d06a commit a8e90b9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+20958
-18911
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.5.0
2+
-------
3+
* Updated OpenGL registry to 97558118d.
4+
15
3.2.4.0
26
-------
37
* Updated OpenGL registry to r33312.

OpenGLRaw.cabal

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: OpenGLRaw
2-
version: 3.2.4.0
2+
version: 3.2.5.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
@@ -37,8 +37,8 @@ extra-source-files:
3737
CHANGELOG.md
3838
README.md
3939
RegistryProcessor/LICENSE
40-
RegistryProcessor/OpenGL-Registry/gl.xml
41-
RegistryProcessor/OpenGL-Registry/registry.rnc
40+
RegistryProcessor/OpenGL-Registry/xml/gl.xml
41+
RegistryProcessor/OpenGL-Registry/xml/registry.rnc
4242
RegistryProcessor/RegistryProcessor.cabal
4343
RegistryProcessor/Setup.hs
4444
RegistryProcessor/src/DeclarationParser.hs
@@ -74,6 +74,7 @@ library
7474
Graphics.GL.AMD.DebugOutput
7575
Graphics.GL.AMD.DepthClampSeparate
7676
Graphics.GL.AMD.DrawBuffersBlend
77+
Graphics.GL.AMD.FramebufferSamplePositions
7778
Graphics.GL.AMD.GPUShaderHalfFloat
7879
Graphics.GL.AMD.GPUShaderInt64
7980
Graphics.GL.AMD.InterleavedElements
@@ -151,6 +152,7 @@ library
151152
Graphics.GL.ARB.GeometryShader4
152153
Graphics.GL.ARB.GetProgramBinary
153154
Graphics.GL.ARB.GetTextureSubImage
155+
Graphics.GL.ARB.GlSpirv
154156
Graphics.GL.ARB.HalfFloatPixel
155157
Graphics.GL.ARB.HalfFloatVertex
156158
Graphics.GL.ARB.ImagingCompatibility
@@ -306,6 +308,7 @@ library
306308
Graphics.GL.EXT.DrawBuffers2
307309
Graphics.GL.EXT.DrawInstanced
308310
Graphics.GL.EXT.DrawRangeElements
311+
Graphics.GL.EXT.ExternalBuffer
309312
Graphics.GL.EXT.FogCoord
310313
Graphics.GL.EXT.FourTwoTwoPixels
311314
Graphics.GL.EXT.FramebufferBlit
@@ -321,6 +324,9 @@ library
321324
Graphics.GL.EXT.IndexFunc
322325
Graphics.GL.EXT.IndexMaterial
323326
Graphics.GL.EXT.LightTexture
327+
Graphics.GL.EXT.MemoryObject
328+
Graphics.GL.EXT.MemoryObjectFd
329+
Graphics.GL.EXT.MemoryObjectWin32
324330
Graphics.GL.EXT.MultiDrawArrays
325331
Graphics.GL.EXT.Multisample
326332
Graphics.GL.EXT.PackedDepthStencil
@@ -336,6 +342,9 @@ library
336342
Graphics.GL.EXT.RasterMultisample
337343
Graphics.GL.EXT.RescaleNormal
338344
Graphics.GL.EXT.SecondaryColor
345+
Graphics.GL.EXT.Semaphore
346+
Graphics.GL.EXT.SemaphoreFd
347+
Graphics.GL.EXT.SemaphoreWin32
339348
Graphics.GL.EXT.SeparateShaderObjects
340349
Graphics.GL.EXT.SeparateSpecularColor
341350
Graphics.GL.EXT.ShaderImageLoadStore
@@ -373,6 +382,7 @@ library
373382
Graphics.GL.EXT.VertexAttrib64Bit
374383
Graphics.GL.EXT.VertexShader
375384
Graphics.GL.EXT.VertexWeighting
385+
Graphics.GL.EXT.Win32KeyedMutex
376386
Graphics.GL.EXT.WindowRectangles
377387
Graphics.GL.EXT.X11SyncObject
378388
Graphics.GL.Functions
@@ -421,6 +431,7 @@ library
421431
Graphics.GL.MESAX
422432
Graphics.GL.MESAX.TextureStack
423433
Graphics.GL.NV
434+
Graphics.GL.NV.AlphaToCoverageDitherControl
424435
Graphics.GL.NV.BindlessMultiDrawIndirect
425436
Graphics.GL.NV.BindlessMultiDrawIndirectCount
426437
Graphics.GL.NV.BindlessTexture
@@ -439,6 +450,7 @@ library
439450
Graphics.GL.NV.DepthBufferFloat
440451
Graphics.GL.NV.DepthClamp
441452
Graphics.GL.NV.DrawTexture
453+
Graphics.GL.NV.DrawVulkanImage
442454
Graphics.GL.NV.Evaluators
443455
Graphics.GL.NV.ExplicitMultisample
444456
Graphics.GL.NV.Fence
@@ -450,6 +462,7 @@ library
450462
Graphics.GL.NV.FragmentProgram2
451463
Graphics.GL.NV.FramebufferMixedSamples
452464
Graphics.GL.NV.FramebufferMultisampleCoverage
465+
Graphics.GL.NV.GPUMulticast
453466
Graphics.GL.NV.GPUProgram4
454467
Graphics.GL.NV.GPUProgram5
455468
Graphics.GL.NV.GPUShader5
@@ -504,6 +517,7 @@ library
504517
Graphics.GL.NVX
505518
Graphics.GL.NVX.ConditionalRender
506519
Graphics.GL.NVX.GPUMemoryInfo
520+
Graphics.GL.NVX.LinkedGPUMulticast
507521
Graphics.GL.OES
508522
Graphics.GL.OES.ByteCoordinates
509523
Graphics.GL.OES.CompressedPalettedTexture
@@ -642,6 +656,7 @@ library
642656
Graphics.GL.Functions.F30
643657
Graphics.GL.Functions.F31
644658
Graphics.GL.Functions.F32
659+
Graphics.GL.Functions.F33
645660
c-sources:
646661
cbits/HsOpenGLRaw.c
647662
hs-source-dirs: src

src/Graphics/GL/AMD.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module Graphics.GL.AMD (
1717
module Graphics.GL.AMD.DebugOutput,
1818
module Graphics.GL.AMD.DepthClampSeparate,
1919
module Graphics.GL.AMD.DrawBuffersBlend,
20+
module Graphics.GL.AMD.FramebufferSamplePositions,
2021
module Graphics.GL.AMD.GPUShaderHalfFloat,
2122
module Graphics.GL.AMD.GPUShaderInt64,
2223
module Graphics.GL.AMD.InterleavedElements,
@@ -38,6 +39,7 @@ import Graphics.GL.AMD.BlendMinmaxFactor
3839
import Graphics.GL.AMD.DebugOutput
3940
import Graphics.GL.AMD.DepthClampSeparate
4041
import Graphics.GL.AMD.DrawBuffersBlend
42+
import Graphics.GL.AMD.FramebufferSamplePositions
4143
import Graphics.GL.AMD.GPUShaderHalfFloat
4244
import Graphics.GL.AMD.GPUShaderInt64
4345
import Graphics.GL.AMD.InterleavedElements
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{-# LANGUAGE PatternSynonyms #-}
2+
--------------------------------------------------------------------------------
3+
-- |
4+
-- Module : Graphics.GL.AMD.FramebufferSamplePositions
5+
-- Copyright : (c) Sven Panne 2016
6+
-- License : BSD3
7+
--
8+
-- Maintainer : Sven Panne <[email protected]>
9+
-- Stability : stable
10+
-- Portability : portable
11+
--
12+
--------------------------------------------------------------------------------
13+
14+
module Graphics.GL.AMD.FramebufferSamplePositions (
15+
-- * Extension Support
16+
glGetAMDFramebufferSamplePositions,
17+
gl_AMD_framebuffer_sample_positions,
18+
-- * Enums
19+
pattern GL_ALL_PIXELS_AMD,
20+
pattern GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD,
21+
pattern GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD,
22+
pattern GL_SUBSAMPLE_DISTANCE_AMD,
23+
-- * Functions
24+
glFramebufferSamplePositionsfvAMD,
25+
glGetFramebufferParameterfvAMD,
26+
glGetNamedFramebufferParameterfvAMD,
27+
glNamedFramebufferSamplePositionsfvAMD
28+
) where
29+
30+
import Graphics.GL.ExtensionPredicates
31+
import Graphics.GL.Tokens
32+
import Graphics.GL.Functions

src/Graphics/GL/ARB.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ module Graphics.GL.ARB (
5757
module Graphics.GL.ARB.GeometryShader4,
5858
module Graphics.GL.ARB.GetProgramBinary,
5959
module Graphics.GL.ARB.GetTextureSubImage,
60+
module Graphics.GL.ARB.GlSpirv,
6061
module Graphics.GL.ARB.HalfFloatPixel,
6162
module Graphics.GL.ARB.HalfFloatVertex,
6263
module Graphics.GL.ARB.ImagingCompatibility,
@@ -197,6 +198,7 @@ import Graphics.GL.ARB.GPUShaderInt64
197198
import Graphics.GL.ARB.GeometryShader4
198199
import Graphics.GL.ARB.GetProgramBinary
199200
import Graphics.GL.ARB.GetTextureSubImage
201+
import Graphics.GL.ARB.GlSpirv
200202
import Graphics.GL.ARB.HalfFloatPixel
201203
import Graphics.GL.ARB.HalfFloatVertex
202204
import Graphics.GL.ARB.ImagingCompatibility

src/Graphics/GL/ARB/GlSpirv.hs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{-# LANGUAGE PatternSynonyms #-}
2+
--------------------------------------------------------------------------------
3+
-- |
4+
-- Module : Graphics.GL.ARB.GlSpirv
5+
-- Copyright : (c) Sven Panne 2016
6+
-- License : BSD3
7+
--
8+
-- Maintainer : Sven Panne <[email protected]>
9+
-- Stability : stable
10+
-- Portability : portable
11+
--
12+
--------------------------------------------------------------------------------
13+
14+
module Graphics.GL.ARB.GlSpirv (
15+
-- * Extension Support
16+
glGetARBGlSpirv,
17+
gl_ARB_gl_spirv,
18+
-- * Enums
19+
pattern GL_SHADER_BINARY_FORMAT_SPIR_V_ARB,
20+
pattern GL_SPIR_V_BINARY_ARB,
21+
-- * Functions
22+
glSpecializeShaderARB
23+
) where
24+
25+
import Graphics.GL.ExtensionPredicates
26+
import Graphics.GL.Tokens
27+
import Graphics.GL.Functions

src/Graphics/GL/ARB/SeparateShaderObjects.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module Graphics.GL.ARB.SeparateShaderObjects (
3434
glGetProgramPipelineInfoLog,
3535
glGetProgramPipelineiv,
3636
glIsProgramPipeline,
37+
glProgramParameteri,
3738
glProgramUniform1d,
3839
glProgramUniform1dv,
3940
glProgramUniform1f,

src/Graphics/GL/EXT.hs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ module Graphics.GL.EXT (
3636
module Graphics.GL.EXT.DrawBuffers2,
3737
module Graphics.GL.EXT.DrawInstanced,
3838
module Graphics.GL.EXT.DrawRangeElements,
39+
module Graphics.GL.EXT.ExternalBuffer,
3940
module Graphics.GL.EXT.FogCoord,
4041
module Graphics.GL.EXT.FourTwoTwoPixels,
4142
module Graphics.GL.EXT.FramebufferBlit,
@@ -51,6 +52,9 @@ module Graphics.GL.EXT (
5152
module Graphics.GL.EXT.IndexFunc,
5253
module Graphics.GL.EXT.IndexMaterial,
5354
module Graphics.GL.EXT.LightTexture,
55+
module Graphics.GL.EXT.MemoryObject,
56+
module Graphics.GL.EXT.MemoryObjectFd,
57+
module Graphics.GL.EXT.MemoryObjectWin32,
5458
module Graphics.GL.EXT.MultiDrawArrays,
5559
module Graphics.GL.EXT.Multisample,
5660
module Graphics.GL.EXT.PackedDepthStencil,
@@ -66,6 +70,9 @@ module Graphics.GL.EXT (
6670
module Graphics.GL.EXT.RasterMultisample,
6771
module Graphics.GL.EXT.RescaleNormal,
6872
module Graphics.GL.EXT.SecondaryColor,
73+
module Graphics.GL.EXT.Semaphore,
74+
module Graphics.GL.EXT.SemaphoreFd,
75+
module Graphics.GL.EXT.SemaphoreWin32,
6976
module Graphics.GL.EXT.SeparateShaderObjects,
7077
module Graphics.GL.EXT.SeparateSpecularColor,
7178
module Graphics.GL.EXT.ShaderImageLoadStore,
@@ -103,6 +110,7 @@ module Graphics.GL.EXT (
103110
module Graphics.GL.EXT.VertexAttrib64Bit,
104111
module Graphics.GL.EXT.VertexShader,
105112
module Graphics.GL.EXT.VertexWeighting,
113+
module Graphics.GL.EXT.Win32KeyedMutex,
106114
module Graphics.GL.EXT.WindowRectangles,
107115
module Graphics.GL.EXT.X11SyncObject
108116
) where
@@ -130,6 +138,7 @@ import Graphics.GL.EXT.DirectStateAccess
130138
import Graphics.GL.EXT.DrawBuffers2
131139
import Graphics.GL.EXT.DrawInstanced
132140
import Graphics.GL.EXT.DrawRangeElements
141+
import Graphics.GL.EXT.ExternalBuffer
133142
import Graphics.GL.EXT.FogCoord
134143
import Graphics.GL.EXT.FourTwoTwoPixels
135144
import Graphics.GL.EXT.FramebufferBlit
@@ -145,6 +154,9 @@ import Graphics.GL.EXT.IndexArrayFormats
145154
import Graphics.GL.EXT.IndexFunc
146155
import Graphics.GL.EXT.IndexMaterial
147156
import Graphics.GL.EXT.LightTexture
157+
import Graphics.GL.EXT.MemoryObject
158+
import Graphics.GL.EXT.MemoryObjectFd
159+
import Graphics.GL.EXT.MemoryObjectWin32
148160
import Graphics.GL.EXT.MultiDrawArrays
149161
import Graphics.GL.EXT.Multisample
150162
import Graphics.GL.EXT.PackedDepthStencil
@@ -160,6 +172,9 @@ import Graphics.GL.EXT.ProvokingVertex
160172
import Graphics.GL.EXT.RasterMultisample
161173
import Graphics.GL.EXT.RescaleNormal
162174
import Graphics.GL.EXT.SecondaryColor
175+
import Graphics.GL.EXT.Semaphore
176+
import Graphics.GL.EXT.SemaphoreFd
177+
import Graphics.GL.EXT.SemaphoreWin32
163178
import Graphics.GL.EXT.SeparateShaderObjects
164179
import Graphics.GL.EXT.SeparateSpecularColor
165180
import Graphics.GL.EXT.ShaderImageLoadStore
@@ -197,5 +212,6 @@ import Graphics.GL.EXT.VertexArrayBGRA
197212
import Graphics.GL.EXT.VertexAttrib64Bit
198213
import Graphics.GL.EXT.VertexShader
199214
import Graphics.GL.EXT.VertexWeighting
215+
import Graphics.GL.EXT.Win32KeyedMutex
200216
import Graphics.GL.EXT.WindowRectangles
201217
import Graphics.GL.EXT.X11SyncObject

src/Graphics/GL/EXT/ExternalBuffer.hs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
--------------------------------------------------------------------------------
2+
-- |
3+
-- Module : Graphics.GL.EXT.ExternalBuffer
4+
-- Copyright : (c) Sven Panne 2016
5+
-- License : BSD3
6+
--
7+
-- Maintainer : Sven Panne <[email protected]>
8+
-- Stability : stable
9+
-- Portability : portable
10+
--
11+
--------------------------------------------------------------------------------
12+
13+
module Graphics.GL.EXT.ExternalBuffer (
14+
-- * Extension Support
15+
glGetEXTExternalBuffer,
16+
gl_EXT_external_buffer,
17+
-- * Functions
18+
glBufferStorageExternalEXT,
19+
glNamedBufferStorageExternalEXT
20+
) where
21+
22+
import Graphics.GL.ExtensionPredicates
23+
import Graphics.GL.Functions

src/Graphics/GL/EXT/MemoryObject.hs

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{-# LANGUAGE PatternSynonyms #-}
2+
--------------------------------------------------------------------------------
3+
-- |
4+
-- Module : Graphics.GL.EXT.MemoryObject
5+
-- Copyright : (c) Sven Panne 2016
6+
-- License : BSD3
7+
--
8+
-- Maintainer : Sven Panne <[email protected]>
9+
-- Stability : stable
10+
-- Portability : portable
11+
--
12+
--------------------------------------------------------------------------------
13+
14+
module Graphics.GL.EXT.MemoryObject (
15+
-- * Extension Support
16+
glGetEXTMemoryObject,
17+
gl_EXT_memory_object,
18+
-- * Enums
19+
pattern GL_DEDICATED_MEMORY_OBJECT_EXT,
20+
pattern GL_DEVICE_UUID_EXT,
21+
pattern GL_DRIVER_UUID_EXT,
22+
pattern GL_LINEAR_TILING_EXT,
23+
pattern GL_NUM_DEVICE_UUIDS_EXT,
24+
pattern GL_NUM_TILING_TYPES_EXT,
25+
pattern GL_OPTIMAL_TILING_EXT,
26+
pattern GL_PROTECTED_MEMORY_OBJECT_EXT,
27+
pattern GL_TEXTURE_TILING_EXT,
28+
pattern GL_TILING_TYPES_EXT,
29+
pattern GL_UUID_SIZE_EXT,
30+
-- * Functions
31+
glBufferStorageMemEXT,
32+
glCreateMemoryObjectsEXT,
33+
glDeleteMemoryObjectsEXT,
34+
glGetMemoryObjectParameterivEXT,
35+
glGetUnsignedBytei_vEXT,
36+
glGetUnsignedBytevEXT,
37+
glIsMemoryObjectEXT,
38+
glMemoryObjectParameterivEXT,
39+
glNamedBufferStorageMemEXT,
40+
glTexStorageMem1DEXT,
41+
glTexStorageMem2DEXT,
42+
glTexStorageMem2DMultisampleEXT,
43+
glTexStorageMem3DEXT,
44+
glTexStorageMem3DMultisampleEXT,
45+
glTextureStorageMem1DEXT,
46+
glTextureStorageMem2DEXT,
47+
glTextureStorageMem2DMultisampleEXT,
48+
glTextureStorageMem3DEXT,
49+
glTextureStorageMem3DMultisampleEXT
50+
) where
51+
52+
import Graphics.GL.ExtensionPredicates
53+
import Graphics.GL.Tokens
54+
import Graphics.GL.Functions

0 commit comments

Comments
 (0)