opengl-bindings 1.3.9 → 1.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +9 -0
- data/README.md +1 -1
- data/lib/glu.rb +7 -1
- data/lib/glut.rb +6 -3
- data/lib/opengl_command.rb +28 -0
- data/lib/opengl_common.rb +7 -1
- data/lib/opengl_enum.rb +4 -0
- data/lib/opengl_es_ext_command.rb +12 -0
- data/lib/opengl_es_ext_enum.rb +28 -0
- data/lib/opengl_ext_command.rb +188 -3
- data/lib/opengl_ext_enum.rb +96 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94adbfaf46e4d1e3dc88ca896db856c946b878c3
|
4
|
+
data.tar.gz: 1c4038b73d6e205fa466e6239e189390fdefcd85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 971e76814056d333e4debefcadb5fe3ab08d18de5b8cd4ce88a3d6a078476fab3a03cce1a90394bf8e9bd6ad34c4b2db1519ce507c22ac0203e5dc7845fc6fdb
|
7
|
+
data.tar.gz: 030cd1fa7fc96943347dcaa5678173f5661eb094600bc28d02206c8763eede3f9dcdced7274357443a6e6fdf7d9c415520fa0dd6fe4e51c23ecf10638ba2ddae
|
data/ChangeLog
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
2014-10-04 vaiorabbit <https://twitter.com/vaiorabbit>
|
2
|
+
|
3
|
+
* Updated using latest gl.xml.
|
4
|
+
* Applied the changes by hramrach (https://github.com/vaiorabbit/ruby-opengl/pull/4).
|
5
|
+
|
6
|
+
2014-09-10 vaiorabbit <https://twitter.com/vaiorabbit>
|
7
|
+
|
8
|
+
* Updated using latest gl.xml.
|
9
|
+
|
1
10
|
2014-08-12 vaiorabbit <https://twitter.com/vaiorabbit>
|
2
11
|
|
3
12
|
* OpenGL 4.5
|
data/README.md
CHANGED
data/lib/glu.rb
CHANGED
@@ -257,9 +257,15 @@ module GLU
|
|
257
257
|
lib, path = 'GLU32.dll', 'C:/Windows/System32'
|
258
258
|
when :OPENGL_PLATFORM_MACOSX
|
259
259
|
lib, path = 'libGLU.dylib', '/System/Library/Frameworks/OpenGL.framework/Libraries'
|
260
|
+
else
|
261
|
+
lib = 'libGLU.so'
|
260
262
|
end
|
261
263
|
end
|
262
|
-
|
264
|
+
if path
|
265
|
+
dlload (path + '/' + lib)
|
266
|
+
else
|
267
|
+
dlload (lib)
|
268
|
+
end
|
263
269
|
import_symbols() unless @@glu_import_done
|
264
270
|
end
|
265
271
|
|
data/lib/glut.rb
CHANGED
@@ -270,11 +270,14 @@ module GLUT
|
|
270
270
|
when :OPENGL_PLATFORM_MACOSX
|
271
271
|
lib, path = 'GLUT', '/System/Library/Frameworks/GLUT.framework'
|
272
272
|
else
|
273
|
-
lib, path = 'libglut.so'
|
273
|
+
lib, path = 'libglut.so'
|
274
274
|
end
|
275
275
|
end
|
276
|
-
|
277
|
-
|
276
|
+
if path
|
277
|
+
dlload (path + '/' + lib)
|
278
|
+
else
|
279
|
+
dlload (lib)
|
280
|
+
end
|
278
281
|
import_symbols() unless @@glut_import_done
|
279
282
|
end
|
280
283
|
|
data/lib/opengl_command.rb
CHANGED
@@ -7120,6 +7120,34 @@ module OpenGL
|
|
7120
7120
|
f.call(_target_, _n_, _ids_)
|
7121
7121
|
end
|
7122
7122
|
|
7123
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryBufferObjecti64v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T]
|
7124
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryBufferObjecti64v] = Fiddle::TYPE_VOID
|
7125
|
+
def glGetQueryBufferObjecti64v(_id_, _buffer_, _pname_, _offset_)
|
7126
|
+
f = OpenGL::get_command(:glGetQueryBufferObjecti64v)
|
7127
|
+
f.call(_id_, _buffer_, _pname_, _offset_)
|
7128
|
+
end
|
7129
|
+
|
7130
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryBufferObjectiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T]
|
7131
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryBufferObjectiv] = Fiddle::TYPE_VOID
|
7132
|
+
def glGetQueryBufferObjectiv(_id_, _buffer_, _pname_, _offset_)
|
7133
|
+
f = OpenGL::get_command(:glGetQueryBufferObjectiv)
|
7134
|
+
f.call(_id_, _buffer_, _pname_, _offset_)
|
7135
|
+
end
|
7136
|
+
|
7137
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryBufferObjectui64v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T]
|
7138
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryBufferObjectui64v] = Fiddle::TYPE_VOID
|
7139
|
+
def glGetQueryBufferObjectui64v(_id_, _buffer_, _pname_, _offset_)
|
7140
|
+
f = OpenGL::get_command(:glGetQueryBufferObjectui64v)
|
7141
|
+
f.call(_id_, _buffer_, _pname_, _offset_)
|
7142
|
+
end
|
7143
|
+
|
7144
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryBufferObjectuiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T]
|
7145
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryBufferObjectuiv] = Fiddle::TYPE_VOID
|
7146
|
+
def glGetQueryBufferObjectuiv(_id_, _buffer_, _pname_, _offset_)
|
7147
|
+
f = OpenGL::get_command(:glGetQueryBufferObjectuiv)
|
7148
|
+
f.call(_id_, _buffer_, _pname_, _offset_)
|
7149
|
+
end
|
7150
|
+
|
7123
7151
|
GL_FUNCTIONS_ARGS_MAP[:glMemoryBarrierByRegion] = [-Fiddle::TYPE_INT]
|
7124
7152
|
GL_FUNCTIONS_RETVAL_MAP[:glMemoryBarrierByRegion] = Fiddle::TYPE_VOID
|
7125
7153
|
def glMemoryBarrierByRegion(_barriers_)
|
data/lib/opengl_common.rb
CHANGED
@@ -12,9 +12,15 @@ module OpenGL
|
|
12
12
|
lib, path = 'opengl32.dll', 'C:/Windows/System32'
|
13
13
|
when :OPENGL_PLATFORM_MACOSX
|
14
14
|
lib, path = 'libGL.dylib','/System/Library/Frameworks/OpenGL.framework/Libraries'
|
15
|
+
else
|
16
|
+
lib = 'libGL.so'
|
15
17
|
end
|
16
18
|
end
|
17
|
-
|
19
|
+
if path
|
20
|
+
@@gl_dll = Fiddle.dlopen( path + '/' + lib )
|
21
|
+
else
|
22
|
+
@@gl_dll = Fiddle.dlopen( lib )
|
23
|
+
end
|
18
24
|
end
|
19
25
|
|
20
26
|
def self.get_command( sym )
|
data/lib/opengl_enum.rb
CHANGED
@@ -1350,6 +1350,10 @@ module OpenGL
|
|
1350
1350
|
GL_LAYER_PROVOKING_VERTEX = 0x825E
|
1351
1351
|
GL_VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F
|
1352
1352
|
GL_UNDEFINED_VERTEX = 0x8260
|
1353
|
+
GL_COPY_READ_BUFFER_BINDING = 0x8F36
|
1354
|
+
GL_COPY_WRITE_BUFFER_BINDING = 0x8F37
|
1355
|
+
GL_TRANSFORM_FEEDBACK_ACTIVE = 0x8E24
|
1356
|
+
GL_TRANSFORM_FEEDBACK_PAUSED = 0x8E23
|
1353
1357
|
GL_UNPACK_COMPRESSED_BLOCK_WIDTH = 0x9127
|
1354
1358
|
GL_UNPACK_COMPRESSED_BLOCK_HEIGHT = 0x9128
|
1355
1359
|
GL_UNPACK_COMPRESSED_BLOCK_DEPTH = 0x9129
|
@@ -201,6 +201,12 @@ module OpenGL
|
|
201
201
|
SRC_GL_ANGLE_translated_shader_source
|
202
202
|
end # define_ext_command_GL_ANGLE_translated_shader_source
|
203
203
|
|
204
|
+
def define_ext_command_GL_APPLE_clip_distance
|
205
|
+
end # define_ext_command_GL_APPLE_clip_distance
|
206
|
+
|
207
|
+
def define_ext_command_GL_APPLE_color_buffer_packed_float
|
208
|
+
end # define_ext_command_GL_APPLE_color_buffer_packed_float
|
209
|
+
|
204
210
|
def define_ext_command_GL_APPLE_copy_texture_levels
|
205
211
|
GL_FUNCTIONS_ARGS_MAP[:glCopyTextureLevelsAPPLE] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
206
212
|
GL_FUNCTIONS_RETVAL_MAP[:glCopyTextureLevelsAPPLE] = Fiddle::TYPE_VOID
|
@@ -306,6 +312,9 @@ module OpenGL
|
|
306
312
|
def define_ext_command_GL_APPLE_texture_max_level
|
307
313
|
end # define_ext_command_GL_APPLE_texture_max_level
|
308
314
|
|
315
|
+
def define_ext_command_GL_APPLE_texture_packed_float
|
316
|
+
end # define_ext_command_GL_APPLE_texture_packed_float
|
317
|
+
|
309
318
|
def define_ext_command_GL_ARM_mali_program_binary
|
310
319
|
end # define_ext_command_GL_ARM_mali_program_binary
|
311
320
|
|
@@ -321,6 +330,9 @@ module OpenGL
|
|
321
330
|
def define_ext_command_GL_ARM_shader_framebuffer_fetch_depth_stencil
|
322
331
|
end # define_ext_command_GL_ARM_shader_framebuffer_fetch_depth_stencil
|
323
332
|
|
333
|
+
def define_ext_command_GL_DMP_program_binary
|
334
|
+
end # define_ext_command_GL_DMP_program_binary
|
335
|
+
|
324
336
|
def define_ext_command_GL_DMP_shader_binary
|
325
337
|
end # define_ext_command_GL_DMP_shader_binary
|
326
338
|
|
data/lib/opengl_es_ext_enum.rb
CHANGED
@@ -87,6 +87,21 @@ module OpenGL
|
|
87
87
|
const_set('GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE', 0x93A0) unless defined?(GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE)
|
88
88
|
end # define_ext_enum_GL_ANGLE_translated_shader_source
|
89
89
|
|
90
|
+
def define_ext_enum_GL_APPLE_clip_distance
|
91
|
+
const_set('GL_MAX_CLIP_DISTANCES_APPLE', 0x0D32) unless defined?(GL_MAX_CLIP_DISTANCES_APPLE)
|
92
|
+
const_set('GL_CLIP_DISTANCE0_APPLE', 0x3000) unless defined?(GL_CLIP_DISTANCE0_APPLE)
|
93
|
+
const_set('GL_CLIP_DISTANCE1_APPLE', 0x3001) unless defined?(GL_CLIP_DISTANCE1_APPLE)
|
94
|
+
const_set('GL_CLIP_DISTANCE2_APPLE', 0x3002) unless defined?(GL_CLIP_DISTANCE2_APPLE)
|
95
|
+
const_set('GL_CLIP_DISTANCE3_APPLE', 0x3003) unless defined?(GL_CLIP_DISTANCE3_APPLE)
|
96
|
+
const_set('GL_CLIP_DISTANCE4_APPLE', 0x3004) unless defined?(GL_CLIP_DISTANCE4_APPLE)
|
97
|
+
const_set('GL_CLIP_DISTANCE5_APPLE', 0x3005) unless defined?(GL_CLIP_DISTANCE5_APPLE)
|
98
|
+
const_set('GL_CLIP_DISTANCE6_APPLE', 0x3006) unless defined?(GL_CLIP_DISTANCE6_APPLE)
|
99
|
+
const_set('GL_CLIP_DISTANCE7_APPLE', 0x3007) unless defined?(GL_CLIP_DISTANCE7_APPLE)
|
100
|
+
end # define_ext_enum_GL_APPLE_clip_distance
|
101
|
+
|
102
|
+
def define_ext_enum_GL_APPLE_color_buffer_packed_float
|
103
|
+
end # define_ext_enum_GL_APPLE_color_buffer_packed_float
|
104
|
+
|
90
105
|
def define_ext_enum_GL_APPLE_copy_texture_levels
|
91
106
|
end # define_ext_enum_GL_APPLE_copy_texture_levels
|
92
107
|
|
@@ -135,6 +150,13 @@ module OpenGL
|
|
135
150
|
const_set('GL_TEXTURE_MAX_LEVEL_APPLE', 0x813D) unless defined?(GL_TEXTURE_MAX_LEVEL_APPLE)
|
136
151
|
end # define_ext_enum_GL_APPLE_texture_max_level
|
137
152
|
|
153
|
+
def define_ext_enum_GL_APPLE_texture_packed_float
|
154
|
+
const_set('GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE', 0x8C3B) unless defined?(GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE)
|
155
|
+
const_set('GL_UNSIGNED_INT_5_9_9_9_REV_APPLE', 0x8C3E) unless defined?(GL_UNSIGNED_INT_5_9_9_9_REV_APPLE)
|
156
|
+
const_set('GL_R11F_G11F_B10F_APPLE', 0x8C3A) unless defined?(GL_R11F_G11F_B10F_APPLE)
|
157
|
+
const_set('GL_RGB9_E5_APPLE', 0x8C3D) unless defined?(GL_RGB9_E5_APPLE)
|
158
|
+
end # define_ext_enum_GL_APPLE_texture_packed_float
|
159
|
+
|
138
160
|
def define_ext_enum_GL_ARM_mali_program_binary
|
139
161
|
const_set('GL_MALI_PROGRAM_BINARY_ARM', 0x8F61) unless defined?(GL_MALI_PROGRAM_BINARY_ARM)
|
140
162
|
end # define_ext_enum_GL_ARM_mali_program_binary
|
@@ -154,6 +176,12 @@ module OpenGL
|
|
154
176
|
def define_ext_enum_GL_ARM_shader_framebuffer_fetch_depth_stencil
|
155
177
|
end # define_ext_enum_GL_ARM_shader_framebuffer_fetch_depth_stencil
|
156
178
|
|
179
|
+
def define_ext_enum_GL_DMP_program_binary
|
180
|
+
const_set('GL_SMAPHS30_PROGRAM_BINARY_DMP', 0x9251) unless defined?(GL_SMAPHS30_PROGRAM_BINARY_DMP)
|
181
|
+
const_set('GL_SMAPHS_PROGRAM_BINARY_DMP', 0x9252) unless defined?(GL_SMAPHS_PROGRAM_BINARY_DMP)
|
182
|
+
const_set('GL_DMP_PROGRAM_BINARY_DMP', 0x9253) unless defined?(GL_DMP_PROGRAM_BINARY_DMP)
|
183
|
+
end # define_ext_enum_GL_DMP_program_binary
|
184
|
+
|
157
185
|
def define_ext_enum_GL_DMP_shader_binary
|
158
186
|
const_set('GL_SHADER_BINARY_DMP', 0x9250) unless defined?(GL_SHADER_BINARY_DMP)
|
159
187
|
end # define_ext_enum_GL_DMP_shader_binary
|
data/lib/opengl_ext_command.rb
CHANGED
@@ -2332,6 +2332,42 @@ module OpenGL
|
|
2332
2332
|
f.call(_target_, _n_, _ids_)
|
2333
2333
|
end
|
2334
2334
|
SRC_GL_ARB_direct_state_access
|
2335
|
+
|
2336
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryBufferObjecti64v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T]
|
2337
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryBufferObjecti64v] = Fiddle::TYPE_VOID
|
2338
|
+
module_eval(<<-SRC_GL_ARB_direct_state_access)
|
2339
|
+
def glGetQueryBufferObjecti64v(_id_, _buffer_, _pname_, _offset_)
|
2340
|
+
f = OpenGL::get_command(:glGetQueryBufferObjecti64v)
|
2341
|
+
f.call(_id_, _buffer_, _pname_, _offset_)
|
2342
|
+
end
|
2343
|
+
SRC_GL_ARB_direct_state_access
|
2344
|
+
|
2345
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryBufferObjectiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T]
|
2346
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryBufferObjectiv] = Fiddle::TYPE_VOID
|
2347
|
+
module_eval(<<-SRC_GL_ARB_direct_state_access)
|
2348
|
+
def glGetQueryBufferObjectiv(_id_, _buffer_, _pname_, _offset_)
|
2349
|
+
f = OpenGL::get_command(:glGetQueryBufferObjectiv)
|
2350
|
+
f.call(_id_, _buffer_, _pname_, _offset_)
|
2351
|
+
end
|
2352
|
+
SRC_GL_ARB_direct_state_access
|
2353
|
+
|
2354
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryBufferObjectui64v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T]
|
2355
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryBufferObjectui64v] = Fiddle::TYPE_VOID
|
2356
|
+
module_eval(<<-SRC_GL_ARB_direct_state_access)
|
2357
|
+
def glGetQueryBufferObjectui64v(_id_, _buffer_, _pname_, _offset_)
|
2358
|
+
f = OpenGL::get_command(:glGetQueryBufferObjectui64v)
|
2359
|
+
f.call(_id_, _buffer_, _pname_, _offset_)
|
2360
|
+
end
|
2361
|
+
SRC_GL_ARB_direct_state_access
|
2362
|
+
|
2363
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryBufferObjectuiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T]
|
2364
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryBufferObjectuiv] = Fiddle::TYPE_VOID
|
2365
|
+
module_eval(<<-SRC_GL_ARB_direct_state_access)
|
2366
|
+
def glGetQueryBufferObjectuiv(_id_, _buffer_, _pname_, _offset_)
|
2367
|
+
f = OpenGL::get_command(:glGetQueryBufferObjectuiv)
|
2368
|
+
f.call(_id_, _buffer_, _pname_, _offset_)
|
2369
|
+
end
|
2370
|
+
SRC_GL_ARB_direct_state_access
|
2335
2371
|
end # define_ext_command_GL_ARB_direct_state_access
|
2336
2372
|
|
2337
2373
|
def define_ext_command_GL_ARB_draw_buffers
|
@@ -5618,7 +5654,7 @@ module OpenGL
|
|
5618
5654
|
end # define_ext_command_GL_ARB_shadow_ambient
|
5619
5655
|
|
5620
5656
|
def define_ext_command_GL_ARB_sparse_buffer
|
5621
|
-
GL_FUNCTIONS_ARGS_MAP[:glBufferPageCommitmentARB] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::
|
5657
|
+
GL_FUNCTIONS_ARGS_MAP[:glBufferPageCommitmentARB] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_CHAR]
|
5622
5658
|
GL_FUNCTIONS_RETVAL_MAP[:glBufferPageCommitmentARB] = Fiddle::TYPE_VOID
|
5623
5659
|
module_eval(<<-SRC_GL_ARB_sparse_buffer)
|
5624
5660
|
def glBufferPageCommitmentARB(_target_, _offset_, _size_, _commit_)
|
@@ -5627,7 +5663,7 @@ module OpenGL
|
|
5627
5663
|
end
|
5628
5664
|
SRC_GL_ARB_sparse_buffer
|
5629
5665
|
|
5630
|
-
GL_FUNCTIONS_ARGS_MAP[:glNamedBufferPageCommitmentEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::
|
5666
|
+
GL_FUNCTIONS_ARGS_MAP[:glNamedBufferPageCommitmentEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_CHAR]
|
5631
5667
|
GL_FUNCTIONS_RETVAL_MAP[:glNamedBufferPageCommitmentEXT] = Fiddle::TYPE_VOID
|
5632
5668
|
module_eval(<<-SRC_GL_ARB_sparse_buffer)
|
5633
5669
|
def glNamedBufferPageCommitmentEXT(_buffer_, _offset_, _size_, _commit_)
|
@@ -5636,7 +5672,7 @@ module OpenGL
|
|
5636
5672
|
end
|
5637
5673
|
SRC_GL_ARB_sparse_buffer
|
5638
5674
|
|
5639
|
-
GL_FUNCTIONS_ARGS_MAP[:glNamedBufferPageCommitmentARB] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::
|
5675
|
+
GL_FUNCTIONS_ARGS_MAP[:glNamedBufferPageCommitmentARB] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_CHAR]
|
5640
5676
|
GL_FUNCTIONS_RETVAL_MAP[:glNamedBufferPageCommitmentARB] = Fiddle::TYPE_VOID
|
5641
5677
|
module_eval(<<-SRC_GL_ARB_sparse_buffer)
|
5642
5678
|
def glNamedBufferPageCommitmentARB(_buffer_, _offset_, _size_, _commit_)
|
@@ -12696,6 +12732,20 @@ module OpenGL
|
|
12696
12732
|
SRC_GL_EXT_polygon_offset
|
12697
12733
|
end # define_ext_command_GL_EXT_polygon_offset
|
12698
12734
|
|
12735
|
+
def define_ext_command_GL_EXT_polygon_offset_clamp
|
12736
|
+
GL_FUNCTIONS_ARGS_MAP[:glPolygonOffsetClampEXT] = [Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
12737
|
+
GL_FUNCTIONS_RETVAL_MAP[:glPolygonOffsetClampEXT] = Fiddle::TYPE_VOID
|
12738
|
+
module_eval(<<-SRC_GL_EXT_polygon_offset_clamp)
|
12739
|
+
def glPolygonOffsetClampEXT(_factor_, _units_, _clamp_)
|
12740
|
+
f = OpenGL::get_command(:glPolygonOffsetClampEXT)
|
12741
|
+
f.call(_factor_, _units_, _clamp_)
|
12742
|
+
end
|
12743
|
+
SRC_GL_EXT_polygon_offset_clamp
|
12744
|
+
end # define_ext_command_GL_EXT_polygon_offset_clamp
|
12745
|
+
|
12746
|
+
def define_ext_command_GL_EXT_post_depth_coverage
|
12747
|
+
end # define_ext_command_GL_EXT_post_depth_coverage
|
12748
|
+
|
12699
12749
|
def define_ext_command_GL_EXT_provoking_vertex
|
12700
12750
|
GL_FUNCTIONS_ARGS_MAP[:glProvokingVertexEXT] = [-Fiddle::TYPE_INT]
|
12701
12751
|
GL_FUNCTIONS_RETVAL_MAP[:glProvokingVertexEXT] = Fiddle::TYPE_VOID
|
@@ -12707,6 +12757,17 @@ module OpenGL
|
|
12707
12757
|
SRC_GL_EXT_provoking_vertex
|
12708
12758
|
end # define_ext_command_GL_EXT_provoking_vertex
|
12709
12759
|
|
12760
|
+
def define_ext_command_GL_EXT_raster_multisample
|
12761
|
+
GL_FUNCTIONS_ARGS_MAP[:glRasterSamplesEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
|
12762
|
+
GL_FUNCTIONS_RETVAL_MAP[:glRasterSamplesEXT] = Fiddle::TYPE_VOID
|
12763
|
+
module_eval(<<-SRC_GL_EXT_raster_multisample)
|
12764
|
+
def glRasterSamplesEXT(_samples_, _fixedsamplelocations_)
|
12765
|
+
f = OpenGL::get_command(:glRasterSamplesEXT)
|
12766
|
+
f.call(_samples_, _fixedsamplelocations_)
|
12767
|
+
end
|
12768
|
+
SRC_GL_EXT_raster_multisample
|
12769
|
+
end # define_ext_command_GL_EXT_raster_multisample
|
12770
|
+
|
12710
12771
|
def define_ext_command_GL_EXT_rescale_normal
|
12711
12772
|
end # define_ext_command_GL_EXT_rescale_normal
|
12712
12773
|
|
@@ -13325,6 +13386,9 @@ module OpenGL
|
|
13325
13386
|
def define_ext_command_GL_EXT_shared_texture_palette
|
13326
13387
|
end # define_ext_command_GL_EXT_shared_texture_palette
|
13327
13388
|
|
13389
|
+
def define_ext_command_GL_EXT_sparse_texture2
|
13390
|
+
end # define_ext_command_GL_EXT_sparse_texture2
|
13391
|
+
|
13328
13392
|
def define_ext_command_GL_EXT_stencil_clear_tag
|
13329
13393
|
GL_FUNCTIONS_ARGS_MAP[:glStencilClearTagEXT] = [Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
13330
13394
|
GL_FUNCTIONS_RETVAL_MAP[:glStencilClearTagEXT] = Fiddle::TYPE_VOID
|
@@ -13439,6 +13503,17 @@ module OpenGL
|
|
13439
13503
|
def define_ext_command_GL_EXT_texture_filter_anisotropic
|
13440
13504
|
end # define_ext_command_GL_EXT_texture_filter_anisotropic
|
13441
13505
|
|
13506
|
+
def define_ext_command_GL_EXT_texture_filter_minmax
|
13507
|
+
GL_FUNCTIONS_ARGS_MAP[:glRasterSamplesEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
|
13508
|
+
GL_FUNCTIONS_RETVAL_MAP[:glRasterSamplesEXT] = Fiddle::TYPE_VOID
|
13509
|
+
module_eval(<<-SRC_GL_EXT_texture_filter_minmax)
|
13510
|
+
def glRasterSamplesEXT(_samples_, _fixedsamplelocations_)
|
13511
|
+
f = OpenGL::get_command(:glRasterSamplesEXT)
|
13512
|
+
f.call(_samples_, _fixedsamplelocations_)
|
13513
|
+
end
|
13514
|
+
SRC_GL_EXT_texture_filter_minmax
|
13515
|
+
end # define_ext_command_GL_EXT_texture_filter_minmax
|
13516
|
+
|
13442
13517
|
def define_ext_command_GL_EXT_texture_integer
|
13443
13518
|
GL_FUNCTIONS_ARGS_MAP[:glTexParameterIivEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
13444
13519
|
GL_FUNCTIONS_RETVAL_MAP[:glTexParameterIivEXT] = Fiddle::TYPE_VOID
|
@@ -15433,6 +15508,17 @@ module OpenGL
|
|
15433
15508
|
SRC_GL_NV_conditional_render
|
15434
15509
|
end # define_ext_command_GL_NV_conditional_render
|
15435
15510
|
|
15511
|
+
def define_ext_command_GL_NV_conservative_raster
|
15512
|
+
GL_FUNCTIONS_ARGS_MAP[:glSubpixelPrecisionBiasNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
15513
|
+
GL_FUNCTIONS_RETVAL_MAP[:glSubpixelPrecisionBiasNV] = Fiddle::TYPE_VOID
|
15514
|
+
module_eval(<<-SRC_GL_NV_conservative_raster)
|
15515
|
+
def glSubpixelPrecisionBiasNV(_xbits_, _ybits_)
|
15516
|
+
f = OpenGL::get_command(:glSubpixelPrecisionBiasNV)
|
15517
|
+
f.call(_xbits_, _ybits_)
|
15518
|
+
end
|
15519
|
+
SRC_GL_NV_conservative_raster
|
15520
|
+
end # define_ext_command_GL_NV_conservative_raster
|
15521
|
+
|
15436
15522
|
def define_ext_command_GL_NV_copy_depth_to_color
|
15437
15523
|
end # define_ext_command_GL_NV_copy_depth_to_color
|
15438
15524
|
|
@@ -15670,12 +15756,26 @@ module OpenGL
|
|
15670
15756
|
SRC_GL_NV_fence
|
15671
15757
|
end # define_ext_command_GL_NV_fence
|
15672
15758
|
|
15759
|
+
def define_ext_command_GL_NV_fill_rectangle
|
15760
|
+
end # define_ext_command_GL_NV_fill_rectangle
|
15761
|
+
|
15673
15762
|
def define_ext_command_GL_NV_float_buffer
|
15674
15763
|
end # define_ext_command_GL_NV_float_buffer
|
15675
15764
|
|
15676
15765
|
def define_ext_command_GL_NV_fog_distance
|
15677
15766
|
end # define_ext_command_GL_NV_fog_distance
|
15678
15767
|
|
15768
|
+
def define_ext_command_GL_NV_fragment_coverage_to_color
|
15769
|
+
GL_FUNCTIONS_ARGS_MAP[:glFragmentCoverageColorNV] = [-Fiddle::TYPE_INT]
|
15770
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFragmentCoverageColorNV] = Fiddle::TYPE_VOID
|
15771
|
+
module_eval(<<-SRC_GL_NV_fragment_coverage_to_color)
|
15772
|
+
def glFragmentCoverageColorNV(_color_)
|
15773
|
+
f = OpenGL::get_command(:glFragmentCoverageColorNV)
|
15774
|
+
f.call(_color_)
|
15775
|
+
end
|
15776
|
+
SRC_GL_NV_fragment_coverage_to_color
|
15777
|
+
end # define_ext_command_GL_NV_fragment_coverage_to_color
|
15778
|
+
|
15679
15779
|
def define_ext_command_GL_NV_fragment_program
|
15680
15780
|
GL_FUNCTIONS_ARGS_MAP[:glProgramNamedParameter4fNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
15681
15781
|
GL_FUNCTIONS_RETVAL_MAP[:glProgramNamedParameter4fNV] = Fiddle::TYPE_VOID
|
@@ -15741,6 +15841,47 @@ module OpenGL
|
|
15741
15841
|
def define_ext_command_GL_NV_fragment_program_option
|
15742
15842
|
end # define_ext_command_GL_NV_fragment_program_option
|
15743
15843
|
|
15844
|
+
def define_ext_command_GL_NV_fragment_shader_interlock
|
15845
|
+
end # define_ext_command_GL_NV_fragment_shader_interlock
|
15846
|
+
|
15847
|
+
def define_ext_command_GL_NV_framebuffer_mixed_samples
|
15848
|
+
GL_FUNCTIONS_ARGS_MAP[:glRasterSamplesEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR]
|
15849
|
+
GL_FUNCTIONS_RETVAL_MAP[:glRasterSamplesEXT] = Fiddle::TYPE_VOID
|
15850
|
+
module_eval(<<-SRC_GL_NV_framebuffer_mixed_samples)
|
15851
|
+
def glRasterSamplesEXT(_samples_, _fixedsamplelocations_)
|
15852
|
+
f = OpenGL::get_command(:glRasterSamplesEXT)
|
15853
|
+
f.call(_samples_, _fixedsamplelocations_)
|
15854
|
+
end
|
15855
|
+
SRC_GL_NV_framebuffer_mixed_samples
|
15856
|
+
|
15857
|
+
GL_FUNCTIONS_ARGS_MAP[:glCoverageModulationTableNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
15858
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCoverageModulationTableNV] = Fiddle::TYPE_VOID
|
15859
|
+
module_eval(<<-SRC_GL_NV_framebuffer_mixed_samples)
|
15860
|
+
def glCoverageModulationTableNV(_n_, _v_)
|
15861
|
+
f = OpenGL::get_command(:glCoverageModulationTableNV)
|
15862
|
+
f.call(_n_, _v_)
|
15863
|
+
end
|
15864
|
+
SRC_GL_NV_framebuffer_mixed_samples
|
15865
|
+
|
15866
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetCoverageModulationTableNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
15867
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetCoverageModulationTableNV] = Fiddle::TYPE_VOID
|
15868
|
+
module_eval(<<-SRC_GL_NV_framebuffer_mixed_samples)
|
15869
|
+
def glGetCoverageModulationTableNV(_bufsize_, _v_)
|
15870
|
+
f = OpenGL::get_command(:glGetCoverageModulationTableNV)
|
15871
|
+
f.call(_bufsize_, _v_)
|
15872
|
+
end
|
15873
|
+
SRC_GL_NV_framebuffer_mixed_samples
|
15874
|
+
|
15875
|
+
GL_FUNCTIONS_ARGS_MAP[:glCoverageModulationNV] = [-Fiddle::TYPE_INT]
|
15876
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCoverageModulationNV] = Fiddle::TYPE_VOID
|
15877
|
+
module_eval(<<-SRC_GL_NV_framebuffer_mixed_samples)
|
15878
|
+
def glCoverageModulationNV(_components_)
|
15879
|
+
f = OpenGL::get_command(:glCoverageModulationNV)
|
15880
|
+
f.call(_components_)
|
15881
|
+
end
|
15882
|
+
SRC_GL_NV_framebuffer_mixed_samples
|
15883
|
+
end # define_ext_command_GL_NV_framebuffer_mixed_samples
|
15884
|
+
|
15744
15885
|
def define_ext_command_GL_NV_framebuffer_multisample_coverage
|
15745
15886
|
GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisampleCoverageNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
15746
15887
|
GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisampleCoverageNV] = Fiddle::TYPE_VOID
|
@@ -15793,6 +15934,9 @@ module OpenGL
|
|
15793
15934
|
def define_ext_command_GL_NV_geometry_shader4
|
15794
15935
|
end # define_ext_command_GL_NV_geometry_shader4
|
15795
15936
|
|
15937
|
+
def define_ext_command_GL_NV_geometry_shader_passthrough
|
15938
|
+
end # define_ext_command_GL_NV_geometry_shader_passthrough
|
15939
|
+
|
15796
15940
|
def define_ext_command_GL_NV_gpu_program4
|
15797
15941
|
GL_FUNCTIONS_ARGS_MAP[:glProgramLocalParameterI4iNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
15798
15942
|
GL_FUNCTIONS_RETVAL_MAP[:glProgramLocalParameterI4iNV] = Fiddle::TYPE_VOID
|
@@ -17599,6 +17743,9 @@ module OpenGL
|
|
17599
17743
|
SRC_GL_NV_register_combiners
|
17600
17744
|
end # define_ext_command_GL_NV_register_combiners
|
17601
17745
|
|
17746
|
+
def define_ext_command_GL_NV_path_rendering_shared_edge
|
17747
|
+
end # define_ext_command_GL_NV_path_rendering_shared_edge
|
17748
|
+
|
17602
17749
|
def define_ext_command_GL_NV_register_combiners2
|
17603
17750
|
GL_FUNCTIONS_ARGS_MAP[:glCombinerStageParameterfvNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
17604
17751
|
GL_FUNCTIONS_RETVAL_MAP[:glCombinerStageParameterfvNV] = Fiddle::TYPE_VOID
|
@@ -17619,12 +17766,47 @@ module OpenGL
|
|
17619
17766
|
SRC_GL_NV_register_combiners2
|
17620
17767
|
end # define_ext_command_GL_NV_register_combiners2
|
17621
17768
|
|
17769
|
+
def define_ext_command_GL_NV_sample_locations
|
17770
|
+
GL_FUNCTIONS_ARGS_MAP[:glFramebufferSampleLocationsfvNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
17771
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFramebufferSampleLocationsfvNV] = Fiddle::TYPE_VOID
|
17772
|
+
module_eval(<<-SRC_GL_NV_sample_locations)
|
17773
|
+
def glFramebufferSampleLocationsfvNV(_target_, _start_, _count_, _v_)
|
17774
|
+
f = OpenGL::get_command(:glFramebufferSampleLocationsfvNV)
|
17775
|
+
f.call(_target_, _start_, _count_, _v_)
|
17776
|
+
end
|
17777
|
+
SRC_GL_NV_sample_locations
|
17778
|
+
|
17779
|
+
GL_FUNCTIONS_ARGS_MAP[:glNamedFramebufferSampleLocationsfvNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
17780
|
+
GL_FUNCTIONS_RETVAL_MAP[:glNamedFramebufferSampleLocationsfvNV] = Fiddle::TYPE_VOID
|
17781
|
+
module_eval(<<-SRC_GL_NV_sample_locations)
|
17782
|
+
def glNamedFramebufferSampleLocationsfvNV(_framebuffer_, _start_, _count_, _v_)
|
17783
|
+
f = OpenGL::get_command(:glNamedFramebufferSampleLocationsfvNV)
|
17784
|
+
f.call(_framebuffer_, _start_, _count_, _v_)
|
17785
|
+
end
|
17786
|
+
SRC_GL_NV_sample_locations
|
17787
|
+
|
17788
|
+
GL_FUNCTIONS_ARGS_MAP[:glResolveDepthValuesNV] = []
|
17789
|
+
GL_FUNCTIONS_RETVAL_MAP[:glResolveDepthValuesNV] = Fiddle::TYPE_VOID
|
17790
|
+
module_eval(<<-SRC_GL_NV_sample_locations)
|
17791
|
+
def glResolveDepthValuesNV()
|
17792
|
+
f = OpenGL::get_command(:glResolveDepthValuesNV)
|
17793
|
+
f.call()
|
17794
|
+
end
|
17795
|
+
SRC_GL_NV_sample_locations
|
17796
|
+
end # define_ext_command_GL_NV_sample_locations
|
17797
|
+
|
17798
|
+
def define_ext_command_GL_NV_sample_mask_override_coverage
|
17799
|
+
end # define_ext_command_GL_NV_sample_mask_override_coverage
|
17800
|
+
|
17622
17801
|
def define_ext_command_GL_NV_shader_atomic_counters
|
17623
17802
|
end # define_ext_command_GL_NV_shader_atomic_counters
|
17624
17803
|
|
17625
17804
|
def define_ext_command_GL_NV_shader_atomic_float
|
17626
17805
|
end # define_ext_command_GL_NV_shader_atomic_float
|
17627
17806
|
|
17807
|
+
def define_ext_command_GL_NV_shader_atomic_fp16_vector
|
17808
|
+
end # define_ext_command_GL_NV_shader_atomic_fp16_vector
|
17809
|
+
|
17628
17810
|
def define_ext_command_GL_NV_shader_atomic_int64
|
17629
17811
|
end # define_ext_command_GL_NV_shader_atomic_int64
|
17630
17812
|
|
@@ -18040,6 +18222,9 @@ module OpenGL
|
|
18040
18222
|
SRC_GL_NV_transform_feedback2
|
18041
18223
|
end # define_ext_command_GL_NV_transform_feedback2
|
18042
18224
|
|
18225
|
+
def define_ext_command_GL_NV_uniform_buffer_unified_memory
|
18226
|
+
end # define_ext_command_GL_NV_uniform_buffer_unified_memory
|
18227
|
+
|
18043
18228
|
def define_ext_command_GL_NV_vdpau_interop
|
18044
18229
|
GL_FUNCTIONS_ARGS_MAP[:glVDPAUInitNV] = [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
18045
18230
|
GL_FUNCTIONS_RETVAL_MAP[:glVDPAUInitNV] = Fiddle::TYPE_VOID
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -334,6 +334,7 @@ module OpenGL
|
|
334
334
|
end # define_ext_enum_GL_ARB_ES2_compatibility
|
335
335
|
|
336
336
|
def define_ext_enum_GL_ARB_ES3_1_compatibility
|
337
|
+
const_set('GL_BACK', 0x0405) unless defined?(GL_BACK)
|
337
338
|
end # define_ext_enum_GL_ARB_ES3_1_compatibility
|
338
339
|
|
339
340
|
def define_ext_enum_GL_ARB_ES3_compatibility
|
@@ -464,9 +465,7 @@ module OpenGL
|
|
464
465
|
end # define_ext_enum_GL_ARB_conservative_depth
|
465
466
|
|
466
467
|
def define_ext_enum_GL_ARB_copy_buffer
|
467
|
-
const_set('GL_COPY_READ_BUFFER_BINDING', 0x8F36) unless defined?(GL_COPY_READ_BUFFER_BINDING)
|
468
468
|
const_set('GL_COPY_READ_BUFFER', 0x8F36) unless defined?(GL_COPY_READ_BUFFER)
|
469
|
-
const_set('GL_COPY_WRITE_BUFFER_BINDING', 0x8F37) unless defined?(GL_COPY_WRITE_BUFFER_BINDING)
|
470
469
|
const_set('GL_COPY_WRITE_BUFFER', 0x8F37) unless defined?(GL_COPY_WRITE_BUFFER)
|
471
470
|
end # define_ext_enum_GL_ARB_copy_buffer
|
472
471
|
|
@@ -715,11 +714,6 @@ module OpenGL
|
|
715
714
|
const_set('GL_UNSIGNED_INT_24_8', 0x84FA) unless defined?(GL_UNSIGNED_INT_24_8)
|
716
715
|
const_set('GL_DEPTH24_STENCIL8', 0x88F0) unless defined?(GL_DEPTH24_STENCIL8)
|
717
716
|
const_set('GL_TEXTURE_STENCIL_SIZE', 0x88F1) unless defined?(GL_TEXTURE_STENCIL_SIZE)
|
718
|
-
const_set('GL_TEXTURE_RED_TYPE', 0x8C10) unless defined?(GL_TEXTURE_RED_TYPE)
|
719
|
-
const_set('GL_TEXTURE_GREEN_TYPE', 0x8C11) unless defined?(GL_TEXTURE_GREEN_TYPE)
|
720
|
-
const_set('GL_TEXTURE_BLUE_TYPE', 0x8C12) unless defined?(GL_TEXTURE_BLUE_TYPE)
|
721
|
-
const_set('GL_TEXTURE_ALPHA_TYPE', 0x8C13) unless defined?(GL_TEXTURE_ALPHA_TYPE)
|
722
|
-
const_set('GL_TEXTURE_DEPTH_TYPE', 0x8C16) unless defined?(GL_TEXTURE_DEPTH_TYPE)
|
723
717
|
const_set('GL_UNSIGNED_NORMALIZED', 0x8C17) unless defined?(GL_UNSIGNED_NORMALIZED)
|
724
718
|
const_set('GL_FRAMEBUFFER_BINDING', 0x8CA6) unless defined?(GL_FRAMEBUFFER_BINDING)
|
725
719
|
const_set('GL_DRAW_FRAMEBUFFER_BINDING', 0x8CA6) unless defined?(GL_DRAW_FRAMEBUFFER_BINDING)
|
@@ -776,8 +770,6 @@ module OpenGL
|
|
776
770
|
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE)
|
777
771
|
const_set('GL_MAX_SAMPLES', 0x8D57) unless defined?(GL_MAX_SAMPLES)
|
778
772
|
const_set('GL_INDEX', 0x8222) unless defined?(GL_INDEX)
|
779
|
-
const_set('GL_TEXTURE_LUMINANCE_TYPE', 0x8C14) unless defined?(GL_TEXTURE_LUMINANCE_TYPE)
|
780
|
-
const_set('GL_TEXTURE_INTENSITY_TYPE', 0x8C15) unless defined?(GL_TEXTURE_INTENSITY_TYPE)
|
781
773
|
end # define_ext_enum_GL_ARB_framebuffer_object
|
782
774
|
|
783
775
|
def define_ext_enum_GL_ARB_framebuffer_sRGB
|
@@ -1530,7 +1522,7 @@ module OpenGL
|
|
1530
1522
|
def define_ext_enum_GL_ARB_sparse_texture
|
1531
1523
|
const_set('GL_TEXTURE_SPARSE_ARB', 0x91A6) unless defined?(GL_TEXTURE_SPARSE_ARB)
|
1532
1524
|
const_set('GL_VIRTUAL_PAGE_SIZE_INDEX_ARB', 0x91A7) unless defined?(GL_VIRTUAL_PAGE_SIZE_INDEX_ARB)
|
1533
|
-
const_set('
|
1525
|
+
const_set('GL_NUM_SPARSE_LEVELS_ARB', 0x91AA) unless defined?(GL_NUM_SPARSE_LEVELS_ARB)
|
1534
1526
|
const_set('GL_NUM_VIRTUAL_PAGE_SIZES_ARB', 0x91A8) unless defined?(GL_NUM_VIRTUAL_PAGE_SIZES_ARB)
|
1535
1527
|
const_set('GL_VIRTUAL_PAGE_SIZE_X_ARB', 0x9195) unless defined?(GL_VIRTUAL_PAGE_SIZE_X_ARB)
|
1536
1528
|
const_set('GL_VIRTUAL_PAGE_SIZE_Y_ARB', 0x9196) unless defined?(GL_VIRTUAL_PAGE_SIZE_Y_ARB)
|
@@ -1860,9 +1852,7 @@ module OpenGL
|
|
1860
1852
|
|
1861
1853
|
def define_ext_enum_GL_ARB_transform_feedback2
|
1862
1854
|
const_set('GL_TRANSFORM_FEEDBACK', 0x8E22) unless defined?(GL_TRANSFORM_FEEDBACK)
|
1863
|
-
const_set('GL_TRANSFORM_FEEDBACK_PAUSED', 0x8E23) unless defined?(GL_TRANSFORM_FEEDBACK_PAUSED)
|
1864
1855
|
const_set('GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED', 0x8E23) unless defined?(GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED)
|
1865
|
-
const_set('GL_TRANSFORM_FEEDBACK_ACTIVE', 0x8E24) unless defined?(GL_TRANSFORM_FEEDBACK_ACTIVE)
|
1866
1856
|
const_set('GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE', 0x8E24) unless defined?(GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE)
|
1867
1857
|
const_set('GL_TRANSFORM_FEEDBACK_BINDING', 0x8E25) unless defined?(GL_TRANSFORM_FEEDBACK_BINDING)
|
1868
1858
|
end # define_ext_enum_GL_ARB_transform_feedback2
|
@@ -2866,6 +2856,13 @@ module OpenGL
|
|
2866
2856
|
const_set('GL_POLYGON_OFFSET_BIAS_EXT', 0x8039) unless defined?(GL_POLYGON_OFFSET_BIAS_EXT)
|
2867
2857
|
end # define_ext_enum_GL_EXT_polygon_offset
|
2868
2858
|
|
2859
|
+
def define_ext_enum_GL_EXT_polygon_offset_clamp
|
2860
|
+
const_set('GL_POLYGON_OFFSET_CLAMP_EXT', 0x8E1B) unless defined?(GL_POLYGON_OFFSET_CLAMP_EXT)
|
2861
|
+
end # define_ext_enum_GL_EXT_polygon_offset_clamp
|
2862
|
+
|
2863
|
+
def define_ext_enum_GL_EXT_post_depth_coverage
|
2864
|
+
end # define_ext_enum_GL_EXT_post_depth_coverage
|
2865
|
+
|
2869
2866
|
def define_ext_enum_GL_EXT_provoking_vertex
|
2870
2867
|
const_set('GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT', 0x8E4C) unless defined?(GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT)
|
2871
2868
|
const_set('GL_FIRST_VERTEX_CONVENTION_EXT', 0x8E4D) unless defined?(GL_FIRST_VERTEX_CONVENTION_EXT)
|
@@ -2873,6 +2870,15 @@ module OpenGL
|
|
2873
2870
|
const_set('GL_PROVOKING_VERTEX_EXT', 0x8E4F) unless defined?(GL_PROVOKING_VERTEX_EXT)
|
2874
2871
|
end # define_ext_enum_GL_EXT_provoking_vertex
|
2875
2872
|
|
2873
|
+
def define_ext_enum_GL_EXT_raster_multisample
|
2874
|
+
const_set('GL_RASTER_MULTISAMPLE_EXT', 0x9327) unless defined?(GL_RASTER_MULTISAMPLE_EXT)
|
2875
|
+
const_set('GL_RASTER_SAMPLES_EXT', 0x9328) unless defined?(GL_RASTER_SAMPLES_EXT)
|
2876
|
+
const_set('GL_MAX_RASTER_SAMPLES_EXT', 0x9329) unless defined?(GL_MAX_RASTER_SAMPLES_EXT)
|
2877
|
+
const_set('GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT', 0x932A) unless defined?(GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT)
|
2878
|
+
const_set('GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT', 0x932B) unless defined?(GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT)
|
2879
|
+
const_set('GL_EFFECTIVE_RASTER_SAMPLES_EXT', 0x932C) unless defined?(GL_EFFECTIVE_RASTER_SAMPLES_EXT)
|
2880
|
+
end # define_ext_enum_GL_EXT_raster_multisample
|
2881
|
+
|
2876
2882
|
def define_ext_enum_GL_EXT_rescale_normal
|
2877
2883
|
const_set('GL_RESCALE_NORMAL_EXT', 0x803A) unless defined?(GL_RESCALE_NORMAL_EXT)
|
2878
2884
|
end # define_ext_enum_GL_EXT_rescale_normal
|
@@ -2973,6 +2979,9 @@ module OpenGL
|
|
2973
2979
|
const_set('GL_SHARED_TEXTURE_PALETTE_EXT', 0x81FB) unless defined?(GL_SHARED_TEXTURE_PALETTE_EXT)
|
2974
2980
|
end # define_ext_enum_GL_EXT_shared_texture_palette
|
2975
2981
|
|
2982
|
+
def define_ext_enum_GL_EXT_sparse_texture2
|
2983
|
+
end # define_ext_enum_GL_EXT_sparse_texture2
|
2984
|
+
|
2976
2985
|
def define_ext_enum_GL_EXT_stencil_clear_tag
|
2977
2986
|
const_set('GL_STENCIL_TAG_BITS_EXT', 0x88F2) unless defined?(GL_STENCIL_TAG_BITS_EXT)
|
2978
2987
|
const_set('GL_STENCIL_CLEAR_TAG_VALUE_EXT', 0x88F3) unless defined?(GL_STENCIL_CLEAR_TAG_VALUE_EXT)
|
@@ -3142,6 +3151,15 @@ module OpenGL
|
|
3142
3151
|
const_set('GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT', 0x84FF) unless defined?(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT)
|
3143
3152
|
end # define_ext_enum_GL_EXT_texture_filter_anisotropic
|
3144
3153
|
|
3154
|
+
def define_ext_enum_GL_EXT_texture_filter_minmax
|
3155
|
+
const_set('GL_RASTER_MULTISAMPLE_EXT', 0x9327) unless defined?(GL_RASTER_MULTISAMPLE_EXT)
|
3156
|
+
const_set('GL_RASTER_SAMPLES_EXT', 0x9328) unless defined?(GL_RASTER_SAMPLES_EXT)
|
3157
|
+
const_set('GL_MAX_RASTER_SAMPLES_EXT', 0x9329) unless defined?(GL_MAX_RASTER_SAMPLES_EXT)
|
3158
|
+
const_set('GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT', 0x932A) unless defined?(GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT)
|
3159
|
+
const_set('GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT', 0x932B) unless defined?(GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT)
|
3160
|
+
const_set('GL_EFFECTIVE_RASTER_SAMPLES_EXT', 0x932C) unless defined?(GL_EFFECTIVE_RASTER_SAMPLES_EXT)
|
3161
|
+
end # define_ext_enum_GL_EXT_texture_filter_minmax
|
3162
|
+
|
3145
3163
|
def define_ext_enum_GL_EXT_texture_integer
|
3146
3164
|
const_set('GL_RGBA32UI_EXT', 0x8D70) unless defined?(GL_RGBA32UI_EXT)
|
3147
3165
|
const_set('GL_RGB32UI_EXT', 0x8D71) unless defined?(GL_RGB32UI_EXT)
|
@@ -3950,6 +3968,13 @@ module OpenGL
|
|
3950
3968
|
const_set('GL_QUERY_BY_REGION_NO_WAIT_NV', 0x8E16) unless defined?(GL_QUERY_BY_REGION_NO_WAIT_NV)
|
3951
3969
|
end # define_ext_enum_GL_NV_conditional_render
|
3952
3970
|
|
3971
|
+
def define_ext_enum_GL_NV_conservative_raster
|
3972
|
+
const_set('GL_CONSERVATIVE_RASTERIZATION_NV', 0x9346) unless defined?(GL_CONSERVATIVE_RASTERIZATION_NV)
|
3973
|
+
const_set('GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV', 0x9347) unless defined?(GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV)
|
3974
|
+
const_set('GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV', 0x9348) unless defined?(GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV)
|
3975
|
+
const_set('GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV', 0x9349) unless defined?(GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV)
|
3976
|
+
end # define_ext_enum_GL_NV_conservative_raster
|
3977
|
+
|
3953
3978
|
def define_ext_enum_GL_NV_copy_depth_to_color
|
3954
3979
|
const_set('GL_DEPTH_STENCIL_TO_RGBA_NV', 0x886E) unless defined?(GL_DEPTH_STENCIL_TO_RGBA_NV)
|
3955
3980
|
const_set('GL_DEPTH_STENCIL_TO_BGRA_NV', 0x886F) unless defined?(GL_DEPTH_STENCIL_TO_BGRA_NV)
|
@@ -4023,6 +4048,10 @@ module OpenGL
|
|
4023
4048
|
const_set('GL_FENCE_CONDITION_NV', 0x84F4) unless defined?(GL_FENCE_CONDITION_NV)
|
4024
4049
|
end # define_ext_enum_GL_NV_fence
|
4025
4050
|
|
4051
|
+
def define_ext_enum_GL_NV_fill_rectangle
|
4052
|
+
const_set('GL_FILL_RECTANGLE_NV', 0x933C) unless defined?(GL_FILL_RECTANGLE_NV)
|
4053
|
+
end # define_ext_enum_GL_NV_fill_rectangle
|
4054
|
+
|
4026
4055
|
def define_ext_enum_GL_NV_float_buffer
|
4027
4056
|
const_set('GL_FLOAT_R_NV', 0x8880) unless defined?(GL_FLOAT_R_NV)
|
4028
4057
|
const_set('GL_FLOAT_RG_NV', 0x8881) unless defined?(GL_FLOAT_RG_NV)
|
@@ -4048,6 +4077,11 @@ module OpenGL
|
|
4048
4077
|
const_set('GL_EYE_PLANE', 0x2502) unless defined?(GL_EYE_PLANE)
|
4049
4078
|
end # define_ext_enum_GL_NV_fog_distance
|
4050
4079
|
|
4080
|
+
def define_ext_enum_GL_NV_fragment_coverage_to_color
|
4081
|
+
const_set('GL_FRAGMENT_COVERAGE_TO_COLOR_NV', 0x92DD) unless defined?(GL_FRAGMENT_COVERAGE_TO_COLOR_NV)
|
4082
|
+
const_set('GL_FRAGMENT_COVERAGE_COLOR_NV', 0x92DE) unless defined?(GL_FRAGMENT_COVERAGE_COLOR_NV)
|
4083
|
+
end # define_ext_enum_GL_NV_fragment_coverage_to_color
|
4084
|
+
|
4051
4085
|
def define_ext_enum_GL_NV_fragment_program
|
4052
4086
|
const_set('GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV', 0x8868) unless defined?(GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV)
|
4053
4087
|
const_set('GL_FRAGMENT_PROGRAM_NV', 0x8870) unless defined?(GL_FRAGMENT_PROGRAM_NV)
|
@@ -4071,6 +4105,26 @@ module OpenGL
|
|
4071
4105
|
def define_ext_enum_GL_NV_fragment_program_option
|
4072
4106
|
end # define_ext_enum_GL_NV_fragment_program_option
|
4073
4107
|
|
4108
|
+
def define_ext_enum_GL_NV_fragment_shader_interlock
|
4109
|
+
end # define_ext_enum_GL_NV_fragment_shader_interlock
|
4110
|
+
|
4111
|
+
def define_ext_enum_GL_NV_framebuffer_mixed_samples
|
4112
|
+
const_set('GL_RASTER_MULTISAMPLE_EXT', 0x9327) unless defined?(GL_RASTER_MULTISAMPLE_EXT)
|
4113
|
+
const_set('GL_COVERAGE_MODULATION_TABLE_NV', 0x9331) unless defined?(GL_COVERAGE_MODULATION_TABLE_NV)
|
4114
|
+
const_set('GL_RASTER_SAMPLES_EXT', 0x9328) unless defined?(GL_RASTER_SAMPLES_EXT)
|
4115
|
+
const_set('GL_MAX_RASTER_SAMPLES_EXT', 0x9329) unless defined?(GL_MAX_RASTER_SAMPLES_EXT)
|
4116
|
+
const_set('GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT', 0x932A) unless defined?(GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT)
|
4117
|
+
const_set('GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT', 0x932B) unless defined?(GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT)
|
4118
|
+
const_set('GL_EFFECTIVE_RASTER_SAMPLES_EXT', 0x932C) unless defined?(GL_EFFECTIVE_RASTER_SAMPLES_EXT)
|
4119
|
+
const_set('GL_COLOR_SAMPLES_NV', 0x8E20) unless defined?(GL_COLOR_SAMPLES_NV)
|
4120
|
+
const_set('GL_DEPTH_SAMPLES_NV', 0x932D) unless defined?(GL_DEPTH_SAMPLES_NV)
|
4121
|
+
const_set('GL_STENCIL_SAMPLES_NV', 0x932E) unless defined?(GL_STENCIL_SAMPLES_NV)
|
4122
|
+
const_set('GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV', 0x932F) unless defined?(GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV)
|
4123
|
+
const_set('GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV', 0x9330) unless defined?(GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV)
|
4124
|
+
const_set('GL_COVERAGE_MODULATION_NV', 0x9332) unless defined?(GL_COVERAGE_MODULATION_NV)
|
4125
|
+
const_set('GL_COVERAGE_MODULATION_TABLE_SIZE_NV', 0x9333) unless defined?(GL_COVERAGE_MODULATION_TABLE_SIZE_NV)
|
4126
|
+
end # define_ext_enum_GL_NV_framebuffer_mixed_samples
|
4127
|
+
|
4074
4128
|
def define_ext_enum_GL_NV_framebuffer_multisample_coverage
|
4075
4129
|
const_set('GL_RENDERBUFFER_COVERAGE_SAMPLES_NV', 0x8CAB) unless defined?(GL_RENDERBUFFER_COVERAGE_SAMPLES_NV)
|
4076
4130
|
const_set('GL_RENDERBUFFER_COLOR_SAMPLES_NV', 0x8E10) unless defined?(GL_RENDERBUFFER_COLOR_SAMPLES_NV)
|
@@ -4100,6 +4154,9 @@ module OpenGL
|
|
4100
4154
|
def define_ext_enum_GL_NV_geometry_shader4
|
4101
4155
|
end # define_ext_enum_GL_NV_geometry_shader4
|
4102
4156
|
|
4157
|
+
def define_ext_enum_GL_NV_geometry_shader_passthrough
|
4158
|
+
end # define_ext_enum_GL_NV_geometry_shader_passthrough
|
4159
|
+
|
4103
4160
|
def define_ext_enum_GL_NV_gpu_program4
|
4104
4161
|
const_set('GL_MIN_PROGRAM_TEXEL_OFFSET_NV', 0x8904) unless defined?(GL_MIN_PROGRAM_TEXEL_OFFSET_NV)
|
4105
4162
|
const_set('GL_MAX_PROGRAM_TEXEL_OFFSET_NV', 0x8905) unless defined?(GL_MAX_PROGRAM_TEXEL_OFFSET_NV)
|
@@ -4453,16 +4510,37 @@ module OpenGL
|
|
4453
4510
|
const_set('GL_FOG', 0x0B60) unless defined?(GL_FOG)
|
4454
4511
|
end # define_ext_enum_GL_NV_register_combiners
|
4455
4512
|
|
4513
|
+
def define_ext_enum_GL_NV_path_rendering_shared_edge
|
4514
|
+
const_set('GL_SHARED_EDGE_NV', 0xC0) unless defined?(GL_SHARED_EDGE_NV)
|
4515
|
+
end # define_ext_enum_GL_NV_path_rendering_shared_edge
|
4516
|
+
|
4456
4517
|
def define_ext_enum_GL_NV_register_combiners2
|
4457
4518
|
const_set('GL_PER_STAGE_CONSTANTS_NV', 0x8535) unless defined?(GL_PER_STAGE_CONSTANTS_NV)
|
4458
4519
|
end # define_ext_enum_GL_NV_register_combiners2
|
4459
4520
|
|
4521
|
+
def define_ext_enum_GL_NV_sample_locations
|
4522
|
+
const_set('GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV', 0x933D) unless defined?(GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV)
|
4523
|
+
const_set('GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV', 0x933E) unless defined?(GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV)
|
4524
|
+
const_set('GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV', 0x933F) unless defined?(GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV)
|
4525
|
+
const_set('GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV', 0x9340) unless defined?(GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV)
|
4526
|
+
const_set('GL_SAMPLE_LOCATION_NV', 0x8E50) unless defined?(GL_SAMPLE_LOCATION_NV)
|
4527
|
+
const_set('GL_PROGRAMMABLE_SAMPLE_LOCATION_NV', 0x9341) unless defined?(GL_PROGRAMMABLE_SAMPLE_LOCATION_NV)
|
4528
|
+
const_set('GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV', 0x9342) unless defined?(GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV)
|
4529
|
+
const_set('GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV', 0x9343) unless defined?(GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV)
|
4530
|
+
end # define_ext_enum_GL_NV_sample_locations
|
4531
|
+
|
4532
|
+
def define_ext_enum_GL_NV_sample_mask_override_coverage
|
4533
|
+
end # define_ext_enum_GL_NV_sample_mask_override_coverage
|
4534
|
+
|
4460
4535
|
def define_ext_enum_GL_NV_shader_atomic_counters
|
4461
4536
|
end # define_ext_enum_GL_NV_shader_atomic_counters
|
4462
4537
|
|
4463
4538
|
def define_ext_enum_GL_NV_shader_atomic_float
|
4464
4539
|
end # define_ext_enum_GL_NV_shader_atomic_float
|
4465
4540
|
|
4541
|
+
def define_ext_enum_GL_NV_shader_atomic_fp16_vector
|
4542
|
+
end # define_ext_enum_GL_NV_shader_atomic_fp16_vector
|
4543
|
+
|
4466
4544
|
def define_ext_enum_GL_NV_shader_atomic_int64
|
4467
4545
|
end # define_ext_enum_GL_NV_shader_atomic_int64
|
4468
4546
|
|
@@ -4680,6 +4758,12 @@ module OpenGL
|
|
4680
4758
|
const_set('GL_TRANSFORM_FEEDBACK_BINDING_NV', 0x8E25) unless defined?(GL_TRANSFORM_FEEDBACK_BINDING_NV)
|
4681
4759
|
end # define_ext_enum_GL_NV_transform_feedback2
|
4682
4760
|
|
4761
|
+
def define_ext_enum_GL_NV_uniform_buffer_unified_memory
|
4762
|
+
const_set('GL_UNIFORM_BUFFER_UNIFIED_NV', 0x936E) unless defined?(GL_UNIFORM_BUFFER_UNIFIED_NV)
|
4763
|
+
const_set('GL_UNIFORM_BUFFER_ADDRESS_NV', 0x936F) unless defined?(GL_UNIFORM_BUFFER_ADDRESS_NV)
|
4764
|
+
const_set('GL_UNIFORM_BUFFER_LENGTH_NV', 0x9370) unless defined?(GL_UNIFORM_BUFFER_LENGTH_NV)
|
4765
|
+
end # define_ext_enum_GL_NV_uniform_buffer_unified_memory
|
4766
|
+
|
4683
4767
|
def define_ext_enum_GL_NV_vdpau_interop
|
4684
4768
|
const_set('GL_SURFACE_STATE_NV', 0x86EB) unless defined?(GL_SURFACE_STATE_NV)
|
4685
4769
|
const_set('GL_SURFACE_REGISTERED_NV', 0x86FD) unless defined?(GL_SURFACE_REGISTERED_NV)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengl-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
Ruby bindings for OpenGL - 4.5, OpenGL ES - 3.1 and all extensions using Fiddle (For MRI >= 2.0.0).
|