opengl-core 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c407076d78ec2776bf4d930d623b95f2c761c70b
4
- data.tar.gz: d4685fda0b7fa879b6de9a3bb3871b5fa4d077b3
3
+ metadata.gz: 1f569fd65aa7fb0545ace6b1b51814d5ab25df40
4
+ data.tar.gz: b3b0c00e57e76942d038fc235fc9ad916f7cddb9
5
5
  SHA512:
6
- metadata.gz: 998d1e941a7d72130eb9a45ee307694d247d28f2639e6dc30083b49edaf34ddb8d320a692197105e5c9668c04a3a21c77e00aa6cf3d8764574b0fdecadead5c9
7
- data.tar.gz: 112b7d8abd9e5dc7620fdfb82b82f08a88b336e95fbbd80a2148c8136ebdfc428c0d21d2887031c11fc8bde533a5aa9743004d8351656598d030444b6f47123e
6
+ metadata.gz: 51fcda161dd6aea8bb09720b09e9f963cab05957ddc363650e43562441b023029e8f90c4f1f4cc58cdf0395bb1091ffe59e3e03e675c5ab3fb014e932f6a7755
7
+ data.tar.gz: 18b660414a7cb46439e7c8acfc8cfb264b9cceac2967fa086d51b7b40b671a890ca68f210c2251ab1c4a8156866097571ad998e97fb11abe03990b0477f5371e
@@ -8178,36 +8178,6 @@ module Gl
8178
8178
 
8179
8179
  alias_method :'glTexStorage3DMultisample', :'glTexStorage3DMultisample__'
8180
8180
 
8181
- GlSym::GL_COMMAND_TYPES[:glTextureStorage2DMultisampleEXT] = {
8182
- :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_CHAR],
8183
- :return_type => Fiddle::TYPE_VOID
8184
- }
8185
-
8186
- # @api raw
8187
- def glTextureStorage2DMultisampleEXT__(texture_, target_, samples_, internalformat_, width_, height_, fixedsamplelocations_)
8188
- unless (fn = GlSym.__load_gl_sym__(:glTextureStorage2DMultisampleEXT))
8189
- raise NotImplementedError, "GL function glTextureStorage2DMultisampleEXT is not available."
8190
- end
8191
- fn.call(texture_, target_, samples_, internalformat_, width_, height_, fixedsamplelocations_)
8192
- end
8193
-
8194
- alias_method :'glTextureStorage2DMultisampleEXT', :'glTextureStorage2DMultisampleEXT__'
8195
-
8196
- GlSym::GL_COMMAND_TYPES[:glTextureStorage3DMultisampleEXT] = {
8197
- :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_CHAR],
8198
- :return_type => Fiddle::TYPE_VOID
8199
- }
8200
-
8201
- # @api raw
8202
- def glTextureStorage3DMultisampleEXT__(texture_, target_, samples_, internalformat_, width_, height_, depth_, fixedsamplelocations_)
8203
- unless (fn = GlSym.__load_gl_sym__(:glTextureStorage3DMultisampleEXT))
8204
- raise NotImplementedError, "GL function glTextureStorage3DMultisampleEXT is not available."
8205
- end
8206
- fn.call(texture_, target_, samples_, internalformat_, width_, height_, depth_, fixedsamplelocations_)
8207
- end
8208
-
8209
- alias_method :'glTextureStorage3DMultisampleEXT', :'glTextureStorage3DMultisampleEXT__'
8210
-
8211
8181
  GlSym::GL_COMMAND_TYPES[:glTextureView] = {
8212
8182
  :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT],
8213
8183
  :return_type => Fiddle::TYPE_VOID
@@ -8463,5 +8433,155 @@ module Gl
8463
8433
 
8464
8434
  alias_method :'glGetObjectPtrLabel', :'glGetObjectPtrLabel__'
8465
8435
 
