opengl-bindings2 2.0.0rc2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99b005ed4e74a996c48413bc3e003162c19ef6bb98c5cd10a87195f237aab5f8
4
- data.tar.gz: d87b685d26dfe91184ca687ae932b8b3f2197e069b1a0c38aa37a8da2ad57421
3
+ metadata.gz: 97467ea562202decbf922a3e7770991d5d969aff0702bfbf8f6c3cfbb56a3ff3
4
+ data.tar.gz: 302447e61f3fdc5fbaade69fbb0ef2384d10841aac65a67536daf4be11a32356
5
5
  SHA512:
6
- metadata.gz: de4e630774ae2684d540c1e7a726556292205b30b9836c5b23e4eed629da0551dc99d67b820810ad25ad4f0d3532a0370e601bbb5b5412b678f36ea052bcad56
7
- data.tar.gz: 9b290d0579c8508b1a043d0db3a94b1b5c6e3958cd347844a052ba2e096948dc4af93ecb5775ce618cfd410e225c31085305c777b1049aa2ec20f47e40b069f3
6
+ metadata.gz: 0aaaa2ba8f138f3225863a9738b8982c5cebbf68bdd76f192ca8bf6f73559766741ce3eed45d127e6d6512b02e57db94f773e09fea95077646a0900c28a29fb7
7
+ data.tar.gz: 62e6e61fbbd2b87d7a19fe9d21f532f310acc34b134d758a5b72dcd656c1bd608a6bc5e83d3220388a4ff6563632db54a89b93fdbf9f8a08cbf928a5a93c03df
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ 2022-01-09 vaiorabbit <http://twitter.com/vaiorabbit>
2
+
3
+ * Updated using latest gl.xml
4
+
1
5
  2022-01-08 vaiorabbit <http://twitter.com/vaiorabbit>
2
6
 
3
7
  * Fixed minor formatting issue
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 : 2022-01-08
8
+ * Last modified : 2022-01-09
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
 
@@ -654,6 +654,15 @@ module GLExt
654
654
  end # self.get_ext_command_GL_EXT_EGL_image_storage
655
655
 
656
656
 
657
+ def self.define_ext_command_GL_EXT_EGL_image_storage_compression
658
+ end # self.define_ext_command_GL_EXT_EGL_image_storage_compression
659
+
660
+ def self.get_ext_command_GL_EXT_EGL_image_storage_compression
661
+ [
662
+ ]
663
+ end # self.get_ext_command_GL_EXT_EGL_image_storage_compression
664
+
665
+
657
666
  def self.define_ext_command_GL_EXT_YUV_target
658
667
  end # self.define_ext_command_GL_EXT_YUV_target
659
668
 
@@ -3450,6 +3459,36 @@ module GLExt
3450
3459
  end # self.get_ext_command_GL_EXT_texture_storage
3451
3460
 
3452
3461
 
