opengl-bindings 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +30 -0
- data/LICENSE.txt +1 -1
- data/README.md +3 -1
- data/lib/opengl_enum.rb +85 -85
- data/lib/opengl_es_ext_command.rb +565 -9
- data/lib/opengl_es_ext_enum.rb +223 -9
- data/lib/opengl_ext_command.rb +722 -0
- data/lib/opengl_ext_enum.rb +250 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6392007ab62a7c2b9bc7092115866b7c4556930a
|
4
|
+
data.tar.gz: 3d2a44cffe572e415db85a4bf1e59da3a81250de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f2198a52d03f5b892e2d226c5d42aa280273d049efaec5e2e06b91c0a0d17af1ef84ad8abcaaa5548de5ab04044f02931edb05eb1db63f91e3907444633983a
|
7
|
+
data.tar.gz: 0aa5cc37080c56a4f0f949230b91358a7bd856cf933855ca4116e9bef45fdaf31b69a32470d79b5a350d11556794d86a5a5ac878216aa43ed8825d387a5068dd
|
data/ChangeLog
CHANGED
@@ -1,3 +1,33 @@
|
|
1
|
+
2017-06-11 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
|
+
|
3
|
+
* Updated using latest gl.xml.
|
4
|
+
|
5
|
+
2017-04-29 vaiorabbit <http://twitter.com/vaiorabbit>
|
6
|
+
|
7
|
+
* Updated using latest gl.xml.
|
8
|
+
|
9
|
+
2017-03-04 vaiorabbit <http://twitter.com/vaiorabbit>
|
10
|
+
|
11
|
+
* Updated using latest gl.xml.
|
12
|
+
|
13
|
+
2017-02-25 vaiorabbit <http://twitter.com/vaiorabbit>
|
14
|
+
|
15
|
+
* Updated using latest gl.xml.
|
16
|
+
* generator/aux_generate_typemap.rb, aux_typemap.rb (VULKANPROCNV): Added VULKANPROCNV support.
|
17
|
+
* generator/get_gl_xml.rb: Fixed URL to fetch 'gl.xml'.
|
18
|
+
|
19
|
+
2017-02-18 vaiorabbit <http://twitter.com/vaiorabbit>
|
20
|
+
|
21
|
+
* Updated using latest gl.xml.
|
22
|
+
|
23
|
+
2017-02-11 vaiorabbit <http://twitter.com/vaiorabbit>
|
24
|
+
|
25
|
+
* Updated using latest gl.xml.
|
26
|
+
|
27
|
+
2017-01-30 vaiorabbit <http://twitter.com/vaiorabbit>
|
28
|
+
|
29
|
+
* Updated using latest gl.xml.
|
30
|
+
|
1
31
|
2017-01-28 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
32
|
|
3
33
|
* Updated using latest gl.xml.
|
data/LICENSE.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
Ruby-OpenGL : Yet another OpenGL wrapper for Ruby (and wrapper code generator)
|
2
|
-
Copyright (c) 2013-
|
2
|
+
Copyright (c) 2013-2017 vaiorabbit <http://twitter.com/vaiorabbit>
|
3
3
|
|
4
4
|
This software is provided 'as-is', without any express or implied
|
5
5
|
warranty. In no event will the authors be held liable for any damages
|
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 : 2017-
|
8
|
+
* Last modified : 2017-06-11
|
9
9
|
|
10
10
|
|
11
11
|
## Features ##
|
@@ -104,6 +104,7 @@ Use GLFW or GLUT for creating windows and OpenGL rendering contexts.
|
|
104
104
|
## Tested Environment ##
|
105
105
|
|
106
106
|
* Ruby
|
107
|
+
* ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
|
107
108
|
* ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
|
108
109
|
* ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
|
109
110
|
* ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32]
|
@@ -341,6 +342,7 @@ GLFW か GLUT を用意してください。ウィンドウやレンダリング
|
|
341
342
|
## テストした環境 ##
|
342
343
|
|
343
344
|
* Ruby
|
345
|
+
* ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
|
344
346
|
* ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
|
345
347
|
* ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
|
346
348
|
* ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32]
|
data/lib/opengl_enum.rb
CHANGED
@@ -87,7 +87,6 @@ module OpenGL
|
|
87
87
|
GL_BLEND_SRC = 0x0BE1
|
88
88
|
GL_BLEND = 0x0BE2
|
89
89
|
GL_LOGIC_OP_MODE = 0x0BF0
|
90
|
-
GL_COLOR_LOGIC_OP = 0x0BF2
|
91
90
|
GL_DRAW_BUFFER = 0x0C01
|
92
91
|
GL_READ_BUFFER = 0x0C02
|
93
92
|
GL_SCISSOR_BOX = 0x0C10
|
@@ -115,21 +114,9 @@ module OpenGL
|
|
115
114
|
GL_SUBPIXEL_BITS = 0x0D50
|
116
115
|
GL_TEXTURE_1D = 0x0DE0
|
117
116
|
GL_TEXTURE_2D = 0x0DE1
|
118
|
-
GL_POLYGON_OFFSET_UNITS = 0x2A00
|
119
|
-
GL_POLYGON_OFFSET_POINT = 0x2A01
|
120
|
-
GL_POLYGON_OFFSET_LINE = 0x2A02
|
121
|
-
GL_POLYGON_OFFSET_FILL = 0x8037
|
122
|
-
GL_POLYGON_OFFSET_FACTOR = 0x8038
|
123
|
-
GL_TEXTURE_BINDING_1D = 0x8068
|
124
|
-
GL_TEXTURE_BINDING_2D = 0x8069
|
125
117
|
GL_TEXTURE_WIDTH = 0x1000
|
126
118
|
GL_TEXTURE_HEIGHT = 0x1001
|
127
|
-
GL_TEXTURE_INTERNAL_FORMAT = 0x1003
|
128
119
|
GL_TEXTURE_BORDER_COLOR = 0x1004
|
129
|
-
GL_TEXTURE_RED_SIZE = 0x805C
|
130
|
-
GL_TEXTURE_GREEN_SIZE = 0x805D
|
131
|
-
GL_TEXTURE_BLUE_SIZE = 0x805E
|
132
|
-
GL_TEXTURE_ALPHA_SIZE = 0x805F
|
133
120
|
GL_DONT_CARE = 0x1100
|
134
121
|
GL_FASTEST = 0x1101
|
135
122
|
GL_NICEST = 0x1102
|
@@ -140,7 +127,6 @@ module OpenGL
|
|
140
127
|
GL_INT = 0x1404
|
141
128
|
GL_UNSIGNED_INT = 0x1405
|
142
129
|
GL_FLOAT = 0x1406
|
143
|
-
GL_DOUBLE = 0x140A
|
144
130
|
GL_STACK_OVERFLOW = 0x0503
|
145
131
|
GL_STACK_UNDERFLOW = 0x0504
|
146
132
|
GL_CLEAR = 0x1500
|
@@ -192,23 +178,7 @@ module OpenGL
|
|
192
178
|
GL_TEXTURE_MIN_FILTER = 0x2801
|
193
179
|
GL_TEXTURE_WRAP_S = 0x2802
|
194
180
|
GL_TEXTURE_WRAP_T = 0x2803
|
195
|
-
GL_PROXY_TEXTURE_1D = 0x8063
|
196
|
-
GL_PROXY_TEXTURE_2D = 0x8064
|
197
181
|
GL_REPEAT = 0x2901
|
198
|
-
GL_R3_G3_B2 = 0x2A10
|
199
|
-
GL_RGB4 = 0x804F
|
200
|
-
GL_RGB5 = 0x8050
|
201
|
-
GL_RGB8 = 0x8051
|
202
|
-
GL_RGB10 = 0x8052
|
203
|
-
GL_RGB12 = 0x8053
|
204
|
-
GL_RGB16 = 0x8054
|
205
|
-
GL_RGBA2 = 0x8055
|
206
|
-
GL_RGBA4 = 0x8056
|
207
|
-
GL_RGB5_A1 = 0x8057
|
208
|
-
GL_RGBA8 = 0x8058
|
209
|
-
GL_RGB10_A2 = 0x8059
|
210
|
-
GL_RGBA12 = 0x805A
|
211
|
-
GL_RGBA16 = 0x805B
|
212
182
|
GL_CURRENT_BIT = 0x00000001
|
213
183
|
GL_POINT_BIT = 0x00000002
|
214
184
|
GL_LINE_BIT = 0x00000004
|
@@ -227,9 +197,6 @@ module OpenGL
|
|
227
197
|
GL_TEXTURE_BIT = 0x00040000
|
228
198
|
GL_SCISSOR_BIT = 0x00080000
|
229
199
|
GL_ALL_ATTRIB_BITS = 0xFFFFFFFF
|
230
|
-
GL_CLIENT_PIXEL_STORE_BIT = 0x00000001
|
231
|
-
GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002
|
232
|
-
GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF
|
233
200
|
GL_QUAD_STRIP = 0x0008
|
234
201
|
GL_POLYGON = 0x0009
|
235
202
|
GL_ACCUM = 0x0100
|
@@ -269,14 +236,6 @@ module OpenGL
|
|
269
236
|
GL_PIXEL_MAP_G_TO_G = 0x0C77
|
270
237
|
GL_PIXEL_MAP_B_TO_B = 0x0C78
|
271
238
|
GL_PIXEL_MAP_A_TO_A = 0x0C79
|
272
|
-
GL_VERTEX_ARRAY_POINTER = 0x808E
|
273
|
-
GL_NORMAL_ARRAY_POINTER = 0x808F
|
274
|
-
GL_COLOR_ARRAY_POINTER = 0x8090
|
275
|
-
GL_INDEX_ARRAY_POINTER = 0x8091
|
276
|
-
GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092
|
277
|
-
GL_EDGE_FLAG_ARRAY_POINTER = 0x8093
|
278
|
-
GL_FEEDBACK_BUFFER_POINTER = 0x0DF0
|
279
|
-
GL_SELECTION_BUFFER_POINTER = 0x0DF3
|
280
239
|
GL_CURRENT_COLOR = 0x0B00
|
281
240
|
GL_CURRENT_INDEX = 0x0B01
|
282
241
|
GL_CURRENT_NORMAL = 0x0B02
|
@@ -322,11 +281,9 @@ module OpenGL
|
|
322
281
|
GL_PROJECTION_MATRIX = 0x0BA7
|
323
282
|
GL_TEXTURE_MATRIX = 0x0BA8
|
324
283
|
GL_ATTRIB_STACK_DEPTH = 0x0BB0
|
325
|
-
GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1
|
326
284
|
GL_ALPHA_TEST = 0x0BC0
|
327
285
|
GL_ALPHA_TEST_FUNC = 0x0BC1
|
328
286
|
GL_ALPHA_TEST_REF = 0x0BC2
|
329
|
-
GL_INDEX_LOGIC_OP = 0x0BF1
|
330
287
|
GL_LOGIC_OP = 0x0BF1
|
331
288
|
GL_AUX_BUFFERS = 0x0C00
|
332
289
|
GL_INDEX_CLEAR_VALUE = 0x0C20
|
@@ -376,7 +333,6 @@ module OpenGL
|
|
376
333
|
GL_MAX_NAME_STACK_DEPTH = 0x0D37
|
377
334
|
GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38
|
378
335
|
GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39
|
379
|
-
GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B
|
380
336
|
GL_INDEX_BITS = 0x0D51
|
381
337
|
GL_RED_BITS = 0x0D52
|
382
338
|
GL_GREEN_BITS = 0x0D53
|
@@ -412,35 +368,8 @@ module OpenGL
|
|
412
368
|
GL_MAP1_GRID_SEGMENTS = 0x0DD1
|
413
369
|
GL_MAP2_GRID_DOMAIN = 0x0DD2
|
414
370
|
GL_MAP2_GRID_SEGMENTS = 0x0DD3
|
415
|
-
GL_FEEDBACK_BUFFER_SIZE = 0x0DF1
|
416
|
-
GL_FEEDBACK_BUFFER_TYPE = 0x0DF2
|
417
|
-
GL_SELECTION_BUFFER_SIZE = 0x0DF4
|
418
|
-
GL_VERTEX_ARRAY = 0x8074
|
419
|
-
GL_NORMAL_ARRAY = 0x8075
|
420
|
-
GL_COLOR_ARRAY = 0x8076
|
421
|
-
GL_INDEX_ARRAY = 0x8077
|
422
|
-
GL_TEXTURE_COORD_ARRAY = 0x8078
|
423
|
-
GL_EDGE_FLAG_ARRAY = 0x8079
|
424
|
-
GL_VERTEX_ARRAY_SIZE = 0x807A
|
425
|
-
GL_VERTEX_ARRAY_TYPE = 0x807B
|
426
|
-
GL_VERTEX_ARRAY_STRIDE = 0x807C
|
427
|
-
GL_NORMAL_ARRAY_TYPE = 0x807E
|
428
|
-
GL_NORMAL_ARRAY_STRIDE = 0x807F
|
429
|
-
GL_COLOR_ARRAY_SIZE = 0x8081
|
430
|
-
GL_COLOR_ARRAY_TYPE = 0x8082
|
431
|
-
GL_COLOR_ARRAY_STRIDE = 0x8083
|
432
|
-
GL_INDEX_ARRAY_TYPE = 0x8085
|
433
|
-
GL_INDEX_ARRAY_STRIDE = 0x8086
|
434
|
-
GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088
|
435
|
-
GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089
|
436
|
-
GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A
|
437
|
-
GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C
|
438
371
|
GL_TEXTURE_COMPONENTS = 0x1003
|
439
372
|
GL_TEXTURE_BORDER = 0x1005
|
440
|
-
GL_TEXTURE_LUMINANCE_SIZE = 0x8060
|
441
|
-
GL_TEXTURE_INTENSITY_SIZE = 0x8061
|
442
|
-
GL_TEXTURE_PRIORITY = 0x8066
|
443
|
-
GL_TEXTURE_RESIDENT = 0x8067
|
444
373
|
GL_AMBIENT = 0x1200
|
445
374
|
GL_DIFFUSE = 0x1201
|
446
375
|
GL_SPECULAR = 0x1202
|
@@ -487,6 +416,91 @@ module OpenGL
|
|
487
416
|
GL_OBJECT_PLANE = 0x2501
|
488
417
|
GL_EYE_PLANE = 0x2502
|
489
418
|
GL_CLAMP = 0x2900
|
419
|
+
GL_CLIP_PLANE0 = 0x3000
|
420
|
+
GL_CLIP_PLANE1 = 0x3001
|
421
|
+
GL_CLIP_PLANE2 = 0x3002
|
422
|
+
GL_CLIP_PLANE3 = 0x3003
|
423
|
+
GL_CLIP_PLANE4 = 0x3004
|
424
|
+
GL_CLIP_PLANE5 = 0x3005
|
425
|
+
GL_LIGHT0 = 0x4000
|
426
|
+
GL_LIGHT1 = 0x4001
|
427
|
+
GL_LIGHT2 = 0x4002
|
428
|
+
GL_LIGHT3 = 0x4003
|
429
|
+
GL_LIGHT4 = 0x4004
|
430
|
+
GL_LIGHT5 = 0x4005
|
431
|
+
GL_LIGHT6 = 0x4006
|
432
|
+
GL_LIGHT7 = 0x4007
|
433
|
+
GL_COLOR_LOGIC_OP = 0x0BF2
|
434
|
+
GL_POLYGON_OFFSET_UNITS = 0x2A00
|
435
|
+
GL_POLYGON_OFFSET_POINT = 0x2A01
|
436
|
+
GL_POLYGON_OFFSET_LINE = 0x2A02
|
437
|
+
GL_POLYGON_OFFSET_FILL = 0x8037
|
438
|
+
GL_POLYGON_OFFSET_FACTOR = 0x8038
|
439
|
+
GL_TEXTURE_BINDING_1D = 0x8068
|
440
|
+
GL_TEXTURE_BINDING_2D = 0x8069
|
441
|
+
GL_TEXTURE_INTERNAL_FORMAT = 0x1003
|
442
|
+
GL_TEXTURE_RED_SIZE = 0x805C
|
443
|
+
GL_TEXTURE_GREEN_SIZE = 0x805D
|
444
|
+
GL_TEXTURE_BLUE_SIZE = 0x805E
|
445
|
+
GL_TEXTURE_ALPHA_SIZE = 0x805F
|
446
|
+
GL_DOUBLE = 0x140A
|
447
|
+
GL_PROXY_TEXTURE_1D = 0x8063
|
448
|
+
GL_PROXY_TEXTURE_2D = 0x8064
|
449
|
+
GL_R3_G3_B2 = 0x2A10
|
450
|
+
GL_RGB4 = 0x804F
|
451
|
+
GL_RGB5 = 0x8050
|
452
|
+
GL_RGB8 = 0x8051
|
453
|
+
GL_RGB10 = 0x8052
|
454
|
+
GL_RGB12 = 0x8053
|
455
|
+
GL_RGB16 = 0x8054
|
456
|
+
GL_RGBA2 = 0x8055
|
457
|
+
GL_RGBA4 = 0x8056
|
458
|
+
GL_RGB5_A1 = 0x8057
|
459
|
+
GL_RGBA8 = 0x8058
|
460
|
+
GL_RGB10_A2 = 0x8059
|
461
|
+
GL_RGBA12 = 0x805A
|
462
|
+
GL_RGBA16 = 0x805B
|
463
|
+
GL_CLIENT_PIXEL_STORE_BIT = 0x00000001
|
464
|
+
GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002
|
465
|
+
GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF
|
466
|
+
GL_VERTEX_ARRAY_POINTER = 0x808E
|
467
|
+
GL_NORMAL_ARRAY_POINTER = 0x808F
|
468
|
+
GL_COLOR_ARRAY_POINTER = 0x8090
|
469
|
+
GL_INDEX_ARRAY_POINTER = 0x8091
|
470
|
+
GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092
|
471
|
+
GL_EDGE_FLAG_ARRAY_POINTER = 0x8093
|
472
|
+
GL_FEEDBACK_BUFFER_POINTER = 0x0DF0
|
473
|
+
GL_SELECTION_BUFFER_POINTER = 0x0DF3
|
474
|
+
GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1
|
475
|
+
GL_INDEX_LOGIC_OP = 0x0BF1
|
476
|
+
GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B
|
477
|
+
GL_FEEDBACK_BUFFER_SIZE = 0x0DF1
|
478
|
+
GL_FEEDBACK_BUFFER_TYPE = 0x0DF2
|
479
|
+
GL_SELECTION_BUFFER_SIZE = 0x0DF4
|
480
|
+
GL_VERTEX_ARRAY = 0x8074
|
481
|
+
GL_NORMAL_ARRAY = 0x8075
|
482
|
+
GL_COLOR_ARRAY = 0x8076
|
483
|
+
GL_INDEX_ARRAY = 0x8077
|
484
|
+
GL_TEXTURE_COORD_ARRAY = 0x8078
|
485
|
+
GL_EDGE_FLAG_ARRAY = 0x8079
|
486
|
+
GL_VERTEX_ARRAY_SIZE = 0x807A
|
487
|
+
GL_VERTEX_ARRAY_TYPE = 0x807B
|
488
|
+
GL_VERTEX_ARRAY_STRIDE = 0x807C
|
489
|
+
GL_NORMAL_ARRAY_TYPE = 0x807E
|
490
|
+
GL_NORMAL_ARRAY_STRIDE = 0x807F
|
491
|
+
GL_COLOR_ARRAY_SIZE = 0x8081
|
492
|
+
GL_COLOR_ARRAY_TYPE = 0x8082
|
493
|
+
GL_COLOR_ARRAY_STRIDE = 0x8083
|
494
|
+
GL_INDEX_ARRAY_TYPE = 0x8085
|
495
|
+
GL_INDEX_ARRAY_STRIDE = 0x8086
|
496
|
+
GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088
|
497
|
+
GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089
|
498
|
+
GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A
|
499
|
+
GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C
|
500
|
+
GL_TEXTURE_LUMINANCE_SIZE = 0x8060
|
501
|
+
GL_TEXTURE_INTENSITY_SIZE = 0x8061
|
502
|
+
GL_TEXTURE_PRIORITY = 0x8066
|
503
|
+
GL_TEXTURE_RESIDENT = 0x8067
|
490
504
|
GL_ALPHA4 = 0x803B
|
491
505
|
GL_ALPHA8 = 0x803C
|
492
506
|
GL_ALPHA12 = 0x803D
|
@@ -520,20 +534,6 @@ module OpenGL
|
|
520
534
|
GL_T2F_N3F_V3F = 0x2A2B
|
521
535
|
GL_T2F_C4F_N3F_V3F = 0x2A2C
|
522
536
|
GL_T4F_C4F_N3F_V4F = 0x2A2D
|
523
|
-
GL_CLIP_PLANE0 = 0x3000
|
524
|
-
GL_CLIP_PLANE1 = 0x3001
|
525
|
-
GL_CLIP_PLANE2 = 0x3002
|
526
|
-
GL_CLIP_PLANE3 = 0x3003
|
527
|
-
GL_CLIP_PLANE4 = 0x3004
|
528
|
-
GL_CLIP_PLANE5 = 0x3005
|
529
|
-
GL_LIGHT0 = 0x4000
|
530
|
-
GL_LIGHT1 = 0x4001
|
531
|
-
GL_LIGHT2 = 0x4002
|
532
|
-
GL_LIGHT3 = 0x4003
|
533
|
-
GL_LIGHT4 = 0x4004
|
534
|
-
GL_LIGHT5 = 0x4005
|
535
|
-
GL_LIGHT6 = 0x4006
|
536
|
-
GL_LIGHT7 = 0x4007
|
537
537
|
GL_UNSIGNED_BYTE_3_3_2 = 0x8032
|
538
538
|
GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033
|
539
539
|
GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034
|
@@ -486,15 +486,6 @@ module OpenGLExt
|
|
486
486
|
end # self.get_ext_command_GL_APPLE_texture_packed_float
|
487
487
|
|
488
488
|
|
489
|
-
def self.define_ext_command_GL_ARB_sparse_texture2
|
490
|
-
end # self.define_ext_command_GL_ARB_sparse_texture2
|
491
|
-
|
492
|
-
def self.get_ext_command_GL_ARB_sparse_texture2
|
493
|
-
[
|
494
|
-
]
|
495
|
-
end # self.get_ext_command_GL_ARB_sparse_texture2
|
496
|
-
|
497
|
-
|
498
489
|
def self.define_ext_command_GL_ARM_mali_program_binary
|
499
490
|
end # self.define_ext_command_GL_ARM_mali_program_binary
|
500
491
|
|
@@ -558,6 +549,15 @@ module OpenGLExt
|
|
558
549
|
end # self.get_ext_command_GL_DMP_shader_binary
|
559
550
|
|
560
551
|
|
552
|
+
def self.define_ext_command_GL_EXT_EGL_image_array
|
553
|
+
end # self.define_ext_command_GL_EXT_EGL_image_array
|
554
|
+
|
555
|
+
def self.get_ext_command_GL_EXT_EGL_image_array
|
556
|
+
[
|
557
|
+
]
|
558
|
+
end # self.get_ext_command_GL_EXT_EGL_image_array
|
559
|
+
|
560
|
+
|
561
561
|
def self.define_ext_command_GL_EXT_YUV_target
|
562
562
|
end # self.define_ext_command_GL_EXT_YUV_target
|
563
563
|
|
@@ -1294,6 +1294,250 @@ module OpenGLExt
|
|
1294
1294
|
end # self.get_ext_command_GL_EXT_map_buffer_range
|
1295
1295
|
|
1296
1296
|
|
1297
|
+
def self.define_ext_command_GL_EXT_memory_object
|
1298
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetUnsignedBytevEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1299
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetUnsignedBytevEXT] = Fiddle::TYPE_VOID
|
1300
|
+
OpenGL.module_eval(<<-SRC)
|
1301
|
+
def glGetUnsignedBytevEXT(_pname_, _data_)
|
1302
|
+
f = OpenGL::get_command(:glGetUnsignedBytevEXT)
|
1303
|
+
f.call(_pname_, _data_)
|
1304
|
+
end
|
1305
|
+
SRC
|
1306
|
+
|
1307
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetUnsignedBytei_vEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1308
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetUnsignedBytei_vEXT] = Fiddle::TYPE_VOID
|
1309
|
+
OpenGL.module_eval(<<-SRC)
|
1310
|
+
def glGetUnsignedBytei_vEXT(_target_, _index_, _data_)
|
1311
|
+
f = OpenGL::get_command(:glGetUnsignedBytei_vEXT)
|
1312
|
+
f.call(_target_, _index_, _data_)
|
1313
|
+
end
|
1314
|
+
SRC
|
1315
|
+
|
1316
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glDeleteMemoryObjectsEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1317
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glDeleteMemoryObjectsEXT] = Fiddle::TYPE_VOID
|
1318
|
+
OpenGL.module_eval(<<-SRC)
|
1319
|
+
def glDeleteMemoryObjectsEXT(_n_, _memoryObjects_)
|
1320
|
+
f = OpenGL::get_command(:glDeleteMemoryObjectsEXT)
|
1321
|
+
f.call(_n_, _memoryObjects_)
|
1322
|
+
end
|
1323
|
+
SRC
|
1324
|
+
|
1325
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glIsMemoryObjectEXT] = [-Fiddle::TYPE_INT]
|
1326
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glIsMemoryObjectEXT] = -Fiddle::TYPE_CHAR
|
1327
|
+
OpenGL.module_eval(<<-SRC)
|
1328
|
+
def glIsMemoryObjectEXT(_memoryObject_)
|
1329
|
+
f = OpenGL::get_command(:glIsMemoryObjectEXT)
|
1330
|
+
f.call(_memoryObject_)
|
1331
|
+
end
|
1332
|
+
SRC
|
1333
|
+
|
1334
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glCreateMemoryObjectsEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1335
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glCreateMemoryObjectsEXT] = Fiddle::TYPE_VOID
|
1336
|
+
OpenGL.module_eval(<<-SRC)
|
1337
|
+
def glCreateMemoryObjectsEXT(_n_, _memoryObjects_)
|
1338
|
+
f = OpenGL::get_command(:glCreateMemoryObjectsEXT)
|
1339
|
+
f.call(_n_, _memoryObjects_)
|
1340
|
+
end
|
1341
|
+
SRC
|
1342
|
+
|
1343
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMemoryObjectParameterivEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1344
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMemoryObjectParameterivEXT] = Fiddle::TYPE_VOID
|
1345
|
+
OpenGL.module_eval(<<-SRC)
|
1346
|
+
def glMemoryObjectParameterivEXT(_memoryObject_, _pname_, _params_)
|
1347
|
+
f = OpenGL::get_command(:glMemoryObjectParameterivEXT)
|
1348
|
+
f.call(_memoryObject_, _pname_, _params_)
|
1349
|
+
end
|
1350
|
+
SRC
|
1351
|
+
|
1352
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetMemoryObjectParameterivEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1353
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetMemoryObjectParameterivEXT] = Fiddle::TYPE_VOID
|
1354
|
+
OpenGL.module_eval(<<-SRC)
|
1355
|
+
def glGetMemoryObjectParameterivEXT(_memoryObject_, _pname_, _params_)
|
1356
|
+
f = OpenGL::get_command(:glGetMemoryObjectParameterivEXT)
|
1357
|
+
f.call(_memoryObject_, _pname_, _params_)
|
1358
|
+
end
|
1359
|
+
SRC
|
1360
|
+
|
1361
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTexStorageMem2DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1362
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTexStorageMem2DEXT] = Fiddle::TYPE_VOID
|
1363
|
+
OpenGL.module_eval(<<-SRC)
|
1364
|
+
def glTexStorageMem2DEXT(_target_, _levels_, _internalFormat_, _width_, _height_, _memory_, _offset_)
|
1365
|
+
f = OpenGL::get_command(:glTexStorageMem2DEXT)
|
1366
|
+
f.call(_target_, _levels_, _internalFormat_, _width_, _height_, _memory_, _offset_)
|
1367
|
+
end
|
1368
|
+
SRC
|
1369
|
+
|
1370
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTexStorageMem2DMultisampleEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1371
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTexStorageMem2DMultisampleEXT] = Fiddle::TYPE_VOID
|
1372
|
+
OpenGL.module_eval(<<-SRC)
|
1373
|
+
def glTexStorageMem2DMultisampleEXT(_target_, _samples_, _internalFormat_, _width_, _height_, _fixedSampleLocations_, _memory_, _offset_)
|
1374
|
+
f = OpenGL::get_command(:glTexStorageMem2DMultisampleEXT)
|
1375
|
+
f.call(_target_, _samples_, _internalFormat_, _width_, _height_, _fixedSampleLocations_, _memory_, _offset_)
|
1376
|
+
end
|
1377
|
+
SRC
|
1378
|
+
|
1379
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTexStorageMem3DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1380
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTexStorageMem3DEXT] = Fiddle::TYPE_VOID
|
1381
|
+
OpenGL.module_eval(<<-SRC)
|
1382
|
+
def glTexStorageMem3DEXT(_target_, _levels_, _internalFormat_, _width_, _height_, _depth_, _memory_, _offset_)
|
1383
|
+
f = OpenGL::get_command(:glTexStorageMem3DEXT)
|
1384
|
+
f.call(_target_, _levels_, _internalFormat_, _width_, _height_, _depth_, _memory_, _offset_)
|
1385
|
+
end
|
1386
|
+
SRC
|
1387
|
+
|
1388
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTexStorageMem3DMultisampleEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1389
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTexStorageMem3DMultisampleEXT] = Fiddle::TYPE_VOID
|
1390
|
+
OpenGL.module_eval(<<-SRC)
|
1391
|
+
def glTexStorageMem3DMultisampleEXT(_target_, _samples_, _internalFormat_, _width_, _height_, _depth_, _fixedSampleLocations_, _memory_, _offset_)
|
1392
|
+
f = OpenGL::get_command(:glTexStorageMem3DMultisampleEXT)
|
1393
|
+
f.call(_target_, _samples_, _internalFormat_, _width_, _height_, _depth_, _fixedSampleLocations_, _memory_, _offset_)
|
1394
|
+
end
|
1395
|
+
SRC
|
1396
|
+
|
1397
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glBufferStorageMemEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1398
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glBufferStorageMemEXT] = Fiddle::TYPE_VOID
|
1399
|
+
OpenGL.module_eval(<<-SRC)
|
1400
|
+
def glBufferStorageMemEXT(_target_, _size_, _memory_, _offset_)
|
1401
|
+
f = OpenGL::get_command(:glBufferStorageMemEXT)
|
1402
|
+
f.call(_target_, _size_, _memory_, _offset_)
|
1403
|
+
end
|
1404
|
+
SRC
|
1405
|
+
|
1406
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTextureStorageMem2DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1407
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTextureStorageMem2DEXT] = Fiddle::TYPE_VOID
|
1408
|
+
OpenGL.module_eval(<<-SRC)
|
1409
|
+
def glTextureStorageMem2DEXT(_texture_, _levels_, _internalFormat_, _width_, _height_, _memory_, _offset_)
|
1410
|
+
f = OpenGL::get_command(:glTextureStorageMem2DEXT)
|
1411
|
+
f.call(_texture_, _levels_, _internalFormat_, _width_, _height_, _memory_, _offset_)
|
1412
|
+
end
|
1413
|
+
SRC
|
1414
|
+
|
1415
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTextureStorageMem2DMultisampleEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1416
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTextureStorageMem2DMultisampleEXT] = Fiddle::TYPE_VOID
|
1417
|
+
OpenGL.module_eval(<<-SRC)
|
1418
|
+
def glTextureStorageMem2DMultisampleEXT(_texture_, _samples_, _internalFormat_, _width_, _height_, _fixedSampleLocations_, _memory_, _offset_)
|
1419
|
+
f = OpenGL::get_command(:glTextureStorageMem2DMultisampleEXT)
|
1420
|
+
f.call(_texture_, _samples_, _internalFormat_, _width_, _height_, _fixedSampleLocations_, _memory_, _offset_)
|
1421
|
+
end
|
1422
|
+
SRC
|
1423
|
+
|
1424
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTextureStorageMem3DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1425
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTextureStorageMem3DEXT] = Fiddle::TYPE_VOID
|
1426
|
+
OpenGL.module_eval(<<-SRC)
|
1427
|
+
def glTextureStorageMem3DEXT(_texture_, _levels_, _internalFormat_, _width_, _height_, _depth_, _memory_, _offset_)
|
1428
|
+
f = OpenGL::get_command(:glTextureStorageMem3DEXT)
|
1429
|
+
f.call(_texture_, _levels_, _internalFormat_, _width_, _height_, _depth_, _memory_, _offset_)
|
1430
|
+
end
|
1431
|
+
SRC
|
1432
|
+
|
1433
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTextureStorageMem3DMultisampleEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1434
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTextureStorageMem3DMultisampleEXT] = Fiddle::TYPE_VOID
|
1435
|
+
OpenGL.module_eval(<<-SRC)
|
1436
|
+
def glTextureStorageMem3DMultisampleEXT(_texture_, _samples_, _internalFormat_, _width_, _height_, _depth_, _fixedSampleLocations_, _memory_, _offset_)
|
1437
|
+
f = OpenGL::get_command(:glTextureStorageMem3DMultisampleEXT)
|
1438
|
+
f.call(_texture_, _samples_, _internalFormat_, _width_, _height_, _depth_, _fixedSampleLocations_, _memory_, _offset_)
|
1439
|
+
end
|
1440
|
+
SRC
|
1441
|
+
|
1442
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glNamedBufferStorageMemEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1443
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glNamedBufferStorageMemEXT] = Fiddle::TYPE_VOID
|
1444
|
+
OpenGL.module_eval(<<-SRC)
|
1445
|
+
def glNamedBufferStorageMemEXT(_buffer_, _size_, _memory_, _offset_)
|
1446
|
+
f = OpenGL::get_command(:glNamedBufferStorageMemEXT)
|
1447
|
+
f.call(_buffer_, _size_, _memory_, _offset_)
|
1448
|
+
end
|
1449
|
+
SRC
|
1450
|
+
|
1451
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTexStorageMem1DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1452
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTexStorageMem1DEXT] = Fiddle::TYPE_VOID
|
1453
|
+
OpenGL.module_eval(<<-SRC)
|
1454
|
+
def glTexStorageMem1DEXT(_target_, _levels_, _internalFormat_, _width_, _memory_, _offset_)
|
1455
|
+
f = OpenGL::get_command(:glTexStorageMem1DEXT)
|
1456
|
+
f.call(_target_, _levels_, _internalFormat_, _width_, _memory_, _offset_)
|
1457
|
+
end
|
1458
|
+
SRC
|
1459
|
+
|
1460
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glTextureStorageMem1DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1461
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glTextureStorageMem1DEXT] = Fiddle::TYPE_VOID
|
1462
|
+
OpenGL.module_eval(<<-SRC)
|
1463
|
+
def glTextureStorageMem1DEXT(_texture_, _levels_, _internalFormat_, _width_, _memory_, _offset_)
|
1464
|
+
f = OpenGL::get_command(:glTextureStorageMem1DEXT)
|
1465
|
+
f.call(_texture_, _levels_, _internalFormat_, _width_, _memory_, _offset_)
|
1466
|
+
end
|
1467
|
+
SRC
|
1468
|
+
end # self.define_ext_command_GL_EXT_memory_object
|
1469
|
+
|
1470
|
+
def self.get_ext_command_GL_EXT_memory_object
|
1471
|
+
[
|
1472
|
+
'glGetUnsignedBytevEXT',
|
1473
|
+
'glGetUnsignedBytei_vEXT',
|
1474
|
+
'glDeleteMemoryObjectsEXT',
|
1475
|
+
'glIsMemoryObjectEXT',
|
1476
|
+
'glCreateMemoryObjectsEXT',
|
1477
|
+
'glMemoryObjectParameterivEXT',
|
1478
|
+
'glGetMemoryObjectParameterivEXT',
|
1479
|
+
'glTexStorageMem2DEXT',
|
1480
|
+
'glTexStorageMem2DMultisampleEXT',
|
1481
|
+
'glTexStorageMem3DEXT',
|
1482
|
+
'glTexStorageMem3DMultisampleEXT',
|
1483
|
+
'glBufferStorageMemEXT',
|
1484
|
+
'glTextureStorageMem2DEXT',
|
1485
|
+
'glTextureStorageMem2DMultisampleEXT',
|
1486
|
+
'glTextureStorageMem3DEXT',
|
1487
|
+
'glTextureStorageMem3DMultisampleEXT',
|
1488
|
+
'glNamedBufferStorageMemEXT',
|
1489
|
+
'glTexStorageMem1DEXT',
|
1490
|
+
'glTextureStorageMem1DEXT',
|
1491
|
+
]
|
1492
|
+
end # self.get_ext_command_GL_EXT_memory_object
|
1493
|
+
|
1494
|
+
|
1495
|
+
def self.define_ext_command_GL_EXT_memory_object_fd
|
1496
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glImportMemoryFdEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1497
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glImportMemoryFdEXT] = Fiddle::TYPE_VOID
|
1498
|
+
OpenGL.module_eval(<<-SRC)
|
1499
|
+
def glImportMemoryFdEXT(_memory_, _size_, _handleType_, _fd_)
|
1500
|
+
f = OpenGL::get_command(:glImportMemoryFdEXT)
|
1501
|
+
f.call(_memory_, _size_, _handleType_, _fd_)
|
1502
|
+
end
|
1503
|
+
SRC
|
1504
|
+
end # self.define_ext_command_GL_EXT_memory_object_fd
|
1505
|
+
|
1506
|
+
def self.get_ext_command_GL_EXT_memory_object_fd
|
1507
|
+
[
|
1508
|
+
'glImportMemoryFdEXT',
|
1509
|
+
]
|
1510
|
+
end # self.get_ext_command_GL_EXT_memory_object_fd
|
1511
|
+
|
1512
|
+
|
1513
|
+
def self.define_ext_command_GL_EXT_memory_object_win32
|
1514
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glImportMemoryWin32HandleEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1515
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glImportMemoryWin32HandleEXT] = Fiddle::TYPE_VOID
|
1516
|
+
OpenGL.module_eval(<<-SRC)
|
1517
|
+
def glImportMemoryWin32HandleEXT(_memory_, _size_, _handleType_, _handle_)
|
1518
|
+
f = OpenGL::get_command(:glImportMemoryWin32HandleEXT)
|
1519
|
+
f.call(_memory_, _size_, _handleType_, _handle_)
|
1520
|
+
end
|
1521
|
+
SRC
|
1522
|
+
|
1523
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glImportMemoryWin32NameEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1524
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glImportMemoryWin32NameEXT] = Fiddle::TYPE_VOID
|
1525
|
+
OpenGL.module_eval(<<-SRC)
|
1526
|
+
def glImportMemoryWin32NameEXT(_memory_, _size_, _handleType_, _name_)
|
1527
|
+
f = OpenGL::get_command(:glImportMemoryWin32NameEXT)
|
1528
|
+
f.call(_memory_, _size_, _handleType_, _name_)
|
1529
|
+
end
|
1530
|
+
SRC
|
1531
|
+
end # self.define_ext_command_GL_EXT_memory_object_win32
|
1532
|
+
|
1533
|
+
def self.get_ext_command_GL_EXT_memory_object_win32
|
1534
|
+
[
|
1535
|
+
'glImportMemoryWin32HandleEXT',
|
1536
|
+
'glImportMemoryWin32NameEXT',
|
1537
|
+
]
|
1538
|
+
end # self.get_ext_command_GL_EXT_memory_object_win32
|
1539
|
+
|
1540
|
+
|
1297
1541
|
def self.define_ext_command_GL_EXT_multi_draw_arrays
|
1298
1542
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glMultiDrawArraysEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT]
|
1299
1543
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glMultiDrawArraysEXT] = Fiddle::TYPE_VOID
|
@@ -1650,6 +1894,150 @@ module OpenGLExt
|
|
1650
1894
|
end # self.get_ext_command_GL_EXT_robustness
|
1651
1895
|
|
1652
1896
|
|
1897
|
+
def self.define_ext_command_GL_EXT_semaphore
|
1898
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetUnsignedBytevEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1899
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetUnsignedBytevEXT] = Fiddle::TYPE_VOID
|
1900
|
+
OpenGL.module_eval(<<-SRC)
|
1901
|
+
def glGetUnsignedBytevEXT(_pname_, _data_)
|
1902
|
+
f = OpenGL::get_command(:glGetUnsignedBytevEXT)
|
1903
|
+
f.call(_pname_, _data_)
|
1904
|
+
end
|
1905
|
+
SRC
|
1906
|
+
|
1907
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetUnsignedBytei_vEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1908
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetUnsignedBytei_vEXT] = Fiddle::TYPE_VOID
|
1909
|
+
OpenGL.module_eval(<<-SRC)
|
1910
|
+
def glGetUnsignedBytei_vEXT(_target_, _index_, _data_)
|
1911
|
+
f = OpenGL::get_command(:glGetUnsignedBytei_vEXT)
|
1912
|
+
f.call(_target_, _index_, _data_)
|
1913
|
+
end
|
1914
|
+
SRC
|
1915
|
+
|
1916
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGenSemaphoresEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1917
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGenSemaphoresEXT] = Fiddle::TYPE_VOID
|
1918
|
+
OpenGL.module_eval(<<-SRC)
|
1919
|
+
def glGenSemaphoresEXT(_n_, _semaphores_)
|
1920
|
+
f = OpenGL::get_command(:glGenSemaphoresEXT)
|
1921
|
+
f.call(_n_, _semaphores_)
|
1922
|
+
end
|
1923
|
+
SRC
|
1924
|
+
|
1925
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glDeleteSemaphoresEXT] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1926
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glDeleteSemaphoresEXT] = Fiddle::TYPE_VOID
|
1927
|
+
OpenGL.module_eval(<<-SRC)
|
1928
|
+
def glDeleteSemaphoresEXT(_n_, _semaphores_)
|
1929
|
+
f = OpenGL::get_command(:glDeleteSemaphoresEXT)
|
1930
|
+
f.call(_n_, _semaphores_)
|
1931
|
+
end
|
1932
|
+
SRC
|
1933
|
+
|
1934
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glIsSemaphoreEXT] = [-Fiddle::TYPE_INT]
|
1935
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glIsSemaphoreEXT] = -Fiddle::TYPE_CHAR
|
1936
|
+
OpenGL.module_eval(<<-SRC)
|
1937
|
+
def glIsSemaphoreEXT(_semaphore_)
|
1938
|
+
f = OpenGL::get_command(:glIsSemaphoreEXT)
|
1939
|
+
f.call(_semaphore_)
|
1940
|
+
end
|
1941
|
+
SRC
|
1942
|
+
|
1943
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glSemaphoreParameterui64vEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1944
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glSemaphoreParameterui64vEXT] = Fiddle::TYPE_VOID
|
1945
|
+
OpenGL.module_eval(<<-SRC)
|
1946
|
+
def glSemaphoreParameterui64vEXT(_semaphore_, _pname_, _params_)
|
1947
|
+
f = OpenGL::get_command(:glSemaphoreParameterui64vEXT)
|
1948
|
+
f.call(_semaphore_, _pname_, _params_)
|
1949
|
+
end
|
1950
|
+
SRC
|
1951
|
+
|
1952
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetSemaphoreParameterui64vEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1953
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetSemaphoreParameterui64vEXT] = Fiddle::TYPE_VOID
|
1954
|
+
OpenGL.module_eval(<<-SRC)
|
1955
|
+
def glGetSemaphoreParameterui64vEXT(_semaphore_, _pname_, _params_)
|
1956
|
+
f = OpenGL::get_command(:glGetSemaphoreParameterui64vEXT)
|
1957
|
+
f.call(_semaphore_, _pname_, _params_)
|
1958
|
+
end
|
1959
|
+
SRC
|
1960
|
+
|
1961
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glWaitSemaphoreEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
1962
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glWaitSemaphoreEXT] = Fiddle::TYPE_VOID
|
1963
|
+
OpenGL.module_eval(<<-SRC)
|
1964
|
+
def glWaitSemaphoreEXT(_semaphore_, _numBufferBarriers_, _buffers_, _numTextureBarriers_, _textures_, _srcLayouts_)
|
1965
|
+
f = OpenGL::get_command(:glWaitSemaphoreEXT)
|
1966
|
+
f.call(_semaphore_, _numBufferBarriers_, _buffers_, _numTextureBarriers_, _textures_, _srcLayouts_)
|
1967
|
+
end
|
1968
|
+
SRC
|
1969
|
+
|
1970
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glSignalSemaphoreEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
1971
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glSignalSemaphoreEXT] = Fiddle::TYPE_VOID
|
1972
|
+
OpenGL.module_eval(<<-SRC)
|
1973
|
+
def glSignalSemaphoreEXT(_semaphore_, _numBufferBarriers_, _buffers_, _numTextureBarriers_, _textures_, _dstLayouts_)
|
1974
|
+
f = OpenGL::get_command(:glSignalSemaphoreEXT)
|
1975
|
+
f.call(_semaphore_, _numBufferBarriers_, _buffers_, _numTextureBarriers_, _textures_, _dstLayouts_)
|
1976
|
+
end
|
1977
|
+
SRC
|
1978
|
+
end # self.define_ext_command_GL_EXT_semaphore
|
1979
|
+
|
1980
|
+
def self.get_ext_command_GL_EXT_semaphore
|
1981
|
+
[
|
1982
|
+
'glGetUnsignedBytevEXT',
|
1983
|
+
'glGetUnsignedBytei_vEXT',
|
1984
|
+
'glGenSemaphoresEXT',
|
1985
|
+
'glDeleteSemaphoresEXT',
|
1986
|
+
'glIsSemaphoreEXT',
|
1987
|
+
'glSemaphoreParameterui64vEXT',
|
1988
|
+
'glGetSemaphoreParameterui64vEXT',
|
1989
|
+
'glWaitSemaphoreEXT',
|
1990
|
+
'glSignalSemaphoreEXT',
|
1991
|
+
]
|
1992
|
+
end # self.get_ext_command_GL_EXT_semaphore
|
1993
|
+
|
1994
|
+
|
1995
|
+
def self.define_ext_command_GL_EXT_semaphore_fd
|
1996
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glImportSemaphoreFdEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1997
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glImportSemaphoreFdEXT] = Fiddle::TYPE_VOID
|
1998
|
+
OpenGL.module_eval(<<-SRC)
|
1999
|
+
def glImportSemaphoreFdEXT(_semaphore_, _handleType_, _fd_)
|
2000
|
+
f = OpenGL::get_command(:glImportSemaphoreFdEXT)
|
2001
|
+
f.call(_semaphore_, _handleType_, _fd_)
|
2002
|
+
end
|
2003
|
+
SRC
|
2004
|
+
end # self.define_ext_command_GL_EXT_semaphore_fd
|
2005
|
+
|
2006
|
+
def self.get_ext_command_GL_EXT_semaphore_fd
|
2007
|
+
[
|
2008
|
+
'glImportSemaphoreFdEXT',
|
2009
|
+
]
|
2010
|
+
end # self.get_ext_command_GL_EXT_semaphore_fd
|
2011
|
+
|
2012
|
+
|
2013
|
+
def self.define_ext_command_GL_EXT_semaphore_win32
|
2014
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glImportSemaphoreWin32HandleEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
2015
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glImportSemaphoreWin32HandleEXT] = Fiddle::TYPE_VOID
|
2016
|
+
OpenGL.module_eval(<<-SRC)
|
2017
|
+
def glImportSemaphoreWin32HandleEXT(_semaphore_, _handleType_, _handle_)
|
2018
|
+
f = OpenGL::get_command(:glImportSemaphoreWin32HandleEXT)
|
2019
|
+
f.call(_semaphore_, _handleType_, _handle_)
|
2020
|
+
end
|
2021
|
+
SRC
|
2022
|
+
|
2023
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glImportSemaphoreWin32NameEXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
2024
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glImportSemaphoreWin32NameEXT] = Fiddle::TYPE_VOID
|
2025
|
+
OpenGL.module_eval(<<-SRC)
|
2026
|
+
def glImportSemaphoreWin32NameEXT(_semaphore_, _handleType_, _name_)
|
2027
|
+
f = OpenGL::get_command(:glImportSemaphoreWin32NameEXT)
|
2028
|
+
f.call(_semaphore_, _handleType_, _name_)
|
2029
|
+
end
|
2030
|
+
SRC
|
2031
|
+
end # self.define_ext_command_GL_EXT_semaphore_win32
|
2032
|
+
|
2033
|
+
def self.get_ext_command_GL_EXT_semaphore_win32
|
2034
|
+
[
|
2035
|
+
'glImportSemaphoreWin32HandleEXT',
|
2036
|
+
'glImportSemaphoreWin32NameEXT',
|
2037
|
+
]
|
2038
|
+
end # self.get_ext_command_GL_EXT_semaphore_win32
|
2039
|
+
|
2040
|
+
|
1653
2041
|
def self.define_ext_command_GL_EXT_sRGB
|
1654
2042
|
end # self.define_ext_command_GL_EXT_sRGB
|
1655
2043
|
|
@@ -2283,6 +2671,15 @@ module OpenGLExt
|
|
2283
2671
|
end # self.get_ext_command_GL_EXT_sparse_texture
|
2284
2672
|
|
2285
2673
|
|
2674
|
+
def self.define_ext_command_GL_EXT_sparse_texture2
|
2675
|
+
end # self.define_ext_command_GL_EXT_sparse_texture2
|
2676
|
+
|
2677
|
+
def self.get_ext_command_GL_EXT_sparse_texture2
|
2678
|
+
[
|
2679
|
+
]
|
2680
|
+
end # self.get_ext_command_GL_EXT_sparse_texture2
|
2681
|
+
|
2682
|
+
|
2286
2683
|
def self.define_ext_command_GL_EXT_tessellation_point_size
|
2287
2684
|
end # self.define_ext_command_GL_EXT_tessellation_point_size
|
2288
2685
|
|
@@ -2426,6 +2823,15 @@ module OpenGLExt
|
|
2426
2823
|
end # self.get_ext_command_GL_EXT_texture_buffer
|
2427
2824
|
|
2428
2825
|
|
2826
|
+
def self.define_ext_command_GL_EXT_texture_compression_astc_decode_mode
|
2827
|
+
end # self.define_ext_command_GL_EXT_texture_compression_astc_decode_mode
|
2828
|
+
|
2829
|
+
def self.get_ext_command_GL_EXT_texture_compression_astc_decode_mode
|
2830
|
+
[
|
2831
|
+
]
|
2832
|
+
end # self.get_ext_command_GL_EXT_texture_compression_astc_decode_mode
|
2833
|
+
|
2834
|
+
|
2429
2835
|
def self.define_ext_command_GL_EXT_texture_compression_dxt1
|
2430
2836
|
end # self.define_ext_command_GL_EXT_texture_compression_dxt1
|
2431
2837
|
|
@@ -2638,6 +3044,34 @@ module OpenGLExt
|
|
2638
3044
|
end # self.get_ext_command_GL_EXT_unpack_subimage
|
2639
3045
|
|
2640
3046
|
|
3047
|
+
def self.define_ext_command_GL_EXT_win32_keyed_mutex
|
3048
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glAcquireKeyedMutexWin32EXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_INT]
|
3049
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glAcquireKeyedMutexWin32EXT] = -Fiddle::TYPE_CHAR
|
3050
|
+
OpenGL.module_eval(<<-SRC)
|
3051
|
+
def glAcquireKeyedMutexWin32EXT(_memory_, _key_, _timeout_)
|
3052
|
+
f = OpenGL::get_command(:glAcquireKeyedMutexWin32EXT)
|
3053
|
+
f.call(_memory_, _key_, _timeout_)
|
3054
|
+
end
|
3055
|
+
SRC
|
3056
|
+
|
3057
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glReleaseKeyedMutexWin32EXT] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
3058
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glReleaseKeyedMutexWin32EXT] = -Fiddle::TYPE_CHAR
|
3059
|
+
OpenGL.module_eval(<<-SRC)
|
3060
|
+
def glReleaseKeyedMutexWin32EXT(_memory_, _key_)
|
3061
|
+
f = OpenGL::get_command(:glReleaseKeyedMutexWin32EXT)
|
3062
|
+
f.call(_memory_, _key_)
|
3063
|
+
end
|
3064
|
+
SRC
|
3065
|
+
end # self.define_ext_command_GL_EXT_win32_keyed_mutex
|
3066
|
+
|
3067
|
+
def self.get_ext_command_GL_EXT_win32_keyed_mutex
|
3068
|
+
[
|
3069
|
+
'glAcquireKeyedMutexWin32EXT',
|
3070
|
+
'glReleaseKeyedMutexWin32EXT',
|
3071
|
+
]
|
3072
|
+
end # self.get_ext_command_GL_EXT_win32_keyed_mutex
|
3073
|
+
|
3074
|
+
|
2641
3075
|
def self.define_ext_command_GL_EXT_window_rectangles
|
2642
3076
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glWindowRectanglesEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
2643
3077
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glWindowRectanglesEXT] = Fiddle::TYPE_VOID
|
@@ -3395,6 +3829,24 @@ module OpenGLExt
|
|
3395
3829
|
end # self.get_ext_command_GL_KHR_texture_compression_astc_sliced_3d
|
3396
3830
|
|
3397
3831
|
|
3832
|
+
def self.define_ext_command_GL_MESA_shader_integer_functions
|
3833
|
+
end # self.define_ext_command_GL_MESA_shader_integer_functions
|
3834
|
+
|
3835
|
+
def self.get_ext_command_GL_MESA_shader_integer_functions
|
3836
|
+
[
|
3837
|
+
]
|
3838
|
+
end # self.get_ext_command_GL_MESA_shader_integer_functions
|
3839
|
+
|
3840
|
+
|
3841
|
+
def self.define_ext_command_GL_NVX_blend_equation_advanced_multi_draw_buffers
|
3842
|
+
end # self.define_ext_command_GL_NVX_blend_equation_advanced_multi_draw_buffers
|
3843
|
+
|
3844
|
+
def self.get_ext_command_GL_NVX_blend_equation_advanced_multi_draw_buffers
|
3845
|
+
[
|
3846
|
+
]
|
3847
|
+
end # self.get_ext_command_GL_NVX_blend_equation_advanced_multi_draw_buffers
|
3848
|
+
|
3849
|
+
|
3398
3850
|
def self.define_ext_command_GL_NV_bindless_texture
|
3399
3851
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetTextureHandleNV] = [-Fiddle::TYPE_INT]
|
3400
3852
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetTextureHandleNV] = -Fiddle::TYPE_LONG_LONG
|
@@ -3735,6 +4187,64 @@ module OpenGLExt
|
|
3735
4187
|
end # self.get_ext_command_GL_NV_draw_instanced
|
3736
4188
|
|
3737
4189
|
|
4190
|
+
def self.define_ext_command_GL_NV_draw_vulkan_image
|
4191
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glDrawVkImageNV] = [-Fiddle::TYPE_LONG_LONG, -Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
4192
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glDrawVkImageNV] = Fiddle::TYPE_VOID
|
4193
|
+
OpenGL.module_eval(<<-SRC)
|
4194
|
+
def glDrawVkImageNV(_vkImage_, _sampler_, _x0_, _y0_, _x1_, _y1_, _z_, _s0_, _t0_, _s1_, _t1_)
|
4195
|
+
f = OpenGL::get_command(:glDrawVkImageNV)
|
4196
|
+
f.call(_vkImage_, _sampler_, _x0_, _y0_, _x1_, _y1_, _z_, _s0_, _t0_, _s1_, _t1_)
|
4197
|
+
end
|
4198
|
+
SRC
|
4199
|
+
|
4200
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glGetVkProcAddrNV] = [Fiddle::TYPE_VOIDP]
|
4201
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glGetVkProcAddrNV] = Fiddle::TYPE_VOIDP
|
4202
|
+
OpenGL.module_eval(<<-SRC)
|
4203
|
+
def glGetVkProcAddrNV(_name_)
|
4204
|
+
f = OpenGL::get_command(:glGetVkProcAddrNV)
|
4205
|
+
f.call(_name_)
|
4206
|
+
end
|
4207
|
+
SRC
|
4208
|
+
|
4209
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glWaitVkSemaphoreNV] = [-Fiddle::TYPE_LONG_LONG]
|
4210
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glWaitVkSemaphoreNV] = Fiddle::TYPE_VOID
|
4211
|
+
OpenGL.module_eval(<<-SRC)
|
4212
|
+
def glWaitVkSemaphoreNV(_vkSemaphore_)
|
4213
|
+
f = OpenGL::get_command(:glWaitVkSemaphoreNV)
|
4214
|
+
f.call(_vkSemaphore_)
|
4215
|
+
end
|
4216
|
+
SRC
|
4217
|
+
|
4218
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glSignalVkSemaphoreNV] = [-Fiddle::TYPE_LONG_LONG]
|
4219
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glSignalVkSemaphoreNV] = Fiddle::TYPE_VOID
|
4220
|
+
OpenGL.module_eval(<<-SRC)
|
4221
|
+
def glSignalVkSemaphoreNV(_vkSemaphore_)
|
4222
|
+
f = OpenGL::get_command(:glSignalVkSemaphoreNV)
|
4223
|
+
f.call(_vkSemaphore_)
|
4224
|
+
end
|
4225
|
+
SRC
|
4226
|
+
|
4227
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glSignalVkFenceNV] = [-Fiddle::TYPE_LONG_LONG]
|
4228
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glSignalVkFenceNV] = Fiddle::TYPE_VOID
|
4229
|
+
OpenGL.module_eval(<<-SRC)
|
4230
|
+
def glSignalVkFenceNV(_vkFence_)
|
4231
|
+
f = OpenGL::get_command(:glSignalVkFenceNV)
|
4232
|
+
f.call(_vkFence_)
|
4233
|
+
end
|
4234
|
+
SRC
|
4235
|
+
end # self.define_ext_command_GL_NV_draw_vulkan_image
|
4236
|
+
|
4237
|
+
def self.get_ext_command_GL_NV_draw_vulkan_image
|
4238
|
+
[
|
4239
|
+
'glDrawVkImageNV',
|
4240
|
+
'glGetVkProcAddrNV',
|
4241
|
+
'glWaitVkSemaphoreNV',
|
4242
|
+
'glSignalVkSemaphoreNV',
|
4243
|
+
'glSignalVkFenceNV',
|
4244
|
+
]
|
4245
|
+
end # self.get_ext_command_GL_NV_draw_vulkan_image
|
4246
|
+
|
4247
|
+
|
3738
4248
|
def self.define_ext_command_GL_NV_explicit_attrib_location
|
3739
4249
|
end # self.define_ext_command_GL_NV_explicit_attrib_location
|
3740
4250
|
|
@@ -6710,6 +7220,34 @@ module OpenGLExt
|
|
6710
7220
|
end # self.get_ext_command_GL_QCOM_extended_get2
|
6711
7221
|
|
6712
7222
|
|
7223
|
+
def self.define_ext_command_GL_QCOM_framebuffer_foveated
|
7224
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFramebufferFoveationConfigQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
7225
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFramebufferFoveationConfigQCOM] = Fiddle::TYPE_VOID
|
7226
|
+
OpenGL.module_eval(<<-SRC)
|
7227
|
+
def glFramebufferFoveationConfigQCOM(_framebuffer_, _numLayers_, _focalPointsPerLayer_, _requestedFeatures_, _providedFeatures_)
|
7228
|
+
f = OpenGL::get_command(:glFramebufferFoveationConfigQCOM)
|
7229
|
+
f.call(_framebuffer_, _numLayers_, _focalPointsPerLayer_, _requestedFeatures_, _providedFeatures_)
|
7230
|
+
end
|
7231
|
+
SRC
|
7232
|
+
|
7233
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFramebufferFoveationParametersQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
7234
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFramebufferFoveationParametersQCOM] = Fiddle::TYPE_VOID
|
7235
|
+
OpenGL.module_eval(<<-SRC)
|
7236
|
+
def glFramebufferFoveationParametersQCOM(_framebuffer_, _layer_, _focalPoint_, _focalX_, _focalY_, _gainX_, _gainY_, _foveaArea_)
|
7237
|
+
f = OpenGL::get_command(:glFramebufferFoveationParametersQCOM)
|
7238
|
+
f.call(_framebuffer_, _layer_, _focalPoint_, _focalX_, _focalY_, _gainX_, _gainY_, _foveaArea_)
|
7239
|
+
end
|
7240
|
+
SRC
|
7241
|
+
end # self.define_ext_command_GL_QCOM_framebuffer_foveated
|
7242
|
+
|
7243
|
+
def self.get_ext_command_GL_QCOM_framebuffer_foveated
|
7244
|
+
[
|
7245
|
+
'glFramebufferFoveationConfigQCOM',
|
7246
|
+
'glFramebufferFoveationParametersQCOM',
|
7247
|
+
]
|
7248
|
+
end # self.get_ext_command_GL_QCOM_framebuffer_foveated
|
7249
|
+
|
7250
|
+
|
6713
7251
|
def self.define_ext_command_GL_QCOM_perfmon_global_mode
|
6714
7252
|
end # self.define_ext_command_GL_QCOM_perfmon_global_mode
|
6715
7253
|
|
@@ -6719,6 +7257,24 @@ module OpenGLExt
|
|
6719
7257
|
end # self.get_ext_command_GL_QCOM_perfmon_global_mode
|
6720
7258
|
|
6721
7259
|
|
7260
|
+
def self.define_ext_command_GL_QCOM_shader_framebuffer_fetch_noncoherent
|
7261
|
+
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glFramebufferFetchBarrierQCOM] = []
|
7262
|
+
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glFramebufferFetchBarrierQCOM] = Fiddle::TYPE_VOID
|
7263
|
+
OpenGL.module_eval(<<-SRC)
|
7264
|
+
def glFramebufferFetchBarrierQCOM()
|
7265
|
+
f = OpenGL::get_command(:glFramebufferFetchBarrierQCOM)
|
7266
|
+
f.call()
|
7267
|
+
end
|
7268
|
+
SRC
|
7269
|
+
end # self.define_ext_command_GL_QCOM_shader_framebuffer_fetch_noncoherent
|
7270
|
+
|
7271
|
+
def self.get_ext_command_GL_QCOM_shader_framebuffer_fetch_noncoherent
|
7272
|
+
[
|
7273
|
+
'glFramebufferFetchBarrierQCOM',
|
7274
|
+
]
|
7275
|
+
end # self.get_ext_command_GL_QCOM_shader_framebuffer_fetch_noncoherent
|
7276
|
+
|
7277
|
+
|
6722
7278
|
def self.define_ext_command_GL_QCOM_tiled_rendering
|
6723
7279
|
OpenGL::GL_FUNCTIONS_ARGS_MAP[:glStartTilingQCOM] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
6724
7280
|
OpenGL::GL_FUNCTIONS_RETVAL_MAP[:glStartTilingQCOM] = Fiddle::TYPE_VOID
|