8436
+ GlSym::GL_COMMAND_TYPES[:glGetPointerv] = {
8437
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP],
8438
+ :return_type => Fiddle::TYPE_VOID
8439
+ }
8440
+
8441
+ # @api raw
8442
+ def glGetPointerv__(pname_, params_)
8443
+ unless (fn = GlSym.__load_gl_sym__(:glGetPointerv))
8444
+ raise NotImplementedError, "GL function glGetPointerv is not available."
8445
+ end
8446
+ fn.call(pname_, params_)
8447
+ end
8448
+
8449
+ alias_method :'glGetPointerv', :'glGetPointerv__'
8450
+
8451
+ GlSym::GL_COMMAND_TYPES[:glBufferStorage] = {
8452
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT],
8453
+ :return_type => Fiddle::TYPE_VOID
8454
+ }
8455
+
8456
+ # @api raw
8457
+ def glBufferStorage__(target_, size_, data_, flags_)
8458
+ unless (fn = GlSym.__load_gl_sym__(:glBufferStorage))
8459
+ raise NotImplementedError, "GL function glBufferStorage is not available."
8460
+ end
8461
+ fn.call(target_, size_, data_, flags_)
8462
+ end
8463
+
8464
+ alias_method :'glBufferStorage', :'glBufferStorage__'
8465
+
8466
+ GlSym::GL_COMMAND_TYPES[:glClearTexImage] = {
8467
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP],
8468
+ :return_type => Fiddle::TYPE_VOID
8469
+ }
8470
+
8471
+ # @api raw
8472
+ def glClearTexImage__(texture_, level_, format_, type_, data_)
8473
+ unless (fn = GlSym.__load_gl_sym__(:glClearTexImage))
8474
+ raise NotImplementedError, "GL function glClearTexImage is not available."
8475
+ end
8476
+ fn.call(texture_, level_, format_, type_, data_)
8477
+ end
8478
+
8479
+ alias_method :'glClearTexImage', :'glClearTexImage__'
8480
+
8481
+ GlSym::GL_COMMAND_TYPES[:glClearTexSubImage] = {
8482
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP],
8483
+ :return_type => Fiddle::TYPE_VOID
8484
+ }
8485
+
8486
+ # @api raw
8487
+ def glClearTexSubImage__(texture_, level_, xoffset_, yoffset_, zoffset_, width_, height_, depth_, format_, type_, data_)
8488
+ unless (fn = GlSym.__load_gl_sym__(:glClearTexSubImage))
8489
+ raise NotImplementedError, "GL function glClearTexSubImage is not available."
8490
+ end
8491
+ fn.call(texture_, level_, xoffset_, yoffset_, zoffset_, width_, height_, depth_, format_, type_, data_)
8492
+ end
8493
+
8494
+ alias_method :'glClearTexSubImage', :'glClearTexSubImage__'
8495
+
8496
+ GlSym::GL_COMMAND_TYPES[:glBindBuffersBase] = {
8497
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP],
8498
+ :return_type => Fiddle::TYPE_VOID
8499
+ }
8500
+
8501
+ # @api raw
8502
+ def glBindBuffersBase__(target_, first_, count_, buffers_)
8503
+ unless (fn = GlSym.__load_gl_sym__(:glBindBuffersBase))
8504
+ raise NotImplementedError, "GL function glBindBuffersBase is not available."
8505
+ end
8506
+ fn.call(target_, first_, count_, buffers_)
8507
+ end
8508
+
8509
+ alias_method :'glBindBuffersBase', :'glBindBuffersBase__'
8510
+
8511
+ GlSym::GL_COMMAND_TYPES[:glBindBuffersRange] = {
8512
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
8513
+ :return_type => Fiddle::TYPE_VOID
8514
+ }
8515
+
8516
+ # @api raw
8517
+ def glBindBuffersRange__(target_, first_, count_, buffers_, offsets_, sizes_)
8518
+ unless (fn = GlSym.__load_gl_sym__(:glBindBuffersRange))
8519
+ raise NotImplementedError, "GL function glBindBuffersRange is not available."
8520
+ end
8521
+ fn.call(target_, first_, count_, buffers_, offsets_, sizes_)
8522
+ end
8523
+
8524
+ alias_method :'glBindBuffersRange', :'glBindBuffersRange__'
8525
+
8526
+ GlSym::GL_COMMAND_TYPES[:glBindTextures] = {
8527
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP],
8528
+ :return_type => Fiddle::TYPE_VOID
8529
+ }
8530
+
8531
+ # @api raw
8532
+ def glBindTextures__(first_, count_, textures_)
8533
+ unless (fn = GlSym.__load_gl_sym__(:glBindTextures))
8534
+ raise NotImplementedError, "GL function glBindTextures is not available."
8535
+ end
8536
+ fn.call(first_, count_, textures_)
8537
+ end
8538
+
8539
+ alias_method :'glBindTextures', :'glBindTextures__'
8540
+
8541
+ GlSym::GL_COMMAND_TYPES[:glBindSamplers] = {
8542
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP],
8543
+ :return_type => Fiddle::TYPE_VOID
8544
+ }
8545
+
8546
+ # @api raw
8547
+ def glBindSamplers__(first_, count_, samplers_)
8548
+ unless (fn = GlSym.__load_gl_sym__(:glBindSamplers))
8549
+ raise NotImplementedError, "GL function glBindSamplers is not available."
8550
+ end
8551
+ fn.call(first_, count_, samplers_)
8552
+ end
8553
+
8554
+ alias_method :'glBindSamplers', :'glBindSamplers__'
8555
+
8556
+ GlSym::GL_COMMAND_TYPES[:glBindImageTextures] = {
8557
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP],
8558
+ :return_type => Fiddle::TYPE_VOID
8559
+ }
8560
+
8561
+ # @api raw
8562
+ def glBindImageTextures__(first_, count_, textures_)
8563
+ unless (fn = GlSym.__load_gl_sym__(:glBindImageTextures))
8564
+ raise NotImplementedError, "GL function glBindImageTextures is not available."
8565
+ end
8566
+ fn.call(first_, count_, textures_)
8567
+ end
8568
+
8569
+ alias_method :'glBindImageTextures', :'glBindImageTextures__'
8570
+
8571
+ GlSym::GL_COMMAND_TYPES[:glBindVertexBuffers] = {
8572
+ :parameter_types => [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP],
8573
+ :return_type => Fiddle::TYPE_VOID
8574
+ }
8575
+
8576
+ # @api raw
8577
+ def glBindVertexBuffers__(first_, count_, buffers_, offsets_, strides_)
8578
+ unless (fn = GlSym.__load_gl_sym__(:glBindVertexBuffers))
8579
+ raise NotImplementedError, "GL function glBindVertexBuffers is not available."
8580
+ end
8581
+ fn.call(first_, count_, buffers_, offsets_, strides_)
8582
+ end
8583
+
8584
+ alias_method :'glBindVertexBuffers', :'glBindVertexBuffers__'
8585
+
8466
8586
 
8467
8587
  end # module Gl
@@ -2494,6 +2494,44 @@ module Gl
2494
2494
  # @api raw
2495
2495
  GL_DISPLAY_LIST = 0x82E7
2496
2496
  # @api raw
2497
+ GL_STACK_UNDERFLOW = 0x0504
2498
+ # @api raw
2499
+ GL_STACK_OVERFLOW = 0x0503
2500
+ # @api raw
2501
+ GL_MAX_VERTEX_ATTRIB_STRIDE = 0x82E5
2502
+ # @api raw
2503
+ GL_MAP_PERSISTENT_BIT = 0x0040
2504
+ # @api raw
2505
+ GL_MAP_COHERENT_BIT = 0x0080
2506
+ # @api raw
2507
+ GL_DYNAMIC_STORAGE_BIT = 0x0100
2508
+ # @api raw
2509
+ GL_CLIENT_STORAGE_BIT = 0x0200
2510
+ # @api raw
2511
+ GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT = 0x00004000
2512
+ # @api raw
2513
+ GL_BUFFER_IMMUTABLE_STORAGE = 0x821F
2514
+ # @api raw
2515
+ GL_BUFFER_STORAGE_FLAGS = 0x8220
2516
+ # @api raw
2517
+ GL_CLEAR_TEXTURE = 0x9365
2518
+ # @api raw
2519
+ GL_LOCATION_COMPONENT = 0x934A
2520
+ # @api raw
2521
+ GL_TRANSFORM_FEEDBACK_BUFFER_INDEX = 0x934B
2522
+ # @api raw
2523
+ GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE = 0x934C
2524
+ # @api raw
2525
+ GL_QUERY_BUFFER = 0x9192
2526
+ # @api raw
2527
+ GL_QUERY_BUFFER_BARRIER_BIT = 0x00008000
2528
+ # @api raw
2529
+ GL_QUERY_BUFFER_BINDING = 0x9193
2530
+ # @api raw
2531
+ GL_QUERY_RESULT_NO_WAIT = 0x9194
2532
+ # @api raw
2533
+ GL_MIRROR_CLAMP_TO_EDGE = 0x8743
2534
+ # @api raw
2497
2535
  GL_SMOOTH_POINT_SIZE_RANGE = GL_POINT_SIZE_RANGE
2498
2536
  # @api raw
2499
2537
  GL_SMOOTH_POINT_SIZE_GRANULARITY = GL_POINT_SIZE_GRANULARITY
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opengl-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noel Raymond Cower
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-20 00:00:00.000000000 Z
11
+ date: 2013-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  version: '0'
67
67
  requirements: []
68
68
  rubyforge_project:
69
- rubygems_version: 2.0.3
69
+ rubygems_version: 2.0.5
70
70
  signing_key:
71
71
  specification_version: 4
72
72
  summary: OpenGL core profile bindings