3462
+ def self.define_ext_command_GL_EXT_texture_storage_compression
3463
+ GL::GL_FUNCTION_SYMBOLS << :TexStorageAttribs2DEXT
3464
+ GL::GL_FUNCTIONS_ARGS_MAP[:TexStorageAttribs2DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
3465
+ GL::GL_FUNCTIONS_RETVAL_MAP[:TexStorageAttribs2DEXT] = Fiddle::TYPE_VOID
3466
+ GL.bind_command(:TexStorageAttribs2DEXT)
3467
+ GL.module_eval(<<-SRC)
3468
+ def self.xStorageAttribs2DEXT(_target_, _levels_, _internalformat_, _width_, _height_, _attrib_list_)
3469
+ GL_FUNCTIONS_MAP[:TexStorageAttribs2DEXT].call(_target_, _levels_, _internalformat_, _width_, _height_, _attrib_list_)
3470
+ end
3471
+ SRC
3472
+
3473
+ GL::GL_FUNCTION_SYMBOLS << :TexStorageAttribs3DEXT
3474
+ GL::GL_FUNCTIONS_ARGS_MAP[:TexStorageAttribs3DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
3475
+ GL::GL_FUNCTIONS_RETVAL_MAP[:TexStorageAttribs3DEXT] = Fiddle::TYPE_VOID
3476
+ GL.bind_command(:TexStorageAttribs3DEXT)
3477
+ GL.module_eval(<<-SRC)
3478
+ def self.xStorageAttribs3DEXT(_target_, _levels_, _internalformat_, _width_, _height_, _depth_, _attrib_list_)
3479
+ GL_FUNCTIONS_MAP[:TexStorageAttribs3DEXT].call(_target_, _levels_, _internalformat_, _width_, _height_, _depth_, _attrib_list_)
3480
+ end
3481
+ SRC
3482
+ end # self.define_ext_command_GL_EXT_texture_storage_compression
3483
+
3484
+ def self.get_ext_command_GL_EXT_texture_storage_compression
3485
+ [
3486
+ 'TexStorageAttribs2DEXT',
3487
+ 'TexStorageAttribs3DEXT',
3488
+ ]
3489
+ end # self.get_ext_command_GL_EXT_texture_storage_compression
3490
+
3491
+
3453
3492
  def self.define_ext_command_GL_EXT_texture_type_2_10_10_10_REV
3454
3493
  end # self.define_ext_command_GL_EXT_texture_type_2_10_10_10_REV
3455
3494
 
@@ -509,6 +509,21 @@ module GLExt
509
509
  end # self.get_ext_enum_GL_EXT_EGL_image_storage
510
510
 
511
511
 
512
+ def self.define_ext_enum_GL_EXT_EGL_image_storage_compression
513
+ GL.const_set('SURFACE_COMPRESSION_EXT', 0x96C0) unless defined?(GL::SURFACE_COMPRESSION_EXT)
514
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT', 0x96C1) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT)
515
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT', 0x96C2) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT)
516
+ end # self.define_ext_enum_GL_EXT_EGL_image_storage_compression
517
+
518
+ def self.get_ext_enum_GL_EXT_EGL_image_storage_compression
519
+ [
520
+ 'SURFACE_COMPRESSION_EXT',
521
+ 'SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT',
522
+ 'SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT',
523
+ ]
524
+ end # self.get_ext_enum_GL_EXT_EGL_image_storage_compression
525
+
526
+
512
527
  def self.define_ext_enum_GL_EXT_YUV_target
513
528
  GL.const_set('SAMPLER_EXTERNAL_2D_Y2Y_EXT', 0x8BE7) unless defined?(GL::SAMPLER_EXTERNAL_2D_Y2Y_EXT)
514
529
  GL.const_set('TEXTURE_EXTERNAL_OES', 0x8D65) unless defined?(GL::TEXTURE_EXTERNAL_OES)
@@ -2222,6 +2237,47 @@ module GLExt
2222
2237
  end # self.get_ext_enum_GL_EXT_texture_storage
2223
2238
 
2224
2239
 
2240
+ def self.define_ext_enum_GL_EXT_texture_storage_compression
2241
+ GL.const_set('SURFACE_COMPRESSION_EXT', 0x96C0) unless defined?(GL::SURFACE_COMPRESSION_EXT)
2242
+ GL.const_set('NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT', 0x8F6E) unless defined?(GL::NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT)
2243
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT', 0x96C1) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT)
2244
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT', 0x96C2) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT)
2245
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT', 0x96C4) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT)
2246
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT', 0x96C5) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT)
2247
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT', 0x96C6) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT)
2248
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT', 0x96C7) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT)
2249
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT', 0x96C8) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT)
2250
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT', 0x96C9) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT)
2251
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT', 0x96CA) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT)
2252
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT', 0x96CB) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT)
2253
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT', 0x96CC) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT)
2254
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT', 0x96CD) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT)
2255
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT', 0x96CE) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT)
2256
+ GL.const_set('SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT', 0x96CF) unless defined?(GL::SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT)
2257
+ end # self.define_ext_enum_GL_EXT_texture_storage_compression
2258
+
2259
+ def self.get_ext_enum_GL_EXT_texture_storage_compression
2260
+ [
2261
+ 'SURFACE_COMPRESSION_EXT',
2262
+ 'NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT',
2263
+ 'SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT',
2264
+ 'SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT',
2265
+ 'SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT',
2266
+ 'SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT',
2267
+ 'SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT',
2268
+ 'SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT',
2269
+ 'SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT',
2270
+ 'SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT',
2271
+ 'SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT',
2272
+ 'SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT',
2273
+ 'SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT',
2274
+ 'SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT',
2275
+ 'SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT',
2276
+ 'SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT',
2277
+ ]
2278
+ end # self.get_ext_enum_GL_EXT_texture_storage_compression
2279
+
2280
+
2225
2281
  def self.define_ext_enum_GL_EXT_texture_type_2_10_10_10_REV
2226
2282
  GL.const_set('UNSIGNED_INT_2_10_10_10_REV_EXT', 0x8368) unless defined?(GL::UNSIGNED_INT_2_10_10_10_REV_EXT)
2227
2283
  end # self.define_ext_enum_GL_EXT_texture_type_2_10_10_10_REV
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opengl-bindings2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0rc2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaiorabbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-08 00:00:00.000000000 Z
11
+ date: 2022-01-09 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.4.0). GLFW/GLUT/GLU bindings are also available.
@@ -64,9 +64,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
64
64
  version: 2.4.0
65
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">"
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 1.3.1
69
+ version: '0'
70
70
  requirements: []
71
71
  rubygems_version: 3.3.3
72
72
  signing_key: