Skip to content

Commit 667a393

Browse files
committed
Updated OpenGL registry to r31903. Bumped version to 2.5.3.0.
1 parent 1c5d045 commit 667a393

File tree

5 files changed

+73
-2
lines changed

5 files changed

+73
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.5.3.0
2+
-------
3+
* Updated OpenGL registry to r31903.
4+
* Added `GL_EXT_multisampled_compatibility` tokens and functions (gles2 extension only).
5+
16
2.5.2.1
27
-------
38
* Added CHANGELOG.md to distribution.

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: 2.5.2.1
2+
version: 2.5.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.5 graphics system and

src/Graphics/Rendering/OpenGL/Raw/Functions.hs

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ module Graphics.Rendering.OpenGL.Raw.Functions (
7575
glBindFragDataLocation,
7676
glBindFragDataLocationEXT,
7777
glBindFragDataLocationIndexed,
78+
glBindFragDataLocationIndexedEXT,
7879
glBindFragmentShaderATI,
7980
glBindFramebuffer,
8081
glBindFramebufferEXT,
@@ -902,6 +903,7 @@ module Graphics.Rendering.OpenGL.Raw.Functions (
902903
glGetFloatv,
903904
glGetFogFuncSGIS,
904905
glGetFragDataIndex,
906+
glGetFragDataIndexEXT,
905907
glGetFragDataLocation,
906908
glGetFragDataLocationEXT,
907909
glGetFragmentLightfvSGIX,
@@ -1085,6 +1087,7 @@ module Graphics.Rendering.OpenGL.Raw.Functions (
10851087
glGetProgramResourceIndex,
10861088
glGetProgramResourceLocation,
10871089
glGetProgramResourceLocationIndex,
1090+
glGetProgramResourceLocationIndexEXT,
10881091
glGetProgramResourceName,
10891092
glGetProgramResourcefvNV,
10901093
glGetProgramResourceiv,
@@ -4006,6 +4009,21 @@ glBindFragDataLocationIndexed v1 v2 v3 v4 = liftIO $ dyn24 ptr_glBindFragDataLoc
40064009
ptr_glBindFragDataLocationIndexed :: FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ())
40074010
ptr_glBindFragDataLocationIndexed = unsafePerformIO $ getCommand "glBindFragDataLocationIndexed"
40084011

4012+
-- glBindFragDataLocationIndexedEXT --------------------------------------------
4013+
4014+
glBindFragDataLocationIndexedEXT
4015+
:: MonadIO m
4016+
=> GLuint -- ^ @program@.
4017+
-> GLuint -- ^ @colorNumber@.
4018+
-> GLuint -- ^ @index@.
4019+
-> Ptr GLchar -- ^ @name@.
4020+
-> m ()
4021+
glBindFragDataLocationIndexedEXT v1 v2 v3 v4 = liftIO $ dyn24 ptr_glBindFragDataLocationIndexedEXT v1 v2 v3 v4
4022+
4023+
{-# NOINLINE ptr_glBindFragDataLocationIndexedEXT #-}
4024+
ptr_glBindFragDataLocationIndexedEXT :: FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ())
4025+
ptr_glBindFragDataLocationIndexedEXT = unsafePerformIO $ getCommand "glBindFragDataLocationIndexedEXT"
4026+
40094027
-- glBindFragmentShaderATI -----------------------------------------------------
40104028

40114029
glBindFragmentShaderATI
@@ -16199,6 +16217,19 @@ glGetFragDataIndex v1 v2 = liftIO $ dyn306 ptr_glGetFragDataIndex v1 v2
1619916217
ptr_glGetFragDataIndex :: FunPtr (GLuint -> Ptr GLchar -> IO GLint)
1620016218
ptr_glGetFragDataIndex = unsafePerformIO $ getCommand "glGetFragDataIndex"
1620116219

16220+
-- glGetFragDataIndexEXT -------------------------------------------------------
16221+
16222+
glGetFragDataIndexEXT
16223+
:: MonadIO m
16224+
=> GLuint -- ^ @program@.
16225+
-> Ptr GLchar -- ^ @name@.
16226+
-> m GLint
16227+
glGetFragDataIndexEXT v1 v2 = liftIO $ dyn306 ptr_glGetFragDataIndexEXT v1 v2
16228+
16229+
{-# NOINLINE ptr_glGetFragDataIndexEXT #-}
16230+
ptr_glGetFragDataIndexEXT :: FunPtr (GLuint -> Ptr GLchar -> IO GLint)
16231+
ptr_glGetFragDataIndexEXT = unsafePerformIO $ getCommand "glGetFragDataIndexEXT"
16232+
1620216233
-- glGetFragDataLocation -------------------------------------------------------
1620316234

1620416235
-- | Manual pages for <https://www.opengl.org/sdk/docs/man3/xhtml/glGetFragDataLocation.xml OpenGL 3.x> or <https://www.opengl.org/sdk/docs/man4/html/glGetFragDataLocation.xhtml OpenGL 4.x>
@@ -18882,6 +18913,20 @@ glGetProgramResourceLocationIndex v1 v2 v3 = liftIO $ dyn392 ptr_glGetProgramRes
1888218913
ptr_glGetProgramResourceLocationIndex :: FunPtr (GLuint -> GLenum -> Ptr GLchar -> IO GLint)
1888318914
ptr_glGetProgramResourceLocationIndex = unsafePerformIO $ getCommand "glGetProgramResourceLocationIndex"
1888418915

18916+
-- glGetProgramResourceLocationIndexEXT ----------------------------------------
18917+
18918+
glGetProgramResourceLocationIndexEXT
18919+
:: MonadIO m
18920+
=> GLuint -- ^ @program@.
18921+
-> GLenum -- ^ @programInterface@.
18922+
-> Ptr GLchar -- ^ @name@ pointing to @COMPSIZE(name)@ elements of type @GLchar@.
18923+
-> m GLint
18924+
glGetProgramResourceLocationIndexEXT v1 v2 v3 = liftIO $ dyn392 ptr_glGetProgramResourceLocationIndexEXT v1 v2 v3
18925+
18926+
{-# NOINLINE ptr_glGetProgramResourceLocationIndexEXT #-}
18927+
ptr_glGetProgramResourceLocationIndexEXT :: FunPtr (GLuint -> GLenum -> Ptr GLchar -> IO GLint)
18928+
ptr_glGetProgramResourceLocationIndexEXT = unsafePerformIO $ getCommand "glGetProgramResourceLocationIndexEXT"
18929+
1888518930
-- glGetProgramResourceName ----------------------------------------------------
1888618931

1888718932
-- | Manual page for <https://www.opengl.org/sdk/docs/man4/html/glGetProgramResourceName.xhtml OpenGL 4.x>

src/Graphics/Rendering/OpenGL/Raw/Tokens.hs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6701,6 +6701,9 @@ gl_LOCATION_COMPONENT = 0x934A
67016701
gl_LOCATION_INDEX :: GLenum
67026702
gl_LOCATION_INDEX = 0x930F
67036703

6704+
gl_LOCATION_INDEX_EXT :: GLenum
6705+
gl_LOCATION_INDEX_EXT = 0x930F
6706+
67046707
gl_LOGIC_OP :: GLenum
67056708
gl_LOGIC_OP = 0x0BF1
67066709

@@ -7661,6 +7664,9 @@ gl_MAX_DRAW_BUFFERS_NV = 0x8824
76617664
gl_MAX_DUAL_SOURCE_DRAW_BUFFERS :: GLenum
76627665
gl_MAX_DUAL_SOURCE_DRAW_BUFFERS = 0x88FC
76637666

7667+
gl_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT :: GLenum
7668+
gl_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT = 0x88FC
7669+
76647670
gl_MAX_ELEMENTS_INDICES :: GLenum
76657671
gl_MAX_ELEMENTS_INDICES = 0x80E9
76667672

@@ -9431,9 +9437,15 @@ gl_ONE_MINUS_DST_COLOR = 0x0307
94319437
gl_ONE_MINUS_SRC1_ALPHA :: GLenum
94329438
gl_ONE_MINUS_SRC1_ALPHA = 0x88FB
94339439

9440+
gl_ONE_MINUS_SRC1_ALPHA_EXT :: GLenum
9441+
gl_ONE_MINUS_SRC1_ALPHA_EXT = 0x88FB
9442+
94349443
gl_ONE_MINUS_SRC1_COLOR :: GLenum
94359444
gl_ONE_MINUS_SRC1_COLOR = 0x88FA
94369445

9446+
gl_ONE_MINUS_SRC1_COLOR_EXT :: GLenum
9447+
gl_ONE_MINUS_SRC1_COLOR_EXT = 0x88FA
9448+
94379449
gl_ONE_MINUS_SRC_ALPHA :: GLenum
94389450
gl_ONE_MINUS_SRC_ALPHA = 0x0303
94399451

@@ -13181,9 +13193,15 @@ gl_SRC0_RGB = 0x8580
1318113193
gl_SRC1_ALPHA :: GLenum
1318213194
gl_SRC1_ALPHA = 0x8589
1318313195

13196+
gl_SRC1_ALPHA_EXT :: GLenum
13197+
gl_SRC1_ALPHA_EXT = 0x8589
13198+
1318413199
gl_SRC1_COLOR :: GLenum
1318513200
gl_SRC1_COLOR = 0x88F9
1318613201

13202+
gl_SRC1_COLOR_EXT :: GLenum
13203+
gl_SRC1_COLOR_EXT = 0x88F9
13204+
1318713205
gl_SRC1_RGB :: GLenum
1318813206
gl_SRC1_RGB = 0x8581
1318913207

@@ -13199,6 +13217,9 @@ gl_SRC_ALPHA = 0x0302
1319913217
gl_SRC_ALPHA_SATURATE :: GLenum
1320013218
gl_SRC_ALPHA_SATURATE = 0x0308
1320113219

13220+
gl_SRC_ALPHA_SATURATE_EXT :: GLenum
13221+
gl_SRC_ALPHA_SATURATE_EXT = 0x0308
13222+
1320213223
gl_SRC_ATOP_NV :: GLenum
1320313224
gl_SRC_ATOP_NV = 0x928E
1320413225

0 commit comments

Comments
 (0)