opengl-bindings 1.6.8 → 1.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +21 -0
- data/README.md +3 -1
- data/lib/glfw.rb +3 -0
- data/lib/opengl_es_ext_command.rb +190 -0
- data/lib/opengl_es_ext_enum.rb +207 -0
- data/lib/opengl_ext_enum.rb +8 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa3a9dad84f15e6d33769dafb28126e0697838ded275220ad06c23ff6c82d4a4
|
4
|
+
data.tar.gz: 8e5b0487cc2339ecfa99ed468f10b3f40ec45e118c29d141fb21dd410c8fde80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 138c40519679e3a32a52a77dfa7f1fadcbb7e450cf8b7f06bc70ad3ac3540e2e798e57d383f42da104b919370000f5367cf13fba319b597ccbfa7a4daacac9b8
|
7
|
+
data.tar.gz: f834dc76012d582d2c431aa71d53eef584271e8488ec84d46b1393605bae55204f99ba4b625dc1995a5b482c2f04546f72d84a69f99d6de22d8674abe3a175d3
|
data/ChangeLog
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
2019-04-28 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
|
+
|
3
|
+
* glfw.rb: Added GLFW 3.3 features.
|
4
|
+
* Updated using latest gl.xml.
|
5
|
+
|
6
|
+
2019-04-07 vaiorabbit <http://twitter.com/vaiorabbit>
|
7
|
+
|
8
|
+
* Updated using latest gl.xml.
|
9
|
+
|
10
|
+
2019-03-31 vaiorabbit <http://twitter.com/vaiorabbit>
|
11
|
+
|
12
|
+
* Updated using latest gl.xml.
|
13
|
+
|
14
|
+
2019-02-28 vaiorabbit <http://twitter.com/vaiorabbit>
|
15
|
+
|
16
|
+
* Updated using latest gl.xml.
|
17
|
+
|
18
|
+
2019-02-24 vaiorabbit <http://twitter.com/vaiorabbit>
|
19
|
+
|
20
|
+
* glfw.rb: Added GLFW 3.3 features.
|
21
|
+
|
1
22
|
2019-02-23 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
23
|
|
3
24
|
* Updated using latest gl.xml.
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
...and wrapper code generator.
|
6
6
|
|
7
7
|
* Created : 2013-08-28
|
8
|
-
* Last modified : 2019-
|
8
|
+
* Last modified : 2019-04-28
|
9
9
|
|
10
10
|
[![Gem Version](https://badge.fury.io/rb/opengl-bindings.svg)](https://badge.fury.io/rb/opengl-bindings) [![Gem](https://img.shields.io/gem/dt/opengl-bindings.svg)](opengl-bindings)
|
11
11
|
|
@@ -108,6 +108,7 @@ Use GLFW or GLUT for creating windows and OpenGL rendering contexts.
|
|
108
108
|
## Tested Environment ##
|
109
109
|
|
110
110
|
* Ruby
|
111
|
+
* ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18]
|
111
112
|
* ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin18]
|
112
113
|
* ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin18]
|
113
114
|
* ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
|
@@ -352,6 +353,7 @@ GLFW か GLUT を用意してください。ウィンドウやレンダリング
|
|
352
353
|
## テストした環境 ##
|
353
354
|
|
354
355
|
* Ruby
|
356
|
+
* ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18]
|
355
357
|
* ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin18]
|
356
358
|
* ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin18]
|
357
359
|
* ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
|
data/lib/glfw.rb
CHANGED
@@ -323,6 +323,7 @@ module GLFW
|
|
323
323
|
GLFW_STICKY_KEYS = 0x00033002
|
324
324
|
GLFW_STICKY_MOUSE_BUTTONS = 0x00033003
|
325
325
|
GLFW_LOCK_KEY_MODS = 0x00033004 # Available since GLFW 3.3
|
326
|
+
GLFW_RAW_MOUSE_MOTION = 0x00033005 # Available since GLFW 3.3
|
326
327
|
|
327
328
|
GLFW_CURSOR_NORMAL = 0x00034001
|
328
329
|
GLFW_CURSOR_HIDDEN = 0x00034002
|
@@ -524,6 +525,7 @@ module GLFW
|
|
524
525
|
'void** glfwGetMonitors(int*)',
|
525
526
|
'void* glfwGetPrimaryMonitor()',
|
526
527
|
'void glfwGetMonitorPos(void*, int*, int*)',
|
528
|
+
'void glfwGetMonitorWorkarea(void* monitor, int*, int*, int*, int*)', # Available since GLFW 3.3
|
527
529
|
'void glfwGetMonitorPhysicalSize(void*, int*, int*)',
|
528
530
|
'void glfwGetMonitorContentScale(void*, float*, float*)', # Available since GLFW 3.3
|
529
531
|
'const char* glfwGetMonitorName(void*)',
|
@@ -583,6 +585,7 @@ module GLFW
|
|
583
585
|
'void glfwPostEmptyEvent()', # Available since GLFW 3.1
|
584
586
|
'int glfwGetInputMode(void*, int)', # Available since GLFW 3.0
|
585
587
|
'void glfwSetInputMode(void*, int, int)', # Available since GLFW 3.0
|
588
|
+
'int glfwRawMouseMotionSupported()', # Available since GLFW 3.3
|
586
589
|
'const char* glfwGetKeyName(int, int)', # Available since GLFW 3.2
|
587
590
|
'int glfwGetKeyScancode(int)', # Available since GLFW 3.3
|
588
591
|
'int glfwGetKey(void*, int)',
|
@@ -3069,6 +3069,15 @@ module OpenGLExt
|
|
3069
3069
|
end # self.get_ext_command_GL_EXT_texture_norm16
|
3070
3070
|
|
3071
3071
|
|
3072
|
+
def self.define_ext_command_GL_EXT_texture_query_lod
|
3073
|
+
end # self.define_ext_command_GL_EXT_texture_query_lod
|
3074
|
+
|
3075
|
+
def self.get_ext_command_GL_EXT_texture_query_lod
|
3076
|
+
[
|
3077
|
+
]
|
3078
|
+
end # self.get_ext_command_GL_EXT_texture_query_lod
|
3079
|
+
|
3080
|
+
|
3072
3081
|
def self.define_ext_command_GL_EXT_texture_rg
|
3073
3082
|
end # self.define_ext_command_GL_EXT_texture_rg
|
3074
3083
|
|
@@ -4623,6 +4632,15 @@ module OpenGLExt
|
|
4623
4632
|
end # self.get_ext_command_GL_NV_fragment_coverage_to_color
|
4624
4633
|
|
4625
4634
|
|
4635
|
+
def self.define_ext_command_GL_NV_fragment_shader_barycentric
|
4636
|
+
end # self.define_ext_command_GL_NV_fragment_shader_barycentric
|
4637
|
+
|
4638
|
+
def self.get_ext_command_GL_NV_fragment_shader_barycentric
|
4639
|
+
[
|
4640
|
+
]
|
4641
|
+
end # self.get_ext_command_GL_NV_fragment_shader_barycentric
|
4642
|
+
|
4643
|
+
|
4626
4644
|
def self.define_ext_command_GL_NV_fragment_shader_interlock
|
4627
4645
|
end # self.define_ext_command_GL_NV_fragment_shader_interlock
|
4628
4646
|
|
@@ -5185,6 +5203,54 @@ module OpenGLExt
|
|
5185
5203
|
end # self.get_ext_command_GL_NV_memory_attachment
|
5186
5204
|
|
5187
5205
|
|
5206
|
+
def self.define_ext_command_GL_NV_mesh_shader
|
5207
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glDrawMeshTasksNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
5208
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glDrawMeshTasksNV] = Fiddle::TYPE_VOID
|
5209
|
+
OpenGL.module_eval(<<-SRC)
|
5210
|
+
def glDrawMeshTasksNV(_first_, _count_)
|
5211
|
+
f = OpenGL::get_command(:glDrawMeshTasksNV)
|
5212
|
+
f.call(_first_, _count_)
|
5213
|
+
end
|
5214
|
+
SRC
|
5215
|
+
|
5216
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glDrawMeshTasksIndirectNV] = [Fiddle::TYPE_PTRDIFF_T]
|
5217
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glDrawMeshTasksIndirectNV] = Fiddle::TYPE_VOID
|
5218
|
+
OpenGL.module_eval(<<-SRC)
|
5219
|
+
def glDrawMeshTasksIndirectNV(_indirect_)
|
5220
|
+
f = OpenGL::get_command(:glDrawMeshTasksIndirectNV)
|
5221
|
+
f.call(_indirect_)
|
5222
|
+
end
|
5223
|
+
SRC
|
5224
|
+
|
5225
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMultiDrawMeshTasksIndirectNV] = [Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
5226
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMultiDrawMeshTasksIndirectNV] = Fiddle::TYPE_VOID
|
5227
|
+
OpenGL.module_eval(<<-SRC)
|
5228
|
+
def glMultiDrawMeshTasksIndirectNV(_indirect_, _drawcount_, _stride_)
|
5229
|
+
f = OpenGL::get_command(:glMultiDrawMeshTasksIndirectNV)
|
5230
|
+
f.call(_indirect_, _drawcount_, _stride_)
|
5231
|
+
end
|
5232
|
+
SRC
|
5233
|
+
|
5234
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMultiDrawMeshTasksIndirectCountNV] = [Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
5235
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMultiDrawMeshTasksIndirectCountNV] = Fiddle::TYPE_VOID
|
5236
|
+
OpenGL.module_eval(<<-SRC)
|
5237
|
+
def glMultiDrawMeshTasksIndirectCountNV(_indirect_, _drawcount_, _maxdrawcount_, _stride_)
|
5238
|
+
f = OpenGL::get_command(:glMultiDrawMeshTasksIndirectCountNV)
|
5239
|
+
f.call(_indirect_, _drawcount_, _maxdrawcount_, _stride_)
|
5240
|
+
end
|
5241
|
+
SRC
|
5242
|
+
end # self.define_ext_command_GL_NV_mesh_shader
|
5243
|
+
|
5244
|
+
def self.get_ext_command_GL_NV_mesh_shader
|
5245
|
+
[
|
5246
|
+
'glDrawMeshTasksNV',
|
5247
|
+
'glDrawMeshTasksIndirectNV',
|
5248
|
+
'glMultiDrawMeshTasksIndirectNV',
|
5249
|
+
'glMultiDrawMeshTasksIndirectCountNV',
|
5250
|
+
]
|
5251
|
+
end # self.get_ext_command_GL_NV_mesh_shader
|
5252
|
+
|
5253
|
+
|
5188
5254
|
def self.define_ext_command_GL_NV_non_square_matrices
|
5189
5255
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix2x3fvNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
5190
5256
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix2x3fvNV] = Fiddle::TYPE_VOID
|
@@ -6181,6 +6247,15 @@ module OpenGLExt
|
|
6181
6247
|
end # self.get_ext_command_GL_NV_read_stencil
|
6182
6248
|
|
6183
6249
|
|
6250
|
+
def self.define_ext_command_GL_NV_representative_fragment_test
|
6251
|
+
end # self.define_ext_command_GL_NV_representative_fragment_test
|
6252
|
+
|
6253
|
+
def self.get_ext_command_GL_NV_representative_fragment_test
|
6254
|
+
[
|
6255
|
+
]
|
6256
|
+
end # self.get_ext_command_GL_NV_representative_fragment_test
|
6257
|
+
|
6258
|
+
|
6184
6259
|
def self.define_ext_command_GL_NV_sRGB_formats
|
6185
6260
|
end # self.define_ext_command_GL_NV_sRGB_formats
|
6186
6261
|
|
@@ -6237,6 +6312,34 @@ module OpenGLExt
|
|
6237
6312
|
end # self.get_ext_command_GL_NV_sample_mask_override_coverage
|
6238
6313
|
|
6239
6314
|
|
6315
|
+
def self.define_ext_command_GL_NV_scissor_exclusive
|
6316
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glScissorExclusiveNV] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
6317
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glScissorExclusiveNV] = Fiddle::TYPE_VOID
|
6318
|
+
OpenGL.module_eval(<<-SRC)
|
6319
|
+
def glScissorExclusiveNV(_x_, _y_, _width_, _height_)
|
6320
|
+
f = OpenGL::get_command(:glScissorExclusiveNV)
|
6321
|
+
f.call(_x_, _y_, _width_, _height_)
|
6322
|
+
end
|
6323
|
+
SRC
|
6324
|
+
|
6325
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glScissorExclusiveArrayvNV] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
6326
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glScissorExclusiveArrayvNV] = Fiddle::TYPE_VOID
|
6327
|
+
OpenGL.module_eval(<<-SRC)
|
6328
|
+
def glScissorExclusiveArrayvNV(_first_, _count_, _v_)
|
6329
|
+
f = OpenGL::get_command(:glScissorExclusiveArrayvNV)
|
6330
|
+
f.call(_first_, _count_, _v_)
|
6331
|
+
end
|
6332
|
+
SRC
|
6333
|
+
end # self.define_ext_command_GL_NV_scissor_exclusive
|
6334
|
+
|
6335
|
+
def self.get_ext_command_GL_NV_scissor_exclusive
|
6336
|
+
[
|
6337
|
+
'glScissorExclusiveNV',
|
6338
|
+
'glScissorExclusiveArrayvNV',
|
6339
|
+
]
|
6340
|
+
end # self.get_ext_command_GL_NV_scissor_exclusive
|
6341
|
+
|
6342
|
+
|
6240
6343
|
def self.define_ext_command_GL_NV_shader_atomic_fp16_vector
|
6241
6344
|
end # self.define_ext_command_GL_NV_shader_atomic_fp16_vector
|
6242
6345
|
|
@@ -6255,6 +6358,93 @@ module OpenGLExt
|
|
6255
6358
|
end # self.get_ext_command_GL_NV_shader_noperspective_interpolation
|
6256
6359
|
|
6257
6360
|
|
6361
|
+
def self.define_ext_command_GL_NV_shader_texture_footprint
|
6362
|
+
end # self.define_ext_command_GL_NV_shader_texture_footprint
|
6363
|
+
|
6364
|
+
def self.get_ext_command_GL_NV_shader_texture_footprint
|
6365
|
+
[
|
6366
|
+
]
|
6367
|
+
end # self.get_ext_command_GL_NV_shader_texture_footprint
|
6368
|
+
|
6369
|
+
|
6370
|
+
def self.define_ext_command_GL_NV_shading_rate_image
|
6371
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glBindShadingRateImageNV] = [-Fiddle::TYPE_INT]
|
6372
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glBindShadingRateImageNV] = Fiddle::TYPE_VOID
|
6373
|
+
OpenGL.module_eval(<<-SRC)
|
6374
|
+
def glBindShadingRateImageNV(_texture_)
|
6375
|
+
f = OpenGL::get_command(:glBindShadingRateImageNV)
|
6376
|
+
f.call(_texture_)
|
6377
|
+
end
|
6378
|
+
SRC
|
6379
|
+
|
6380
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetShadingRateImagePaletteNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
6381
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetShadingRateImagePaletteNV] = Fiddle::TYPE_VOID
|
6382
|
+
OpenGL.module_eval(<<-SRC)
|
6383
|
+
def glGetShadingRateImagePaletteNV(_viewport_, _entry_, _rate_)
|
6384
|
+
f = OpenGL::get_command(:glGetShadingRateImagePaletteNV)
|
6385
|
+
f.call(_viewport_, _entry_, _rate_)
|
6386
|
+
end
|
6387
|
+
SRC
|
6388
|
+
|
6389
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetShadingRateSampleLocationivNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
6390
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetShadingRateSampleLocationivNV] = Fiddle::TYPE_VOID
|
6391
|
+
OpenGL.module_eval(<<-SRC)
|
6392
|
+
def glGetShadingRateSampleLocationivNV(_rate_, _samples_, _index_, _location_)
|
6393
|
+
f = OpenGL::get_command(:glGetShadingRateSampleLocationivNV)
|
6394
|
+
f.call(_rate_, _samples_, _index_, _location_)
|
6395
|
+
end
|
6396
|
+
SRC
|
6397
|
+
|
6398
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glShadingRateImageBarrierNV] = [-Fiddle::TYPE_CHAR]
|
6399
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glShadingRateImageBarrierNV] = Fiddle::TYPE_VOID
|
6400
|
+
OpenGL.module_eval(<<-SRC)
|
6401
|
+
def glShadingRateImageBarrierNV(_synchronize_)
|
6402
|
+
f = OpenGL::get_command(:glShadingRateImageBarrierNV)
|
6403
|
+
f.call(_synchronize_)
|
6404
|
+
end
|
6405
|
+
SRC
|
6406
|
+
|
6407
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glShadingRateImagePaletteNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
6408
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glShadingRateImagePaletteNV] = Fiddle::TYPE_VOID
|
6409
|
+
OpenGL.module_eval(<<-SRC)
|
6410
|
+
def glShadingRateImagePaletteNV(_viewport_, _first_, _count_, _rates_)
|
6411
|
+
f = OpenGL::get_command(:glShadingRateImagePaletteNV)
|
6412
|
+
f.call(_viewport_, _first_, _count_, _rates_)
|
6413
|
+
end
|
6414
|
+
SRC
|
6415
|
+
|
6416
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glShadingRateSampleOrderNV] = [-Fiddle::TYPE_INT]
|
6417
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glShadingRateSampleOrderNV] = Fiddle::TYPE_VOID
|
6418
|
+
OpenGL.module_eval(<<-SRC)
|
6419
|
+
def glShadingRateSampleOrderNV(_order_)
|
6420
|
+
f = OpenGL::get_command(:glShadingRateSampleOrderNV)
|
6421
|
+
f.call(_order_)
|
6422
|
+
end
|
6423
|
+
SRC
|
6424
|
+
|
6425
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glShadingRateSampleOrderCustomNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
6426
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glShadingRateSampleOrderCustomNV] = Fiddle::TYPE_VOID
|
6427
|
+
OpenGL.module_eval(<<-SRC)
|
6428
|
+
def glShadingRateSampleOrderCustomNV(_rate_, _samples_, _locations_)
|
6429
|
+
f = OpenGL::get_command(:glShadingRateSampleOrderCustomNV)
|
6430
|
+
f.call(_rate_, _samples_, _locations_)
|
6431
|
+
end
|
6432
|
+
SRC
|
6433
|
+
end # self.define_ext_command_GL_NV_shading_rate_image
|
6434
|
+
|
6435
|
+
def self.get_ext_command_GL_NV_shading_rate_image
|
6436
|
+
[
|
6437
|
+
'glBindShadingRateImageNV',
|
6438
|
+
'glGetShadingRateImagePaletteNV',
|
6439
|
+
'glGetShadingRateSampleLocationivNV',
|
6440
|
+
'glShadingRateImageBarrierNV',
|
6441
|
+
'glShadingRateImagePaletteNV',
|
6442
|
+
'glShadingRateSampleOrderNV',
|
6443
|
+
'glShadingRateSampleOrderCustomNV',
|
6444
|
+
]
|
6445
|
+
end # self.get_ext_command_GL_NV_shading_rate_image
|
6446
|
+
|
6447
|
+
|
6258
6448
|
def self.define_ext_command_GL_NV_shadow_samplers_array
|
6259
6449
|
end # self.define_ext_command_GL_NV_shadow_samplers_array
|
6260
6450
|
|
data/lib/opengl_es_ext_enum.rb
CHANGED
@@ -2057,6 +2057,15 @@ module OpenGLExt
|
|
2057
2057
|
end # self.get_ext_enum_GL_EXT_texture_norm16
|
2058
2058
|
|
2059
2059
|
|
2060
|
+
def self.define_ext_enum_GL_EXT_texture_query_lod
|
2061
|
+
end # self.define_ext_enum_GL_EXT_texture_query_lod
|
2062
|
+
|
2063
|
+
def self.get_ext_enum_GL_EXT_texture_query_lod
|
2064
|
+
[
|
2065
|
+
]
|
2066
|
+
end # self.get_ext_enum_GL_EXT_texture_query_lod
|
2067
|
+
|
2068
|
+
|
2060
2069
|
def self.define_ext_enum_GL_EXT_texture_rg
|
2061
2070
|
OpenGL.const_set('GL_RED_EXT', 0x1903) unless defined?(OpenGL::GL_RED_EXT)
|
2062
2071
|
OpenGL.const_set('GL_RG_EXT', 0x8227) unless defined?(OpenGL::GL_RG_EXT)
|
@@ -3413,6 +3422,15 @@ module OpenGLExt
|
|
3413
3422
|
end # self.get_ext_enum_GL_NV_fragment_coverage_to_color
|
3414
3423
|
|
3415
3424
|
|
3425
|
+
def self.define_ext_enum_GL_NV_fragment_shader_barycentric
|
3426
|
+
end # self.define_ext_enum_GL_NV_fragment_shader_barycentric
|
3427
|
+
|
3428
|
+
def self.get_ext_enum_GL_NV_fragment_shader_barycentric
|
3429
|
+
[
|
3430
|
+
]
|
3431
|
+
end # self.get_ext_enum_GL_NV_fragment_shader_barycentric
|
3432
|
+
|
3433
|
+
|
3416
3434
|
def self.define_ext_enum_GL_NV_fragment_shader_interlock
|
3417
3435
|
end # self.define_ext_enum_GL_NV_fragment_shader_interlock
|
3418
3436
|
|
@@ -3648,6 +3666,111 @@ module OpenGLExt
|
|
3648
3666
|
end # self.get_ext_enum_GL_NV_memory_attachment
|
3649
3667
|
|
3650
3668
|
|
3669
|
+
def self.define_ext_enum_GL_NV_mesh_shader
|
3670
|
+
OpenGL.const_set('GL_MESH_SHADER_NV', 0x9559) unless defined?(OpenGL::GL_MESH_SHADER_NV)
|
3671
|
+
OpenGL.const_set('GL_TASK_SHADER_NV', 0x955A) unless defined?(OpenGL::GL_TASK_SHADER_NV)
|
3672
|
+
OpenGL.const_set('GL_MAX_MESH_UNIFORM_BLOCKS_NV', 0x8E60) unless defined?(OpenGL::GL_MAX_MESH_UNIFORM_BLOCKS_NV)
|
3673
|
+
OpenGL.const_set('GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV', 0x8E61) unless defined?(OpenGL::GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV)
|
3674
|
+
OpenGL.const_set('GL_MAX_MESH_IMAGE_UNIFORMS_NV', 0x8E62) unless defined?(OpenGL::GL_MAX_MESH_IMAGE_UNIFORMS_NV)
|
3675
|
+
OpenGL.const_set('GL_MAX_MESH_UNIFORM_COMPONENTS_NV', 0x8E63) unless defined?(OpenGL::GL_MAX_MESH_UNIFORM_COMPONENTS_NV)
|
3676
|
+
OpenGL.const_set('GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV', 0x8E64) unless defined?(OpenGL::GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV)
|
3677
|
+
OpenGL.const_set('GL_MAX_MESH_ATOMIC_COUNTERS_NV', 0x8E65) unless defined?(OpenGL::GL_MAX_MESH_ATOMIC_COUNTERS_NV)
|
3678
|
+
OpenGL.const_set('GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV', 0x8E66) unless defined?(OpenGL::GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV)
|
3679
|
+
OpenGL.const_set('GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV', 0x8E67) unless defined?(OpenGL::GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV)
|
3680
|
+
OpenGL.const_set('GL_MAX_TASK_UNIFORM_BLOCKS_NV', 0x8E68) unless defined?(OpenGL::GL_MAX_TASK_UNIFORM_BLOCKS_NV)
|
3681
|
+
OpenGL.const_set('GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV', 0x8E69) unless defined?(OpenGL::GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV)
|
3682
|
+
OpenGL.const_set('GL_MAX_TASK_IMAGE_UNIFORMS_NV', 0x8E6A) unless defined?(OpenGL::GL_MAX_TASK_IMAGE_UNIFORMS_NV)
|
3683
|
+
OpenGL.const_set('GL_MAX_TASK_UNIFORM_COMPONENTS_NV', 0x8E6B) unless defined?(OpenGL::GL_MAX_TASK_UNIFORM_COMPONENTS_NV)
|
3684
|
+
OpenGL.const_set('GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV', 0x8E6C) unless defined?(OpenGL::GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV)
|
3685
|
+
OpenGL.const_set('GL_MAX_TASK_ATOMIC_COUNTERS_NV', 0x8E6D) unless defined?(OpenGL::GL_MAX_TASK_ATOMIC_COUNTERS_NV)
|
3686
|
+
OpenGL.const_set('GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV', 0x8E6E) unless defined?(OpenGL::GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV)
|
3687
|
+
OpenGL.const_set('GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV', 0x8E6F) unless defined?(OpenGL::GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV)
|
3688
|
+
OpenGL.const_set('GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV', 0x95A2) unless defined?(OpenGL::GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV)
|
3689
|
+
OpenGL.const_set('GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV', 0x95A3) unless defined?(OpenGL::GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV)
|
3690
|
+
OpenGL.const_set('GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV', 0x9536) unless defined?(OpenGL::GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV)
|
3691
|
+
OpenGL.const_set('GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV', 0x9537) unless defined?(OpenGL::GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV)
|
3692
|
+
OpenGL.const_set('GL_MAX_MESH_OUTPUT_VERTICES_NV', 0x9538) unless defined?(OpenGL::GL_MAX_MESH_OUTPUT_VERTICES_NV)
|
3693
|
+
OpenGL.const_set('GL_MAX_MESH_OUTPUT_PRIMITIVES_NV', 0x9539) unless defined?(OpenGL::GL_MAX_MESH_OUTPUT_PRIMITIVES_NV)
|
3694
|
+
OpenGL.const_set('GL_MAX_TASK_OUTPUT_COUNT_NV', 0x953A) unless defined?(OpenGL::GL_MAX_TASK_OUTPUT_COUNT_NV)
|
3695
|
+
OpenGL.const_set('GL_MAX_DRAW_MESH_TASKS_COUNT_NV', 0x953D) unless defined?(OpenGL::GL_MAX_DRAW_MESH_TASKS_COUNT_NV)
|
3696
|
+
OpenGL.const_set('GL_MAX_MESH_VIEWS_NV', 0x9557) unless defined?(OpenGL::GL_MAX_MESH_VIEWS_NV)
|
3697
|
+
OpenGL.const_set('GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV', 0x92DF) unless defined?(OpenGL::GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV)
|
3698
|
+
OpenGL.const_set('GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV', 0x9543) unless defined?(OpenGL::GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV)
|
3699
|
+
OpenGL.const_set('GL_MAX_MESH_WORK_GROUP_SIZE_NV', 0x953B) unless defined?(OpenGL::GL_MAX_MESH_WORK_GROUP_SIZE_NV)
|
3700
|
+
OpenGL.const_set('GL_MAX_TASK_WORK_GROUP_SIZE_NV', 0x953C) unless defined?(OpenGL::GL_MAX_TASK_WORK_GROUP_SIZE_NV)
|
3701
|
+
OpenGL.const_set('GL_MESH_WORK_GROUP_SIZE_NV', 0x953E) unless defined?(OpenGL::GL_MESH_WORK_GROUP_SIZE_NV)
|
3702
|
+
OpenGL.const_set('GL_TASK_WORK_GROUP_SIZE_NV', 0x953F) unless defined?(OpenGL::GL_TASK_WORK_GROUP_SIZE_NV)
|
3703
|
+
OpenGL.const_set('GL_MESH_VERTICES_OUT_NV', 0x9579) unless defined?(OpenGL::GL_MESH_VERTICES_OUT_NV)
|
3704
|
+
OpenGL.const_set('GL_MESH_PRIMITIVES_OUT_NV', 0x957A) unless defined?(OpenGL::GL_MESH_PRIMITIVES_OUT_NV)
|
3705
|
+
OpenGL.const_set('GL_MESH_OUTPUT_TYPE_NV', 0x957B) unless defined?(OpenGL::GL_MESH_OUTPUT_TYPE_NV)
|
3706
|
+
OpenGL.const_set('GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV', 0x959C) unless defined?(OpenGL::GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV)
|
3707
|
+
OpenGL.const_set('GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV', 0x959D) unless defined?(OpenGL::GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV)
|
3708
|
+
OpenGL.const_set('GL_REFERENCED_BY_MESH_SHADER_NV', 0x95A0) unless defined?(OpenGL::GL_REFERENCED_BY_MESH_SHADER_NV)
|
3709
|
+
OpenGL.const_set('GL_REFERENCED_BY_TASK_SHADER_NV', 0x95A1) unless defined?(OpenGL::GL_REFERENCED_BY_TASK_SHADER_NV)
|
3710
|
+
OpenGL.const_set('GL_MESH_SHADER_BIT_NV', 0x00000040) unless defined?(OpenGL::GL_MESH_SHADER_BIT_NV)
|
3711
|
+
OpenGL.const_set('GL_TASK_SHADER_BIT_NV', 0x00000080) unless defined?(OpenGL::GL_TASK_SHADER_BIT_NV)
|
3712
|
+
OpenGL.const_set('GL_MESH_SUBROUTINE_NV', 0x957C) unless defined?(OpenGL::GL_MESH_SUBROUTINE_NV)
|
3713
|
+
OpenGL.const_set('GL_TASK_SUBROUTINE_NV', 0x957D) unless defined?(OpenGL::GL_TASK_SUBROUTINE_NV)
|
3714
|
+
OpenGL.const_set('GL_MESH_SUBROUTINE_UNIFORM_NV', 0x957E) unless defined?(OpenGL::GL_MESH_SUBROUTINE_UNIFORM_NV)
|
3715
|
+
OpenGL.const_set('GL_TASK_SUBROUTINE_UNIFORM_NV', 0x957F) unless defined?(OpenGL::GL_TASK_SUBROUTINE_UNIFORM_NV)
|
3716
|
+
OpenGL.const_set('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV', 0x959E) unless defined?(OpenGL::GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV)
|
3717
|
+
OpenGL.const_set('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV', 0x959F) unless defined?(OpenGL::GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV)
|
3718
|
+
end # self.define_ext_enum_GL_NV_mesh_shader
|
3719
|
+
|
3720
|
+
def self.get_ext_enum_GL_NV_mesh_shader
|
3721
|
+
[
|
3722
|
+
'GL_MESH_SHADER_NV',
|
3723
|
+
'GL_TASK_SHADER_NV',
|
3724
|
+
'GL_MAX_MESH_UNIFORM_BLOCKS_NV',
|
3725
|
+
'GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV',
|
3726
|
+
'GL_MAX_MESH_IMAGE_UNIFORMS_NV',
|
3727
|
+
'GL_MAX_MESH_UNIFORM_COMPONENTS_NV',
|
3728
|
+
'GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV',
|
3729
|
+
'GL_MAX_MESH_ATOMIC_COUNTERS_NV',
|
3730
|
+
'GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV',
|
3731
|
+
'GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV',
|
3732
|
+
'GL_MAX_TASK_UNIFORM_BLOCKS_NV',
|
3733
|
+
'GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV',
|
3734
|
+
'GL_MAX_TASK_IMAGE_UNIFORMS_NV',
|
3735
|
+
'GL_MAX_TASK_UNIFORM_COMPONENTS_NV',
|
3736
|
+
'GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV',
|
3737
|
+
'GL_MAX_TASK_ATOMIC_COUNTERS_NV',
|
3738
|
+
'GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV',
|
3739
|
+
'GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV',
|
3740
|
+
'GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV',
|
3741
|
+
'GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV',
|
3742
|
+
'GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV',
|
3743
|
+
'GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV',
|
3744
|
+
'GL_MAX_MESH_OUTPUT_VERTICES_NV',
|
3745
|
+
'GL_MAX_MESH_OUTPUT_PRIMITIVES_NV',
|
3746
|
+
'GL_MAX_TASK_OUTPUT_COUNT_NV',
|
3747
|
+
'GL_MAX_DRAW_MESH_TASKS_COUNT_NV',
|
3748
|
+
'GL_MAX_MESH_VIEWS_NV',
|
3749
|
+
'GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV',
|
3750
|
+
'GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV',
|
3751
|
+
'GL_MAX_MESH_WORK_GROUP_SIZE_NV',
|
3752
|
+
'GL_MAX_TASK_WORK_GROUP_SIZE_NV',
|
3753
|
+
'GL_MESH_WORK_GROUP_SIZE_NV',
|
3754
|
+
'GL_TASK_WORK_GROUP_SIZE_NV',
|
3755
|
+
'GL_MESH_VERTICES_OUT_NV',
|
3756
|
+
'GL_MESH_PRIMITIVES_OUT_NV',
|
3757
|
+
'GL_MESH_OUTPUT_TYPE_NV',
|
3758
|
+
'GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV',
|
3759
|
+
'GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV',
|
3760
|
+
'GL_REFERENCED_BY_MESH_SHADER_NV',
|
3761
|
+
'GL_REFERENCED_BY_TASK_SHADER_NV',
|
3762
|
+
'GL_MESH_SHADER_BIT_NV',
|
3763
|
+
'GL_TASK_SHADER_BIT_NV',
|
3764
|
+
'GL_MESH_SUBROUTINE_NV',
|
3765
|
+
'GL_TASK_SUBROUTINE_NV',
|
3766
|
+
'GL_MESH_SUBROUTINE_UNIFORM_NV',
|
3767
|
+
'GL_TASK_SUBROUTINE_UNIFORM_NV',
|
3768
|
+
'GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV',
|
3769
|
+
'GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV',
|
3770
|
+
]
|
3771
|
+
end # self.get_ext_enum_GL_NV_mesh_shader
|
3772
|
+
|
3773
|
+
|
3651
3774
|
def self.define_ext_enum_GL_NV_non_square_matrices
|
3652
3775
|
OpenGL.const_set('GL_FLOAT_MAT2x3_NV', 0x8B65) unless defined?(OpenGL::GL_FLOAT_MAT2x3_NV)
|
3653
3776
|
OpenGL.const_set('GL_FLOAT_MAT2x4_NV', 0x8B66) unless defined?(OpenGL::GL_FLOAT_MAT2x4_NV)
|
@@ -4102,6 +4225,17 @@ module OpenGLExt
|
|
4102
4225
|
end # self.get_ext_enum_GL_NV_read_stencil
|
4103
4226
|
|
4104
4227
|
|
4228
|
+
def self.define_ext_enum_GL_NV_representative_fragment_test
|
4229
|
+
OpenGL.const_set('GL_REPRESENTATIVE_FRAGMENT_TEST_NV', 0x937F) unless defined?(OpenGL::GL_REPRESENTATIVE_FRAGMENT_TEST_NV)
|
4230
|
+
end # self.define_ext_enum_GL_NV_representative_fragment_test
|
4231
|
+
|
4232
|
+
def self.get_ext_enum_GL_NV_representative_fragment_test
|
4233
|
+
[
|
4234
|
+
'GL_REPRESENTATIVE_FRAGMENT_TEST_NV',
|
4235
|
+
]
|
4236
|
+
end # self.get_ext_enum_GL_NV_representative_fragment_test
|
4237
|
+
|
4238
|
+
|
4105
4239
|
def self.define_ext_enum_GL_NV_sRGB_formats
|
4106
4240
|
OpenGL.const_set('GL_SLUMINANCE_NV', 0x8C46) unless defined?(OpenGL::GL_SLUMINANCE_NV)
|
4107
4241
|
OpenGL.const_set('GL_SLUMINANCE_ALPHA_NV', 0x8C44) unless defined?(OpenGL::GL_SLUMINANCE_ALPHA_NV)
|
@@ -4165,6 +4299,19 @@ module OpenGLExt
|
|
4165
4299
|
end # self.get_ext_enum_GL_NV_sample_mask_override_coverage
|
4166
4300
|
|
4167
4301
|
|
4302
|
+
def self.define_ext_enum_GL_NV_scissor_exclusive
|
4303
|
+
OpenGL.const_set('GL_SCISSOR_TEST_EXCLUSIVE_NV', 0x9555) unless defined?(OpenGL::GL_SCISSOR_TEST_EXCLUSIVE_NV)
|
4304
|
+
OpenGL.const_set('GL_SCISSOR_BOX_EXCLUSIVE_NV', 0x9556) unless defined?(OpenGL::GL_SCISSOR_BOX_EXCLUSIVE_NV)
|
4305
|
+
end # self.define_ext_enum_GL_NV_scissor_exclusive
|
4306
|
+
|
4307
|
+
def self.get_ext_enum_GL_NV_scissor_exclusive
|
4308
|
+
[
|
4309
|
+
'GL_SCISSOR_TEST_EXCLUSIVE_NV',
|
4310
|
+
'GL_SCISSOR_BOX_EXCLUSIVE_NV',
|
4311
|
+
]
|
4312
|
+
end # self.get_ext_enum_GL_NV_scissor_exclusive
|
4313
|
+
|
4314
|
+
|
4168
4315
|
def self.define_ext_enum_GL_NV_shader_atomic_fp16_vector
|
4169
4316
|
end # self.define_ext_enum_GL_NV_shader_atomic_fp16_vector
|
4170
4317
|
|
@@ -4183,6 +4330,66 @@ module OpenGLExt
|
|
4183
4330
|
end # self.get_ext_enum_GL_NV_shader_noperspective_interpolation
|
4184
4331
|
|
4185
4332
|
|
4333
|
+
def self.define_ext_enum_GL_NV_shader_texture_footprint
|
4334
|
+
end # self.define_ext_enum_GL_NV_shader_texture_footprint
|
4335
|
+
|
4336
|
+
def self.get_ext_enum_GL_NV_shader_texture_footprint
|
4337
|
+
[
|
4338
|
+
]
|
4339
|
+
end # self.get_ext_enum_GL_NV_shader_texture_footprint
|
4340
|
+
|
4341
|
+
|
4342
|
+
def self.define_ext_enum_GL_NV_shading_rate_image
|
4343
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_NV', 0x9563) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_NV)
|
4344
|
+
OpenGL.const_set('GL_SHADING_RATE_NO_INVOCATIONS_NV', 0x9564) unless defined?(OpenGL::GL_SHADING_RATE_NO_INVOCATIONS_NV)
|
4345
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV', 0x9565) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV)
|
4346
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV', 0x9566) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV)
|
4347
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV', 0x9567) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV)
|
4348
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV', 0x9568) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV)
|
4349
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV', 0x9569) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV)
|
4350
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV', 0x956A) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV)
|
4351
|
+
OpenGL.const_set('GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV', 0x956B) unless defined?(OpenGL::GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV)
|
4352
|
+
OpenGL.const_set('GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV', 0x956C) unless defined?(OpenGL::GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV)
|
4353
|
+
OpenGL.const_set('GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV', 0x956D) unless defined?(OpenGL::GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV)
|
4354
|
+
OpenGL.const_set('GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV', 0x956E) unless defined?(OpenGL::GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV)
|
4355
|
+
OpenGL.const_set('GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV', 0x956F) unless defined?(OpenGL::GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV)
|
4356
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_BINDING_NV', 0x955B) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_BINDING_NV)
|
4357
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV', 0x955C) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV)
|
4358
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV', 0x955D) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV)
|
4359
|
+
OpenGL.const_set('GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV', 0x955E) unless defined?(OpenGL::GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV)
|
4360
|
+
OpenGL.const_set('GL_MAX_COARSE_FRAGMENT_SAMPLES_NV', 0x955F) unless defined?(OpenGL::GL_MAX_COARSE_FRAGMENT_SAMPLES_NV)
|
4361
|
+
OpenGL.const_set('GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV', 0x95AE) unless defined?(OpenGL::GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV)
|
4362
|
+
OpenGL.const_set('GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV', 0x95AF) unless defined?(OpenGL::GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV)
|
4363
|
+
OpenGL.const_set('GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV', 0x95B0) unless defined?(OpenGL::GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV)
|
4364
|
+
end # self.define_ext_enum_GL_NV_shading_rate_image
|
4365
|
+
|
4366
|
+
def self.get_ext_enum_GL_NV_shading_rate_image
|
4367
|
+
[
|
4368
|
+
'GL_SHADING_RATE_IMAGE_NV',
|
4369
|
+
'GL_SHADING_RATE_NO_INVOCATIONS_NV',
|
4370
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV',
|
4371
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV',
|
4372
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV',
|
4373
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV',
|
4374
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV',
|
4375
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV',
|
4376
|
+
'GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV',
|
4377
|
+
'GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV',
|
4378
|
+
'GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV',
|
4379
|
+
'GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV',
|
4380
|
+
'GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV',
|
4381
|
+
'GL_SHADING_RATE_IMAGE_BINDING_NV',
|
4382
|
+
'GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV',
|
4383
|
+
'GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV',
|
4384
|
+
'GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV',
|
4385
|
+
'GL_MAX_COARSE_FRAGMENT_SAMPLES_NV',
|
4386
|
+
'GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV',
|
4387
|
+
'GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV',
|
4388
|
+
'GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV',
|
4389
|
+
]
|
4390
|
+
end # self.get_ext_enum_GL_NV_shading_rate_image
|
4391
|
+
|
4392
|
+
|
4186
4393
|
def self.define_ext_enum_GL_NV_shadow_samplers_array
|
4187
4394
|
OpenGL.const_set('GL_SAMPLER_2D_ARRAY_SHADOW_NV', 0x8DC4) unless defined?(OpenGL::GL_SAMPLER_2D_ARRAY_SHADOW_NV)
|
4188
4395
|
end # self.define_ext_enum_GL_NV_shadow_samplers_array
|
data/lib/opengl_ext_enum.rb
CHANGED
@@ -10596,16 +10596,16 @@ module OpenGLExt
|
|
10596
10596
|
OpenGL.const_set('GL_MESH_OUTPUT_TYPE_NV', 0x957B) unless defined?(OpenGL::GL_MESH_OUTPUT_TYPE_NV)
|
10597
10597
|
OpenGL.const_set('GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV', 0x959C) unless defined?(OpenGL::GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV)
|
10598
10598
|
OpenGL.const_set('GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV', 0x959D) unless defined?(OpenGL::GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV)
|
10599
|
-
OpenGL.const_set('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV', 0x959E) unless defined?(OpenGL::GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV)
|
10600
|
-
OpenGL.const_set('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV', 0x959F) unless defined?(OpenGL::GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV)
|
10601
10599
|
OpenGL.const_set('GL_REFERENCED_BY_MESH_SHADER_NV', 0x95A0) unless defined?(OpenGL::GL_REFERENCED_BY_MESH_SHADER_NV)
|
10602
10600
|
OpenGL.const_set('GL_REFERENCED_BY_TASK_SHADER_NV', 0x95A1) unless defined?(OpenGL::GL_REFERENCED_BY_TASK_SHADER_NV)
|
10601
|
+
OpenGL.const_set('GL_MESH_SHADER_BIT_NV', 0x00000040) unless defined?(OpenGL::GL_MESH_SHADER_BIT_NV)
|
10602
|
+
OpenGL.const_set('GL_TASK_SHADER_BIT_NV', 0x00000080) unless defined?(OpenGL::GL_TASK_SHADER_BIT_NV)
|
10603
10603
|
OpenGL.const_set('GL_MESH_SUBROUTINE_NV', 0x957C) unless defined?(OpenGL::GL_MESH_SUBROUTINE_NV)
|
10604
10604
|
OpenGL.const_set('GL_TASK_SUBROUTINE_NV', 0x957D) unless defined?(OpenGL::GL_TASK_SUBROUTINE_NV)
|
10605
10605
|
OpenGL.const_set('GL_MESH_SUBROUTINE_UNIFORM_NV', 0x957E) unless defined?(OpenGL::GL_MESH_SUBROUTINE_UNIFORM_NV)
|
10606
10606
|
OpenGL.const_set('GL_TASK_SUBROUTINE_UNIFORM_NV', 0x957F) unless defined?(OpenGL::GL_TASK_SUBROUTINE_UNIFORM_NV)
|
10607
|
-
OpenGL.const_set('
|
10608
|
-
OpenGL.const_set('
|
10607
|
+
OpenGL.const_set('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV', 0x959E) unless defined?(OpenGL::GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV)
|
10608
|
+
OpenGL.const_set('GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV', 0x959F) unless defined?(OpenGL::GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV)
|
10609
10609
|
end # self.define_ext_enum_GL_NV_mesh_shader
|
10610
10610
|
|
10611
10611
|
def self.get_ext_enum_GL_NV_mesh_shader
|
@@ -10648,16 +10648,16 @@ module OpenGLExt
|
|
10648
10648
|
'GL_MESH_OUTPUT_TYPE_NV',
|
10649
10649
|
'GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV',
|
10650
10650
|
'GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV',
|
10651
|
-
'GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV',
|
10652
|
-
'GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV',
|
10653
10651
|
'GL_REFERENCED_BY_MESH_SHADER_NV',
|
10654
10652
|
'GL_REFERENCED_BY_TASK_SHADER_NV',
|
10653
|
+
'GL_MESH_SHADER_BIT_NV',
|
10654
|
+
'GL_TASK_SHADER_BIT_NV',
|
10655
10655
|
'GL_MESH_SUBROUTINE_NV',
|
10656
10656
|
'GL_TASK_SUBROUTINE_NV',
|
10657
10657
|
'GL_MESH_SUBROUTINE_UNIFORM_NV',
|
10658
10658
|
'GL_TASK_SUBROUTINE_UNIFORM_NV',
|
10659
|
-
'
|
10660
|
-
'
|
10659
|
+
'GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV',
|
10660
|
+
'GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV',
|
10661
10661
|
]
|
10662
10662
|
end # self.get_ext_enum_GL_NV_mesh_shader
|
10663
10663
|
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opengl-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'Ruby bindings for OpenGL - 4.6, OpenGL ES - 3.2 and all extensions using
|
14
14
|
Fiddle (For MRI >= 2.0.0). GLFW/GLUT/GLU bindings are also available.
|
15
15
|
|
16
|
-
'
|
16
|
+
'
|
17
17
|
email:
|
18
18
|
- vaiorabbit@gmail.com
|
19
19
|
executables: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.0.
|
72
|
+
rubygems_version: 3.0.3
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Bindings for OpenGL -4.6, ES - 3.2 and extensions (For MRI >= 2.0.0)
|